The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMail, reference main (90ce57), with Swift 6.1 for Wasm on 1 May 2026 12:21:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/SwiftMail.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/Cocoanetics/SwiftMail
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 90ce57a Use forked swift-nio-imap 0.3.0-pre
Cloned https://github.com/Cocoanetics/SwiftMail.git
Revision (git rev-parse @):
90ce57aaab3ec8c904b4d6ceee106f699fef43d4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Cocoanetics/SwiftMail.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Cocoanetics/SwiftMail.git
https://github.com/Cocoanetics/SwiftMail.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/odrobnik/swift-nio-imap
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-testing
[1/17557] Fetching swift-argument-parser
[353/19844] Fetching swift-argument-parser, swift-docc-plugin
[734/43738] Fetching swift-argument-parser, swift-docc-plugin, swift-collections
[911/81484] Fetching swift-argument-parser, swift-docc-plugin, swift-collections, swift-testing
[2906/96924] Fetching swift-argument-parser, swift-docc-plugin, swift-collections, swift-testing, swift-nio-ssl
[8868/110837] Fetching swift-argument-parser, swift-docc-plugin, swift-collections, swift-testing, swift-nio-ssl, swift-nio-imap
Fetched https://github.com/odrobnik/swift-nio-imap from cache (2.65s)
[79043/96924] Fetching swift-argument-parser, swift-docc-plugin, swift-collections, swift-testing, swift-nio-ssl
Fetching https://github.com/apple/swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (2.76s)
[62752/79367] Fetching swift-docc-plugin, swift-collections, swift-testing, swift-nio-ssl
Fetching https://github.com/apple/swift-log.git
[73936/86176] Fetching swift-docc-plugin, swift-collections, swift-testing, swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-testing from cache (3.47s)
[45034/48430] Fetching swift-docc-plugin, swift-collections, swift-nio-ssl, swift-log
Fetching https://github.com/thebarndog/swift-dotenv
[48431/131660] Fetching swift-docc-plugin, swift-collections, swift-nio-ssl, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
[42454/124851] Fetching swift-docc-plugin, swift-collections, swift-nio-ssl, swift-nio
[42455/125322] Fetching swift-docc-plugin, swift-collections, swift-nio-ssl, swift-nio, swift-dotenv
Fetched https://github.com/apple/swift-docc-plugin from cache (5.64s)
Fetched https://github.com/apple/swift-collections.git from cache (5.64s)
Fetched https://github.com/apple/swift-nio-ssl from cache (5.65s)
[50409/83701] Fetching swift-nio, swift-dotenv
Fetched https://github.com/thebarndog/swift-dotenv from cache (2.16s)
[50771/83230] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (8.87s)
Computing version for https://github.com/apple/swift-testing
Computed https://github.com/apple/swift-testing at 0.12.0 (12.49s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.30s)
Computing version for https://github.com/thebarndog/swift-dotenv
Computed https://github.com/thebarndog/swift-dotenv at 2.1.0 (10.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.71s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (3.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3709] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.87s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.0 (0.94s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.99.0 (1.64s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1821/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
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.20s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.77s)
Computing version for https://github.com/odrobnik/swift-nio-imap
Computed https://github.com/odrobnik/swift-nio-imap at 0.3.0-pre (0.68s)
Fetching https://github.com/apple/swift-se0270-range-set.git
[1/76] Fetching swift-se0270-range-set
Fetched https://github.com/apple/swift-se0270-range-set.git from cache (0.28s)
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 (0.91s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.79s)
Creating working copy for https://github.com/odrobnik/swift-nio-imap
Working copy of https://github.com/odrobnik/swift-nio-imap resolved at 0.3.0-pre
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.99.0
Creating working copy for https://github.com/apple/swift-testing
Working copy of https://github.com/apple/swift-testing resolved at 0.12.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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/thebarndog/swift-dotenv
Working copy of https://github.com/thebarndog/swift-dotenv resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[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/468] Write swift-version-24593BA9C3E375BF.txt
[4/468] Write sources
[7/468] Compiling _AtomicsShims.c
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.
[8/472] Compiling a_bitstr.cc
[8/472] Compiling a_d2i_fp.cc
[8/472] Compiling a_bool.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/472] Compiling c-nioatomics.c
[8/472] Compiling a_strnid.cc
[8/472] Compiling c-atomics.c
[8/472] Compiling a_dup.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/464] Write sources
[26/465] Compiling CNIOWindows shim.c
[27/465] Compiling CNIOWindows WSAStartup.c
[28/465] Compiling CNIOWASI CNIOWASI.c
[29/465] Compiling CNIOOpenBSD shim.c
[30/465] Compiling CNIOLinux shim.c
[30/465] Compiling CNIOLinux liburing_shims.c
[32/465] Compiling CNIODarwin shim.c
[32/465] Compiling CNIOPosix event_loop_id.c
[34/465] Compiling fiat_p256_adx_mul.S
[35/465] Compiling fiat_curve25519_adx_mul.S
[36/465] Compiling fiat_p256_adx_sqr.S
[37/465] Compiling fiat_curve25519_adx_square.S
[38/465] Write swift-version-24593BA9C3E375BF.txt
[39/465] Compiling CNIOBoringSSLShims shims.c
[41/469] 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.
[41/469] Compiling tls_method.cc
[41/469] Compiling t1_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>
      |          ^~~~~~~~~~~
[41/469] 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>
      |          ^~~~~~~~~~~
[41/469] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[41/469] 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>
      |          ^~~~~~~~~~~
[41/469] 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>
      |          ^~~~~~~~~~~
[41/469] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm