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 Processed, reference 2.2.0 (3eec30), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 07:36:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/SwiftedMind/Processed.git
Reference: 2.2.0
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/SwiftedMind/Processed
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at 3eec302 Add new product "ProcessedUtility"
Cloned https://github.com/SwiftedMind/Processed.git
Revision (git rev-parse @):
3eec30203744bce19f1d40af50a68d49e5de7c1b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/Processed.git at 2.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftedMind/Processed.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module Processed
/host/spi-builder-workspace/Sources/Processed/Errors.swift:23:8: error: no such module 'Foundation'
21 | //
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | /// An error indicating that the loadable process has been cancelled.
[5/14] Compiling Processed Errors.swift
/host/spi-builder-workspace/Sources/Processed/Errors.swift:23:8: error: no such module 'Foundation'
21 | //
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | /// An error indicating that the loadable process has been cancelled.
[6/14] Compiling Processed Loadable.swift
/host/spi-builder-workspace/Sources/Processed/Errors.swift:23:8: error: no such module 'Foundation'
21 | //
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | /// An error indicating that the loadable process has been cancelled.
[7/14] Compiling Processed TaskStore.swift
/host/spi-builder-workspace/Sources/Processed/Errors.swift:23:8: error: no such module 'Foundation'
21 | //
22 |
23 | import Foundation
   |        `- error: no such module 'Foundation'
24 |
25 | /// An error indicating that the loadable process has been cancelled.
error: compile command failed due to signal 6 (use -v to see invocation)
swift-frontend: /home/build-user/swift/lib/Sema/CSSimplify.cpp:16071: void swift::constraints::ConstraintSystem::addKeyPathApplicationRootConstraint(Type, ConstraintLocatorBuilder): Assertion `(path.size() == 1 && path[0].getKind() == ConstraintLocator::SubscriptMember) || (path.size() == 2 && path[1].getKind() == ConstraintLocator::KeyPathDynamicMember)' 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/Processed/Errors.swift /host/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift -primary-file /host/spi-builder-workspace/Sources/Processed/Loadable/LoadableState.swift -primary-file /host/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift /host/spi-builder-workspace/Sources/Processed/Process/Process.swift /host/spi-builder-workspace/Sources/Processed/Process/ProcessState.swift /host/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift /host/spi-builder-workspace/Sources/Processed/Process/SingleProcess.swift /host/spi-builder-workspace/Sources/Processed/TaskIdentifier/TaskIdentifier.swift /host/spi-builder-workspace/Sources/Processed/TaskStore/TaskStore.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Processed.build/LoadableState.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Processed.build/LoadableState.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Processed.build/LoadableState.dia -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Processed.build/LoadableSupport.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Processed.build/LoadableSupport.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Processed.build/LoadableSupport.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 5 -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 Processed -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/Processed.build/LoadableState.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Processed.build/LoadableSupport.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 effective version 5.10
3.	While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(Processed.(file).LoadableSupport extension.reset@/host/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:284:26)
5.	While type-checking statement at [/host/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:284:110 - line:290:3] RangeText="{
    if case .absent = self[keyPath: loadableState] {
    } else {
      self[keyPath: loadableState] = .absent
    }
    cancel(loadableState)
  "
6.	While type-checking statement at [/host/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:285:5 - line:288:5] RangeText="if case .absent = self[keyPath: loadableState] {
    } else {
      self[keyPath: loadableState] = .absent
    "
7.	While type-checking expression at [/host/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:285:23 - line:285:50] RangeText="self[keyPath: loadableState"
8.	While type-checking-target starting at /host/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:285:27
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 0x0000560611e9f918
1  swift-frontend 0x0000560611e9d43e
2  swift-frontend 0x0000560611e9ffb1
3  libc.so.6      0x00007f9d144ee520
4  libc.so.6      0x00007f9d145429fc pthread_kill + 300
5  libc.so.6      0x00007f9d144ee476 raise + 22
6  libc.so.6      0x00007f9d144d47f3 abort + 211
7  libc.so.6      0x00007f9d144d471b
8  libc.so.6      0x00007f9d144e5e96
9  swift-frontend 0x000056060b720ca2
10 swift-frontend 0x000056060b7210f9
11 swift-frontend 0x000056060b84e9f5
12 swift-frontend 0x000056060b721fd4
13 swift-frontend 0x000056060b72342f
14 swift-frontend 0x000056060b744a06
15 swift-frontend 0x000056060b757f85
16 swift-frontend 0x000056060b73e29d
17 swift-frontend 0x000056060b740a2f
18 swift-frontend 0x000056060b7405db
19 swift-frontend 0x000056060b73ff5f
20 swift-frontend 0x000056060b8e4b46
21 swift-frontend 0x000056060b8e49c1
22 swift-frontend 0x000056060b8e63a6
23 swift-frontend 0x000056060b9e381a
24 swift-frontend 0x000056060b9eb53e
25 swift-frontend 0x000056060b9e99da
26 swift-frontend 0x000056060b9e937c
27 swift-frontend 0x000056060b9e5011
28 swift-frontend 0x000056060b9e942d
29 swift-frontend 0x000056060b9e707c
30 swift-frontend 0x000056060b9e68c4
31 swift-frontend 0x000056060b9e645e
32 swift-frontend 0x000056060bfe50e2
33 swift-frontend 0x000056060bf3cbd9
34 swift-frontend 0x000056060c0c3398
35 swift-frontend 0x000056060ba53e62
36 swift-frontend 0x000056060ba55e4b
37 swift-frontend 0x000056060ba53d45
38 swift-frontend 0x000056060a5aa129
39 swift-frontend 0x000056060a5a03ea
40 swift-frontend 0x000056060a5a01db
41 swift-frontend 0x000056060a2493c2
42 swift-frontend 0x000056060a23a7de
43 swift-frontend 0x000056060a239878
44 swift-frontend 0x0000560609fb526b
45 libc.so.6      0x00007f9d144d5d90
46 libc.so.6      0x00007f9d144d5e40 __libc_start_main + 128
47 swift-frontend 0x0000560609fb4265
BUILD FAILURE 6.2 wasm