The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Coordinator, reference master (eecb45), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 09:27:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/radianttap/Coordinator.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/radianttap/Coordinator
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at eecb45c Swift 6 language mode includes strict-concurrency, so feature flag is not needed
Cloned https://github.com/radianttap/Coordinator.git
Revision (git rev-parse @):
eecb45ce8298402f3b3280829a3b69fcde8071e9
SUCCESS checkout https://github.com/radianttap/Coordinator.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/radianttap/Coordinator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: compile command failed due to signal 6 (use -v to see invocation)
[3/7] Compiling Coordinator UIKit-CoordinatingExtensions.swift
/host/spi-builder-workspace/Sources/Coordinator/Coordinating.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | ///	Protocol to define what is required for an object to be Coordinator.
swift-frontend: /home/build-user/swift/lib/AST/TypeSubstitution.cpp:627: TypeSubstitutionMap swift::TypeBase::getContextSubstitutions(const DeclContext *, GenericEnvironment *): Assertion `!baseTy->hasLValueType() && !baseTy->is<AnyMetatypeType>() && !baseTy->is<ErrorType>()' failed.
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 -c /host/spi-builder-workspace/Sources/Coordinator/Coordinating.swift /host/spi-builder-workspace/Sources/Coordinator/Coordinator.swift -primary-file /host/spi-builder-workspace/Sources/Coordinator/NavigationCoordinator.swift /host/spi-builder-workspace/Sources/Coordinator/UIKit-CoordinatingExtensions.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Coordinator.build/NavigationCoordinator.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Coordinator.build/NavigationCoordinator.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Coordinator.build/NavigationCoordinator.dia -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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 Coordinator -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 -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Coordinator.build/NavigationCoordinator.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Sources/Coordinator/NavigationCoordinator.swift")
4.	While type-checking 'NavigationCoordinator' (at /host/spi-builder-workspace/Sources/Coordinator/NavigationCoordinator.swift:12:6)
5.	While evaluating request ActorIsolationRequest(Coordinator.(file).NavigationCoordinator@/host/spi-builder-workspace/Sources/Coordinator/NavigationCoordinator.swift:12:12)
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 0x000055667a743918
1  swift-frontend 0x000055667a74143e
2  swift-frontend 0x000055667a743fb1
3  libc.so.6      0x00007fe3c7f42520
4  libc.so.6      0x00007fe3c7f969fc pthread_kill + 300
5  libc.so.6      0x00007fe3c7f42476 raise + 22
6  libc.so.6      0x00007fe3c7f287f3 abort + 211
7  libc.so.6      0x00007fe3c7f2871b
8  libc.so.6      0x00007fe3c7f39e96
9  swift-frontend 0x0000556674ad9917
10 swift-frontend 0x0000556674ad9ad4
11 swift-frontend 0x0000556674163481
12 swift-frontend 0x000055667428404c
13 swift-frontend 0x00005566748a0ec1
14 swift-frontend 0x00005566748a0c61
15 swift-frontend 0x00005566747e690b
16 swift-frontend 0x0000556674105298
17 swift-frontend 0x00005566741de3de
18 swift-frontend 0x00005566741d5984
19 swift-frontend 0x00005566741d52c4
20 swift-frontend 0x00005566742f7e15
21 swift-frontend 0x00005566742f9e4b
22 swift-frontend 0x00005566742f7d45
23 swift-frontend 0x0000556672e4e129
24 swift-frontend 0x0000556672e443ea
25 swift-frontend 0x0000556672e441db
26 swift-frontend 0x0000556672aed3c2
27 swift-frontend 0x0000556672ade7de
28 swift-frontend 0x0000556672add878
29 swift-frontend 0x000055667285926b
30 libc.so.6      0x00007fe3c7f29d90
31 libc.so.6      0x00007fe3c7f29e40 __libc_start_main + 128
32 swift-frontend 0x0000556672858265
BUILD FAILURE 6.2 wasm