The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-composable-environment, reference main (22b550), with Swift 6.4 for Wasm on 18 Sep 2026 14:56:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tgrapperon/swift-composable-environment.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/tgrapperon/swift-composable-environment
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 22b5506 Update README.md
Cloned https://github.com/tgrapperon/swift-composable-environment.git
Revision (git rev-parse @):
22b5506bac48ebbb2098cbcf18bcf4b5dd3495b7
SUCCESS checkout https://github.com/tgrapperon/swift-composable-environment.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tgrapperon/swift-composable-environment.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/pointfreeco/swift-composable-architecture
[1/313656] Fetching swift-composable-architecture
Fetched https://github.com/pointfreeco/swift-composable-architecture (8.84s)
Computing version for https://github.com/pointfreeco/swift-composable-architecture
Computed https://github.com/pointfreeco/swift-composable-architecture at 0.59.0 (9.05s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swiftui-navigation
Fetching https://github.com/pointfreeco/swift-identified-collections
[1/5655] Fetching swift-custom-dump
[624/13246] Fetching swift-custom-dump, swift-dependencies
[3188/14640] Fetching swift-custom-dump, swift-dependencies, swiftui-navigation
[6235/15698] Fetching swift-custom-dump, swift-dependencies, swiftui-navigation, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swiftui-navigation (0.49s)
[7021/14304] Fetching swift-custom-dump, swift-dependencies, swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
[8840/15884] Fetching swift-custom-dump, swift-dependencies, swift-concurrency-extras, swift-identified-collections
[9580/18611] Fetching swift-custom-dump, swift-dependencies, swift-concurrency-extras, swift-identified-collections, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-identified-collections (0.62s)
[12856/17031] Fetching swift-custom-dump, swift-dependencies, swift-concurrency-extras, xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-case-paths
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.70s)
Fetched https://github.com/pointfreeco/swift-custom-dump (0.70s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.70s)
Fetching https://github.com/apple/swift-collections
[1/2686] Fetching combine-schedulers
Fetched https://github.com/pointfreeco/combine-schedulers (0.48s)
[1/5287] Fetching swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths (0.48s)
[1/27320] Fetching swift-collections
Fetched https://github.com/pointfreeco/swift-dependencies (1.90s)
Fetched https://github.com/apple/swift-collections (1.21s)
Computing version for https://github.com/pointfreeco/swiftui-navigation
Computed https://github.com/pointfreeco/swiftui-navigation at 0.8.0 (2.11s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.6.0 (0.19s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1446] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks (0.46s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.14.1 (0.66s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.11.0 (0.18s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.4.0 (0.19s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.2 (0.19s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 0.1.2 (0.18s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.18s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 0.8.0 (0.19s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.31s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.11.2
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/swiftui-navigation
Working copy of https://github.com/pointfreeco/swiftui-navigation resolved at 0.8.0
Creating working copy for https://github.com/pointfreeco/swift-composable-architecture
Working copy of https://github.com/pointfreeco/swift-composable-architecture resolved at 0.59.0
Creating working copy for https://github.com/pointfreeco/swift-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 0.8.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.11.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.4.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 599]
[Planning deferred tasks]
[104 / 228] _Dependencies
[112 / 255] InternalCollectionsUtilities
[124 / 255] XCTestDynamicOverlay
[135 / 255] XCTestDynamicOverlay-product
[141 / 256] _Dependencies
[144 / 256] XCTestDynamicOverlay
[145 / 256] OrderedCollections
[148 / 256] CustomDump
[151 / 256] ConcurrencyExtras
[153 / 256] ConcurrencyExtras-product
[160 / 258] ConcurrencyExtras
[169 / 265] CasePaths
[178 / 293] ComposableDependencies
[182 / 293] CombineSchedulers
[201 / 295] Clocks
[203 / 295] Clocks
[204 / 295] Clocks
[221 / 304] CasePaths
[229 / 313] OrderedCollections
[230 / 314] CasePaths
[231 / 314] CustomDump
[238 / 314] OrderedCollections
[241 / 315] CustomDump
[242 / 315] CustomDump
[243 / 315] CustomDump
[244 / 315] CustomDump
[248 / 315] SwiftUINavigationCore
[258 / 338] SwiftUINavigationCore
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DependencyAliases.swift
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:26: error: cannot find 'CTL_KERN' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                          `- error: cannot find 'CTL_KERN' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:36: error: cannot find 'KERN_PROC' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                    `- error: cannot find 'KERN_PROC' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:69:47: error: cannot find 'KERN_PROC_PID' in scope
67 |   #if DEBUG
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
   |                                               `- error: cannot find 'KERN_PROC_PID' in scope
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:70:16: error: cannot find 'kinfo_proc' in scope
68 |     // https://github.com/bitstadium/HockeySDK-iOS/blob/c6e8d1e940299bec0c0585b1f7b86baf3b17fc82/Classes/BITHockeyHelper.m#L346-L370
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
   |                `- error: cannot find 'kinfo_proc' in scope
71 |     var info_size = MemoryLayout<kinfo_proc>.size
72 |
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:71:34: error: cannot find type 'kinfo_proc' in scope
69 |     var name: [Int32] = [CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid()]
70 |     var info = kinfo_proc()
71 |     var info_size = MemoryLayout<kinfo_proc>.size
   |                                  `- error: cannot find type 'kinfo_proc' in scope
72 |
73 |     let isDebuggerAttached = name.withUnsafeMutableBytes {
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:11: error: cannot find 'sysctl' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |           `- error: cannot find 'sysctl' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:76:83: error: cannot find 'P_TRACED' in scope
74 |       $0.bindMemory(to: Int32.self).baseAddress
75 |         .map {
76 |           sysctl($0, 4, &info, &info_size, nil, 0) != -1 && info.kp_proc.p_flag & P_TRACED != 0
   |                                                                                   `- error: cannot find 'P_TRACED' in scope
77 |         }
78 |         ?? false
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:91:7: error: cannot find 'raise' in scope
89 |         stderr
90 |       )
91 |       raise(SIGTRAP)
   |       `- error: cannot find 'raise' in scope
92 |     }
93 |   #endif
/host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift:91:13: error: cannot find 'SIGTRAP' in scope
89 |         stderr
90 |       )
91 |       raise(SIGTRAP)
   |             `- error: cannot find 'SIGTRAP' in scope
92 |     }
93 |   #endif
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/_DependencyAliases/DependencyAliases.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/Objects-normal/wasm32/DependencyAliases.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/Objects-normal/wasm32/DependencyAliases.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/Objects-normal/wasm32/DependencyAliases.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/Objects-normal/wasm32/DependencyAliases.dia -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 5 -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 -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/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name _DependencyAliases -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/Objects-normal/wasm32/_DependencyAliases_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/swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/Objects-normal/wasm32/DependencyAliases.o -index-unit-output-path /swift-composable-environment.build/Debug-webassembly-wasm32/_DependencyAliases-t.build/Objects-normal/wasm32/DependencyAliases.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm