Build Information
Failed to build Pusher, reference 1.0.1 (9e6d36
), with Swift 6.1 for Wasm on 28 May 2025 03:55:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/pusher/pusher-http-swift.git
Reference: 1.0.1
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/pusher/pusher-http-swift
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 9e6d363 Merge pull request #45 from pusher/bugfix_ordered_json
Cloned https://github.com/pusher/pusher-http-swift.git
Revision (git rev-parse @):
9e6d3638fb0e62bb30ebecbfba0a1eabbabf9c77
SUCCESS checkout https://github.com/pusher/pusher-http-swift.git at 1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pusher/pusher-http-swift.git
https://github.com/pusher/pusher-http-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "apiota",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/danielrbrowne/APIota"
},
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.6",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto"
},
{
"identity" : "tweetnacl-swiftwrap",
"requirement" : {
"revision" : [
"f8fd111642bf2336b11ef9ea828510693106e954"
]
},
"type" : "sourceControl",
"url" : "https://github.com/bitmark-inc/tweetnacl-swiftwrap"
}
],
"manifest_display_name" : "Pusher",
"name" : "Pusher",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Pusher",
"targets" : [
"Pusher"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PusherTests",
"module_type" : "SwiftTarget",
"name" : "PusherTests",
"path" : "Tests/PusherTests",
"sources" : [
"AppStateQueryTests.swift",
"AuthTokenTests.swift",
"ClientOptionsTests.swift",
"EventTriggerTests.swift",
"Extensions/XCTest+Pusher.swift",
"Models/Mocks.swift",
"Models/TestObjects.swift",
"WebhookTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Pusher"
],
"type" : "test"
},
{
"c99name" : "Pusher",
"module_type" : "SwiftTarget",
"name" : "Pusher",
"path" : "Sources/Pusher",
"product_dependencies" : [
"APIota",
"AnyCodable",
"Crypto",
"TweetNacl"
],
"product_memberships" : [
"Pusher"
],
"sources" : [
"Extensions/Data+Extensions.swift",
"Extensions/String+Extensions.swift",
"Models/AuthenticationToken.swift",
"Models/Channel.swift",
"Models/ChannelAttributeFetchOptions.swift",
"Models/ChannelAttributes.swift",
"Models/ChannelFilter.swift",
"Models/ChannelInfo.swift",
"Models/ChannelSummary.swift",
"Models/ChannelType.swift",
"Models/EncryptedData.swift",
"Models/Event.swift",
"Models/PresenceUserAuthData.swift",
"Models/PusherError.swift",
"Models/SDKVersion.swift",
"Models/User.swift",
"Models/Webhook.swift",
"Models/WebhookEvent.swift",
"Models/WebhookEventType.swift",
"Networking/Client/APIClient.swift",
"Networking/Client/GetChannelEndpoint.swift",
"Networking/Client/GetChannelsEndpoint.swift",
"Networking/Client/GetUsersEndpoint.swift",
"Networking/Client/TriggerBatchEventsEndpoint.swift",
"Networking/Client/TriggerEventEndpoint.swift",
"Networking/Models/AuthInfo.swift",
"Networking/Models/ChannelInfoListAPIResponse.swift",
"Networking/Models/ChannelSummaryListAPIResponse.swift",
"Networking/Models/ChannelUsersAPIResponse.swift",
"Networking/Models/EventBatch.swift",
"Networking/Models/JSONEncoder.swift",
"Networking/Models/PusherClientOptions.swift",
"Protocols/AuthInfoRecord.swift",
"Protocols/ChannelAttributable.swift",
"Protocols/ChannelDescription.swift",
"Protocols/ChannelInfoRecord.swift",
"Protocols/ChannelSummaryRecord.swift",
"Protocols/EventInfoRecord.swift",
"Protocols/SubscriptionCountable.swift",
"Protocols/UserCountable.swift",
"Protocols/UserInfoRecord.swift",
"Protocols/WebhookEventRecord.swift",
"Pusher.swift",
"Services/AuthTokenService.swift",
"Services/CryptoService.swift",
"Services/WebhookService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/bitmark-inc/tweetnacl-swiftwrap
[1/404] Fetching tweetnacl-swiftwrap
Fetched https://github.com/bitmark-inc/tweetnacl-swiftwrap from cache (1.63s)
Fetching https://github.com/danielrbrowne/APIota
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/realm/SwiftLint
[1/782] Fetching anycodable
[666/1486] Fetching anycodable, apiota
[1487/15422] Fetching anycodable, apiota, swift-crypto
Fetched https://github.com/Flight-School/AnyCodable from cache (0.57s)
[1819/14640] Fetching apiota, swift-crypto
[4050/165023] Fetching apiota, swift-crypto, swiftlint
Fetched https://github.com/apple/swift-crypto from cache (2.57s)
[13730/151087] Fetching apiota, swiftlint
Fetched https://github.com/danielrbrowne/APIota from cache (24.78s)
Fetched https://github.com/realm/SwiftLint from cache (26.25s)
Computing version for https://github.com/danielrbrowne/APIota
Computed https://github.com/danielrbrowne/APIota at 0.2.0 (26.75s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.49s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.47s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.59.1 (4.30s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/84] Fetching collectionconcurrencykit
[85/1013] Fetching collectionconcurrencykit, swiftytexttable
[1014/17125] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten
[2142/30066] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, cryptoswift
[6049/40723] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, cryptoswift, yams
[27868/111171] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, cryptoswift, yams, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (4.61s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (6.12s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (6.13s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (6.45s)
Fetched https://github.com/jpsim/Yams.git from cache (6.45s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.57s)
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.41s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (8.47s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.56s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.47s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.0 (0.49s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.28s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.0 (0.94s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.46s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.59s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.51s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/bitmark-inc/tweetnacl-swiftwrap
Working copy of https://github.com/bitmark-inc/tweetnacl-swiftwrap resolved at f8fd111642bf2336b11ef9ea828510693106e954
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/danielrbrowne/APIota
Working copy of https://github.com/danielrbrowne/APIota resolved at 0.2.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/415] Write sources
[8/415] Compiling CTweetNacl ctweetnacl.c
[9/415] Compiling a_bool.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_bitstr.c:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[10/415] Compiling a_bitstr.c
[10/415] Compiling v3_pmaps.c
[10/415] Compiling v3_utl.c
[10/415] Compiling v3_prn.c
[10/415] Compiling v3_purp.c
[10/415] Compiling CCryptoBoringSSLShims shims.c
[10/415] Compiling v3_skey.c
[10/415] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/408] Compiling v3_skey.c
[4/408] Compiling v3_prn.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_utl.c:73:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[5/408] Compiling v3_utl.c
[5/408] Compiling v3_pcons.c
[5/408] Compiling v3_pci.c
[5/408] Compiling v3_pcia.c
[5/408] Compiling v3_pmaps.c
[5/408] Compiling v3_purp.c
[5/408] Compiling CCryptoBoringSSLShims shims.c
[5/408] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm