Build Information
Failed to build SwiftSpatial, reference 0.0.1 (d9178d), with Swift 6.4 for Wasm on 21 Sep 2026 12:40:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/literally-anything/SwiftSpatial.git
Reference: 0.0.1
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/literally-anything/SwiftSpatial
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at d9178dc Fix the swiftSettings to allow building in XCode as a dependency
Cloned https://github.com/literally-anything/SwiftSpatial.git
Revision (git rev-parse @):
d9178dc4358c44b2f849d469b88b1c11c41758c6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/literally-anything/SwiftSpatial.git at 0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/literally-anything/SwiftSpatial.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-testing.git
[1/43315] Fetching swift-testing
Fetched https://github.com/apple/swift-testing.git (2.08s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/2345] Fetching swift-docc-plugin
[213/8981] Fetching swift-docc-plugin, swift-numerics
[2295/27899] Fetching swift-docc-plugin, swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin (0.74s)
[9096/25554] Fetching swift-numerics, swift-argument-parser
Fetching https://github.com/keyvariable/kvSIMD.swift.git
Fetched https://github.com/apple/swift-numerics (0.83s)
[6622/18918] Fetching swift-argument-parser
[18919/98917] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (1.25s)
[4000/79999] Fetching swift-syntax
[8801/80216] Fetching swift-syntax, kvsimd.swift
Fetched https://github.com/keyvariable/kvSIMD.swift.git (0.60s)
[11200/79999] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.51s)
Computing version for https://github.com/keyvariable/kvSIMD.swift.git
Computed https://github.com/keyvariable/kvSIMD.swift.git at 1.1.0 (5.87s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.39s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.32s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.90s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.68s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.12s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 605.0.0-prerelease-2026-09-15 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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.8.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 605.0.0-prerelease-2026-09-15
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at main (05a2b71)
Creating working copy for https://github.com/keyvariable/kvSIMD.swift.git
Working copy of https://github.com/keyvariable/kvSIMD.swift.git resolved at 1.1.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 214]
[Planning deferred tasks]
[37 / 68]
[45 / 86] RealModule
[53 / 86] simd
[53 / 86] _NumericsShims
[55 / 86] RealModule
[56 / 86] RealModule
[57 / 86] RealModule
[58 / 86] RealModule-product
[59 / 86] RealModule-product
[61 / 86] RealModule
[61 / 86]
[61 / 86] RealModule
[62 / 87] RealModule
[64 / 87] simd
[78 / 97] SwiftSpatial
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/SwiftSpatial/SIMDExtensions.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SIMDExtensions.swift
/host/spi-builder-workspace/Sources/SwiftSpatial/SIMDExtensions.swift:18:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'simd_quatd' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m extension simd_quatd: Codable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'simd_quatd' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'simd' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m19 |[0;0m public static let identity: simd_quatd = .init(real: 1, imag: .zero)
[0;36m20 |[0;0m
/host/spi-builder-workspace/Sources/SwiftSpatial/SIMDExtensions.swift:19:23: [1;31merror: [1;39mstatic property 'identity' is not concurrency-safe because non-'Sendable' type 'simd_quatd' may have shared mutable state[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m17 |[0;0m
[0;36m18 |[0;0m extension simd_quatd: Codable {
[0;36m19 |[0;0m public static let identity: simd_quatd = .init(real: 1, imag: .zero)
[0;36m|[0;0m |- [1;31merror: [1;39mstatic property 'identity' is not concurrency-safe because non-'Sendable' type 'simd_quatd' may have shared mutable state[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
[0;36m|[0;0m |- [1;39mnote: [1;39madd '@MainActor' to make static property 'identity' part of global actor 'MainActor'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mdisable concurrency-safety checks if accesses are protected by an external synchronization mechanism[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m @inlinable public init(from decoder: any Decoder) throws {
/host/spi-builder-workspace/.build/checkouts/kvSIMD.swift/Sources/kvSIMD/KvQuaternions.swift:329:15: [1;39mnote: [1;39mstruct 'simd_quatd' does not conform to the 'Sendable' protocol[0;0m
[0;36m327 |[0;0m ///
[0;36m328 |[0;0m /// It's represented as a 4-element vector where first three elements are a vector (imaginary) part, fourth element is a scalar (real) part.
[0;36m329 |[0;0m public struct simd_quatd : Equatable, CustomDebugStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'simd_quatd' does not conform to the 'Sendable' protocol[0;0m
[0;36m330 |[0;0m
[0;36m331 |[0;0m /// A 4-element vector representation of a quaternion where first three elements are a vector (imaginary) part, fourth element is a scalar (real) part.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Angle2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Axis2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Point2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/PolarCoordinates2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Pose2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Primitive2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Rotatable2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Scalable2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/ScaledPose2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Size2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Translatable2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Vector2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/2D/Volumetric2D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Axis3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Point3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Pose3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Primitive3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Ray3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Rotatable3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Rotation3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/RotationAxis3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Scalable3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/ScaledPose3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Shearable3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Size3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/SphericalCoordinates3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Translatable3D.swift /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Vector3D.swift -primary-file /host/spi-builder-workspace/Sources/SwiftSpatial/3D/Volumetric3D.swift -primary-file /host/spi-builder-workspace/Sources/SwiftSpatial/ApproximatelyEquatable.swift -primary-file /host/spi-builder-workspace/Sources/SwiftSpatial/SIMDExtensions.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/supplementaryOutputs-8 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftSpatial -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/SwiftSpatial_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/Volumetric3D.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/ApproximatelyEquatable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/SIMDExtensions.o -index-unit-output-path /SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/Volumetric3D.o -index-unit-output-path /SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/ApproximatelyEquatable.o -index-unit-output-path /SwiftSpatial.build/Debug-webassembly-wasm32/SwiftSpatial-t.build/Objects-normal/wasm32/SIMDExtensions.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[79 / 97] SwiftSpatial
error: Build failed
BUILD FAILURE 6.4 wasm