Build Information
Failed to build swift-networking, reference main (2048c8), with Swift 6.2 for Wasm on 7 Sep 2026 15:03:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
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.2
Building package at path: $PWD
https://github.com/danthorpe/swift-networking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
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-dependencies
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/1218] Fetching swift-tagged
[501/8809] Fetching swift-tagged, swift-dependencies
[502/10227] Fetching swift-tagged, swift-dependencies, swift-utilities
[1784/12162] Fetching swift-tagged, swift-dependencies, swift-utilities, swift-http-types
[6763/13220] Fetching swift-tagged, swift-dependencies, swift-utilities, swift-http-types, swift-concurrency-extras
Fetched https://github.com/apple/swift-http-types from cache (0.61s)
[7035/11285] Fetching swift-tagged, swift-dependencies, swift-utilities, swift-concurrency-extras
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.62s)
[7039/10227] Fetching swift-tagged, swift-dependencies, swift-utilities
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/pointfreeco/swift-tagged from cache (0.69s)
Fetched https://github.com/danthorpe/swift-utilities from cache (0.69s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.69s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
[1/6592] Fetching swift-numerics
[2968/12726] Fetching swift-numerics, swift-algorithms
[5093/15071] Fetching swift-numerics, swift-algorithms, swift-docc-plugin
Fetched https://github.com/apple/swift-numerics from cache (1.26s)
[6392/8479] Fetching swift-algorithms, swift-docc-plugin
Fetched https://github.com/apple/swift-algorithms from cache (0.58s)
[1009/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.69s)
[1/18778] Fetching swift-argument-parser
[6010/25494] Fetching swift-argument-parser, swift-async-algorithms
Fetched https://github.com/apple/swift-argument-parser from cache (0.98s)
Fetched https://github.com/apple/swift-async-algorithms from cache (1.07s)
Computing version for https://github.com/pointfreeco/swift-tagged
Computed https://github.com/pointfreeco/swift-tagged at 0.10.0 (2.67s)
Computing version for https://github.com/danthorpe/swift-utilities
Computed https://github.com/danthorpe/swift-utilities at 0.7.0 (0.48s)
Fetching http://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5656] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.53s)
[1/2727] Fetching xctest-dynamic-overlay
Fetched http://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.76s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.96s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3820] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (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.81s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.17s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.18s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.19s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-clocks
[1/2686] Fetching combine-schedulers
[2687/4132] Fetching combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.58s)
[1/79648] Fetching swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers from cache (2.84s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.86s)
Computing version for http://github.com/pointfreeco/xctest-dynamic-overlay
Computed http://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (3.82s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.17s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.5 (0.22s)
Fetching https://github.com/apple/swift-collections.git
[1/27136] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.42s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.18s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.65s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.87s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.28s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.17s)
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/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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.5
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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.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.6.0
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/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/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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/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/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/71] Write sources
[47/71] Compiling _NumericsShims _NumericsShims.c
[48/71] Compiling _SwiftSyntaxCShims PlatformMutex.c
[49/71] Write swift-version-24593BA9C3E375BF.txt
[51/97] Emitting module RealModule
[52/98] Emitting module SwiftSyntax603
[53/98] Compiling SwiftSyntax603 Empty.swift
[54/99] Emitting module SwiftSyntax600
[55/99] Compiling SwiftSyntax600 Empty.swift
[58/100] Compiling RealModule Float80+Real.swift
[59/102] Compiling RealModule RealFunctions.swift
[60/102] Compiling RealModule Real.swift
[61/102] Compiling RealModule RelaxedArithmetic.swift
[62/123] Compiling SwiftSyntax509 Empty.swift
[63/123] Emitting module SwiftSyntax509
[65/124] Emitting module SwiftSyntax601
[66/124] Compiling SwiftSyntax601 Empty.swift
[68/143] Compiling SwiftSyntax602 Empty.swift
[69/143] Emitting module SwiftSyntax602
[71/154] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[72/154] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[73/156] Compiling RealModule Float16+Real.swift
[74/156] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[75/156] Compiling InternalCollectionsUtilities Span+Extras.swift
[76/156] Compiling HTTPTypes HTTPFieldName.swift
[79/156] Compiling InternalCollectionsUtilities _SortedCollection.swift
[80/156] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[81/167] Compiling SwiftSyntax510 Empty.swift
[82/167] Emitting module SwiftSyntax510
[84/168] Compiling ConcurrencyExtras AsyncStream.swift
[85/168] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[86/168] Compiling ConcurrencyExtras ActorIsolated.swift
[87/168] Compiling ConcurrencyExtras AnyHashableSendable.swift
[88/169] Wrapping AST for SwiftSyntax603 for debugging
[90/169] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[91/169] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[92/169] Compiling InternalCollectionsUtilities String+Padding.swift
[93/169] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[96/169] Wrapping AST for SwiftSyntax602 for debugging
[98/232] Emitting module InternalCollectionsUtilities
[99/257] Compiling Algorithms Partition.swift
[100/257] Compiling Algorithms Permutations.swift
[101/257] Compiling Algorithms Joined.swift
[102/257] Compiling Algorithms Keyed.swift
[103/257] Compiling Algorithms MinMax.swift
[104/258] Wrapping AST for SwiftSyntax601 for debugging
[106/305] Compiling ConcurrencyExtras Result.swift
[107/316] Compiling ConcurrencyExtras MainSerialExecutor.swift
[108/316] Compiling HTTPTypes HTTPParsedFields.swift
[109/317] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[110/317] Compiling OrderedCollections OrderedDictionary+Elements.swift
[111/317] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[112/317] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[113/317] Compiling Tagged UUID.swift
[114/317] Compiling OrderedCollections _HashTable.swift
[115/317] Compiling OrderedCollections _Hashtable+Header.swift
[116/317] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[117/319] Emitting module Protected
[118/319] Compiling Protected Protected.swift
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:68:5: error: cannot find 'pthread_mutexattr_init' in scope
66 | init() {
67 | var attr: pthread_mutexattr_t = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:70:5: error: cannot find 'pthread_mutexattr_settype' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
71 | #endif
72 |
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:70:44: error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
68 | pthread_mutexattr_init(&attr)
69 | #if DEBUG
70 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_RECURSIVE))
| `- error: cannot find 'PTHREAD_MUTEX_RECURSIVE' in scope
71 | #endif
72 |
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:73:15: error: cannot find 'pthread_mutex_init' in scope
71 | #endif
72 |
73 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
74 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
75 | }
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:78:15: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 | deinit {
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:84:15: error: cannot find 'pthread_mutex_lock' in scope
82 |
83 | fileprivate func lock() {
84 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
85 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
86 | }
/host/spi-builder-workspace/.build/checkouts/swift-utilities/Sources/Protected/Protected.swift:89:15: error: cannot find 'pthread_mutex_unlock' in scope
87 |
88 | fileprivate func unlock() {
89 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
90 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
91 | }
[119/319] Compiling HTTPTypes HTTPRequest+URL.swift
[120/319] Compiling OrderedCollections OrderedDictionary+Codable.swift
[121/319] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
BUILD FAILURE 6.2 wasm