The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build TensorFlowLiteSwift, reference master (bb9bd9), with Swift 6.1 for Wasm on 29 May 2025 14:24:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kewlbear/TensorflowLiteSwift.git
Reference: master
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/kewlbear/TensorflowLiteSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bb9bd9c add 0.0.20250430
Cloned https://github.com/kewlbear/TensorflowLiteSwift.git
Revision (git rev-parse @):
bb9bd9c7c86e882f17aaf8bac35e96c77264eee2
SUCCESS checkout https://github.com/kewlbear/TensorflowLiteSwift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kewlbear/TensorflowLiteSwift.git
https://github.com/kewlbear/TensorflowLiteSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "tensorflowlitec",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kewlbear/TensorFlowLiteC.git"
    }
  ],
  "manifest_display_name" : "TensorFlowLiteSwift",
  "name" : "TensorFlowLiteSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TensorFlowLiteSwift",
      "targets" : [
        "TensorFlowLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TensorFlowLite",
      "module_type" : "SwiftTarget",
      "name" : "TensorFlowLite",
      "path" : "Sources/TensorFlowLite",
      "product_dependencies" : [
        "TensorFlowLiteC"
      ],
      "product_memberships" : [
        "TensorFlowLiteSwift"
      ],
      "sources" : [
        "tensorflow/lite/swift/Sources/Delegate.swift",
        "tensorflow/lite/swift/Sources/Interpreter.swift",
        "tensorflow/lite/swift/Sources/InterpreterError.swift",
        "tensorflow/lite/swift/Sources/Model.swift",
        "tensorflow/lite/swift/Sources/QuantizationParameters.swift",
        "tensorflow/lite/swift/Sources/SignatureRunner.swift",
        "tensorflow/lite/swift/Sources/SignatureRunnerError.swift",
        "tensorflow/lite/swift/Sources/Tensor.swift",
        "tensorflow/lite/swift/Sources/TensorFlowLite.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kewlbear/TensorFlowLiteC.git
[1/4242] Fetching tensorflowlitec
Fetched https://github.com/kewlbear/TensorFlowLiteC.git from cache (0.50s)
Creating working copy for https://github.com/kewlbear/TensorFlowLiteC.git
Working copy of https://github.com/kewlbear/TensorFlowLiteC.git resolved at master (addfb00)
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteC.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip
FoundationNetworking/EasyHandle.swift:293: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=libcurl.Easy Code=43 "(null)"
*** Signal 4: Backtracing from 0x7f47f9119788... done ***
*** Program crashed: Illegal instruction at 0x00007f47f9119788 ***
Thread 0 "swift-build":
0  0x00007f47f764680a <unknown> in libc.so.6
Thread 1:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 2:
0  0x00007f47f7729e2e <unknown> in libc.so.6
Thread 3:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 4 crashed:
0      0x00007f47f9119788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x00007f47f914dae6 swift_unexpectedError + 805 in libswiftCore.so
2 [ra] 0x00007f47f7cb0d74 _HTTPURLProtocol.configureEasyHandle(for:body:) + 8163 in libFoundationNetworking.so
Thread 5:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 6:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 7:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 8:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 9:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 10:
0  0x00007f47f7695117 <unknown> in libc.so.6
Thread 11:
0  0x00007f47f7695117 <unknown> in libc.so.6
Registers:
rax 0x0000000200000003  8589934595
rdx 0x0000000000000002  2
rcx 0xfffffffe00000000  18446744065119617024
rbx 0x0000000000000003  3
rsi 0x00007f47e828afb8  03 00 00 00 00 00 00 00 90 00 00 00 00 00 00 80  ················
rdi 0x00007f47e80008e0  03 00 01 00 02 00 05 00 01 00 07 00 07 00 07 00  ················
rbp 0x00007f47f0a0efe0  90 f0 a0 f0 47 7f 00 00 e6 da 14 f9 47 7f 00 00  ·ð ðG···æÚ·ùG···
rsp 0x00007f47f0a0ef70  80 ef a0 f0 47 7f 00 00 4b 08 04 f9 47 7f 00 00  ·ï ðG···K··ùG···
 r8 0x00007f47c4004550  d4 bc 55 1c 40 7f 00 00 fa b3 e6 82 74 ae 1f 03  Ô¼U·@···ú³æ·t®··
 r9 0x00007f47f0a0ec50  73 73 69 6f 6e 20 75 6e 65 78 70 65 63 74 65 64  ssion unexpected
r10 0x0000000000000000  0
r11 0x031fae7482e6b3fa  225090321827410938
r12 0x00007f47e828afb0  c8 73 3e f9 47 7f 00 00 03 00 00 00 00 00 00 00  Ès>ùG···········
r13 0x00007f47f0a0f058  5a 00 00 00 00 00 00 f0 b0 af 28 e8 47 7f 00 00  Z······ð°¯(èG···
r14 0x0000000000000000  0
r15 0x000000000000005a  90
rip 0x00007f47f9119788  0f 0b 48 8d 35 4f 5c fb ff 48 8d 55 a0 45 31 e4  ··H·5O\ûÿH·U E1ä
rflags 0x0000000000010202
cs 0x0033  fs 0x0000  gs 0x0000
Images (69 omitted):
0x00007f47f7604000–0x00007f47f77c0341 cd410b710f0f094c6832edd95931006d883af48e libc.so.6                  /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007f47f7c07000–0x00007f47f7d0a0f8 8937021eaaca913192c71363aa86ab9f12ff9ba4 libFoundationNetworking.so /usr/lib/swift/linux/libFoundationNetworking.so
0x00007f47f8e3d000–0x00007f47f93cb8c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so            /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.07s
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip
Downloading binary artifact https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteC.xcframework.zip
[1397/28698813] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip
[16854/46303557] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip
[514939/86125389] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteC.xcframework.zip
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip (4.32s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip (4.74s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteC.xcframework.zip (6.12s)
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/TensorFlowLite/README.md
    /host/spi-builder-workspace/Sources/TensorFlowLite/LICENSE
    /host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/PrivacyInfo.xcprivacy
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Link
[5/5] Compiling Link TensorFlowLiteC.swift
[7/15] Compiling TensorFlowLite SignatureRunnerError.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[8/15] Compiling TensorFlowLite Tensor.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module TensorFlowLite
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[10/16] Compiling TensorFlowLite Delegate.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[11/16] Compiling TensorFlowLite Interpreter.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[12/16] Compiling TensorFlowLite QuantizationParameters.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[13/16] Compiling TensorFlowLite SignatureRunner.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[14/16] Compiling TensorFlowLite Model.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[15/16] Compiling TensorFlowLite InterpreterError.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
[16/16] Compiling TensorFlowLite TensorFlowLite.swift
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/Sources/Delegate.swift:15:8: error: no such module 'TensorFlowLiteC'
13 | // limitations under the License.
14 |
15 | import TensorFlowLiteC
   |        `- error: no such module 'TensorFlowLiteC'
16 |
17 | /// A delegate that the `Interpreter` uses to perform TensorFlow Lite model computations.
BUILD FAILURE 6.1 wasm