Build Information
Failed to build Emitter, reference v1.0.0 (5480d5
), with Swift 6.1 for Wasm on 28 May 2025 17:05:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GoodHatsLLC/Emitter.git
Reference: v1.0.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/GoodHatsLLC/Emitter
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at 5480d5b fix swift 5.9 and documentation build warnings
Cloned https://github.com/GoodHatsLLC/Emitter.git
Revision (git rev-parse @):
5480d5b6f1ad63371e91a39f499e5795dc6b6615
SUCCESS checkout https://github.com/GoodHatsLLC/Emitter.git at v1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/GoodHatsLLC/Emitter.git
https://github.com/GoodHatsLLC/Emitter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "disposable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GoodHatsLLC/Disposable.git"
}
],
"manifest_display_name" : "Emitter",
"name" : "Emitter",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.3"
},
{
"name" : "ios",
"version" : "15.4"
},
{
"name" : "tvos",
"version" : "15.4"
},
{
"name" : "watchos",
"version" : "8.5"
},
{
"name" : "maccatalyst",
"version" : "15.4"
}
],
"products" : [
{
"name" : "Emitter",
"targets" : [
"Emitter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EmitterTests",
"module_type" : "SwiftTarget",
"name" : "EmitterTests",
"path" : "Tests/EmitterTests",
"product_dependencies" : [
"Disposable"
],
"sources" : [
"Benchmarks/Benchmarks.swift",
"Benchmarks/Blackhole.swift",
"BridgingTests/AsyncToEmitterTests.swift",
"BridgingTests/CombineToEmitterTests.swift",
"BridgingTests/EmitterToAsyncTests.swift",
"BridgingTests/EmitterToCombineTests.swift",
"LifecycleTests/FinishTests.swift",
"OperatorTests/CombineLatestThreeTests.swift",
"OperatorTests/CombineLatestTwoTests.swift",
"OperatorTests/CompactMapTests.swift",
"OperatorTests/DedupingTests.swift",
"OperatorTests/FilterTests.swift",
"OperatorTests/FirstTests.swift",
"OperatorTests/FlatMapLatestTests.swift",
"OperatorTests/MapFailureTests.swift",
"OperatorTests/MapTests.swift",
"OperatorTests/Merge2Tests.swift",
"OperatorTests/Merge3Tests.swift",
"OperatorTests/ReplacingFailuresTests.swift",
"OperatorTests/SharedTests.swift",
"OperatorTests/TryMapTests.swift",
"OperatorTests/UnionThreeTests.swift",
"OperatorTests/UnionTwoTests.swift",
"OperatorTests/WithFailureTypeTests.swift",
"OperatorTests/WithPrefixTests.swift",
"OperatorTests/WithSuffixTests.swift",
"SourceTests/CreateTests.swift",
"SourceTests/PublishSubjectTests.swift",
"SourceTests/ValueSubjectTests.swift",
"StressTests/ThreadingTests.swift",
"SubscriberTests/FirstValueTests.swift",
"Utils/AsyncValue.swift",
"Utils/Flush.swift",
"Utils/Unchecked.swift"
],
"target_dependencies" : [
"Emitter"
],
"type" : "test"
},
{
"c99name" : "Emitter",
"module_type" : "SwiftTarget",
"name" : "Emitter",
"path" : "Sources/Emitter",
"product_dependencies" : [
"Disposable"
],
"product_memberships" : [
"Emitter"
],
"sources" : [
"Bridging/AsyncToEmitterBridge.swift",
"Bridging/CombineToEmitterBridge.swift",
"Bridging/EmitterToAsyncBridge.swift",
"Bridging/EmitterToCombineBridge.swift",
"Bridging/SequenceToEmitterBridge.swift",
"Erasure/AnyEmitter.swift",
"Export.swift",
"Interface/Emission.swift",
"Interface/Emitter.swift",
"Interface/Subject.swift",
"Interface/Subscriber.swift",
"Interface/Tuple.swift",
"Interface/Union.swift",
"Operators/CombineLatestThree.swift",
"Operators/CombineLatestTwo.swift",
"Operators/CompactMap.swift",
"Operators/Dedupe.swift",
"Operators/Filter.swift",
"Operators/First.swift",
"Operators/FlatMapLatest.swift",
"Operators/Map.swift",
"Operators/MapFailure.swift",
"Operators/MergeThree.swift",
"Operators/MergeTwo.swift",
"Operators/Print.swift",
"Operators/Redirect.swift",
"Operators/ReplaceFailures.swift",
"Operators/Shared.swift",
"Operators/TryMap.swift",
"Operators/UnionThree.swift",
"Operators/UnionTwo.swift",
"Operators/WithFailureType.swift",
"Operators/WithPrefix.swift",
"Operators/WithSuffix.swift",
"Sources/Create.swift",
"Sources/FailureEmitter.swift",
"Sources/JustEmitter.swift",
"Sources/NeverEmitter.swift",
"Sources/PublishSubject.swift",
"Sources/ValueSubject.swift",
"Subscribers/EmissionDataProxy.swift",
"Subscribers/FirstValue.swift",
"Subscribers/Subscribe.swift",
"Subscribers/SubscribeMain.swift",
"Subscribers/Subscription.swift",
"Subscribers/TransformProxy.swift",
"Utilities/AsyncValue.swift",
"Utilities/Locked.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/GoodHatsLLC/Disposable.git
[1/274] Fetching disposable
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (0.38s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (1.10s)
Creating working copy for https://github.com/GoodHatsLLC/Disposable.git
Working copy of https://github.com/GoodHatsLLC/Disposable.git resolved at 1.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Emitting module Disposable
[5/14] Compiling Disposable Disposable.swift
[6/14] Compiling Disposable AutoDisposable.swift
[7/14] Compiling Disposable CombineExtensions.swift
[8/14] Compiling Disposable DisposableBuilder.swift
[9/14] Compiling Disposable Task.swift
[10/14] Compiling Disposable Locked.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/Locked.swift:223:5: error: cannot find 'pthread_mutex_lock' in scope
221 | @inline(__always)
222 | fileprivate func lock() {
223 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
224 | }
225 |
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/Locked.swift:228:5: error: cannot find 'pthread_mutex_unlock' in scope
226 | @inline(__always)
227 | fileprivate func unlock() {
228 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
229 | }
230 |
[11/14] Compiling Disposable TaskExtensions.swift
[12/14] Compiling Disposable ConvenienceStages.swift
[13/14] Compiling Disposable ErasedDisposable.swift
[14/14] Compiling Disposable DisposableStage.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Disposable Locked.swift
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/Locked.swift:223:5: error: cannot find 'pthread_mutex_lock' in scope
221 | @inline(__always)
222 | fileprivate func lock() {
223 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
224 | }
225 |
/host/spi-builder-workspace/.build/checkouts/Disposable/Sources/Disposable/Locked.swift:228:5: error: cannot find 'pthread_mutex_unlock' in scope
226 | @inline(__always)
227 | fileprivate func unlock() {
228 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
229 | }
230 |
[3/12] Compiling Disposable ErasedDisposable.swift
[4/12] Compiling Disposable DisposableBuilder.swift
[5/12] Compiling Disposable Disposable.swift
[6/12] Compiling Disposable DisposableStage.swift
[7/12] Compiling Disposable AutoDisposable.swift
[8/12] Compiling Disposable CombineExtensions.swift
[9/12] Emitting module Disposable
[10/12] Compiling Disposable TaskExtensions.swift
[11/12] Compiling Disposable ConvenienceStages.swift
[12/12] Compiling Disposable Task.swift
BUILD FAILURE 6.1 wasm