Build Information
Failed to build swift-rabbitmq, reference main (9675b4), with Swift 6.1 for Wasm on 25 Nov 2025 15:04:23 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/xtremekforever/swift-rabbitmq.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/xtremekforever/swift-rabbitmq
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9675b47 Merge pull request #32 from xtremekforever/feature/cleanup-dependencies
Cloned https://github.com/xtremekforever/swift-rabbitmq.git
Revision (git rev-parse @):
9675b4748ad1e8dd803150a3b20135c030f2e792
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xtremekforever/swift-rabbitmq.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/xtremekforever/swift-rabbitmq.git
https://github.com/xtremekforever/swift-rabbitmq.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
},
{
"identity" : "rabbitmq-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0-beta4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/funcmike/rabbitmq-nio.git"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
},
{
"identity" : "semaphore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/groue/Semaphore.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "swift-rabbitmq",
"name" : "swift-rabbitmq",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "RabbitMq",
"targets" : [
"RabbitMq"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ConsumePublishServices",
"targets" : [
"ConsumePublishServices"
],
"type" : {
"executable" : null
}
},
{
"name" : "BasicConsumePublish",
"targets" : [
"BasicConsumePublish"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Tests",
"sources" : [
"Connection/BasicConnectionTests.swift",
"Connection/ConnectionTests.swift",
"Connection/RetryingConnectionTests.swift",
"Consumer/ConsumerTests.swift",
"Publisher/PublisherTests.swift",
"TestUtils/createTestLogger.swift",
"TestUtils/firstElement.swift",
"Utils/UtilsTests.swift",
"Utils/withBasicConnectionTests.swift",
"Utils/withRetryingConnectionBodyTests.swift"
],
"target_dependencies" : [
"RabbitMq"
],
"type" : "test"
},
{
"c99name" : "RabbitMq",
"module_type" : "SwiftTarget",
"name" : "RabbitMq",
"path" : "Sources/RabbitMq",
"product_dependencies" : [
"AMQPClient",
"AsyncAlgorithms",
"Logging",
"ServiceLifecycle",
"Semaphore"
],
"product_memberships" : [
"RabbitMq",
"ConsumePublishServices",
"BasicConsumePublish"
],
"sources" : [
"Connection/BasicConnection.swift",
"Connection/Connection.swift",
"Connection/ConnectionConfiguration.swift",
"Connection/RetryingConnection.swift",
"Consumer/Connection+performConsume.swift",
"Consumer/Consumer.swift",
"Consumer/ConsumerChannel.swift",
"Consumer/ConsumerConfiguration.swift",
"Consumer/RetryingConsumer.swift",
"Extensions/AMQPChannel+Options.swift",
"Extensions/AMQPConnection+initOptions.swift",
"Extensions/AsyncChannel+waitUntilFinished.swift",
"Extensions/Task+isCancelledOrShuttingDown.swift",
"Options/BindingOptions.swift",
"Options/ConsumerOptions.swift",
"Options/ExchangeOptions.swift",
"Options/PublisherOptions.swift",
"Options/QueueOptions.swift",
"Publisher/Connection+performPublish.swift",
"Publisher/Publisher.swift",
"Publisher/PublisherConfiguration.swift",
"Publisher/RetryingPublisher.swift",
"Utils/AnyAsyncSequence.swift",
"Utils/Logger+withMetadata.swift",
"Utils/gracefulCancellableDelay.swift",
"Utils/withBasicConnection.swift",
"Utils/withRetryingConnectionBody.swift"
],
"type" : "library"
},
{
"c99name" : "ConsumePublishServices",
"module_type" : "SwiftTarget",
"name" : "ConsumePublishServices",
"path" : "Sources/Examples/ConsumePublishServices",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"ConsumePublishServices"
],
"sources" : [
"ConsumePublishServices.swift",
"ConsumerService.swift",
"PublisherService.swift",
"RabbitMqService.swift"
],
"target_dependencies" : [
"RabbitMq"
],
"type" : "executable"
},
{
"c99name" : "BasicConsumePublish",
"module_type" : "SwiftTarget",
"name" : "BasicConsumePublish",
"path" : "Sources/Examples/BasicConsumePublish",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"BasicConsumePublish"
],
"sources" : [
"BasicConsumePublish.swift"
],
"target_dependencies" : [
"RabbitMq"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
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 -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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/groue/Semaphore.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/funcmike/rabbitmq-nio.git
[1/1978] Fetching rabbitmq-nio
[951/2271] Fetching rabbitmq-nio, semaphore
[1402/7346] Fetching rabbitmq-nio, semaphore, swift-log
[1961/9914] Fetching rabbitmq-nio, semaphore, swift-log, swift-service-lifecycle
[4997/15628] Fetching rabbitmq-nio, semaphore, swift-log, swift-service-lifecycle, swift-async-algorithms
[5881/32488] Fetching rabbitmq-nio, semaphore, swift-log, swift-service-lifecycle, swift-async-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (0.82s)
[24379/27413] Fetching rabbitmq-nio, semaphore, swift-service-lifecycle, swift-async-algorithms, swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin.git
Fetched https://github.com/funcmike/rabbitmq-nio.git from cache (0.82s)
[23244/25435] Fetching semaphore, swift-service-lifecycle, swift-async-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.83s)
[18541/19721] Fetching semaphore, swift-service-lifecycle, swift-argument-parser
[19722/21879] Fetching semaphore, swift-service-lifecycle, swift-argument-parser, swift-docc-plugin
Fetched https://github.com/groue/Semaphore.git from cache (1.20s)
[20141/21586] Fetching swift-service-lifecycle, swift-argument-parser, swift-docc-plugin
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.20s)
[17745/19018] Fetching swift-argument-parser, swift-docc-plugin
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.22s)
[1490/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.49s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.1.0 (1.86s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.0 (0.74s)
Fetching https://github.com/apple/swift-collections.git
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.39s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.5 (3.95s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3581] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.02s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (0.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.89s)
Computing version for https://github.com/funcmike/rabbitmq-nio.git
Computed https://github.com/funcmike/rabbitmq-nio.git at 0.1.0-beta4 (0.81s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/15288] Fetching swift-nio-ssl
[2/95807] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.61s)
[53143/80519] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.09s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (12.98s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.90.1 (1.14s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1821/7002] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.32s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.5
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.0
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.90.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/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/groue/Semaphore.git
Working copy of https://github.com/groue/Semaphore.git resolved at 0.1.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.6.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/funcmike/rabbitmq-nio.git
Working copy of https://github.com/funcmike/rabbitmq-nio.git resolved at 0.1.0-beta4
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/481] Compiling a_bitstr.cc
[4/481] Compiling a_d2i_fp.cc
[4/481] Compiling c-atomics.c
[4/481] Compiling a_bool.cc
[4/481] Compiling a_time.cc
[4/481] Compiling c-nioatomics.c
[4/481] Compiling a_strnid.cc
[4/481] Compiling a_type.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 GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/481] Write sources
[35/481] Compiling CNIOWindows WSAStartup.c
[36/481] Compiling CNIOWindows shim.c
[37/481] Compiling CNIOWASI CNIOWASI.c
[38/481] Compiling CNIOPosix event_loop_id.c
[39/481] Compiling CNIOLinux shim.c
[40/481] Compiling CNIOLinux liburing_shims.c
[41/481] Compiling CNIODarwin shim.c
[42/481] Compiling fiat_p256_adx_sqr.S
[43/481] Compiling fiat_curve25519_adx_square.S
[44/481] Compiling fiat_p256_adx_mul.S
[45/481] Compiling fiat_curve25519_adx_mul.S
[46/481] Compiling _AtomicsShims.c
[46/481] Write swift-version-24593BA9C3E375BF.txt
[48/481] Compiling CNIOBoringSSLShims shims.c
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>
| ^~~~~~~~~~~
1 error generated.
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.
[49/485] Compiling tls13_server.cc
[49/485] Compiling tls13_enc.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>
| ^~~~~~~~~~~
1 error generated.
[49/485] Compiling tls13_client.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>
| ^~~~~~~~~~~
1 error generated.
[49/485] Compiling tls_record.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>
| ^~~~~~~~~~~
[49/485] Compiling tls13_both.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>
| ^~~~~~~~~~~
[49/485] Compiling t1_enc.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.
[49/485] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm