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 (c18c44), with Swift 6.1 for Wasm on 15 Jun 2025 04:11:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/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 c18c448 [SPARK-52473] Limit GHA job execution time to up to 20 minutes
Cloned https://github.com/apache/spark-connect-swift.git
Revision (git rev-parse @):
c18c4484d7e45c7b81d967ffdc95ba25b29e1816
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.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift-2.git"
    },
    {
      "identity" : "grpc-swift-protobuf",
      "requirement" : {
        "exact" : [
          "2.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grpc/grpc-swift-protobuf.git"
    },
    {
      "identity" : "grpc-swift-nio-transport",
      "requirement" : {
        "exact" : [
          "2.0.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",
        "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",
        "relations.pb.swift",
        "types.pb.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
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/87320] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (20.58s)
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-nio-transport.git
Fetching https://github.com/grpc/grpc-swift-2.git
Fetching https://github.com/grpc/grpc-swift-protobuf.git
[1/29557] Fetching grpc-swift-2
[297/31723] Fetching grpc-swift-2, grpc-swift-protobuf
[8374/36128] Fetching grpc-swift-2, grpc-swift-protobuf, grpc-swift-nio-transport
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (1.50s)
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (1.50s)
Fetched https://github.com/grpc/grpc-swift-2.git from cache (1.55s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.0.0 (2.21s)
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-nio-extras.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/1590] Fetching swift-asn1
[1591/7513] Fetching swift-asn1, swift-nio-extras
[2065/10180] Fetching swift-asn1, swift-nio-extras, swift-nio-transport-services
[2641/16364] Fetching swift-asn1, swift-nio-extras, swift-nio-transport-services, swift-certificates
[10932/27896] Fetching swift-asn1, swift-nio-extras, swift-nio-transport-services, swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.51s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.52s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Fetching https://github.com/apple/swift-nio.git
[8723/32594] Fetching swift-certificates, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-certificates.git from cache (0.61s)
[4520/26410] Fetching swift-nio-http2, swift-nio-ssl
[19716/102697] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.65s)
[44630/91165] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.02s)
[44247/76287] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.56s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.0.0 (6.22s)
Fetching https://github.com/apple/swift-protobuf.git
[1/39436] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (5.49s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.0.0 (6.03s)
Fetching https://github.com/apple/swift-collections.git
[1/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.14s)
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.49s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.55s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.00s)
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-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/904] Fetching swift-http-types
[309/3330] Fetching swift-http-types, swift-service-lifecycle
[1333/4471] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers
[3847/9456] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms
[6605/13292] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-log
[10482/19251] Fetching swift-http-types, swift-service-lifecycle, swift-http-structured-headers, swift-async-algorithms, swift-log, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.46s)
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.47s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.50s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.12s)
Fetching https://github.com/apple/swift-crypto.git
[1/14906] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.54s)
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 (0.50s)
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.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.77s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.56s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.41s)
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-system.git
[1/4428] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.13s)
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.53s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.53s)
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.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.51s)
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.57s)
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.5.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-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.3.2
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/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-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/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-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-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.30.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-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.0.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
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.0.0
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.28.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.24.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.3
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.0.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.0.3
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 |   ],
[1/1] Compiling plugin generate-grpc-code-from-protos
[2/2] Compiling plugin GRPCProtobufGenerator
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/819] Write sources
[3/819] Copying PrivacyInfo.xcprivacy
[3/819] Write sources
[26/819] Compiling CNIODarwin shim.c
[27/819] Write sources
[28/819] Compiling CNIOWindows shim.c
[29/819] Write sources
[32/819] Copying Documentation.docc
[32/819] Compiling CNIOWindows WSAStartup.c
[32/819] Compiling CNIOLinux liburing_shims.c
[35/819] Write sources
[47/819] Compiling CNIOLinux shim.c
[48/819] Compiling CNIOWASI CNIOWASI.c
[49/819] Compiling _AtomicsShims.c
[50/819] Compiling chacha20_poly1305_armv8-linux.S
[51/819] Compiling CNIOLLHTTP c_nio_http.c
[52/819] Compiling fiat_p256_adx_sqr.S
[53/819] Compiling fiat_p256_adx_mul.S
[54/819] Compiling fiat_curve25519_adx_square.S
[55/819] Compiling CNIOLLHTTP c_nio_api.c
[56/819] Compiling fiat_curve25519_adx_mul.S
[57/819] Write swift-version-24593BA9C3E375BF.txt
[58/819] Compiling CNIOBoringSSLShims shims.c
[59/823] Compiling rsa_print.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.
[60/825] Compiling tls13_server.cc
[60/825] Compiling CNIOLLHTTP c_nio_llhttp.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>
      |          ^~~~~~~~~~~
[60/825] 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>
      |          ^~~~~~~~~~~
[60/825] 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>
      |          ^~~~~~~~~~~
[60/825] Compiling tls_method.cc
[61/825] Emitting module _NIOBase64
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>
      |          ^~~~~~~~~~~
[61/825] Compiling tls13_enc.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
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/763] Compiling fiat_p256_adx_sqr.S
[4/763] Compiling fiat_curve25519_adx_square.S
[4/763] Compiling md5-x86_64-linux.S
[6/763] Compiling fiat_curve25519_adx_mul.S
[7/763] Compiling fiat_p256_adx_mul.S
[8/763] Compiling md5-x86_64-apple.S
[9/763] 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.
[10/763] Compiling tls13_enc.cc
[10/763] Compiling tls13_both.cc
[10/763] Compiling tls13_client.cc
[10/763] Compiling tls_record.cc
[10/763] Write swift-version-24593BA9C3E375BF.txt
[10/763] Compiling tls13_server.cc
[10/763] Compiling tls_method.cc
[10/763] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm