The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-slack-client, reference 0.1.1 (0eb5ba), with Swift 6.1 for Wasm on 24 Jun 2025 07:43:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ainame/swift-slack-client.git
Reference: 0.1.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/ainame/swift-slack-client
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 0eb5baf Fix remaining explicit self capture issues in SocketMode
Submodule path '.dependencies/java-slack-sdk': checked out 'f8d2bceb46737285d7bda976037d27edabd4828b'
Submodule path '.dependencies/slack-api-ref': checked out 'c4fa60274b03781e1dcc9272b9864d3fd64c240c'
Submodule '.dependencies/java-slack-sdk' (https://github.com/slackapi/java-slack-sdk.git) registered for path '.dependencies/java-slack-sdk'
Submodule '.dependencies/slack-api-ref' (https://github.com/slack-ruby/slack-api-ref.git) registered for path '.dependencies/slack-api-ref'
Cloning into '/host/spi-builder-workspace/.dependencies/java-slack-sdk'...
Cloning into '/host/spi-builder-workspace/.dependencies/slack-api-ref'...
Cloned https://github.com/ainame/swift-slack-client.git
Revision (git rev-parse @):
0eb5baf5d96a09452ea49352ed94a948fe68ef4a
SUCCESS checkout https://github.com/ainame/swift-slack-client.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ainame/swift-slack-client.git
https://github.com/ainame/swift-slack-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/hummingbird-project/swift-websocket
Fetching https://github.com/apple/swift-openapi-generator.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-openapi-runtime.git
[1/436] Fetching swift-websocket
[437/4272] Fetching swift-websocket, swift-log
[744/9951] Fetching swift-websocket, swift-log, swift-openapi-runtime
[9952/25910] Fetching swift-websocket, swift-log, swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
[10105/22074] Fetching swift-websocket, swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/hummingbird-project/swift-websocket from cache (1.01s)
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (1.01s)
Fetched https://github.com/apple/swift-openapi-generator.git from cache (1.02s)
Computing version for https://github.com/hummingbird-project/swift-websocket
Computed https://github.com/hummingbird-project/swift-websocket at 1.3.1 (1.69s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/643] Fetching compress-nio
[644/6618] Fetching compress-nio, swift-nio-extras
[764/9285] Fetching compress-nio, swift-nio-extras, swift-nio-transport-services
[825/11711] Fetching compress-nio, swift-nio-extras, swift-nio-transport-services, swift-service-lifecycle
[11653/26601] Fetching compress-nio, swift-nio-extras, swift-nio-transport-services, swift-service-lifecycle, swift-nio-ssl
[13201/102940] Fetching compress-nio, swift-nio-extras, swift-nio-transport-services, swift-service-lifecycle, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.91s)
Fetching https://github.com/apple/swift-http-types.git
[11744/100273] Fetching compress-nio, swift-nio-extras, swift-service-lifecycle, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.95s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.95s)
[5782/91872] Fetching compress-nio, swift-nio-ssl, swift-nio
[28515/92776] Fetching compress-nio, swift-nio-ssl, swift-nio, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.49s)
[36258/91872] Fetching compress-nio, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.06s)
Fetched https://github.com/adam-fowler/compress-nio.git from cache (5.59s)
Fetched https://github.com/apple/swift-nio.git from cache (5.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (6.27s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.8.2 (0.75s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.9.0 (3.99s)
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
[1/5959] Fetching swift-algorithms
[3756/22599] Fetching swift-algorithms, swift-collections
[4958/33535] Fetching swift-algorithms, swift-collections, yams
[10330/48915] Fetching swift-algorithms, swift-collections, yams, swift-argument-parser
[22728/138660] Fetching swift-algorithms, swift-collections, yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-collections from cache (3.89s)
Fetched https://github.com/jpsim/Yams from cache (4.09s)
Fetched https://github.com/apple/swift-argument-parser from cache (4.09s)
Fetched https://github.com/apple/swift-algorithms from cache (4.62s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (4.71s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (7.26s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.29s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.4.2 (1.21s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.78s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.89s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.74s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.95s)
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.78s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (1.53s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.99s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-asn1.git
[1/4985] Fetching swift-async-algorithms
[949/11184] Fetching swift-async-algorithms, swift-certificates
[1709/22716] Fetching swift-async-algorithms, swift-certificates, swift-nio-http2
[13723/24332] Fetching swift-async-algorithms, swift-certificates, swift-nio-http2, swift-asn1
[13820/25501] Fetching swift-async-algorithms, swift-certificates, swift-nio-http2, swift-asn1, swift-http-structured-headers
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.74s)
[12905/20516] Fetching swift-certificates, swift-nio-http2, swift-asn1, swift-http-structured-headers
Fetched https://github.com/apple/swift-asn1.git from cache (0.76s)
[11981/18900] Fetching swift-certificates, swift-nio-http2, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.52s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.52s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.53s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.8.0 (2.25s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.75s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.88s)
Fetching https://github.com/apple/swift-crypto.git
[1/15433] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.97s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (5.72s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.33s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.60s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.68s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.54s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.54s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.2 (0.53s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.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.3.2
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
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.0.4
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
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.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.2
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.8.0
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git resolved at 1.4.2
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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.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.5.0
Creating working copy for https://github.com/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.8.2
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.32.0
Creating working copy for https://github.com/hummingbird-project/swift-websocket
Working copy of https://github.com/hummingbird-project/swift-websocket resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/449] Write sources
[25/449] Compiling CNIOWindows WSAStartup.c
[25/449] Compiling CNIOWASI CNIOWASI.c
[25/449] Write sources
[25/449] Compiling CNIOWindows shim.c
[25/449] Write sources
[36/449] Compiling CNIODarwin shim.c
[36/449] Compiling CNIOLinux shim.c
[38/449] Compiling CNIOLinux liburing_shims.c
[38/449] Compiling _AtomicsShims.c
[40/449] Compiling CNIOLLHTTP c_nio_http.c
[41/449] Compiling CNIOSHA1 c_nio_sha1.c
[42/449] Compiling CNIOLLHTTP c_nio_api.c
[43/449] Compiling fiat_p256_adx_sqr.S
[44/449] Compiling fiat_p256_adx_mul.S
[45/449] Compiling fiat_curve25519_adx_square.S
[46/449] Compiling fiat_curve25519_adx_mul.S
[47/449] Write swift-version-24593BA9C3E375BF.txt
[48/449] Compiling CNIOBoringSSLShims shims.c
[49/453] Compiling CNIOLLHTTP c_nio_llhttp.c
[51/453] Emitting module _NIODataStructures
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.
[51/453] 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>
      |          ^~~~~~~~~~~
1 error generated.
[51/453] Compiling tls13_client.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.
[51/453] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
1 error generated.
[51/453] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[51/453] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[51/453] Compiling tls_record.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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 OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
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.
[3/403] Compiling tls_method.cc
[3/403] Compiling tls13_server.cc
[3/403] Compiling tls13_both.cc
[3/403] Compiling t1_enc.cc
[3/403] Compiling c-nioatomics.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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls13_enc.cc
[3/403] 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>
      |          ^~~~~~~~~~~
[3/403] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm