Build Information
Failed to build swiftlang-snippets, reference main (c9bacf), with Swift 6.2 for Wasm on 17 May 2026 12:40:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/capturecontext/swiftlang-snippets.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/capturecontext/swiftlang-snippets
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c9bacf5 Initial commit
Cloned https://github.com/capturecontext/swiftlang-snippets.git
Revision (git rev-parse @):
c9bacf56c047318118e05db053b409a14109ff28
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/capturecontext/swiftlang-snippets.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/capturecontext/swiftlang-snippets.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/capturecontext/swift-result-builders.git
Fetching https://github.com/capturecontext/swiftlang-keywords.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/capturecontext/swift-snippets.git
Fetching https://github.com/capturecontext/swift-casification.git
[1/43] Fetching swiftlang-keywords
[44/121] Fetching swiftlang-keywords, swift-snippets
[122/162] Fetching swiftlang-keywords, swift-snippets, swift-result-builders
[163/461] Fetching swiftlang-keywords, swift-snippets, swift-result-builders, swift-casification
Fetched https://github.com/capturecontext/swift-result-builders.git from cache (0.25s)
Fetched https://github.com/capturecontext/swift-snippets.git from cache (0.28s)
Fetched https://github.com/capturecontext/swift-casification.git from cache (0.28s)
Fetched https://github.com/capturecontext/swiftlang-keywords.git from cache (0.28s)
[1/16129] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.20s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.2 (4.63s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5505] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.56s)
[1/75256] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.56s)
Computing version for https://github.com/capturecontext/swift-result-builders.git
Computed https://github.com/capturecontext/swift-result-builders.git at 0.0.2 (9.09s)
Computing version for https://github.com/capturecontext/swift-snippets.git
Computed https://github.com/capturecontext/swift-snippets.git at 0.0.1 (0.42s)
Fetching https://github.com/pointfreeco/swift-dependencies.git
Fetching https://github.com/capturecontext/swift-keypaths-extensions.git
[1/6840] Fetching swift-dependencies
[207/7036] Fetching swift-dependencies, swift-keypaths-extensions
Fetched https://github.com/capturecontext/swift-keypaths-extensions.git from cache (0.23s)
[2668/6840] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies.git from cache (0.41s)
Computing version for https://github.com/capturecontext/swift-casification.git
Computed https://github.com/capturecontext/swift-casification.git at 0.6.0 (0.82s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras.git
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git
[1/956] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras.git from cache (0.33s)
[1/5749] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache (1.61s)
Computing version for https://github.com/capturecontext/swiftlang-keywords.git
Computed https://github.com/capturecontext/swiftlang-keywords.git at 0.0.1 (4.10s)
Computing version for https://github.com/pointfreeco/swift-dependencies.git
Computed https://github.com/pointfreeco/swift-dependencies.git at 1.12.0 (0.48s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-clocks
[1/2606] Fetching combine-schedulers
[1435/3923] Fetching combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.37s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.37s)
Computing version for https://github.com/capturecontext/swift-keypaths-extensions.git
Computed https://github.com/capturecontext/swift-keypaths-extensions.git at 0.2.0 (0.98s)
Fetching https://github.com/capturecontext/swift-keypath-mapping.git
Fetching https://github.com/capturecontext/swift-marker-protocols.git
[1/74] Fetching swift-keypath-mapping
[59/245] Fetching swift-keypath-mapping, swift-marker-protocols
Fetched https://github.com/capturecontext/swift-keypath-mapping.git from cache (0.35s)
Fetched https://github.com/capturecontext/swift-marker-protocols.git from cache (0.35s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Computed https://github.com/pointfreeco/xctest-dynamic-overlay.git at 1.9.0 (0.78s)
Computing version for https://github.com/capturecontext/swift-marker-protocols.git
Computed https://github.com/capturecontext/swift-marker-protocols.git at 1.5.2 (0.40s)
Computing version for https://github.com/capturecontext/swift-keypath-mapping.git
Computed https://github.com/capturecontext/swift-keypath-mapping.git at 0.0.2 (1.02s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras.git
Computed https://github.com/pointfreeco/swift-concurrency-extras.git at 1.3.2 (0.43s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.43s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.0 (0.43s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.68s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (3.58s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.1 (0.76s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies.git
Working copy of https://github.com/pointfreeco/swift-dependencies.git resolved at 1.12.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay.git resolved at 1.9.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.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.5.0
Creating working copy for https://github.com/capturecontext/swift-result-builders.git
Working copy of https://github.com/capturecontext/swift-result-builders.git resolved at 0.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.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/capturecontext/swiftlang-keywords.git
Working copy of https://github.com/capturecontext/swiftlang-keywords.git resolved at 0.0.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras.git
Working copy of https://github.com/pointfreeco/swift-concurrency-extras.git resolved at 1.3.2
Creating working copy for https://github.com/capturecontext/swift-snippets.git
Working copy of https://github.com/capturecontext/swift-snippets.git resolved at 0.0.1
Creating working copy for https://github.com/capturecontext/swift-marker-protocols.git
Working copy of https://github.com/capturecontext/swift-marker-protocols.git resolved at 1.5.2
Creating working copy for https://github.com/capturecontext/swift-casification.git
Working copy of https://github.com/capturecontext/swift-casification.git resolved at 0.6.0
Creating working copy for https://github.com/capturecontext/swift-keypaths-extensions.git
Working copy of https://github.com/capturecontext/swift-keypaths-extensions.git resolved at 0.2.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.19.2
Creating working copy for https://github.com/capturecontext/swift-keypath-mapping.git
Working copy of https://github.com/capturecontext/swift-keypath-mapping.git resolved at 0.0.2
Building for debugging...
[0/19] Write sources
[18/19] Write swift-version-24593BA9C3E375BF.txt
[20/40] Emitting module ArrayBuilder
[21/40] Emitting module ConcurrencyExtras
[22/41] Compiling SwiftMarkerProtocols _AnyKeyPathProtocol.swift
[23/41] Compiling SwiftKeywordsContainer KeywordsContainer.swift
[24/41] Emitting module SwiftKeywordsContainer
[25/42] Compiling ArrayBuilder ArrayBuilder.swift
[26/43] Compiling ConcurrencyExtras MainSerialExecutor.swift
[28/43] Emitting module SwiftMarkerProtocols
[29/43] Compiling SwiftMarkerProtocols Deprecations.swift
[31/43] Compiling ConcurrencyExtras UncheckedSendable.swift
[32/43] Compiling SwiftMarkerProtocols _OptionalProtocol.swift
[33/43] Emitting module IssueReportingPackageSupport
[34/43] Compiling IssueReportingPackageSupport _Test.swift
[37/89] Compiling KeywordsSwift6_3 Keywords.swift
[38/89] Emitting module KeywordsSwift6_3
[40/92] Compiling IssueReporting IssueSeverity.swift
[41/92] Compiling IssueReporting ReportIssue.swift
[42/92] Compiling IssueReporting TestContext.swift
[43/92] Compiling IssueReporting Unimplemented.swift
[44/94] Emitting module KeywordsLatest
[45/94] Compiling KeywordsLatest Export.swift
[47/95] Compiling IssueReporting WithExpectedIssue.swift
[48/95] Compiling IssueReporting WithIssueContext.swift
[50/101] Compiling IssueReporting FailureObserver.swift
[51/101] Compiling IssueReporting LockIsolated.swift
[52/101] Compiling IssueReporting Rethrows.swift
[53/101] Emitting module SwiftKeywords
[54/101] Compiling IssueReporting ErrorReporting.swift
[55/101] Compiling IssueReporting AppHostWarning.swift
[56/101] Compiling IssueReporting Deprecations.swift
[57/101] Emitting module KeyPathMapping
[58/101] Emitting module IssueReporting
[70/101] Compiling IssueReporting SwiftTesting.swift
[71/101] Compiling IssueReporting UncheckedSendable.swift
[72/101] Compiling IssueReporting Warn.swift
[73/101] Compiling IssueReporting BreakpointReporter.swift
[74/101] Compiling IssueReporting DefaultReporter.swift
[75/101] Compiling IssueReporting FatalErrorReporter.swift
[76/101] Compiling IssueReporting XCTest.swift
[77/101] Compiling IssueReporting IsTesting.swift
[78/101] Compiling IssueReporting IssueReporter.swift
[79/101] Compiling ConcurrencyExtras LockIsolated.swift
[80/101] Compiling ConcurrencyExtras Result.swift
[81/101] Compiling ConcurrencyExtras Task.swift
[89/102] Compiling SwiftKeywords ResolveDefaultVersion.swift
[90/102] Compiling SwiftKeywords WithKeywords.swift
[91/102] Compiling SwiftKeywords Keywords.swift
[92/103] Compiling KeyPathMapping Conversion+Collection.swift
[93/103] Compiling KeyPathMapping Conversion+Optional.swift
[106/110] Compiling KeyPathsExtensions KeyPath+UnsafeSendable.swift
[107/126] Emitting module KeyPathsExtensions
[108/134] Compiling CombineSchedulers UIKit.swift
[109/134] Compiling CombineSchedulers UIScheduler.swift
[110/135] Compiling XCTestDynamicOverlay Exports.swift
[111/135] Compiling CombineSchedulers Platform.swift
[112/135] Compiling CombineSchedulers SwiftUI.swift
[113/135] Compiling CombineSchedulers TestScheduler.swift
[114/135] Compiling CombineSchedulers Timer.swift
[115/135] Compiling CombineSchedulers AnyScheduler.swift
[116/135] Compiling CombineSchedulers Concurrency.swift
[117/135] Compiling CombineSchedulers ImmediateScheduler.swift
[118/135] Compiling CombineSchedulers Deprecations.swift
[119/135] Compiling CombineSchedulers Lock.swift
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:54:7: error: cannot find 'pthread_mutexattr_init' in scope
52 | var attr = pthread_mutexattr_t()
53 | var mutex = pthread_mutex_t()
54 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 | pthread_mutex_init(&mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:7: error: cannot find 'pthread_mutexattr_settype' in scope
53 | var mutex = pthread_mutex_t()
54 | pthread_mutexattr_init(&attr)
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
56 | pthread_mutex_init(&mutex, &attr)
57 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:46: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
53 | var mutex = pthread_mutex_t()
54 | pthread_mutexattr_init(&attr)
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
56 | pthread_mutex_init(&mutex, &attr)
57 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:56:7: error: cannot find 'pthread_mutex_init' in scope
54 | pthread_mutexattr_init(&attr)
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 | pthread_mutex_init(&mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
57 | pthread_mutexattr_destroy(&attr)
58 | self.mutex = mutex
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:57:7: error: cannot find 'pthread_mutexattr_destroy' in scope
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 | pthread_mutex_init(&mutex, &attr)
57 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
58 | self.mutex = mutex
59 | }
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:66:7: error: cannot find 'pthread_mutex_lock' in scope
64 |
65 | func lock() {
66 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:70:7: error: cannot find 'pthread_mutex_unlock' in scope
68 |
69 | func unlock() {
70 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
71 | }
72 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:78:7: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 | deinit {
78 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | }
80 | }
[120/135] Compiling CombineSchedulers NSRecursiveLock.swift
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:54:7: error: cannot find 'pthread_mutexattr_init' in scope
52 | var attr = pthread_mutexattr_t()
53 | var mutex = pthread_mutex_t()
54 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 | pthread_mutex_init(&mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:7: error: cannot find 'pthread_mutexattr_settype' in scope
53 | var mutex = pthread_mutex_t()
54 | pthread_mutexattr_init(&attr)
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
56 | pthread_mutex_init(&mutex, &attr)
57 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:55:46: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
53 | var mutex = pthread_mutex_t()
54 | pthread_mutexattr_init(&attr)
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
56 | pthread_mutex_init(&mutex, &attr)
57 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:56:7: error: cannot find 'pthread_mutex_init' in scope
54 | pthread_mutexattr_init(&attr)
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 | pthread_mutex_init(&mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
57 | pthread_mutexattr_destroy(&attr)
58 | self.mutex = mutex
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:57:7: error: cannot find 'pthread_mutexattr_destroy' in scope
55 | pthread_mutexattr_settype(&attr, Int32(PTHREAD_MUTEX_ERRORCHECK))
56 | pthread_mutex_init(&mutex, &attr)
57 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
58 | self.mutex = mutex
59 | }
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:66:7: error: cannot find 'pthread_mutex_lock' in scope
64 |
65 | func lock() {
66 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:70:7: error: cannot find 'pthread_mutex_unlock' in scope
68 |
69 | func unlock() {
70 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
71 | }
72 |
/host/spi-builder-workspace/.build/checkouts/combine-schedulers/Sources/CombineSchedulers/Internal/Lock.swift:78:7: error: cannot find 'pthread_mutex_destroy' in scope
76 |
77 | deinit {
78 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | }
80 | }
[121/135] Emitting module CombineSchedulers
[122/135] Compiling KeyPathsExtensions KeyPath+.swift
[123/135] Compiling KeyPathsExtensions Exports.swift
[124/135] Compiling KeyPathsExtensions KeyPath+Optional.swift
[125/136] Compiling CombineSchedulers UnimplementedScheduler.swift
BUILD FAILURE 6.2 wasm