Build Information
Failed to build soto-elasticsearch-nio-client, reference main (6b98e1
), with Swift 6.1 for Wasm on 28 May 2025 18:59:35 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/brokenhandsio/soto-elasticsearch-nio-client.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/brokenhandsio/soto-elasticsearch-nio-client
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6b98e1c Merge pull request #4 from brokenhandsio/dependabot/github_actions/actions/checkout-4
Cloned https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
Revision (git rev-parse @):
6b98e1c2a3a637273fe93ba647a22237655047fd
SUCCESS checkout https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "elasticsearch-nio-client",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brokenhandsio/elasticsearch-nio-client.git"
},
{
"identity" : "soto",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/soto-project/soto.git"
}
],
"manifest_display_name" : "soto-elasticsearch-nio-client",
"name" : "soto-elasticsearch-nio-client",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SotoElasticsearchNIOClient",
"targets" : [
"SotoElasticsearchNIOClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SotoElasticsearchNIOClientTests",
"module_type" : "SwiftTarget",
"name" : "SotoElasticsearchNIOClientTests",
"path" : "Tests/SotoElasticsearchNIOClientTests",
"sources" : [
"ElasticsearchNIOClientTests.swift",
"SomeItem.swift"
],
"target_dependencies" : [
"SotoElasticsearchNIOClient"
],
"type" : "test"
},
{
"c99name" : "SotoElasticsearchNIOClient",
"module_type" : "SwiftTarget",
"name" : "SotoElasticsearchNIOClient",
"path" : "Sources/SotoElasticsearchNIOClient",
"product_dependencies" : [
"ElasticsearchNIOClient",
"SotoElasticsearchService"
],
"product_memberships" : [
"SotoElasticsearchNIOClient"
],
"sources" : [
"SotoElasticsearchNIOClient.swift",
"SotoElasticsearchRequester.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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/brokenhandsio/elasticsearch-nio-client.git
Fetching https://github.com/soto-project/soto.git
[1/714] Fetching elasticsearch-nio-client
Fetched https://github.com/brokenhandsio/elasticsearch-nio-client.git from cache (0.27s)
[1/141069] Fetching soto
Fetched https://github.com/soto-project/soto.git from cache (106.52s)
Computing version for https://github.com/brokenhandsio/elasticsearch-nio-client.git
Computed https://github.com/brokenhandsio/elasticsearch-nio-client.git at 0.7.0 (109.72s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
[1/14014] Fetching async-http-client
[3085/90107] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (0.98s)
[27394/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.98s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 5.13.2 (8.92s)
Fetching https://github.com/soto-project/soto-core.git
[1/56330] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git from cache (2.07s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 5.9.4 (2.62s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/adam-fowler/jmespath.swift.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-crypto.git
[1/3836] Fetching swift-log
[960/4494] Fetching swift-log, jmespath.swift
[1039/7161] Fetching swift-log, jmespath.swift, swift-nio-transport-services
[1091/9367] Fetching swift-log, jmespath.swift, swift-nio-transport-services, swift-metrics
[9368/23303] Fetching swift-log, jmespath.swift, swift-nio-transport-services, swift-metrics, swift-crypto
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.37s)
[7676/20636] Fetching swift-log, jmespath.swift, swift-metrics, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.39s)
[3979/16800] Fetching jmespath.swift, swift-metrics, swift-crypto
[5653/31643] Fetching jmespath.swift, swift-metrics, swift-crypto, swift-nio-ssl
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (1.45s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.48s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.77s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.79s)
Computing version for https://github.com/adam-fowler/jmespath.swift.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (2.36s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.47s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (1.74s)
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.48s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.23s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[2504/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
[3319/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.05s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.74s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.58s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
[597/17486] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.60s)
[3459/11527] Fetching swift-nio-http2
[5534/17441] Fetching swift-nio-http2, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.83s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.16s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.72s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (3.26s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.82s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
[1/1141] Fetching swift-http-structured-headers
[1142/6126] Fetching swift-http-structured-headers, swift-async-algorithms
[1691/7716] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1
[7668/8620] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-http-types
[8133/11046] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-http-types, swift-service-lifecycle
[10708/17201] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-http-types, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.43s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.43s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.45s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.05s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.08s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.00s)
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.00s)
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.75s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.52s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.35s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.81s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.56s)
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-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/soto-project/soto.git
Working copy of https://github.com/soto-project/soto.git resolved at 5.13.2
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Creating working copy for https://github.com/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 5.9.4
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.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/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/adam-fowler/jmespath.swift.git
Working copy of https://github.com/adam-fowler/jmespath.swift.git 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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/brokenhandsio/elasticsearch-nio-client.git
Working copy of https://github.com/brokenhandsio/elasticsearch-nio-client.git resolved at 0.7.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.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
Building for debugging...
[0/871] Write sources
[27/871] Compiling CNIOWASI CNIOWASI.c
[28/871] Compiling CNIOWindows shim.c
[28/871] Compiling CNIOWindows WSAStartup.c
[30/871] Write sources
[36/871] Compiling CNIOLinux liburing_shims.c
[36/871] Compiling CNIOLinux shim.c
[38/871] Compiling CNIOLLHTTP c_nio_http.c
[39/871] Compiling _NumericsShims _NumericsShims.c
[40/871] Compiling _AtomicsShims.c
[41/871] Compiling CSotoExpat xmltok_ns.c
[41/871] Compiling CSotoExpat xmlrole.c
[43/871] Compiling CSotoExpat xmltok_impl.c
[44/871] Compiling CNIOExtrasZlib empty.c
[45/871] Compiling CNIODarwin shim.c
[46/871] Compiling CNIOLLHTTP c_nio_api.c
[47/871] Compiling fiat_p256_adx_sqr.S
[48/871] Write swift-version-24593BA9C3E375BF.txt
[49/871] Compiling fiat_p256_adx_mul.S
[50/871] Compiling fiat_curve25519_adx_square.S
[51/871] Compiling fiat_curve25519_adx_mul.S
[52/871] Compiling CSotoExpat xmltok.c
[53/892] Compiling CSotoExpat xmlparse.c
[54/892] Compiling CNIOBoringSSLShims shims.c
[56/908] Emitting module _NIODataStructures
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.
[56/908] Compiling tls_record.cc
[57/908] Emitting module Logging
[58/908] Emitting module _NIOBase64
[58/908] Compiling CNIOLLHTTP c_nio_llhttp.c
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/817] Compiling fiat_curve25519_adx_mul.S
[1/817] Compiling fiat_curve25519_adx_square.S
[2/817] Compiling v3_prn.c
[3/817] Compiling v3_purp.c
[4/817] Compiling v3_pmaps.c
[5/817] Compiling v3_utl.c
[6/817] Compiling v3_skey.c
[7/817] Write swift-version-24593BA9C3E375BF.txt
[8/817] Compiling CCryptoBoringSSLShims shims.c
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.
[9/821] Compiling tls13_enc.cc
[9/821] Compiling tls13_client.cc
[9/821] Compiling tls13_both.cc
[9/821] Compiling tls_method.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>
| ^~~~~~~~~~~
[9/821] Compiling tls13_server.cc
[9/821] Compiling CNIOLLHTTP c_nio_llhttp.c
[9/821] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm