Build Information
Failed to build SGLMath, reference master (8bdd2e), with Swift 6.1 for Wasm on 27 May 2025 06:59:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftGL/Math.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/SwiftGL/Math
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8bdd2e5 Merge pull request #4 from ctreffs/master
Cloned https://github.com/SwiftGL/Math.git
Revision (git rev-parse @):
8bdd2e542f28828d0c224c1ea8e046c6f652ec40
SUCCESS checkout https://github.com/SwiftGL/Math.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/SwiftGL/Math.git
https://github.com/SwiftGL/Math.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SGLMath",
"name" : "SGLMath",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SGLMath",
"targets" : [
"SGLMath"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swizgen",
"targets" : [
"Tools"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Tools",
"module_type" : "SwiftTarget",
"name" : "Tools",
"path" : "Sources/Tools",
"product_memberships" : [
"swizgen"
],
"sources" : [
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "SGLMathTests",
"module_type" : "SwiftTarget",
"name" : "SGLMathTests",
"path" : "Tests/SGLMathTests",
"sources" : [
"EqualWithAccuracy.swift",
"FunctionsTests.swift",
"Matrix2x2Tests.swift",
"Matrix3x3Tests.swift",
"Matrix4x4Tests.swift",
"SwizzleTests.swift",
"Vector2Tests.swift",
"Vector4Tests.swift",
"XCTestManifests.swift",
"glmMatrixTests.swift"
],
"target_dependencies" : [
"SGLMath"
],
"type" : "test"
},
{
"c99name" : "SGLMath",
"module_type" : "SwiftTarget",
"name" : "SGLMath",
"path" : "Sources/SGLMath",
"product_memberships" : [
"SGLMath"
],
"sources" : [
"Complex.swift",
"Internal.swift",
"Matrix2x2.swift",
"Matrix2x3.swift",
"Matrix2x4.swift",
"Matrix3x2.swift",
"Matrix3x3.swift",
"Matrix3x4.swift",
"Matrix4x2.swift",
"Matrix4x3.swift",
"Matrix4x4.swift",
"Operators.swift",
"Protocols.swift",
"Quaternion.swift",
"Swizzle.swift",
"Vector2.swift",
"Vector2b.swift",
"Vector3.swift",
"Vector3b.swift",
"Vector4.swift",
"Vector4b.swift",
"glm.swift",
"glsl.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/6] Write sources
[2/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/30] Emitting module SGLMath
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[5/30] Compiling SGLMath Complex.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[6/30] Compiling SGLMath Internal.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[7/30] Compiling SGLMath Matrix2x2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[8/32] Compiling SGLMath Matrix3x3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[9/32] Compiling SGLMath Matrix3x4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[10/32] Compiling SGLMath Matrix4x2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[11/32] Compiling SGLMath Matrix2x3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[12/32] Compiling SGLMath Matrix2x4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[13/32] Compiling SGLMath Matrix3x2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[14/32] Compiling SGLMath Matrix4x3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[15/32] Compiling SGLMath Matrix4x4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[16/32] Compiling SGLMath Operators.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[17/32] Compiling SGLMath Vector2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[18/32] Compiling SGLMath Vector2b.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[19/32] Compiling SGLMath Vector3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[20/32] Compiling SGLMath Vector3b.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[21/32] Compiling SGLMath Vector4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[22/32] Compiling SGLMath Vector4b.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[23/32] Compiling SGLMath Protocols.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[24/32] Compiling SGLMath Quaternion.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[25/32] Compiling SGLMath Swizzle.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[26/32] Emitting module Tools
[27/32] Compiling Tools main.swift
[28/33] Wrapping AST for Tools for debugging
[29/33] Write Objects.LinkFileList
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[30/33] Linking swizgen.wasm
[32/33] Compiling SGLMath glm.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[33/33] Compiling SGLMath glsl.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module Tools
[3/28] Compiling Tools main.swift
[5/29] Compiling SGLMath Vector3b.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[6/29] Compiling SGLMath Vector4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[7/29] Compiling SGLMath Vector4b.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[8/29] Compiling SGLMath Vector2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[9/29] Compiling SGLMath Vector2b.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[10/29] Compiling SGLMath Vector3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[10/31] Wrapping AST for Tools for debugging
[11/31] Write Objects.LinkFileList
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/31] Emitting module SGLMath
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[13/31] Linking swizgen.wasm
[15/31] Compiling SGLMath Matrix3x3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[16/31] Compiling SGLMath Matrix3x4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[17/31] Compiling SGLMath Matrix4x2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[18/31] Compiling SGLMath Protocols.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[19/31] Compiling SGLMath Quaternion.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[20/31] Compiling SGLMath Swizzle.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[21/31] Compiling SGLMath Matrix4x3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[22/31] Compiling SGLMath Matrix4x4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[23/31] Compiling SGLMath Operators.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[24/31] Compiling SGLMath Matrix2x3.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[25/31] Compiling SGLMath Matrix2x4.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[26/31] Compiling SGLMath Matrix3x2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[27/31] Compiling SGLMath Complex.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[28/31] Compiling SGLMath Internal.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[29/31] Compiling SGLMath Matrix2x2.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[30/31] Compiling SGLMath glm.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
[31/31] Compiling SGLMath glsl.swift
/host/spi-builder-workspace/Sources/SGLMath/Internal.swift:25:12: error: no such module 'Darwin.C'
23 | import Glibc
24 | #else
25 | import Darwin.C
| `- error: no such module 'Darwin.C'
26 | #endif
27 |
BUILD FAILURE 6.1 wasm