The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SparkConnect, reference main (4bbaa9), with Swift 6.1 for Wasm on 13 Sep 2025 06:50:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apache/spark-connect-swift.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/apache/spark-connect-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4bbaa9d [SPARK-53571] Add `integration-test-mac-spark4-iceberg` GitHub Action job
Cloned https://github.com/apache/spark-connect-swift.git
Revision (git rev-parse @):
4bbaa9db182536beed3c67a9320eb751eb6aeb9d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apache/spark-connect-swift.git at main
========================================
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.0"
        ]
      },
      "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-0":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/88987] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (6.83s)
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-protobuf.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
[1/29784] Fetching grpc-swift-2
[597/34487] Fetching grpc-swift-2, grpc-swift-nio-transport
[1037/36848] Fetching grpc-swift-2, grpc-swift-nio-transport, grpc-swift-protobuf
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.44s)
[18106/34487] Fetching grpc-swift-2, grpc-swift-nio-transport
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (0.44s)
[13701/29784] Fetching grpc-swift-2
Fetched https://github.com/grpc/grpc-swift-2.git from cache (1.56s)
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.0 (2.33s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-certificates.git
[1/1629] Fetching swift-asn1
[767/7756] Fetching swift-asn1, swift-nio-extras
[1669/10474] Fetching swift-asn1, swift-nio-extras, swift-nio-transport-services
[8135/17057] Fetching swift-asn1, swift-nio-extras, swift-nio-transport-services, swift-certificates
[9024/28718] Fetching swift-asn1, swift-nio-extras, swift-nio-transport-services, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.51s)
Fetching https://github.com/apple/swift-nio.git
[13497/37666] Fetching swift-asn1, swift-nio-transport-services, swift-certificates, swift-nio-http2, swift-nio-ssl
[29979/115746] Fetching swift-asn1, swift-nio-transport-services, swift-certificates, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.06s)
Fetched https://github.com/apple/swift-certificates.git from cache (3.06s)
[82241/106445] Fetching swift-asn1, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-asn1.git from cache (3.09s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.11s)
[69731/93155] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.13s)
[55437/78080] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.16s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.1.1 (7.33s)
Fetching https://github.com/apple/swift-protobuf.git
[1/40178] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (7.25s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.1.0 (7.74s)
Fetching https://github.com/apple/swift-collections.git
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.62s)
Fetching https://github.com/apple/swift-atomics.git
[1/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.83s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (2.07s)
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.55s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-log.git
[1/2470] Fetching swift-service-lifecycle
[495/3646] Fetching swift-service-lifecycle, swift-http-structured-headers
[3647/4569] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-http-types
[4570/9960] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-http-types, swift-async-algorithms
[4894/13863] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-http-types, swift-async-algorithms, swift-log
[7379/19849] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-http-types, swift-async-algorithms, swift-log, swift-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.52s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.53s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.53s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.53s)
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.53s)
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.18s)
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.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.46s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.96s)
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.58s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.54s)
Fetching https://github.com/apple/swift-crypto.git
[1/16910] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.96s)
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 (2.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.65s)
Fetching https://github.com/apple/swift-system.git
[1/4944] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.95s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.55s)
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.51s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (3.89s)
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.0
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
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)
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.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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
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-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/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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.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/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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.2
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
[1397/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/828] Write sources
[12/828] Copying PrivacyInfo.xcprivacy
[13/828] Write sources
[13/828] Copying Documentation.docc
[13/828] Write sources
[43/828] Compiling CNIOWindows shim.c
[44/828] Compiling CNIOWindows WSAStartup.c
[45/828] Compiling CNIOPosix event_loop_id.c
[46/828] Compiling _AtomicsShims.c
[46/828] Compiling CNIOWASI CNIOWASI.c
[48/828] Compiling CNIOLinux shim.c
[49/828] Compiling CNIOLinux liburing_shims.c
[50/828] Compiling CNIODarwin shim.c
[50/828] Compiling CNIOLLHTTP c_nio_http.c
[52/828] Compiling fiat_p256_adx_sqr.S
[53/828] Compiling fiat_p256_adx_mul.S
[54/828] Compiling fiat_curve25519_adx_square.S
[55/828] Compiling fiat_curve25519_adx_mul.S
[56/828] Compiling CNIOLLHTTP c_nio_api.c
[57/828] Write swift-version-24593BA9C3E375BF.txt
[58/828] Compiling CNIOBoringSSLShims shims.c
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>
      |          ^~~~~~~~~~~
1 error generated.
[59/832] Compiling tls13_client.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.
[59/832] Compiling tls_record.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>
      |          ^~~~~~~~~~~
1 error generated.
[59/832] 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>
      |          ^~~~~~~~~~~
1 error generated.
[59/832] 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>
      |          ^~~~~~~~~~~
[59/832] Compiling tls13_enc.cc
[59/832] Compiling CNIOLLHTTP c_nio_llhttp.c
[60/832] Emitting module _NIODataStructures
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/832] Compiling tls13_both.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/773] Compiling fiat_p256_adx_sqr.S
[4/773] Compiling fiat_p256_adx_mul.S
[5/773] Write swift-version-24593BA9C3E375BF.txt
[6/773] 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.
[7/777] 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>
      |          ^~~~~~~~~~~
[7/777] Compiling tls_record.cc
[8/777] Emitting module _NIODataStructures
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.
[8/777] 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>
      |          ^~~~~~~~~~~
[8/777] Compiling tls13_server.cc
[8/777] Compiling CNIOLLHTTP c_nio_llhttp.c
[8/777] Compiling tls13_both.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/777] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm