Build Information
Failed to build ProrsumNet, reference master (941e0c
), with Swift 6.1 for Wasm on 27 May 2025 18:36:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/noppoMan/ProrsumNet.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/noppoMan/ProrsumNet
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 941e0c6 Merge pull request #4 from noppoMan/avoid-crash
Cloned https://github.com/noppoMan/ProrsumNet.git
Revision (git rev-parse @):
941e0c65df620467130e9eb2496a3c1275c1d307
SUCCESS checkout https://github.com/noppoMan/ProrsumNet.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/noppoMan/ProrsumNet.git
https://github.com/noppoMan/ProrsumNet.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "clibressl",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/clibressl.git"
}
],
"manifest_display_name" : "ProrsumNet",
"name" : "ProrsumNet",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ProrsumNet",
"targets" : [
"ProrsumNet"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProrsumNetTests",
"module_type" : "SwiftTarget",
"name" : "ProrsumNetTests",
"path" : "Tests/ProrsumNetTests",
"sources" : [
"SocketTests.swift",
"TCPTests.swift",
"UDPTests.swift"
],
"target_dependencies" : [
"ProrsumNet"
],
"type" : "test"
},
{
"c99name" : "ProrsumNet",
"module_type" : "SwiftTarget",
"name" : "ProrsumNet",
"path" : "Sources/ProrsumNet",
"product_dependencies" : [
"CLibreSSL"
],
"product_memberships" : [
"ProrsumNet"
],
"sources" : [
"Net/Address.swift",
"Net/Net.swift",
"Net/SSLTCPStream.swift",
"Net/Socket.swift",
"Net/Stream.swift",
"Net/TCPServer.swift",
"Net/TCPSocket.swift",
"Net/TCPStream.swift",
"Net/UDPSocket.swift",
"POSIX/SystemError.swift",
"TLS/Certificate.swift",
"TLS/Certs/mozilla_certs.swift",
"TLS/Certs/openbsd_certs.swift",
"TLS/Config.swift",
"TLS/Context.swift",
"TLS/Error.swift",
"TLS/Mode.swift",
"TLS/SSLSocket.swift",
"TLS/Utilities.swift",
"Util/CaseInsensitiveString.swift",
"Util/Data.swift",
"Util/String.swift",
"Util/URL.swift",
"Util/URandom.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/vapor/clibressl.git
[1/3365] Fetching clibressl
Fetched https://github.com/vapor/clibressl.git from cache (0.60s)
Computing version for https://github.com/vapor/clibressl.git
Computed https://github.com/vapor/clibressl.git at 1.0.1 (1.15s)
Creating working copy for https://github.com/vapor/clibressl.git
Working copy of https://github.com/vapor/clibressl.git resolved at 1.0.1
Building for debugging...
[0/618] Compiling CLibreSSL aes_ofb.c
[0/618] Write sources
[2/618] Compiling CLibreSSL aes_misc.c
[3/618] Compiling CLibreSSL arc4random_uniform.c
[4/618] Compiling CLibreSSL aes_wrap.c
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/bss_log.c:68:10: fatal error: 'syslog.h' file not found
68 | #include <syslog.h>
| ^~~~~~~~~~
1 error generated.
[5/618] Compiling CLibreSSL bss_log.c
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
7 | #include <machine/endian.h>
| ^~~~~~~~~~~~~~~~~~
1 error generated.
[5/618] Compiling CLibreSSL xts128.c
[5/618] Compiling CLibreSSL x_x509.c
[5/618] Compiling CLibreSSL xcbc_enc.c
[5/618] Compiling CLibreSSL ameth_lib.c
[5/618] Compiling CLibreSSL x_x509a.c
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.c:28:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.c:70:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.h:31:2: error: "No arc4random hooks defined for this platform."
31 | #error "No arc4random hooks defined for this platform."
| ^
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.c:95:3: error: call to undeclared function '_getentropy_fail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
95 | _getentropy_fail();
| ^
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.c:188:2: error: call to undeclared function '_ARC4_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
188 | _ARC4_LOCK();
| ^
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.c:190:2: error: call to undeclared function '_ARC4_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
190 | _ARC4_UNLOCK();
| ^
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.c:197:2: error: call to undeclared function '_ARC4_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
197 | _ARC4_LOCK();
| ^
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/arc4random.c:199:2: error: call to undeclared function '_ARC4_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
199 | _ARC4_UNLOCK();
| ^
7 errors generated.
[5/618] Compiling CLibreSSL arc4random.c
[5/618] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Building for debugging...
[0/613] Compiling CLibreSSL xcbc_enc.c
[1/613] Compiling CLibreSSL x_val.c
[2/613] Compiling CLibreSSL x_sig.c
[3/613] Compiling CLibreSSL x_spki.c
[4/613] Compiling CLibreSSL x_x509a.c
[5/613] Compiling CLibreSSL x_req.c
[6/613] Compiling CLibreSSL x_x509.c
[7/613] Compiling CLibreSSL x_nx509.c
[8/613] Compiling CLibreSSL x_pubkey.c
[9/613] Compiling CLibreSSL x_name.c
[10/613] Compiling CLibreSSL x_long.c
[10/613] Compiling CLibreSSL x_bignum.c
[12/613] Compiling CLibreSSL x_pkey.c
In file included from /host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/xts128.c:51:
/host/spi-builder-workspace/.build/checkouts/clibressl/Sources/CLibreSSL/endian.h:7:11: fatal error: 'machine/endian.h' file not found
7 | #include <machine/endian.h>
| ^~~~~~~~~~~~~~~~~~
1 error generated.
[13/613] Write swift-version-24593BA9C3E375BF.txt
[14/613] Compiling CLibreSSL xts128.c
[14/613] Compiling CLibreSSL x_exten.c
[14/613] Compiling CLibreSSL x_attrib.c
[14/613] Compiling CLibreSSL x509type.c
[14/613] Compiling CLibreSSL x_crl.c
[14/613] Compiling CLibreSSL x_all.c
[14/613] Compiling CLibreSSL x_algor.c
[14/613] Compiling CLibreSSL x_info.c
BUILD FAILURE 6.1 wasm