Build Information
Failed to build TensorFlowLiteSwift, reference 2.17.0 (73c997
), with Swift 6.1 for Wasm on 29 May 2025 14:25:26 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: 2.17.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/kewlbear/TensorflowLiteSwift
* tag 2.17.0 -> FETCH_HEAD
HEAD is now at 73c997b add 0.0.20240419
Cloned https://github.com/kewlbear/TensorflowLiteSwift.git
Revision (git rev-parse @):
73c997b5ee87ffba411048b51e886582358b33a3
SUCCESS checkout https://github.com/kewlbear/TensorflowLiteSwift.git at 2.17.0
========================================
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.42s)
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/TensorFlowLiteCMetal.xcframework.zip
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
FoundationNetworking/EasyHandle.swift:293: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=libcurl.Easy Code=43 "(null)"
*** Signal 4: Backtracing from 0x7fd2b36c9788... done ***
*** Program crashed: Illegal instruction at 0x00007fd2b36c9788 ***
Thread 0 "swift-build":
0 0x00007fd2b1bf680a <unknown> in libc.so.6
Thread 1:
0 0x00007fd2b1cd9e2e <unknown> in libc.so.6
Thread 2:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 3:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 4 crashed:
0 0x00007fd2b36c9788 _assertionFailure(_:_:file:line:flags:) + 264 in libswiftCore.so
1 [ra] 0x00007fd2b36fdae6 swift_unexpectedError + 805 in libswiftCore.so
2 [ra] 0x00007fd2b2260d74 _HTTPURLProtocol.configureEasyHandle(for:body:) + 8163 in libFoundationNetworking.so
Thread 5:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 6:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 7:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 8:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 9:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 10:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Thread 11:
0 0x00007fd2b1c45117 <unknown> in libc.so.6
Registers:
rax 0x0000000200000003 8589934595
rdx 0x0000000000000002 2
rcx 0xfffffffe00000000 18446744065119617024
rbx 0x0000000000000003 3
rsi 0x00007fd29429fd68 03 00 00 00 00 00 00 00 90 00 00 00 00 00 00 80 ················
rdi 0x00007fd2940008e0 01 00 06 00 03 00 06 00 01 00 06 00 07 00 07 00 ················
rbp 0x00007fd2ab7bffe0 90 00 7c ab d2 7f 00 00 e6 da 6f b3 d2 7f 00 00 ··|«Ò···æÚo³Ò···
rsp 0x00007fd2ab7bff70 80 ff 7b ab d2 7f 00 00 4b 08 5f b3 d2 7f 00 00 ·ÿ{«Ò···K·_³Ò···
r8 0x00007fd2942b46b0 f4 04 02 69 d5 7f 00 00 b2 92 9d 67 e4 dd f3 06 ô··iÕ···²··gäÝó·
r9 0x00007fd2ab7bfc50 73 73 69 6f 6e 20 75 6e 65 78 70 65 63 74 65 64 ssion unexpected
r10 0x0000000000000000 0
r11 0x06f3dde4679d92b2 500987956628918962
r12 0x00007fd29429fd60 c8 73 99 b3 d2 7f 00 00 03 00 00 00 00 00 00 00 Ès·³Ò···········
r13 0x00007fd2ab7c0058 5a 00 00 00 00 00 00 f0 60 fd 29 94 d2 7f 00 00 Z······ð`ý)·Ò···
r14 0x0000000000000000 0
r15 0x000000000000005a 90
rip 0x00007fd2b36c9788 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):
0x00007fd2b1bb4000–0x00007fd2b1d70341 cd410b710f0f094c6832edd95931006d883af48e libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007fd2b21b7000–0x00007fd2b22ba0f8 8937021eaaca913192c71363aa86ab9f12ff9ba4 libFoundationNetworking.so /usr/lib/swift/linux/libFoundationNetworking.so
0x00007fd2b33ed000–0x00007fd2b397b8c0 e0daad81442ed488d8b83fd10c171fcb90baba85 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.05s
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/TensorFlowLiteC.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/TensorFlowLiteCCoreML.xcframework.zip
[1397/17604744] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip
[162447/46303557] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip
[5678757/86125389] Downloading https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCCoreML.xcframework.zip, https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.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 (3.93s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteCMetal.xcframework.zip (4.46s)
Downloaded https://github.com/kewlbear/TensorFlowLiteC/releases/download/0.0.20250528/TensorFlowLiteC.xcframework.zip (5.45s)
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/LICENSE
/host/spi-builder-workspace/Sources/TensorFlowLite/tensorflow/lite/swift/PrivacyInfo.xcprivacy
/host/spi-builder-workspace/Sources/TensorFlowLite/README.md
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 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.
[8/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.
[9/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.
[10/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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.
[12/16] 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.
[13/16] 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.
[14/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.
[15/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.
[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