Build Information
Failed to build swift-networking, reference main (2048c8), with Swift 6.4 for Wasm on 27 Sep 2026 23:48:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danthorpe/swift-networking.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/danthorpe/swift-networking
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2048c8d Redact sensitive header values in logged requests and responses (#165)
Cloned https://github.com/danthorpe/swift-networking.git
Revision (git rev-parse @):
2048c8d6d8a8746e5f8c2fb77eee5bd6f2515856
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/danthorpe/swift-networking.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/danthorpe/swift-networking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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-http-types
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/danthorpe/swift-utilities
Fetching https://github.com/pointfreeco/swift-tagged
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/1939] Fetching swift-http-types
[409/9530] Fetching swift-http-types, swift-dependencies
[4521/10588] Fetching swift-http-types, swift-dependencies, swift-concurrency-extras
[5272/11806] Fetching swift-http-types, swift-dependencies, swift-concurrency-extras, swift-tagged
[11613/13224] Fetching swift-http-types, swift-dependencies, swift-concurrency-extras, swift-tagged, swift-utilities
[12006/19864] Fetching swift-http-types, swift-dependencies, swift-concurrency-extras, swift-tagged, swift-utilities, swift-numerics
Fetched https://github.com/pointfreeco/swift-tagged (0.53s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.53s)
[10798/17588] Fetching swift-http-types, swift-dependencies, swift-utilities, swift-numerics
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/pointfreeco/swift-dependencies (0.54s)
[4885/9997] Fetching swift-http-types, swift-utilities, swift-numerics
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/danthorpe/swift-utilities (0.56s)
Fetching https://github.com/apple/swift-algorithms
[5259/8579] Fetching swift-http-types, swift-numerics
Fetched https://github.com/apple/swift-http-types (0.63s)
Fetched https://github.com/apple/swift-numerics (0.63s)
[1/2345] Fetching swift-docc-plugin
[72/9082] Fetching swift-docc-plugin, swift-async-algorithms
[1853/15241] Fetching swift-docc-plugin, swift-async-algorithms, swift-algorithms
[15242/34188] Fetching swift-docc-plugin, swift-async-algorithms, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin (0.60s)
[13654/31843] Fetching swift-async-algorithms, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms (0.61s)
[7107/25106] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms (0.59s)
[1706/18947] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.80s)
Computing version for https://github.com/pointfreeco/swift-tagged
Computed https://github.com/pointfreeco/swift-tagged at 0.10.0 (2.42s)
Computing version for https://github.com/danthorpe/swift-utilities
Computed https://github.com/danthorpe/swift-utilities at 0.7.0 (0.33s)
Fetching http://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/2727] Fetching xctest-dynamic-overlay
[2728/8393] Fetching xctest-dynamic-overlay, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.96s)
Fetched http://github.com/pointfreeco/xctest-dynamic-overlay (0.96s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.83s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.19s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.17s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.19s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.22s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/2686] Fetching combine-schedulers
[1022/4132] Fetching combine-schedulers, swift-clocks
[2789/10293] Fetching combine-schedulers, swift-clocks, swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-clocks (0.84s)
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.85s)
[1/80069] Fetching swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers (3.03s)
Fetched https://github.com/swiftlang/swift-syntax (3.05s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (4.19s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.20s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.21s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8306] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git (1.09s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.34s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.6 (0.23s)
Fetching https://github.com/apple/swift-collections.git
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (1.60s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.33s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.20s)
Computing version for http://github.com/pointfreeco/xctest-dynamic-overlay
Computed http://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (0.23s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.17.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/danthorpe/swift-utilities
Working copy of https://github.com/danthorpe/swift-utilities resolved at 0.7.0
Creating working copy for https://github.com/pointfreeco/swift-tagged
Working copy of https://github.com/pointfreeco/swift-tagged resolved at 0.10.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.1
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/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for http://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of http://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.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/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.6
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 70]
[Pre-planning 1 / 1507]
[Planning deferred tasks]
[Starting]
[28 / 574] SwiftSyntaxMacroExpansion
[275 / 598] _SwiftSyntaxCShims
[319 / 609] SwiftSyntax601
[320 / 609] Tagged
[331 / 609] SwiftSyntax510
[342 / 613] SwiftSyntax604
[348 / 615] SwiftSyntax600
[353 / 616] RealModule
[358 / 618] SwiftSyntax601
[366 / 629] IssueReporting
[373 / 629] RealModule
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Protected.swift
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:68:5: [1;31merror: [1;39mcannot find 'pthread_mutexattr_init' in scope[0;0m
[0;36m66 |[0;0m init() {
[0;36m67 |[0;0m var attr: pthread_mutexattr_t = pthread_mutexattr_t()
[0;36m68 |[0;0m [4;39mpthread_mutexattr_init[0;0m(&attr)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutexattr_init' in scope[0;0m
[0;36m69 |[0;0m #if DEBUG
[0;36m70 |[0;0m pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:70:5: [1;31merror: [1;39mcannot find 'pthread_mutexattr_settype' in scope[0;0m
[0;36m68 |[0;0m pthread_mutexattr_init(&attr)
[0;36m69 |[0;0m #if DEBUG
[0;36m70 |[0;0m [4;39mpthread_mutexattr_settype[0;0m(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutexattr_settype' in scope[0;0m
[0;36m71 |[0;0m #endif
[0;36m72 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:70:44: [1;31merror: [1;39mcannot find 'PTHREAD_MUTEX_RECURSIVE' in scope[0;0m
[0;36m68 |[0;0m pthread_mutexattr_init(&attr)
[0;36m69 |[0;0m #if DEBUG
[0;36m70 |[0;0m pthread_mutexattr_settype(&attr, Int32([4;39mPTHREAD_MUTEX_RECURSIVE[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'PTHREAD_MUTEX_RECURSIVE' in scope[0;0m
[0;36m71 |[0;0m #endif
[0;36m72 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:73:15: [1;31merror: [1;39mcannot find 'pthread_mutex_init' in scope[0;0m
[0;36m71 |[0;0m #endif
[0;36m72 |[0;0m
[0;36m73 |[0;0m let err = [4;39mpthread_mutex_init[0;0m(self.mutex, &attr)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_init' in scope[0;0m
[0;36m74 |[0;0m precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
[0;36m75 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:78:15: [1;31merror: [1;39mcannot find 'pthread_mutex_destroy' in scope[0;0m
[0;36m76 |[0;0m
[0;36m77 |[0;0m deinit {
[0;36m78 |[0;0m let err = [4;39mpthread_mutex_destroy[0;0m(self.mutex)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_destroy' in scope[0;0m
[0;36m79 |[0;0m precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
[0;36m80 |[0;0m mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:84:15: [1;31merror: [1;39mcannot find 'pthread_mutex_lock' in scope[0;0m
[0;36m82 |[0;0m
[0;36m83 |[0;0m fileprivate func lock() {
[0;36m84 |[0;0m let err = [4;39mpthread_mutex_lock[0;0m(self.mutex)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_lock' in scope[0;0m
[0;36m85 |[0;0m precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
[0;36m86 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:89:15: [1;31merror: [1;39mcannot find 'pthread_mutex_unlock' in scope[0;0m
[0;36m87 |[0;0m
[0;36m88 |[0;0m fileprivate func unlock() {
[0;36m89 |[0;0m let err = [4;39mpthread_mutex_unlock[0;0m(self.mutex)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_unlock' in scope[0;0m
[0;36m90 |[0;0m precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
[0;36m91 |[0;0m }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/Objects-normal/wasm32/Protected.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/Objects-normal/wasm32/Protected.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/Objects-normal/wasm32/Protected.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/Objects-normal/wasm32/Protected.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 -suppress-warnings -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-utilities.build/Debug-webassembly-wasm32/Protected-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Protected -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/Objects-normal/wasm32/Protected_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-utilities.build/Debug-webassembly-wasm32/Protected-t.build/Objects-normal/wasm32/Protected.o -index-unit-output-path /swift-utilities.build/Debug-webassembly-wasm32/Protected-t.build/Objects-normal/wasm32/Protected.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm