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 pir-service-example, reference main (1a0747), with Swift 6.1 for Wasm on 2 Oct 2025 03:17:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pir-service-example.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/apple/pir-service-example
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1a0747b Improve unknown usecase error message (#109)
Cloned https://github.com/apple/pir-service-example.git
Revision (git rev-parse @):
1a0747b1dae7325df8b439a9782ceb68ea35e73a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pir-service-example.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/pir-service-example.git
https://github.com/apple/pir-service-example.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-asn1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-asn1.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.10.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-homomorphic-encryption",
      "requirement" : {
        "branch" : [
          "release/1.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-homomorphic-encryption"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.31.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "hummingbird",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hummingbird-project/hummingbird"
    },
    {
      "identity" : "hummingbird-compression",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hummingbird-project/hummingbird-compression"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "pir-service-example",
  "name" : "pir-service-example",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PIRService",
      "targets" : [
        "PIRService"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ConstructDatabase",
      "targets" : [
        "ConstructDatabase"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PrivacyPass",
      "targets" : [
        "PrivacyPass"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PIRServiceTesting",
      "targets" : [
        "PIRServiceTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UtilTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilTests",
      "path" : "Tests/UtilTests",
      "sources" : [
        "UtilTests.swift"
      ],
      "target_dependencies" : [
        "Util"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Util",
      "module_type" : "SwiftTarget",
      "name" : "Util",
      "path" : "Sources/Util",
      "product_memberships" : [
        "PIRService",
        "PrivacyPass",
        "PIRServiceTesting"
      ],
      "sources" : [
        "OperatingSystem.swift",
        "Platform.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrivacyPassTests",
      "module_type" : "SwiftTarget",
      "name" : "PrivacyPassTests",
      "path" : "Tests/PrivacyPassTests",
      "product_dependencies" : [
        "Crypto",
        "_CryptoExtras"
      ],
      "sources" : [
        "PrivacyPassPublicTests.swift",
        "PrivacyPassTests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "PrivacyPass"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrivacyPass",
      "module_type" : "SwiftTarget",
      "name" : "PrivacyPass",
      "path" : "Sources/PrivacyPass",
      "product_dependencies" : [
        "Crypto",
        "SwiftASN1",
        "_CryptoExtras"
      ],
      "product_memberships" : [
        "PIRService",
        "PrivacyPass",
        "PIRServiceTesting"
      ],
      "sources" : [
        "Array+Base64URL.swift",
        "Issuer.swift",
        "NonceStoring.swift",
        "PrivacyPass.swift",
        "PrivacyPassError.swift",
        "PrivateKey.swift",
        "PublicKey+request.swift",
        "PublicKey.swift",
        "Token.swift",
        "TokenChallenge.swift",
        "TokenIssuerDirectory.swift",
        "TokenRequest.swift",
        "TokenResponse.swift",
        "Util.swift",
        "Verifier.swift"
      ],
      "target_dependencies" : [
        "Util"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PIRServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "PIRServiceTests",
      "path" : "Tests/PIRServiceTests",
      "product_dependencies" : [
        "HummingbirdTesting"
      ],
      "sources" : [
        "ExampleUsecase.swift",
        "PIRServiceControllerTests.swift",
        "PIRServiceTests.swift",
        "TestClientProtocol+Protobuf.swift",
        "TestResponse+Protobuf.swift"
      ],
      "target_dependencies" : [
        "PIRService",
        "PIRServiceTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PIRServiceTesting",
      "module_type" : "SwiftTarget",
      "name" : "PIRServiceTesting",
      "path" : "Sources/PIRServiceTesting",
      "product_dependencies" : [
        "HomomorphicEncryptionProtobuf",
        "HummingbirdTesting",
        "PrivateInformationRetrievalProtobuf"
      ],
      "product_memberships" : [
        "PIRServiceTesting"
      ],
      "sources" : [
        "PIRClient+KeyRotation.swift",
        "PIRClient+PrivacyPass.swift",
        "PIRClient.swift",
        "PIRClientError.swift",
        "PIRConfig+ShardConfig.swift",
        "TestClientProtocol+Protobuf.swift"
      ],
      "target_dependencies" : [
        "PrivacyPass",
        "Util"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PIRService",
      "module_type" : "SwiftTarget",
      "name" : "PIRService",
      "path" : "Sources/PIRService",
      "product_dependencies" : [
        "ArgumentParser",
        "Crypto",
        "HomomorphicEncryptionProtobuf",
        "Hummingbird",
        "HummingbirdCompression",
        "PrivateInformationRetrievalProtobuf",
        "ServiceLifecycle",
        "UnixSignals"
      ],
      "product_memberships" : [
        "PIRService"
      ],
      "sources" : [
        "Application+build.swift",
        "Controllers/PIRServiceController.swift",
        "Controllers/PirUsecase.swift",
        "Controllers/PrivacyPassController.swift",
        "Controllers/PrivacyPassState.swift",
        "Controllers/Usecase.swift",
        "Controllers/UsecaseStore.swift",
        "Controllers/UserAuthenticator.swift",
        "Extensions/HEError+HTTPErrorResponse.swift",
        "Extensions/HTTPFields+authorization.swift",
        "Extensions/PirConfig+compatible.swift",
        "Extensions/PrivacyPass+ResponseGenerator.swift",
        "Extensions/ProtobufExtensions.swift",
        "Extensions/Request+DecodeProtobuf.swift",
        "Middlewares/ExtractPlatform.swift",
        "Middlewares/ExtractUserIdentifier.swift",
        "Middlewares/LogErrorsMiddleware.swift",
        "Middlewares/UserTierAuthentication.swift",
        "ReloadService.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "PrivacyPass",
        "Util"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ConstructDatabase",
      "module_type" : "SwiftTarget",
      "name" : "ConstructDatabase",
      "path" : "Sources/ConstructDatabase",
      "product_dependencies" : [
        "ArgumentParser",
        "PrivateInformationRetrievalProtobuf",
        "SwiftProtobuf"
      ],
      "product_memberships" : [
        "ConstructDatabase"
      ],
      "sources" : [
        "ConstructDatabase.swift",
        "generated/CallIdentity.pb.swift",
        "generated/InputIdentities.pb.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/apple/swift-homomorphic-encryption
[1/3855] Fetching swift-homomorphic-encryption
Fetched https://github.com/apple/swift-homomorphic-encryption from cache (0.51s)
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-numerics
[1/3910] Fetching swift-log
[1018/10281] Fetching swift-log, swift-numerics
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/2505] Fetching swift-service-lifecycle
[728/8491] Fetching swift-service-lifecycle, swift-algorithms
[729/25035] Fetching swift-service-lifecycle, swift-algorithms, swift-argument-parser
[1279/42219] Fetching swift-service-lifecycle, swift-algorithms, swift-argument-parser, swift-crypto
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.60s)
[9832/39714] Fetching swift-algorithms, swift-argument-parser, swift-crypto
Fetching https://github.com/hummingbird-project/hummingbird-compression
[15641/79902] Fetching swift-algorithms, swift-argument-parser, swift-crypto, swift-protobuf
Fetching https://github.com/swiftlang/swift-docc-plugin
[25284/80939] Fetching swift-algorithms, swift-argument-parser, swift-crypto, swift-protobuf, hummingbird-compression
[19318/74953] Fetching swift-argument-parser, swift-crypto, swift-protobuf, hummingbird-compression
Fetched https://github.com/apple/swift-algorithms from cache (0.95s)
Fetching https://github.com/hummingbird-project/hummingbird
Fetched https://github.com/hummingbird-project/hummingbird-compression from cache (0.45s)
Fetching https://github.com/apple/swift-asn1.git
[21880/73916] Fetching swift-argument-parser, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.23s)
[6886/57372] Fetching swift-crypto, swift-protobuf
[6887/59466] Fetching swift-crypto, swift-protobuf, swift-docc-plugin
[10050/61111] Fetching swift-crypto, swift-protobuf, swift-docc-plugin, swift-asn1
[13108/85974] Fetching swift-crypto, swift-protobuf, swift-docc-plugin, swift-asn1, hummingbird
Fetched https://github.com/apple/swift-asn1.git from cache (0.48s)
[21712/84329] Fetching swift-crypto, swift-protobuf, swift-docc-plugin, hummingbird
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.64s)
[19790/82235] Fetching swift-crypto, swift-protobuf, hummingbird
Fetched https://github.com/hummingbird-project/hummingbird from cache (1.63s)
[43709/57372] Fetching swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (3.08s)
[36170/40188] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf from cache (9.48s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.31.1 (10.26s)
Computing version for https://github.com/hummingbird-project/hummingbird-compression
Computed https://github.com/hummingbird-project/hummingbird-compression at 2.0.0 (0.55s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/adam-fowler/compress-nio.git
[1/643] Fetching compress-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (0.26s)
[1/78827] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.90s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (8.63s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.4.2 (0.63s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.73s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.88s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.89s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3538] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.21s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.95s)
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.70s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/5472] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.65s)
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.77s)
Fetching https://github.com/apple/swift-collections.git
[1/18044] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.24s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.16.0 (0.74s)
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-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/async-http-client.git
[1/2771] Fetching swift-nio-transport-services
[2772/8206] Fetching swift-nio-transport-services, swift-distributed-tracing
[3479/14376] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras
[5329/26070] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-nio-http2
[5935/40386] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-nio-http2, async-http-client
[15638/55510] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.73s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.74s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.74s)
Fetching https://github.com/apple/swift-metrics.git
[22574/32253] Fetching swift-distributed-tracing, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-http-types.git
[28473/34610] Fetching swift-distributed-tracing, swift-nio-http2, swift-nio-ssl, swift-metrics
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.13s)
[24038/29175] Fetching swift-nio-http2, swift-nio-ssl, swift-metrics
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.16s)
[13263/17481] Fetching swift-nio-ssl, swift-metrics
[16273/18420] Fetching swift-nio-ssl, swift-metrics, swift-http-types
[17968/20234] Fetching swift-nio-ssl, swift-metrics, swift-http-types, swift-atomics
Fetched https://github.com/apple/swift-http-types.git from cache (1.45s)
[17971/19295] Fetching swift-nio-ssl, swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (1.85s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.78s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.09s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (4.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (0.98s)
Fetching https://github.com/apple/swift-system.git
[1/5022] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.40s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.95s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.0 (2.99s)
Fetching https://github.com/apple/swift-service-context.git
[1/1117] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (2.21s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (2.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.63s)
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.54s)
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.54s)
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.63s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1190] Fetching swift-http-structured-headers
[894/7782] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.34s)
[1451/6592] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.56s)
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 (1.12s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (0.68s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (0.93s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.59s)
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.31.1
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-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/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.16.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-homomorphic-encryption
Working copy of https://github.com/apple/swift-homomorphic-encryption resolved at release/1.1 (ffac271)
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/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/hummingbird-project/hummingbird-compression
Working copy of https://github.com/hummingbird-project/hummingbird-compression resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
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-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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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/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-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-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-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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.28.0
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git resolved at 1.4.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.86.2
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.52s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/917] Write sources
[9/917] Compiling _NumericsShims _NumericsShims.c
[10/917] Compiling _CWASI _CWASI.c
[10/917] Write sources
[10/917] Copying PrivacyInfo.xcprivacy
[10/917] Write sources
[67/917] Compiling _AtomicsShims.c
[68/917] Compiling CUtil zeroize.c
[69/917] Compiling CNIOWindows shim.c
[70/917] Compiling CNIOWASI CNIOWASI.c
[71/917] Compiling CNIOWindows WSAStartup.c
[72/917] Compiling CNIOLinux shim.c
[73/917] Compiling CNIOPosix event_loop_id.c
[74/917] Compiling CNIOLinux liburing_shims.c
[75/917] Compiling CNIOLLHTTP c_nio_http.c
[76/917] Write swift-version-24593BA9C3E375BF.txt
[77/917] Compiling CNIOLLHTTP c_nio_api.c
[78/917] Compiling CNIOExtrasZlib empty.c
[79/923] Compiling aes.cc
[80/923] Compiling a_dup.cc
[81/951] Compiling a_bool.cc
[82/955] Compiling a_gentm.cc
[83/1011] Compiling a_bitstr.cc
[85/1031] Emitting module _NIODataStructures
[86/1042] Emitting module RealModule
[86/1043] Compiling CNIOLLHTTP c_nio_llhttp.c
[88/1046] Compiling RealModule RelaxedArithmetic.swift
[89/1046] Compiling ServiceContextModule ServiceContextKey.swift
[90/1046] Compiling RealModule Real.swift
[91/1046] Compiling RealModule Float80+Real.swift
[92/1046] Compiling RealModule RealFunctions.swift
[93/1046] Emitting module _NIOBase64
[94/1046] Compiling _NIOBase64 Base64.swift
[95/1047] Emitting module ServiceContextModule
[96/1047] Compiling RealModule Float+Real.swift
[97/1047] Compiling SwiftASN1 ASN1Strings.swift
[98/1047] Compiling Util Platform.swift
[99/1047] Compiling ServiceContextModule ServiceContext.swift
[100/1049] Compiling SwiftASN1 TimeUtilities.swift
[101/1049] Compiling SwiftASN1 UTCTime.swift
[102/1050] Emitting module Util
[103/1050] Compiling Util OperatingSystem.swift
[104/1051] Compiling _NIODataStructures PriorityQueue.swift
[105/1051] Compiling _NIODataStructures _TinyArray.swift
[106/1051] Compiling RealModule Float16+Real.swift
[107/1051] Compiling RealModule ElementaryFunctions.swift
[109/1051] Compiling RealModule AugmentedArithmetic.swift
[110/1051] Compiling RealModule Double+Real.swift
[111/1051] Compiling RealModule AlgebraicField.swift
[112/1051] Compiling RealModule ApproximateEquality.swift
[113/1051] Compiling SwiftASN1 ASN1BitString.swift
[114/1051] Compiling SwiftASN1 ASN1Boolean.swift
[115/1051] Compiling SwiftASN1 ASN1Identifier.swift
[125/1087] Compiling Instrumentation Instrument.swift
[126/1087] Emitting module Instrumentation
[127/1087] Compiling Instrumentation NoOpInstrument.swift
[128/1087] Compiling Logging Locks.swift
[129/1087] Compiling Logging MetadataProvider.swift
[130/1087] Compiling Instrumentation MultiplexInstrument.swift
[131/1087] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_init' in scope
 55 |     /// Create a new lock.
 56 |     public init() {
 57 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
 58 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 59 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:52: error: 'nil' requires a contextual type
 55 |     /// Create a new lock.
 56 |     public init() {
 57 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
 58 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 59 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:62:19: error: cannot find 'pthread_rwlock_destroy' in scope
 60 |
 61 |     deinit {
 62 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
 63 |         precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
 64 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:72:19: error: cannot find 'pthread_rwlock_rdlock' in scope
 70 |     /// `unlock`, to simplify lock handling.
 71 |     public func lockRead() {
 72 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
 73 |         precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
 74 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:81:19: error: cannot find 'pthread_rwlock_wrlock' in scope
 79 |     /// `unlock`, to simplify lock handling.
 80 |     public func lockWrite() {
 81 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
 82 |         precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
 83 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:90:19: error: cannot find 'pthread_rwlock_unlock' in scope
 88 |     /// `lock`, to simplify lock handling.
 89 |     public func unlock() {
 90 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
 91 |         precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
 92 |     }
[132/1087] Compiling ModularArithmetic Modulus.swift
[133/1087] Compiling ModularArithmetic Scalar.swift
[134/1087] Emitting module ModularArithmetic
[135/1088] Compiling Instrumentation InstrumentationSystem.swift
[136/1088] Compiling _NIODataStructures Heap.swift
[137/1088] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[138/1088] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[139/1088] Compiling InternalCollectionsUtilities Descriptions.swift
[140/1088] Compiling InternalCollectionsUtilities UInt+reversed.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/837] Write sources
[6/838] Compiling CNIODarwin shim.c
[7/838] Compiling fiat_p256_adx_sqr.S
[8/838] Compiling fiat_p256_adx_mul.S
[9/838] Compiling fiat_curve25519_adx_square.S
[10/838] Compiling fiat_curve25519_adx_mul.S
[11/838] Write swift-version-24593BA9C3E375BF.txt
[12/838] Compiling CNIOBoringSSLShims shims.c
[14/842] Emitting module _NIODataStructures
[15/842] Compiling _NIODataStructures Heap.swift
[16/842] Compiling _NIODataStructures _TinyArray.swift
[17/842] Compiling _NIODataStructures PriorityQueue.swift
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.
[17/843] 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.
[17/843] Compiling tls_method.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.
[17/843] 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>
      |          ^~~~~~~~~~~
[17/843] Compiling tls13_server.cc
[17/843] Compiling t1_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>
      |          ^~~~~~~~~~~
[17/843] 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>
      |          ^~~~~~~~~~~
[17/843] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm