Build Information
Failed to build SparkConnect, reference 0.4.0 (07a276), with Swift 6.1 for Wasm on 1 Oct 2025 18:34:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/apache/spark-connect-swift.git
Reference: 0.4.0
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/apache/spark-connect-swift
* tag 0.4.0 -> FETCH_HEAD
HEAD is now at 07a276e [SPARK-53724] Update `Examples` and documentations to use `4.0.1`
Cloned https://github.com/apache/spark-connect-swift.git
Revision (git rev-parse @):
07a276e0b77135894509d5637d8e5447345afe26
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apache/spark-connect-swift.git at 0.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apache/spark-connect-swift.git
https://github.com/apache/spark-connect-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "grpc-swift-2",
"requirement" : {
"exact" : [
"2.1.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-2.git"
},
{
"identity" : "grpc-swift-protobuf",
"requirement" : {
"exact" : [
"2.1.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-protobuf.git"
},
{
"identity" : "grpc-swift-nio-transport",
"requirement" : {
"exact" : [
"2.1.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-nio-transport.git"
},
{
"identity" : "flatbuffers",
"requirement" : {
"branch" : [
"v25.2.10"
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/flatbuffers.git"
}
],
"manifest_display_name" : "SparkConnect",
"name" : "SparkConnect",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "18.0"
}
],
"products" : [
{
"name" : "SparkConnect",
"targets" : [
"SparkConnect"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SparkConnectTests",
"module_type" : "SwiftTarget",
"name" : "SparkConnectTests",
"path" : "Tests/SparkConnectTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SparkConnectTests/Resources/queries",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BuilderTests.swift",
"CRC32Tests.swift",
"CaseInsensitiveDictionaryTests.swift",
"CatalogTests.swift",
"ConstraintTests.swift",
"DataFrameInternalTests.swift",
"DataFrameReaderTests.swift",
"DataFrameTests.swift",
"DataFrameWriterTests.swift",
"DataFrameWriterV2Tests.swift",
"DataStreamTests.swift",
"IcebergTests.swift",
"MergeIntoWriterTests.swift",
"RowTests.swift",
"RuntimeConfTests.swift",
"SQLHelper.swift",
"SQLTests.swift",
"SparkConnectClientTests.swift",
"SparkFileUtilsTests.swift",
"SparkSessionTests.swift",
"StreamingQueryManagerTests.swift",
"StreamingQueryTests.swift"
],
"target_dependencies" : [
"SparkConnect"
],
"type" : "test"
},
{
"c99name" : "SparkConnect",
"module_type" : "SwiftTarget",
"name" : "SparkConnect",
"path" : "Sources/SparkConnect",
"product_dependencies" : [
"GRPCCore",
"GRPCProtobuf",
"GRPCNIOTransportHTTP2",
"FlatBuffers"
],
"product_memberships" : [
"SparkConnect"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SparkConnect/Documentation.docc",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ArrowArray.swift",
"ArrowArrayBuilder.swift",
"ArrowBuffer.swift",
"ArrowBufferBuilder.swift",
"ArrowData.swift",
"ArrowDecoder.swift",
"ArrowEncoder.swift",
"ArrowReader.swift",
"ArrowReaderHelper.swift",
"ArrowSchema.swift",
"ArrowTable.swift",
"ArrowType.swift",
"ArrowWriter.swift",
"ArrowWriterHelper.swift",
"BearerTokenInterceptor.swift",
"BitUtility.swift",
"CRC32.swift",
"CaseInsensitiveDictionary.swift",
"Catalog.swift",
"ChunkedArray.swift",
"DataFrame.swift",
"DataFrameReader.swift",
"DataFrameWriter.swift",
"DataFrameWriterV2.swift",
"DataStreamReader.swift",
"DataStreamWriter.swift",
"ErrorUtils.swift",
"Extension.swift",
"File_generated.swift",
"Flight.pb.swift",
"FlightData.swift",
"FlightDescriptor.swift",
"GroupedData.swift",
"MemoryAllocator.swift",
"MergeIntoWriter.swift",
"Message_generated.swift",
"ProtoUtil.swift",
"ProtoUtils.swift",
"Row.swift",
"RuntimeConf.swift",
"Schema_generated.swift",
"SparkConnectClient.swift",
"SparkConnectError.swift",
"SparkFileUtils.swift",
"SparkSession.swift",
"SparseTensor_generated.swift",
"StorageLevel.swift",
"StreamingQuery.swift",
"StreamingQueryManager.swift",
"Tensor_generated.swift",
"TypeAliases.swift",
"base.grpc.swift",
"base.pb.swift",
"catalog.pb.swift",
"commands.pb.swift",
"common.pb.swift",
"example_plugins.pb.swift",
"expressions.pb.swift",
"ml.pb.swift",
"ml_common.pb.swift",
"pipelines.pb.swift",
"relations.pb.swift",
"types.pb.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/google/flatbuffers.git
[1/90360] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (7.92s)
warning: 'flatbuffers': /Package.swift:23:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
21 | name: "FlatBuffers",
22 | platforms: [
23 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
24 | .macOS(.v10_14),
25 | ],
Fetching https://github.com/grpc/grpc-swift-2.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
[1/29827] Fetching grpc-swift-2
[300/32195] Fetching grpc-swift-2, grpc-swift-protobuf
[301/37011] Fetching grpc-swift-2, grpc-swift-protobuf, grpc-swift-nio-transport
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.47s)
[13765/34643] Fetching grpc-swift-2, grpc-swift-nio-transport
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (0.58s)
[12528/29827] Fetching grpc-swift-2
Fetched https://github.com/grpc/grpc-swift-2.git from cache (1.95s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.1.1 (2.75s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/6170] Fetching swift-nio-extras
[1729/17864] Fetching swift-nio-extras, swift-nio-http2
[1915/24456] Fetching swift-nio-extras, swift-nio-http2, swift-certificates
[2217/26101] Fetching swift-nio-extras, swift-nio-http2, swift-certificates, swift-asn1
[3666/28872] Fetching swift-nio-extras, swift-nio-http2, swift-certificates, swift-asn1, swift-nio-transport-services
[19372/43996] Fetching swift-nio-extras, swift-nio-http2, swift-certificates, swift-asn1, swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.76s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.78s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.78s)
[11180/33410] Fetching swift-nio-http2, swift-certificates, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.89s)
[7883/26818] Fetching swift-nio-http2, swift-nio-ssl
[20770/105603] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.74s)
[64759/93909] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.79s)
[50423/78785] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.40s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.1.1 (9.82s)
Fetching https://github.com/apple/swift-protobuf.git
[1/40188] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.83s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.1.0 (9.36s)
Fetching https://github.com/apple/swift-collections.git
[1/17978] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (2.15s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.1 (0.95s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (2.11s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.67s)
Fetching https://github.com/apple/swift-http-types.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-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1190] Fetching swift-http-structured-headers
[1191/7176] Fetching swift-http-structured-headers, swift-algorithms
[1910/8115] Fetching swift-http-structured-headers, swift-algorithms, swift-http-types
[1920/12025] Fetching swift-http-structured-headers, swift-algorithms, swift-http-types, swift-log
[2484/17497] Fetching swift-http-structured-headers, swift-algorithms, swift-http-types, swift-log, swift-async-algorithms
[5092/20002] Fetching swift-http-structured-headers, swift-algorithms, swift-http-types, swift-log, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.61s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.66s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.70s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.71s)
Fetched https://github.com/apple/swift-log.git from cache (0.70s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.71s)
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 (1.30s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (4.33s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.50s)
Fetching https://github.com/apple/swift-numerics.git
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.98s)
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.50s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.56s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (0.63s)
Fetching https://github.com/apple/swift-crypto.git
[1/17184] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.88s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (5.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (0.84s)
Fetching https://github.com/apple/swift-system.git
[1/5022] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.10s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.11s)
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.1.1
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.38.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.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.6.3
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.1.1
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.4.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.6.4
Creating working copy for https://github.com/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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.25.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.14.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.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.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.86.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.29.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.34.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at v25.2.10 (1c51462)
warning: 'flatbuffers': /host/spi-builder-workspace/.build/checkouts/flatbuffers/Package.swift:23:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
21 | name: "FlatBuffers",
22 | platforms: [
23 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
24 | .macOS(.v10_14),
25 | ],
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[16375/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (1.51s)
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/827] Write sources
[3/827] Copying PrivacyInfo.xcprivacy
[3/827] Write sources
[24/827] Copying Documentation.docc
[24/827] Write sources
[43/827] Compiling CGRPCNIOTransportZlib empty.c
[44/827] Compiling CNIOWindows shim.c
[44/827] Compiling CNIOWindows WSAStartup.c
[46/827] Compiling _AtomicsShims.c
[47/827] Compiling CNIOPosix event_loop_id.c
[48/827] Compiling CNIOWASI CNIOWASI.c
[49/827] Compiling CNIOLLHTTP c_nio_http.c
[50/827] Compiling CNIOLinux shim.c
[51/827] Compiling CNIOLinux liburing_shims.c
[52/827] Compiling CNIODarwin shim.c
[53/827] Compiling fiat_curve25519_adx_square.S
[54/827] Compiling fiat_p256_adx_sqr.S
[55/827] Compiling fiat_p256_adx_mul.S
[55/827] Compiling fiat_curve25519_adx_mul.S
[57/827] Compiling CNIOLLHTTP c_nio_api.c
[58/827] Write swift-version-24593BA9C3E375BF.txt
[59/827] Compiling CNIOBoringSSLShims shims.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>
| ^~~~~~~~~~~
1 error generated.
[60/831] 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>
| ^~~~~~~~~~~
1 error generated.
[60/831] Compiling tls_record.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>
| ^~~~~~~~~~~
[60/831] Compiling tls13_client.cc
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>
| ^~~~~~~~~~~
[60/831] 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>
| ^~~~~~~~~~~
[60/831] 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>
| ^~~~~~~~~~~
[60/831] Compiling tls13_server.cc
[60/831] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'flatbuffers': /host/spi-builder-workspace/.build/checkouts/flatbuffers/Package.swift:23:11: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
21 | name: "FlatBuffers",
22 | platforms: [
23 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
24 | .macOS(.v10_14),
25 | ],
[0/1] Planning build
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/771] Compiling fiat_p256_adx_sqr.S
[4/771] Compiling fiat_p256_adx_mul.S
[5/771] Write swift-version-24593BA9C3E375BF.txt
[6/771] Compiling CCryptoBoringSSLShims shims.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>
| ^~~~~~~~~~~
1 error generated.
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.
[7/775] Compiling tls13_enc.cc
[7/775] Compiling tls_method.cc
[8/775] 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>
| ^~~~~~~~~~~
[8/775] Compiling tls_record.cc
[8/775] Compiling CNIOLLHTTP c_nio_llhttp.c
[8/775] 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>
| ^~~~~~~~~~~
[8/775] 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>
| ^~~~~~~~~~~
[8/775] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm