Build Information
Failed to build PulsarClient, reference v0.0.1 (237572), with Swift 6.1 for Wasm on 11 Dec 2025 07:34:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendylabsinc/pulsar-client.git
Reference: v0.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/wendylabsinc/pulsar-client
* tag v0.0.1 -> FETCH_HEAD
HEAD is now at 2375726 Merge pull request #7 from edgeengineer/mc/fix-tests
Cloned https://github.com/wendylabsinc/pulsar-client.git
Revision (git rev-parse @):
23757260e41eda40bc4acb61968c8b39ea52fca2
SUCCESS checkout https://github.com/wendylabsinc/pulsar-client.git at v0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wendylabsinc/pulsar-client.git
https://github.com/wendylabsinc/pulsar-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.30.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.83.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.32.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "3.10.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "cyclic-redundancy-check",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/edgeengineer/cyclic-redundancy-check.git"
}
],
"manifest_display_name" : "PulsarClient",
"name" : "PulsarClient",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
}
],
"products" : [
{
"name" : "PulsarClient",
"targets" : [
"PulsarClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "PulsarClientTests",
"module_type" : "SwiftTarget",
"name" : "PulsarClientTests",
"path" : "Tests/PulsarClientTests",
"sources" : [
"AuthenticationTests.swift",
"FinalTests.swift",
"OAuth2AuthenticationTests.swift",
"StateTests.swift",
"TLSAuthenticationTests.swift"
],
"target_dependencies" : [
"PulsarClient"
],
"type" : "test"
},
{
"c99name" : "PulsarClientIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "PulsarClientIntegrationTests",
"path" : "Tests/PulsarClientIntegrationTests",
"sources" : [
"AuthenticationIntegrationTests.swift",
"ConsumerIntegrationTests.swift",
"DebugSendReceiptTest.swift",
"EnvironmentCheck.swift",
"FailureScenarioTests.swift",
"IntegrationTestCase.swift",
"ProducerIntegrationTests.swift",
"RawFrameTest.swift",
"SerializationDebugTest.swift",
"SimpleMessageTest.swift"
],
"target_dependencies" : [
"PulsarClient"
],
"type" : "test"
},
{
"c99name" : "PulsarClient",
"module_type" : "SwiftTarget",
"name" : "PulsarClient",
"path" : "Sources/PulsarClient",
"product_dependencies" : [
"SwiftProtobuf",
"NIO",
"NIOCore",
"NIOSSL",
"Logging",
"Crypto",
"CyclicRedundancyCheck"
],
"product_memberships" : [
"PulsarClient"
],
"sources" : [
"Abstractions/Authentication.swift",
"Abstractions/BuilderProtocols.swift",
"Abstractions/ConsumerProtocol.swift",
"Abstractions/GetLastMessageIds.swift",
"Abstractions/HandleException.swift",
"Abstractions/MessageBuilder.swift",
"Abstractions/MessageProtocol.swift",
"Abstractions/MessageRouter.swift",
"Abstractions/ProducerProtocol.swift",
"Abstractions/PulsarClientProtocol.swift",
"Abstractions/ReaderProtocol.swift",
"Abstractions/Receivable.swift",
"Abstractions/Schema.swift",
"Abstractions/Seekable.swift",
"Abstractions/SendChannel.swift",
"Abstractions/StateProtocol+Waiting.swift",
"Abstractions/StateProtocol.swift",
"AuthenticationFactory.swift",
"Builders.swift",
"Builders/ConsumerBuilder.swift",
"Builders/ProducerBuilder.swift",
"Builders/ReaderBuilder.swift",
"Common/Types.swift",
"ConsumerOptions.swift",
"ConsumerState.swift",
"CustomAuthentication.swift",
"EncryptionPolicy.swift",
"Exceptions/PulsarClientError.swift",
"Extensions/ConsumerExtensions.swift",
"Extensions/MessageExtensions.swift",
"Extensions/ProducerExtensions.swift",
"Extensions/PulsarClientExtensions.swift",
"Extensions/ReaderExtensions.swift",
"FaultAction.swift",
"Internal/ChannelManager+Handlers.swift",
"Internal/ChannelManager.swift",
"Internal/Connection+Enhanced.swift",
"Internal/Connection.swift",
"Internal/ConnectionPool+Enhanced.swift",
"Internal/ConnectionPool.swift",
"Internal/ConsumerImpl.swift",
"Internal/FaultHandler.swift",
"Internal/ProducerImpl.swift",
"Internal/ReaderImpl.swift",
"Internal/RetryPolicy.swift",
"Internal/SendOperation.swift",
"Internal/SendOperationWrapper.swift",
"Internal/SendQueue.swift",
"Internal/StateManager.swift",
"Message.swift",
"MessageId.swift",
"MessageMetadata.swift",
"OAuth2Authentication.swift",
"ProducerAccessMode.swift",
"ProducerOptions.swift",
"ProducerState.swift",
"PulsarApi.pb.swift",
"PulsarClient.swift",
"PulsarProtocol.swift",
"ReaderOptions.swift",
"ReaderState.swift",
"RegexSubscriptionMode.swift",
"Schemas/AutoSchemas.swift",
"Schemas/BooleanSchema.swift",
"Schemas/BytesSchema.swift",
"Schemas/FloatingPointSchemas.swift",
"Schemas/IntegerSchemas.swift",
"Schemas/JSONSchema.swift",
"Schemas/StringSchema.swift",
"Schemas/TimeSchemas.swift",
"State.swift",
"TLSAuthentication.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/edgeengineer/cyclic-redundancy-check.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.git
[1/87] Fetching cyclic-redundancy-check
[88/5823] Fetching cyclic-redundancy-check, swift-log
[5824/23288] Fetching cyclic-redundancy-check, swift-log, swift-crypto
[7396/103969] Fetching cyclic-redundancy-check, swift-log, swift-crypto, swift-nio
[13219/119257] Fetching cyclic-redundancy-check, swift-log, swift-crypto, swift-nio, swift-nio-ssl
Fetched https://github.com/edgeengineer/cyclic-redundancy-check.git from cache (0.94s)
[18389/119170] Fetching swift-log, swift-crypto, swift-nio, swift-nio-ssl
[74052/160690] Fetching swift-log, swift-crypto, swift-nio, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (2.64s)
[93548/154954] Fetching swift-crypto, swift-nio, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (9.44s)
Fetched https://github.com/apple/swift-nio.git from cache (9.70s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (11.86s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.96s)
Computing version for https://github.com/edgeengineer/cyclic-redundancy-check.git
Computed https://github.com/edgeengineer/cyclic-redundancy-check.git at 0.0.5 (12.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.59s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.89s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.33.3 (1.04s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (1.54s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[693/7041] Fetching swift-atomics, swift-system
[5111/25404] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.85s)
[6595/20183] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.43s)
Fetched https://github.com/apple/swift-collections.git from cache (2.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.05s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.80s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (6.63s)
Fetching https://github.com/apple/swift-asn1.git
[1/1667] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.98s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/edgeengineer/cyclic-redundancy-check.git
Working copy of https://github.com/edgeengineer/cyclic-redundancy-check.git resolved at 0.0.5
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.36.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.33.3
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/799] Write sources
[15/799] Compiling CNIODarwin shim.c
[15/799] Compiling CNIOLinux liburing_shims.c
[17/799] Copying PrivacyInfo.xcprivacy
[17/799] Compiling CNIOOpenBSD shim.c
[18/799] Write sources
[22/799] Compiling CNIOWindows WSAStartup.c
[23/799] Compiling CNIOLinux shim.c
[24/799] Compiling CNIOWASI CNIOWASI.c
[24/799] Compiling _AtomicsShims.c
[26/799] Compiling CNIOWindows shim.c
[27/799] Compiling CNIOPosix event_loop_id.c
[28/799] Compiling fiat_p256_adx_mul.S
[29/799] Compiling fiat_curve25519_adx_mul.S
[30/799] Compiling fiat_curve25519_adx_square.S
[31/799] Compiling fiat_p256_adx_sqr.S
[32/799] Write swift-version-24593BA9C3E375BF.txt
[33/799] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[34/803] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[34/803] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[34/803] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[34/803] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[34/803] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[34/803] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[34/803] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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 SwiftProtobufPlugin
Building for debugging...
[1/767] Compiling fiat_p256_adx_sqr.S
[2/767] Compiling fiat_p256_adx_mul.S
[3/767] Compiling fiat_curve25519_adx_mul.S
[4/767] Compiling fiat_curve25519_adx_square.S
[5/767] Compiling md5-x86_64-linux.S
[6/767] Compiling CCryptoBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[7/767] Compiling tls13_server.cc
[7/767] Compiling c-nioatomics.c
[7/767] Compiling tls13_client.cc
[7/767] Write swift-version-24593BA9C3E375BF.txt
[7/767] Compiling c-atomics.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[7/767] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[7/767] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[7/767] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm