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 main (cb6d8e), with Swift 6.1 for Wasm on 9 Jun 2025 17:48:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/ainame/swift-slack-client.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/ainame/swift-slack-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cb6d8e5 Update CHANGELOG for v0.0.5
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 @):
cb6d8e5cd9a80c6c50bb30d406de900c85cfd843
SUCCESS checkout https://github.com/ainame/swift-slack-client.git at main
========================================
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-4609320-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/apple/swift-openapi-runtime.git
Fetching https://github.com/hummingbird-project/swift-websocket
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-openapi-generator.git
[1/430] Fetching swift-websocket
[431/6109] Fetching swift-websocket, swift-openapi-runtime
[6110/9945] Fetching swift-websocket, swift-openapi-runtime, swift-log
Fetched https://github.com/hummingbird-project/swift-websocket from cache (0.30s)
[6984/9515] Fetching swift-openapi-runtime, swift-log
[9516/25264] Fetching swift-openapi-runtime, swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (0.38s)
[5726/19585] Fetching swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
[5985/15749] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator.git from cache (1.51s)
Computing version for https://github.com/hummingbird-project/swift-websocket
Computed https://github.com/hummingbird-project/swift-websocket at 1.3.1 (2.07s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2667] Fetching swift-nio-transport-services
[2/3310] Fetching swift-nio-transport-services, compress-nio
[824/5736] Fetching swift-nio-transport-services, compress-nio, swift-service-lifecycle
[2441/11659] Fetching swift-nio-transport-services, compress-nio, swift-service-lifecycle, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.37s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/adam-fowler/compress-nio.git from cache (0.42s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.42s)
[1/76195] Fetching swift-nio
[763/91038] Fetching swift-nio, swift-nio-ssl
[8769/91942] Fetching swift-nio, swift-nio-ssl, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.31s)
[13320/91038] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (1.70s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.72s)
[60195/76195] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.82s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (4.23s)
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.42s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.8.0 (1.84s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/jpsim/Yams
[1/5959] Fetching swift-algorithms
[3875/16696] Fetching swift-algorithms, yams
[5997/33287] Fetching swift-algorithms, yams, swift-collections
[21460/48667] Fetching swift-algorithms, yams, swift-collections, swift-argument-parser
[22669/138412] Fetching swift-algorithms, yams, swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (3.76s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.76s)
Fetched https://github.com/apple/swift-collections from cache (3.79s)
Fetched https://github.com/jpsim/Yams from cache (3.80s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (3.85s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (4.45s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/5739] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.36s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.4.2 (0.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.42s)
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.43s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.06s)
Fetching https://github.com/apple/swift-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.82s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.41s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (0.47s)
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.50s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1590] Fetching swift-asn1
[1591/2731] Fetching swift-asn1, swift-http-structured-headers
[2732/7716] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms
[4378/13871] Fetching swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
[3509/12281] Fetching swift-http-structured-headers, swift-async-algorithms, swift-certificates
[7517/23808] Fetching swift-http-structured-headers, swift-async-algorithms, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.41s)
[9948/18823] Fetching swift-http-structured-headers, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.46s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.46s)
[2767/11527] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.05s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.8.0 (1.47s)
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.51s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.50s)
Fetching https://github.com/apple/swift-crypto.git
[1/14671] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.12s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.51s)
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.42s)
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.42s)
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.44s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.0 (3.20s)
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-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.8.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-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-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-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-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-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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.0
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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.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/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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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-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-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-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/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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
[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
[26/449] Compiling CNIOWASI CNIOWASI.c
[26/449] Write sources
[26/449] Compiling CNIOLinux liburing_shims.c
[26/449] Write sources
[36/449] Compiling CNIOWindows shim.c
[36/449] Compiling CNIOLinux shim.c
[38/449] Compiling CNIODarwin shim.c
[39/449] Compiling _AtomicsShims.c
[40/449] Compiling CNIOSHA1 c_nio_sha1.c
[41/449] Compiling CNIOLLHTTP c_nio_http.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] Write swift-version-24593BA9C3E375BF.txt
[47/449] Compiling fiat_curve25519_adx_mul.S
[48/453] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/extensions.cc:33:
/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/455] Compiling extensions.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>
      |          ^~~~~~~~~~~
[49/455] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[49/455] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[49/455] Compiling tls_record.cc
[49/455] Compiling tls13_enc.cc
[49/455] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/403] Write sources
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.
[5/404] Compiling tls13_server.cc
[5/404] Compiling c-nioatomics.c
[5/404] Compiling tls_method.cc
[5/404] Compiling c-atomics.c
[5/404] Compiling CNIOLLHTTP c_nio_llhttp.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>
      |          ^~~~~~~~~~~
[5/404] Compiling tls_record.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>
      |          ^~~~~~~~~~~
[5/404] 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>
      |          ^~~~~~~~~~~
[5/404] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm