The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SentencePieceKit, reference 1.1.0 (4a9658), with Swift 6.1 for Linux on 22 Feb 2026 15:43:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/spencer0124/SentencePieceKit.git
Reference: 1.1.0
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/spencer0124/SentencePieceKit
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 4a9658c Refactor: Remove async wrappers, rename tokenizeSync to tokenize
Cloned https://github.com/spencer0124/SentencePieceKit.git
Revision (git rev-parse @):
4a9658ca599e67e090b8f587aeacf54bf09400f6
SUCCESS checkout https://github.com/spencer0124/SentencePieceKit.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/spencer0124/SentencePieceKit.git
https://github.com/spencer0124/SentencePieceKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SentencePieceKit",
  "name" : "SentencePieceKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "SentencePieceKit",
      "targets" : [
        "SentencePieceKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "sentencepiece",
      "module_type" : "BinaryTarget",
      "name" : "sentencepiece",
      "path" : "sentencepiece.xcframework",
      "product_memberships" : [
        "SentencePieceKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SentencePieceKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SentencePieceKitTests",
      "path" : "Tests/SentencePieceKitTests",
      "sources" : [
        "SentencePieceKitTests.swift"
      ],
      "target_dependencies" : [
        "SentencePieceKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SentencePieceKit",
      "module_type" : "SwiftTarget",
      "name" : "SentencePieceKit",
      "path" : "Sources/SentencePieceKit",
      "product_memberships" : [
        "SentencePieceKit"
      ],
      "sources" : [
        "SentencePieceKit.swift"
      ],
      "target_dependencies" : [
        "SentencePieceBridge"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SentencePieceBridge",
      "module_type" : "ClangTarget",
      "name" : "SentencePieceBridge",
      "path" : "Sources/SentencePieceBridge",
      "product_memberships" : [
        "SentencePieceKit"
      ],
      "sources" : [
        "SentencePieceBridge.mm"
      ],
      "target_dependencies" : [
        "sentencepiece"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
In file included from /host/spi-builder-workspace/Sources/SentencePieceBridge/SentencePieceBridge.mm:1:
/host/spi-builder-workspace/Sources/SentencePieceBridge/include/SentencePieceBridge.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling SentencePieceBridge SentencePieceBridge.mm
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/SentencePieceBridge/SentencePieceBridge.mm:1:
/host/spi-builder-workspace/Sources/SentencePieceBridge/include/SentencePieceBridge.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling SentencePieceBridge SentencePieceBridge.mm
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux