The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-utilities, reference 0.7.0 (615c4f), with Swift 6.4 for Wasm on 20 Sep 2026 17:45:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.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/danthorpe/swift-utilities.git
Reference: 0.7.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/danthorpe/swift-utilities
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 615c4fb bot: bump github.com/pointfreeco/swift-dependencies from 1.2.2 to 1.3.0 (#42)
Cloned https://github.com/danthorpe/swift-utilities.git
Revision (git rev-parse @):
615c4fbf115a584057b978b2c18a4c75198f4d61
SUCCESS checkout https://github.com/danthorpe/swift-utilities.git at 0.7.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/danthorpe/swift-utilities.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.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-docc-plugin
Fetching http://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/pointfreeco/swift-dependencies
[1/2345] Fetching swift-docc-plugin
[2/9936] Fetching swift-docc-plugin, swift-dependencies
[7454/28854] Fetching swift-docc-plugin, swift-dependencies, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin (0.59s)
[11564/26509] Fetching swift-dependencies, swift-argument-parser
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetched https://github.com/pointfreeco/swift-dependencies (0.59s)
[4352/18918] Fetching swift-argument-parser
[4353/46270] Fetching swift-argument-parser, swift-collections
[5678/48997] Fetching swift-argument-parser, swift-collections, xctest-dynamic-overlay
Fetching https://github.com/apple/swift-async-algorithms
[48998/54663] Fetching swift-argument-parser, swift-collections, xctest-dynamic-overlay, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.54s)
Fetched http://github.com/pointfreeco/xctest-dynamic-overlay (1.17s)
Fetched https://github.com/apple/swift-argument-parser (1.17s)
Fetched https://github.com/apple/swift-collections (1.18s)
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms (0.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (2.45s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.58s)
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/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.5 (0.24s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.22s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.24s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6136] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.72s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (2.33s)
Computing version for http://github.com/pointfreeco/xctest-dynamic-overlay
Computed http://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (0.34s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.36s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/swiftlang/swift-syntax
[1/1058] Fetching swift-concurrency-extras
[1059/2504] Fetching swift-concurrency-extras, swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.54s)
[637/1446] Fetching swift-clocks
[1447/4132] Fetching swift-clocks, combine-schedulers
Fetched https://github.com/pointfreeco/combine-schedulers (0.49s)
[1/79986] Fetching swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks (3.07s)
Fetched https://github.com/swiftlang/swift-syntax (3.09s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (3.29s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.19s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git (0.68s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.91s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.18s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.32s)
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/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/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/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-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/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.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 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-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 743]
[Planning deferred tasks]
[125 / 284] IssueReporting
[126 / 284] InternalCollectionsUtilities
[137 / 284] IssueReporting
[148 / 284] ConcurrencyExtras
[150 / 284] IssueReporting-product
[151 / 284] IssueReporting-product
[152 / 284] _IssueReporting
[155 / 284] InternalCollectionsUtilities
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/Protected/Protected.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Protected.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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 |   }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/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 -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