Build Information
Failed to build XMPP, reference master (d1ac60
), with Swift 6.1 for Wasm on 27 May 2025 10:34:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/FluuxIO/XMPP.git
Reference: master
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/FluuxIO/XMPP
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d1ac605 Remove compilation warning
Cloned https://github.com/FluuxIO/XMPP.git
Revision (git rev-parse @):
d1ac6054704358adb886d49ab9510942b19b9ee4
SUCCESS checkout https://github.com/FluuxIO/XMPP.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/FluuxIO/XMPP.git
https://github.com/FluuxIO/XMPP.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"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.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
}
],
"manifest_display_name" : "XMPP",
"name" : "XMPP",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "XMPP",
"targets" : [
"XMPP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XMPPDemo",
"targets" : [
"XMPPDemo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "XMPPTests",
"module_type" : "SwiftTarget",
"name" : "XMPPTests",
"path" : "Tests/XMPPTests",
"sources" : [
"IQEncoderTests.swift",
"MobileProvisionTests.swift",
"RouterTests.swift",
"SerializerTests.swift",
"TestsHelpers.swift",
"XCTestManifests.swift",
"XMPPTests.swift"
],
"target_dependencies" : [
"XMPP"
],
"type" : "test"
},
{
"c99name" : "XMPPDemo",
"module_type" : "SwiftTarget",
"name" : "XMPPDemo",
"path" : "Sources/XMPPDemo",
"product_memberships" : [
"XMPPDemo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XMPP"
],
"type" : "executable"
},
{
"c99name" : "XMPP",
"module_type" : "SwiftTarget",
"name" : "XMPP",
"path" : "Sources/XMPP",
"product_dependencies" : [
"NIO",
"NIOSSL"
],
"product_memberships" : [
"XMPP",
"XMPPDemo"
],
"sources" : [
"Auth.swift",
"Config/Config.swift",
"Config/MobileProvision.swift",
"Encoding/Encoder.swift",
"Encoding/IQEncoder.swift",
"Encoding/Message.swift",
"Encoding/PresenceEncoder.swift",
"Features.swift",
"JID.swift",
"Networking/BSDSocket/ConnectionNIO.swift",
"Networking/Connection.swift",
"Networking/ConnectionError.swift",
"Networking/StreamObserver.swift",
"Networking/TAPS/ConnectionTAPS.swift",
"Parsing/IQParser.swift",
"Parsing/Parser.swift",
"Parsing/Stanza.swift",
"Router.swift",
"XMPP+CustomStringConvertible.swift",
"XMPP.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/14843] Fetching swift-nio-ssl
[1337/90885] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.25s)
[60074/76042] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.42s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (8.10s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.93s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
[532/18301] Fetching swift-atomics, swift-collections
[533/22692] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.29s)
Fetched https://github.com/apple/swift-system.git from cache (1.30s)
Fetched https://github.com/apple/swift-collections.git from cache (1.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.34s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.73s)
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.2.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
Building for debugging...
[0/440] Write sources
[5/440] Compiling a_i2d_fp.cc
[6/440] Write sources
[8/440] Compiling _AtomicsShims.c
[9/440] Write sources
[16/440] Compiling CNIOWindows shim.c
[17/440] Compiling CNIOWindows WSAStartup.c
[18/440] Compiling posix_time.cc
[19/440] Compiling CNIOWASI CNIOWASI.c
[20/440] Compiling CNIOLinux shim.c
[21/440] Compiling CNIOLinux liburing_shims.c
[22/440] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/evp/evp_asn1.cc:22:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/evp/../internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[23/440] Compiling evp_asn1.cc
[23/440] Compiling CNIOBoringSSLShims shims.c
[23/440] Compiling c-nioatomics.c
[23/440] Compiling a_sign.cc
[23/440] Compiling fiat_p256_adx_sqr.S
[23/440] Compiling a_gentm.cc
[23/440] Compiling c-atomics.c
[23/440] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/417] Compiling fiat_p256_adx_sqr.S
[1/417] Compiling fiat_p256_adx_mul.S
[2/417] Compiling fiat_curve25519_adx_square.S
[3/417] Compiling fiat_curve25519_adx_mul.S
[4/417] Write swift-version-24593BA9C3E375BF.txt
[5/417] Compiling CNIOBoringSSLShims shims.c
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.
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.
[6/421] Compiling tls13_both.cc
[6/421] Compiling tls13_server.cc
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>
| ^~~~~~~~~~~
[6/421] 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>
| ^~~~~~~~~~~
[6/421] 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>
| ^~~~~~~~~~~
[6/421] 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>
| ^~~~~~~~~~~
[6/421] 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>
| ^~~~~~~~~~~
[6/421] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm