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 Arrow, reference main (d3428a), with Swift 6.1 for Wasm on 11 Sep 2025 05:00:39 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/arrow-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/arrow-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d3428a8 chore: bump github.com/apache/arrow-go/v18 from 18.4.0 to 18.4.1 in /CDataWGo (#85)
Cloned https://github.com/apache/arrow-swift.git
Revision (git rev-parse @):
d3428a883956c1f42074d4d576959e855c1195c3
SUCCESS checkout https://github.com/apache/arrow-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apache/arrow-swift.git
https://github.com/apache/arrow-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "flatbuffers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "25.2.10",
            "upper_bound" : "26.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/flatbuffers.git"
    },
    {
      "identity" : "grpc-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.25.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift.git"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.29.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    }
  ],
  "manifest_display_name" : "Arrow",
  "name" : "Arrow",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Arrow",
      "targets" : [
        "Arrow"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArrowTests",
      "module_type" : "SwiftTarget",
      "name" : "ArrowTests",
      "path" : "Arrow/Tests",
      "sources" : [
        "ArrowTests/ArrayBuilderTest.swift",
        "ArrowTests/ArrayTests.swift",
        "ArrowTests/CDataTests.swift",
        "ArrowTests/CodableTests.swift",
        "ArrowTests/IPCTests.swift",
        "ArrowTests/RecordBatchTests.swift",
        "ArrowTests/TableTests.swift"
      ],
      "target_dependencies" : [
        "Arrow",
        "ArrowC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArrowFlightTests",
      "module_type" : "SwiftTarget",
      "name" : "ArrowFlightTests",
      "path" : "ArrowFlight/Tests",
      "sources" : [
        "ArrowFlightTests/FlightTest.swift"
      ],
      "target_dependencies" : [
        "ArrowFlight"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArrowFlight",
      "module_type" : "SwiftTarget",
      "name" : "ArrowFlight",
      "path" : "ArrowFlight/Sources/ArrowFlight",
      "product_dependencies" : [
        "GRPC",
        "SwiftProtobuf"
      ],
      "sources" : [
        "Flight.grpc.swift",
        "Flight.pb.swift",
        "FlightAction.swift",
        "FlightActionType.swift",
        "FlightClient.swift",
        "FlightCriteria.swift",
        "FlightData.swift",
        "FlightDescriptor.swift",
        "FlightEndpoint.swift",
        "FlightInfo.swift",
        "FlightLocation.swift",
        "FlightPutResult.swift",
        "FlightResult.swift",
        "FlightSchemaResult.swift",
        "FlightServer.swift",
        "FlightSql.pb.swift",
        "FlightTicket.swift",
        "RecordBatchStreamReader.swift",
        "RecordBatchStreamWriter.swift"
      ],
      "target_dependencies" : [
        "Arrow"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArrowC",
      "module_type" : "ClangTarget",
      "name" : "ArrowC",
      "path" : "Arrow/Sources/ArrowC",
      "product_memberships" : [
        "Arrow"
      ],
      "sources" : [
        "ArrowCData.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Arrow",
      "module_type" : "SwiftTarget",
      "name" : "Arrow",
      "path" : "Arrow/Sources/Arrow",
      "product_dependencies" : [
        "FlatBuffers",
        "Atomics"
      ],
      "product_memberships" : [
        "Arrow"
      ],
      "sources" : [
        "ArrowArray.swift",
        "ArrowArrayBuilder.swift",
        "ArrowBuffer.swift",
        "ArrowBufferBuilder.swift",
        "ArrowCExporter.swift",
        "ArrowCImporter.swift",
        "ArrowData.swift",
        "ArrowDecoder.swift",
        "ArrowEncoder.swift",
        "ArrowReader.swift",
        "ArrowReaderHelper.swift",
        "ArrowSchema.swift",
        "ArrowTable.swift",
        "ArrowType.swift",
        "ArrowWriter.swift",
        "ArrowWriterHelper.swift",
        "BitUtility.swift",
        "ChunkedArray.swift",
        "File_generated.swift",
        "MemoryAllocator.swift",
        "Message_generated.swift",
        "ProtoUtil.swift",
        "Schema_generated.swift",
        "SparseTensor_generated.swift",
        "Tensor_generated.swift"
      ],
      "target_dependencies" : [
        "ArrowC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/google/flatbuffers.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/grpc/grpc-swift.git
[1/1814] Fetching swift-atomics
[618/53111] Fetching swift-atomics, grpc-swift
[5370/142027] Fetching swift-atomics, grpc-swift, flatbuffers
Fetched https://github.com/apple/swift-atomics.git from cache (0.91s)
[6020/140213] Fetching grpc-swift, flatbuffers
[24009/180384] Fetching grpc-swift, flatbuffers, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (4.86s)
[100518/129087] Fetching flatbuffers, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (17.08s)
Fetched https://github.com/google/flatbuffers.git from cache (17.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (18.15s)
Computing version for https://github.com/google/flatbuffers.git
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 |   ],
Computed https://github.com/google/flatbuffers.git at 25.2.10 (0.94s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.98s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (3.75s)
Fetching https://github.com/apple/swift-log.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-collections.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2718] Fetching swift-nio-transport-services
[56/6621] Fetching swift-nio-transport-services, swift-log
[1291/12748] Fetching swift-nio-transport-services, swift-log, swift-nio-extras
[10109/30201] Fetching swift-nio-transport-services, swift-log, swift-nio-extras, swift-collections
[11733/45276] Fetching swift-nio-transport-services, swift-log, swift-nio-extras, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.16s)
[12770/39149] Fetching swift-nio-transport-services, swift-log, swift-collections, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[27195/117211] Fetching swift-nio-transport-services, swift-log, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.99s)
[47402/114493] Fetching swift-log, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (3.10s)
[32249/97040] Fetching swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (4.38s)
Fetching https://github.com/apple/swift-nio-http2.git
[63474/93137] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.43s)
[49180/78062] Fetching swift-nio
[51522/89723] Fetching swift-nio, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.24s)
[69476/78062] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.81s)
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 (13.03s)
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.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.26s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.73s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.06s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.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-async-algorithms.git
[1/2470] Fetching swift-service-lifecycle
[520/4099] Fetching swift-service-lifecycle, swift-asn1
[618/5275] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers
[4180/10628] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-async-algorithms
[4205/16613] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-algorithms
[6723/23144] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-async-algorithms, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (1.20s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.21s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.21s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-asn1.git from cache (1.25s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.25s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.27s)
[1/923] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.40s)
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.68s)
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.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.90s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.08s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.72s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (2.73s)
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.85s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (1.02s)
Fetching https://github.com/apple/swift-crypto.git
[1/16856] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.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.4.0 (3.89s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.98s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (1.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.42s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.84s)
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-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-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-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-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-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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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.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-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-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 3.15.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.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/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at 25.2.10
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
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 (2.16s)
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/443] Write sources
[9/443] Copying PrivacyInfo.xcprivacy
[9/443] Write sources
[27/443] Compiling ArrowC ArrowCData.c
[28/443] Compiling CGRPCZlib empty.c
[29/443] Compiling _AtomicsShims.c
[30/443] Compiling CNIOWindows WSAStartup.c
[31/443] Compiling CNIOWASI CNIOWASI.c
[32/443] Compiling CNIOWindows shim.c
[33/443] Compiling CNIOPosix event_loop_id.c
[34/443] Compiling CNIOLinux shim.c
[35/443] Compiling CNIOLinux liburing_shims.c
[36/443] Compiling CNIODarwin shim.c
[37/443] Compiling CNIOLLHTTP c_nio_http.c
[38/443] Compiling fiat_p256_adx_sqr.S
[39/443] Compiling fiat_curve25519_adx_square.S
[40/443] Compiling fiat_p256_adx_mul.S
[41/443] Compiling fiat_curve25519_adx_mul.S
[42/443] Compiling CNIOLLHTTP c_nio_api.c
[43/443] Write swift-version-24593BA9C3E375BF.txt
[44/443] Compiling CNIOBoringSSLShims shims.c
[46/447] 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>
      |          ^~~~~~~~~~~
1 error generated.
[46/447] 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>
      |          ^~~~~~~~~~~
[46/447] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
1 error generated.
[46/447] Compiling tls13_enc.cc
[46/447] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[46/447] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[46/447] 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>
      |          ^~~~~~~~~~~
[46/447] Compiling tls_record.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 SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
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.
[2/401] Compiling tls_method.cc
[2/401] Compiling tls_record.cc
[2/401] Compiling ssl_x509.cc
[2/401] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[2/401] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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>
      |          ^~~~~~~~~~~
[2/401] Compiling t1_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>
      |          ^~~~~~~~~~~
[2/401] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[2/401] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm