The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSpatial, reference main (d9178d), with Swift 6.4 for Wasm on 21 Sep 2026 12:40:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/literally-anything/SwiftSpatial.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-3":/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.40s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/keyvariable/kvSIMD.swift.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-numerics
[1/6636] Fetching swift-numerics
[468/6853] Fetching swift-numerics, kvsimd.swift
[4200/9198] Fetching swift-numerics, kvsimd.swift, swift-docc-plugin
[6469/28116] Fetching swift-numerics, kvsimd.swift, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.73s)
[4470/21480] Fetching kvsimd.swift, swift-docc-plugin, swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/keyvariable/kvSIMD.swift.git (1.17s)
Fetched https://github.com/apple/swift-argument-parser.git (1.19s)
Fetched https://github.com/apple/swift-docc-plugin (1.19s)
[1/79999] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.32s)
Computing version for https://github.com/keyvariable/kvSIMD.swift.git
Computed https://github.com/keyvariable/kvSIMD.swift.git at 1.1.0 (6.53s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.37s)
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.38s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.81s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.72s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.21s)
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.62s)
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/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/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-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/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/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]
[33 / 66] RealModule
[45 / 86] RealModule
[49 / 86] RealModule
[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: warning: extension 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
16 | }
17 |
18 | extension simd_quatd: Codable {
   | |- warning: extension 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
   | `- note: add '@retroactive' to silence this warning
19 |     public static let identity: simd_quatd = .init(real: 1, imag: .zero)
20 |
/host/spi-builder-workspace/Sources/SwiftSpatial/SIMDExtensions.swift:19:23: error: static property 'identity' is not concurrency-safe because non-'Sendable' type 'simd_quatd' may have shared mutable state [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
17 |
18 | extension simd_quatd: Codable {
19 |     public static let identity: simd_quatd = .init(real: 1, imag: .zero)
   |                       |- error: static property 'identity' is not concurrency-safe because non-'Sendable' type 'simd_quatd' may have shared mutable state [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
   |                       |- note: add '@MainActor' to make static property 'identity' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     @inlinable public init(from decoder: any Decoder) throws {
/host/spi-builder-workspace/.build/checkouts/kvSIMD.swift/Sources/kvSIMD/KvQuaternions.swift:329:15: note: struct 'simd_quatd' does not conform to the 'Sendable' protocol
327 | ///
328 | /// It's represented as a 4-element vector where first three elements are a vector (imaginary) part, fourth element is a scalar (real) part.
329 | public struct simd_quatd : Equatable, CustomDebugStringConvertible {
    |               `- note: struct 'simd_quatd' does not conform to the 'Sendable' protocol
330 |
331 |     /// 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
error: Build failed
BUILD FAILURE 6.4 wasm