Build Information
Failed to build Grape, reference main (bdfad7
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 22:18:14 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftGraphs/Grape.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/SwiftGraphs/Grape
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bdfad75 Merge pull request #71 from RobertoRiquelme/main
Cloned https://github.com/SwiftGraphs/Grape.git
Revision (git rev-parse @):
bdfad750d2a973af48159119eaf90530d0e30ea7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftGraphs/Grape.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SwiftGraphs/Grape.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.37s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (2.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed due to signal 6 (use -v to see invocation)
Abstract conformance with bad subject type:
(bound_generic_struct_type decl="Swift.(file).SIMD2"
(struct_type decl="Swift.(file).Double"))
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/ForceSimulation/ForceProtocol.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/CenterForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/CollideForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/CompositedForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/EmptyForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/KDTreeForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/LinkForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/ManyBodyForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/PackedForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/PositionForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/RadialForce.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/SealedForce2D.swift /host/spi-builder-workspace/Sources/ForceSimulation/Forces/SealedForce3D.swift /host/spi-builder-workspace/Sources/ForceSimulation/KDTree/BufferedKDTree.swift /host/spi-builder-workspace/Sources/ForceSimulation/KDTree/KDBox.swift /host/spi-builder-workspace/Sources/ForceSimulation/KDTree/KDTree.swift /host/spi-builder-workspace/Sources/ForceSimulation/KDTree/KDTreeDelegate.swift /host/spi-builder-workspace/Sources/ForceSimulation/KDTree/KDTreeNode.swift /host/spi-builder-workspace/Sources/ForceSimulation/Kinetics.swift /host/spi-builder-workspace/Sources/ForceSimulation/Simulation.swift /host/spi-builder-workspace/Sources/ForceSimulation/Utils/AttributeDescriptor.swift /host/spi-builder-workspace/Sources/ForceSimulation/Utils/Disposable.swift /host/spi-builder-workspace/Sources/ForceSimulation/Utils/EdgeID.swift /host/spi-builder-workspace/Sources/ForceSimulation/Utils/LinearCongruentialGenerator.swift /host/spi-builder-workspace/Sources/ForceSimulation/Utils/SimulatableVector.swift /host/spi-builder-workspace/Sources/ForceSimulation/Utils/UnsafeArray.swift -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -enable-experimental-feature StrictConcurrency -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk -Xcc -g -no-auto-bridging-header-chaining -module-name ForceSimulation -package-name spi_builder_workspace -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 -emit-module-doc-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules/ForceSimulation.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules/ForceSimulation.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ForceSimulation.build/ForceSimulation.emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ForceSimulation.build/ForceSimulation.emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules/ForceSimulation.swiftmodule
1. Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2. Compiling with effective version 5.10
3. While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Sources/ForceSimulation/ForceProtocol.swift")
4. While type-checking extension of Kinetics2D.LinkForce (at /host/spi-builder-workspace/Sources/ForceSimulation/ForceProtocol.swift:24:1)
5. While type-checking protocol conformance Kinetics<Vector>.LinkForce: Force2D at extension of Kinetics2D.LinkForce (at /host/spi-builder-workspace/Sources/ForceSimulation/ForceProtocol.swift:24:1)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000055edad447918
1 swift-frontend 0x000055edad44543e
2 swift-frontend 0x000055edad447fb1
3 libc.so.6 0x00007fee805cd520
4 libc.so.6 0x00007fee806219fc pthread_kill + 300
5 libc.so.6 0x00007fee805cd476 raise + 22
6 libc.so.6 0x00007fee805b37f3 abort + 211
7 swift-frontend 0x000055eda7367cdd
8 swift-frontend 0x000055eda77d9275
9 swift-frontend 0x000055eda7794bb1
10 swift-frontend 0x000055eda7794993
11 swift-frontend 0x000055eda779476c
12 swift-frontend 0x000055eda76314b0
13 swift-frontend 0x000055eda6f67551
14 swift-frontend 0x000055eda6f6261c
15 swift-frontend 0x000055eda6ee6e0e
16 swift-frontend 0x000055eda6ed9ed8
17 swift-frontend 0x000055eda6ed92c4
18 swift-frontend 0x000055eda6ffbe15
19 swift-frontend 0x000055eda6ffde4b
20 swift-frontend 0x000055eda6ffbd45
21 swift-frontend 0x000055eda5b52129
22 swift-frontend 0x000055eda5b4844e
23 swift-frontend 0x000055eda5b481db
24 swift-frontend 0x000055eda57f13c2
25 swift-frontend 0x000055eda57e27de
26 swift-frontend 0x000055eda57e1878
27 swift-frontend 0x000055eda555d26b
28 libc.so.6 0x00007fee805b4d90
29 libc.so.6 0x00007fee805b4e40 __libc_start_main + 128
30 swift-frontend 0x000055eda555c265
BUILD FAILURE 6.2 wasm