Build Information
Failed to build mysql-nio, reference 1.9.1 (7fa853), with Swift 6.1 for Wasm on 18 Feb 2026 10:04:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/vapor/mysql-nio.git
Reference: 1.9.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/vapor/mysql-nio
* tag 1.9.1 -> FETCH_HEAD
HEAD is now at 7fa8530 Widen pin on swift-crypto dependency (#120)
Cloned https://github.com/vapor/mysql-nio.git
Revision (git rev-parse @):
7fa853040169b604a16b963f23b481772f4ac181
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor/mysql-nio.git at 1.9.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/mysql-nio.git
https://github.com/vapor/mysql-nio.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.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-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.14.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
}
],
"manifest_display_name" : "mysql-nio",
"name" : "mysql-nio",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MySQLNIO",
"targets" : [
"MySQLNIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MySQLNIOTests",
"module_type" : "SwiftTarget",
"name" : "MySQLNIOTests",
"path" : "Tests/MySQLNIOTests",
"sources" : [
"MySQLNIOTests.swift",
"Utilities.swift"
],
"target_dependencies" : [
"MySQLNIO"
],
"type" : "test"
},
{
"c99name" : "MySQLNIO",
"module_type" : "SwiftTarget",
"name" : "MySQLNIO",
"path" : "Sources/MySQLNIO",
"product_dependencies" : [
"Algorithms",
"_CryptoExtras",
"Crypto",
"Logging",
"NIO",
"NIOSSL"
],
"product_memberships" : [
"MySQLNIO"
],
"sources" : [
"Exports.swift",
"MySQLConnection.swift",
"MySQLConnectionHandler.swift",
"MySQLData.swift",
"MySQLDataConvertible.swift",
"MySQLDatabase.swift",
"MySQLError.swift",
"MySQLQueryCommand.swift",
"MySQLRow.swift",
"MySQLSimpleQueryCommand.swift",
"MySQLTime.swift",
"Packet/MySQLPacket.swift",
"Packet/MySQLPacketDecoder.swift",
"Packet/MySQLPacketEncoder.swift",
"Packet/MySQLPacketSequence.swift",
"Protocol/MySQLProtocol+BinaryResultSetRow.swift",
"Protocol/MySQLProtocol+COM_QUERY.swift",
"Protocol/MySQLProtocol+COM_QUERY_Response.swift",
"Protocol/MySQLProtocol+COM_QUIT.swift",
"Protocol/MySQLProtocol+COM_STMT_CLOSE.swift",
"Protocol/MySQLProtocol+COM_STMT_EXECUTE.swift",
"Protocol/MySQLProtocol+COM_STMT_PREPARE.swift",
"Protocol/MySQLProtocol+COM_STMT_PREPARE_OK.swift",
"Protocol/MySQLProtocol+CapabilityFlags.swift",
"Protocol/MySQLProtocol+CharacterSet.swift",
"Protocol/MySQLProtocol+ColumnDefinition41.swift",
"Protocol/MySQLProtocol+ColumnFlags.swift",
"Protocol/MySQLProtocol+DataType.swift",
"Protocol/MySQLProtocol+ERR_Packet.swift",
"Protocol/MySQLProtocol+ErrorCode.swift",
"Protocol/MySQLProtocol+HandshakeResponse41.swift",
"Protocol/MySQLProtocol+HandshakeV10.swift",
"Protocol/MySQLProtocol+NullBitmap.swift",
"Protocol/MySQLProtocol+OK_Packet.swift",
"Protocol/MySQLProtocol+SSLRequest.swift",
"Protocol/MySQLProtocol+StatusFlags.swift",
"Protocol/MySQLProtocol+TextResultSetRow.swift",
"Protocol/MySQLProtocol.swift",
"Utilities/CryptoUtils.swift",
"Utilities/NIOUtils.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
[1/6052] Fetching swift-algorithms
[1514/23578] Fetching swift-algorithms, swift-crypto
[3378/29544] Fetching swift-algorithms, swift-crypto, swift-log
[5416/44840] Fetching swift-algorithms, swift-crypto, swift-log, swift-nio-ssl
[14251/127054] Fetching swift-algorithms, swift-crypto, swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (6.39s)
[82398/109528] Fetching swift-algorithms, swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-algorithms.git from cache (13.82s)
Fetched https://github.com/apple/swift-log.git from cache (13.81s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (13.88s)
Fetched https://github.com/apple/swift-nio.git from cache (14.06s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (18.23s)
Fetching https://github.com/apple/swift-numerics.git
[1/6410] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (1.05s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (1.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.94.1 (1.89s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[511/21489] Fetching swift-atomics, swift-collections
[1859/27052] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.12s)
[3787/21489] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.62s)
Fetched https://github.com/apple/swift-collections.git from cache (2.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.86s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.44s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (6.88s)
Fetching https://github.com/apple/swift-asn1.git
[1/1692] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.85s)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.94.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
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/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.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.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
Building for debugging...
[0/806] Write sources
[8/806] Compiling a_d2i_fp.cc
[9/806] Compiling a_i2d_fp.cc
[9/806] Write sources
[12/806] Compiling a_dup.cc
[12/806] Write sources
[22/806] Compiling _NumericsShims _NumericsShims.c
[23/806] Compiling _AtomicsShims.c
[24/806] Compiling CXKCPShims shims.c
[25/806] Compiling SimpleFIPS202.c
[26/806] Compiling KeccakSponge.c
[27/806] Compiling CNIOWindows shim.c
[28/806] Compiling KeccakHash.c
[29/806] Compiling CNIOWindows WSAStartup.c
[30/806] Compiling CNIOWASI CNIOWASI.c
[30/806] Compiling CNIOPosix event_loop_id.c
[32/806] Compiling CNIOOpenBSD shim.c
[33/806] Compiling CNIOLinux shim.c
[34/806] Compiling CNIOLinux liburing_shims.c
[35/806] Compiling CNIODarwin shim.c
[36/806] Compiling a_bool.cc
[37/806] Compiling fiat_p256_adx_sqr.S
[38/806] Compiling a_gentm.cc
[39/806] Compiling a_bitstr.cc
[40/806] Compiling fiat_p256_adx_mul.S
[41/806] Compiling fiat_curve25519_adx_mul.S
[42/806] Compiling fiat_curve25519_adx_square.S
[43/806] Compiling a_int.cc
[44/806] Write swift-version-24593BA9C3E375BF.txt
[45/806] Compiling CNIOBoringSSLShims shims.c
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>
| ^~~~~~~~~~~
1 error generated.
[46/810] 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>
| ^~~~~~~~~~~
1 error generated.
[46/810] Compiling tls13_enc.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>
| ^~~~~~~~~~~
[46/810] Compiling tls13_server.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>
| ^~~~~~~~~~~
[46/810] Compiling tls13_client.cc
[46/810] Compiling KeccakP-1600-opt64.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>
| ^~~~~~~~~~~
[46/810] 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>
| ^~~~~~~~~~~
[46/810] Compiling tls_record.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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>
| ^~~~~~~~~~~
1 error generated.
[0/761] Compiling t1_enc.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>
| ^~~~~~~~~~~
[0/761] 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>
| ^~~~~~~~~~~
[0/761] Compiling tls13_client.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>
| ^~~~~~~~~~~
[0/761] 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>
| ^~~~~~~~~~~
[0/761] Compiling tls_record.cc
[0/761] Compiling KeccakP-1600-opt64.c
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>
| ^~~~~~~~~~~
[0/761] Compiling tls13_both.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>
| ^~~~~~~~~~~
[0/761] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm