The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-sentencepiece, reference 0.0.6 (36a8b2), with Swift 6.0 for Linux on 18 Feb 2025 22:38:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-sentencepiece.git
Reference: 0.0.6
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/jkrukowski/swift-sentencepiece
 * tag               0.0.6      -> FETCH_HEAD
HEAD is now at 36a8b2b Relax swift argument parser version
Cloned https://github.com/jkrukowski/swift-sentencepiece.git
Revision (git rev-parse @):
36a8b2b45733f6adb3092100f16e4c7d38a10a7c
SUCCESS checkout https://github.com/jkrukowski/swift-sentencepiece.git at 0.0.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jkrukowski/swift-sentencepiece.git
https://github.com/jkrukowski/swift-sentencepiece.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "swift-sentencepiece",
  "name" : "swift-sentencepiece",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "sentencepiece-cli",
      "targets" : [
        "SentencepieceCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SentencepieceTokenizer",
      "targets" : [
        "SentencepieceTokenizer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SentencepieceTokenizerTests",
      "module_type" : "SwiftTarget",
      "name" : "SentencepieceTokenizerTests",
      "path" : "Tests/SentencepieceTokenizerTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SentencepieceTokenizerTests/Model",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "SentencepieceTokenizerTests.swift"
      ],
      "target_dependencies" : [
        "SentencepieceTokenizer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SentencepieceTokenizer",
      "module_type" : "SwiftTarget",
      "name" : "SentencepieceTokenizer",
      "path" : "Sources/SentencepieceTokenizer",
      "product_memberships" : [
        "sentencepiece-cli",
        "SentencepieceTokenizer"
      ],
      "sources" : [
        "SentencepieceTokenizer.swift"
      ],
      "target_dependencies" : [
        "Sentencepiece"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SentencepieceCLI",
      "module_type" : "SwiftTarget",
      "name" : "SentencepieceCLI",
      "path" : "Sources/SentencepieceCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "sentencepiece-cli"
      ],
      "sources" : [
        "SentencepieceCLI.swift"
      ],
      "target_dependencies" : [
        "SentencepieceTokenizer"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Sentencepiece",
      "module_type" : "BinaryTarget",
      "name" : "Sentencepiece",
      "path" : "remote/archive/sentencepiece.xcframework.zip",
      "product_memberships" : [
        "sentencepiece-cli",
        "SentencepieceTokenizer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser.git
[1/14292] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.92s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.66s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
[895/40026617] Downloading https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
Downloading binary artifact https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip
Downloaded https://github.com/jkrukowski/swift-sentencepiece/releases/download/0.0.5/sentencepiece.xcframework.zip (4.96s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Emitting module SentencepieceTokenizer
/host/spi-builder-workspace/Sources/SentencepieceTokenizer/SentencepieceTokenizer.swift:1:8: error: no such module 'Sentencepiece'
 1 | import Sentencepiece
   |        `- error: no such module 'Sentencepiece'
 2 |
 3 | extension SentencepieceTokenizer {
[8/16] Compiling SentencepieceTokenizer SentencepieceTokenizer.swift
/host/spi-builder-workspace/Sources/SentencepieceTokenizer/SentencepieceTokenizer.swift:1:8: error: no such module 'Sentencepiece'
 1 | import Sentencepiece
   |        `- error: no such module 'Sentencepiece'
 2 |
 3 | extension SentencepieceTokenizer {
[9/16] Emitting module ArgumentParserToolInfo
[10/16] Compiling ArgumentParserToolInfo ToolInfo.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/12] Emitting module SentencepieceTokenizer
/host/spi-builder-workspace/Sources/SentencepieceTokenizer/SentencepieceTokenizer.swift:1:8: error: no such module 'Sentencepiece'
 1 | import Sentencepiece
   |        `- error: no such module 'Sentencepiece'
 2 |
 3 | extension SentencepieceTokenizer {
[4/12] Compiling SentencepieceTokenizer SentencepieceTokenizer.swift
/host/spi-builder-workspace/Sources/SentencepieceTokenizer/SentencepieceTokenizer.swift:1:8: error: no such module 'Sentencepiece'
 1 | import Sentencepiece
   |        `- error: no such module 'Sentencepiece'
 2 |
 3 | extension SentencepieceTokenizer {
[5/12] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.0 linux