The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-nio-imap, reference 0.3.2-pre (8fcbcb), with Swift 6.1 for Wasm on 26 Jun 2026 12:45:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/odrobnik/swift-nio-imap.git
Reference: 0.3.2-pre
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/odrobnik/swift-nio-imap
 * tag               0.3.2-pre  -> FETCH_HEAD
HEAD is now at 8fcbcb1 Add Android to NIOIMAPCore's libc imports
Cloned https://github.com/odrobnik/swift-nio-imap.git
Revision (git rev-parse @):
8fcbcb1ff5f75671d3ec43ca7dc500e23ada1117
SUCCESS checkout https://github.com/odrobnik/swift-nio-imap.git at 0.3.2-pre
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/odrobnik/swift-nio-imap.git
https://github.com/odrobnik/swift-nio-imap.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-se0270-range-set.git
[1/7598] Fetching swift-log
[7599/32837] Fetching swift-log, swift-collections
[9366/32913] Fetching swift-log, swift-collections, swift-se0270-range-set
Fetched https://github.com/apple/swift-se0270-range-set.git from cache (0.66s)
[9870/32837] Fetching swift-log, swift-collections
[14414/116991] Fetching swift-log, swift-collections, swift-nio
[15172/132572] Fetching swift-log, swift-collections, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-collections.git from cache (1.14s)
[62327/107333] Fetching swift-log, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-log from cache (2.97s)
Fetched https://github.com/apple/swift-nio-ssl from cache (2.98s)
Fetched https://github.com/apple/swift-nio from cache (3.01s)
Computing version for https://github.com/apple/swift-se0270-range-set.git
Computed https://github.com/apple/swift-se0270-range-set.git at 1.0.1 (3.94s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.32s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.1 (0.25s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.101.2 (0.43s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1868] Fetching swift-atomics
[1869/7793] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.77s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.7.2 (0.25s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.14.0 (0.22s)
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.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.6.0
Creating working copy for https://github.com/apple/swift-se0270-range-set.git
Working copy of https://github.com/apple/swift-se0270-range-set.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.14.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.101.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.7.2
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/base64/base64.cc:16:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/base64/../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/crypto/cpu_arm_freebsd.cc:15:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/467] Compiling cpu_arm_freebsd.cc
[0/467] Compiling base64.cc
[0/467] Compiling tasn_utl.cc
[0/467] Compiling ssl_versions.cc
[0/467] Compiling ssl_transcript.cc
[0/467] Compiling dtls_record.cc
[0/467] Compiling tasn_typ.cc
[0/467] Compiling ssl_x509.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/467] Write sources
[20/467] Compiling CNIOWASI CNIOWASI.c
[20/467] Compiling CNIOWindows WSAStartup.c
[22/467] Compiling CNIOLinux shim.c
[23/467] Compiling CNIOPosix event_loop_id.c
[24/467] Compiling CNIOWindows shim.c
[24/467] Compiling CNIOOpenBSD shim.c
[26/467] Compiling _AtomicsShims.c
[27/467] Compiling CNIODarwin shim.c
[28/467] Compiling CNIOLinux liburing_shims.c
[29/467] Compiling CNIOFreeBSD shim.c
[30/467] Compiling fiat_p256_adx_sqr.S
[31/467] Compiling fiat_p256_adx_mul.S
[32/467] Compiling fiat_curve25519_adx_mul.S
[33/467] Compiling fiat_curve25519_adx_square.S
[34/467] Write swift-version-24593BA9C3E375BF.txt
[35/467] Compiling CNIOBoringSSLShims shims.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>
      |          ^~~~~~~~~~~
1 error generated.
[36/471] 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.
[36/471] 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>
      |          ^~~~~~~~~~~
[36/471] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[36/471] Compiling tls13_enc.cc
[36/471] Compiling tls13_server.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.
[36/471] Compiling tls_record.cc
[36/471] Compiling t1_enc.cc
BUILD FAILURE 6.1 wasm