Build Information
Failed to build ohje, reference main (d8ed7c
), with Swift 6.1 for Wasm on 29 May 2025 10:44:30 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/lovetodream/ohje.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/lovetodream/ohje
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d8ed7c9 fix: stop sampling when time is over
Cloned https://github.com/lovetodream/ohje.git
Revision (git rev-parse @):
d8ed7c90792e861f46f479158d9d64f8ca150de8
SUCCESS checkout https://github.com/lovetodream/ohje.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/lovetodream/ohje.git
https://github.com/lovetodream/ohje.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.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-http2",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-http2.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.25.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "package-histogram",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/package-histogram.git"
}
],
"manifest_display_name" : "ohje",
"name" : "ohje",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Ohje",
"targets" : [
"Ohje"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "OhjeTests",
"module_type" : "SwiftTarget",
"name" : "OhjeTests",
"path" : "Tests",
"sources" : [
"RangeParserTests.swift"
],
"target_dependencies" : [
"Ohje"
],
"type" : "test"
},
{
"c99name" : "Ohje",
"module_type" : "SwiftTarget",
"name" : "Ohje",
"path" : "Sources",
"product_dependencies" : [
"ArgumentParser",
"NIOCore",
"NIOPosix",
"NIOHTTP1",
"NIOHTTP2",
"NIOTransportServices",
"NIOSSL",
"Histogram"
],
"product_memberships" : [
"Ohje"
],
"sources" : [
"App.swift",
"AsyncTimerSequence.swift",
"BenchmarkRunner.swift",
"ConnectionTarget.swift",
"ConnectionTargetBootstrap.swift",
"OutputBuffer.swift",
"RangeParser.swift",
"URLDeconstruction.swift",
"Units.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/ordo-one/package-histogram.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/467] Fetching package-histogram
[468/3134] Fetching package-histogram, swift-nio-transport-services
[3135/14661] Fetching package-histogram, swift-nio-transport-services, swift-nio-http2
[5441/29504] Fetching package-histogram, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
[6859/44883] Fetching package-histogram, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-argument-parser
[7464/120976] Fetching package-histogram, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.68s)
[82545/106133] Fetching package-histogram, swift-nio-transport-services, swift-nio-http2, swift-argument-parser, swift-nio
Fetched https://github.com/ordo-one/package-histogram.git from cache (6.94s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (6.95s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.95s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (6.96s)
Fetched https://github.com/apple/swift-nio.git from cache (7.05s)
Computing version for https://github.com/ordo-one/package-histogram.git
Computed https://github.com/ordo-one/package-histogram.git at 0.1.2 (17.97s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.46s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.66s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.65s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.66s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/16591] Fetching swift-collections
[167/20982] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.12s)
Fetched https://github.com/apple/swift-collections.git from cache (1.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.31s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.76s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.54s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.71s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.86s)
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
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/ordo-one/package-histogram.git
Working copy of https://github.com/ordo-one/package-histogram.git resolved at 0.1.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.5.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/465] Compiling a_type.cc
[2/465] Compiling a_gentm.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_strnid.cc:20:
/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.
[3/465] Compiling a_strnid.cc
[3/465] Compiling a_dup.cc
[3/465] Compiling _NumericsShims _NumericsShims.c
[3/465] Compiling a_time.cc
[3/465] Compiling a_strex.cc
[3/465] Compiling a_utctm.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/asn1_lib.cc:19:
/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>
| ^~~~~~~~~~~
[3/465] Compiling asn1_lib.cc
[3/465] 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/463] Write sources
[25/463] Compiling _NumericsShims _NumericsShims.c
[26/463] Compiling CNIOWindows shim.c
[27/463] Compiling _AtomicsShims.c
[28/463] Compiling CNIOWASI CNIOWASI.c
[29/463] Compiling CNIOLinux liburing_shims.c
[30/463] Compiling CNIOWindows WSAStartup.c
[31/463] Compiling CNIOLinux shim.c
[32/463] Compiling CNIODarwin shim.c
[33/463] Compiling CNIOLLHTTP c_nio_http.c
[34/463] Compiling fiat_p256_adx_sqr.S
[35/463] Compiling fiat_curve25519_adx_mul.S
[36/463] Compiling fiat_p256_adx_mul.S
[37/463] Compiling fiat_curve25519_adx_square.S
[38/463] Compiling CNIOLLHTTP c_nio_api.c
[39/463] Write swift-version-24593BA9C3E375BF.txt
[40/463] Compiling CNIOBoringSSLShims shims.c
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.
[41/467] Compiling tls_record.cc
[41/467] Compiling tls_method.cc
[41/467] Compiling tls13_server.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/467] Compiling tls13_enc.cc
[42/467] Emitting module _NIODataStructures
[42/467] Compiling tls13_client.cc
[42/467] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/467] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm