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 live-caller-id-lookup-example, reference 1.1.0-beta.1 (346626), with Swift 6.1 for Wasm on 31 May 2025 05:16:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/apple/pir-service-example.git
Reference: 1.1.0-beta.1
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
 * tag               1.1.0-beta.1 -> FETCH_HEAD
HEAD is now at 3466265 Update onboarding instructions (#74)
Cloned https://github.com/apple/pir-service-example.git
Revision (git rev-parse @):
3466265a4072ef9ceb2336d42fa777012a15176b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pir-service-example.git at 1.1.0-beta.1
========================================
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.5.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "swift-homomorphic-encryption",
      "requirement" : {
        "revision" : [
          "b73daaca802e16c9f6a31da76f26375c34896c15"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-homomorphic-encryption"
    },
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.27.0",
            "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-rc.2",
            "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" : "live-caller-id-lookup-example",
  "name" : "live-caller-id-lookup-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",
        "server.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-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/3530] Fetching swift-homomorphic-encryption
Fetched https://github.com/apple/swift-homomorphic-encryption from cache (0.62s)
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser.git
[1/3836] Fetching swift-log
[577/9795] Fetching swift-log, swift-algorithms
[3295/15501] Fetching swift-log, swift-algorithms, swift-numerics
[4472/29437] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto
[16079/44823] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-argument-parser
[33704/84145] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.54s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[18568/68759] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf
[22804/70808] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.16s)
[45166/68759] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[49886/71185] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.55s)
Fetching https://github.com/hummingbird-project/hummingbird-compression
[55390/68759] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf
[58930/69773] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf, hummingbird-compression
Fetched https://github.com/hummingbird-project/hummingbird-compression from cache (0.37s)
[60502/68759] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf
Fetching https://github.com/hummingbird-project/hummingbird
[62469/93295] Fetching swift-log, swift-algorithms, swift-numerics, swift-crypto, swift-protobuf, hummingbird
Fetched https://github.com/hummingbird-project/hummingbird from cache (2.40s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.65s)
Fetched https://github.com/apple/swift-log.git from cache (9.85s)
Fetched https://github.com/apple/swift-algorithms from cache (9.85s)
Fetched https://github.com/apple/swift-numerics from cache (9.86s)
Fetched https://github.com/apple/swift-crypto.git from cache (9.89s)
Fetched https://github.com/apple/swift-protobuf from cache (9.96s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (12.55s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (0.64s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.67s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.19s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.60s)
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.55s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4985] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.51s)
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.45s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.06s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.10s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.14.0 (0.90s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5923] Fetching swift-nio-extras
[475/8590] Fetching swift-nio-extras, swift-nio-transport-services
[6557/20117] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2
[9629/34131] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2, async-http-client
[11071/48974] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl
[16396/125097] Fetching swift-nio-extras, swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.57s)
[12312/119174] Fetching swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-distributed-tracing.git
[30195/124148] Fetching swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.82s)
[42352/119174] Fetching swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/swift-server/async-http-client.git from cache (1.80s)
[44990/105160] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-http-types.git
[48185/107366] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio, swift-metrics
[56776/108270] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio, swift-metrics, swift-http-types
Fetched https://github.com/apple/swift-metrics.git from cache (0.81s)
[55071/106064] Fetching swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio, swift-http-types
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.51s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.39s)
[48056/93633] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio
[60476/95350] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.81s)
[66990/93633] Fetching swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (6.91s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.93s)
Fetched https://github.com/apple/swift-nio.git from cache (7.01s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (8.30s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.02s)
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.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.58s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (0.57s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.32s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.90s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.10s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.75s)
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.60s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.72s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1141] Fetching swift-http-structured-headers
[1142/7296] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.50s)
Fetched https://github.com/apple/swift-certificates.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.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.02s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.88s)
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.79s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.67s)
Computing version for https://github.com/hummingbird-project/hummingbird-compression
Computed https://github.com/hummingbird-project/hummingbird-compression at 2.0.0 (0.57s)
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.36s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.4.2 (1.03s)
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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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.26.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.14.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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-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-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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.0
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.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/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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-homomorphic-encryption
Working copy of https://github.com/apple/swift-homomorphic-encryption resolved at b73daaca802e16c9f6a31da76f26375c34896c15
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.30.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.5.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/907] Write sources
[5/907] Compiling _NumericsShims _NumericsShims.c
[6/907] Write sources
[9/907] Compiling _AtomicsShims.c
[10/907] Write sources
[13/907] Copying PrivacyInfo.xcprivacy
[14/907] Write sources
[66/907] Compiling CUtil zeroize.c
[67/907] Compiling CNIOWindows shim.c
[68/907] Compiling CNIOWindows WSAStartup.c
[69/907] Compiling CNIOWASI CNIOWASI.c
[70/907] Compiling CNIOLinux shim.c
[71/907] Compiling CNIOLinux liburing_shims.c
[72/907] Write swift-version-24593BA9C3E375BF.txt
[73/907] Compiling CNIOLLHTTP c_nio_http.c
[74/911] Compiling a_octet.cc
[75/911] Compiling a_d2i_fp.cc
[76/911] Compiling a_bitstr.cc
[77/914] Compiling a_bool.cc
[78/916] Compiling a_mbstr.cc
[79/916] Compiling a_gentm.cc
[81/1029] Emitting module _NIODataStructures
[82/1029] Emitting module _NIOBase64
[82/1029] Compiling CNIOLLHTTP c_nio_llhttp.c
[84/1032] Compiling Util OperatingSystem.swift
[85/1032] Compiling RealModule Float80+Real.swift
[86/1032] Compiling _NIOBase64 Base64.swift
[87/1034] Compiling RealModule Real.swift
[88/1034] Compiling RealModule Float16+Real.swift
[89/1034] Compiling _NIODataStructures _TinyArray.swift
[90/1034] Compiling _NIODataStructures PriorityQueue.swift
[91/1034] Emitting module ServiceContextModule
[92/1034] Compiling ServiceContextModule ServiceContext.swift
[93/1034] Compiling ServiceContextModule ServiceContextKey.swift
[94/1034] Compiling RealModule Float+Real.swift
[95/1035] Emitting module RealModule
[96/1035] Compiling SwiftASN1 ASN1BitString.swift
[97/1035] Compiling SwiftASN1 ASN1Boolean.swift
[98/1035] Compiling SwiftASN1 ASN1Identifier.swift
[99/1035] Compiling RealModule Double+Real.swift
[100/1035] Compiling SwiftASN1 ASN1Null.swift
[101/1035] Compiling RealModule AugmentedArithmetic.swift
[103/1035] Compiling RealModule ElementaryFunctions.swift
[104/1035] Emitting module Util
[105/1035] Compiling RealModule AlgebraicField.swift
[106/1035] Compiling RealModule ApproximateEquality.swift
[107/1035] Compiling Util Platform.swift
[108/1038] Compiling SwiftASN1 TimeUtilities.swift
[109/1038] Compiling SwiftASN1 UTCTime.swift
[116/1038] Compiling RealModule RealFunctions.swift
[117/1039] Compiling ModularArithmetic Modulus.swift
[118/1039] Compiling ModularArithmetic Scalar.swift
[120/1066] Compiling Logging Locks.swift
[121/1072] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[122/1073] Emitting module ModularArithmetic
[123/1074] Compiling Logging MetadataProvider.swift
[124/1074] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[125/1074] Compiling InternalCollectionsUtilities Debugging.swift
[126/1074] Compiling SwiftASN1 ArraySliceBigint.swift
[127/1074] Compiling SwiftASN1 GeneralizedTime.swift
[128/1074] Compiling InternalCollectionsUtilities Descriptions.swift
[129/1074] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[130/1074] Compiling _NIODataStructures Heap.swift
[135/1075] Compiling Instrumentation NoOpInstrument.swift
[137/1075] Compiling Instrumentation Instrument.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/1075] Emitting module Instrumentation
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
 36 | import Musl
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
[140/1075] Compiling Instrumentation InstrumentationSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
[141/1075] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
 36 | import Musl
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:19: error: cannot find 'pthread_rwlock_init' in scope
 50 |     /// Create a new lock.
 51 |     public init() {
 52 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
 53 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:52: error: 'nil' requires a contextual type
 50 |     /// Create a new lock.
 51 |     public init() {
 52 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
 53 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_destroy' in scope
 55 |
 56 |     deinit {
 57 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
 58 |         precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
 59 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:67:19: error: cannot find 'pthread_rwlock_rdlock' in scope
 65 |     /// `unlock`, to simplify lock handling.
 66 |     public func lockRead() {
 67 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
 68 |         precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
 69 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:76:19: error: cannot find 'pthread_rwlock_wrlock' in scope
 74 |     /// `unlock`, to simplify lock handling.
 75 |     public func lockWrite() {
 76 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
 77 |         precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
 78 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:85:19: error: cannot find 'pthread_rwlock_unlock' in scope
 83 |     /// `lock`, to simplify lock handling.
 84 |     public func unlock() {
 85 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
 86 |         precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
 87 |     }
[142/1075] Compiling Instrumentation MultiplexInstrument.swift
[143/1075] Emitting module Logging
[144/1075] Emitting module HTTPTypes
[145/1076] Emitting module SwiftASN1
[146/1076] Compiling Logging LogHandler.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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
Building for debugging...
[4/831] Compiling CNIOExtrasZlib empty.c
[5/831] Compiling fiat_p256_adx_sqr.S
[6/831] Compiling CNIODarwin shim.c
[7/831] Compiling fiat_curve25519_adx_mul.S
[8/831] Compiling fiat_curve25519_adx_square.S
[9/831] Compiling fiat_p256_adx_mul.S
[10/831] Compiling CNIOLLHTTP c_nio_api.c
[11/831] Write swift-version-24593BA9C3E375BF.txt
[12/831] Compiling CNIOBoringSSLShims shims.c
[14/835] Compiling _NIODataStructures Heap.swift
[15/835] 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.
[15/835] 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>
      |          ^~~~~~~~~~~
1 error generated.
[15/835] Compiling tls13_server.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.
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.
[15/835] Compiling tls13_client.cc
[15/835] Compiling tls_record.cc
[15/835] Compiling t1_enc.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.
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>
      |          ^~~~~~~~~~~
[15/835] Compiling tls_method.cc
[15/835] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm