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 (230dfb), with Swift 6.1 for Wasm on 9 Jul 2025 12:23:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.64.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 230dfbf Adding SymmetricPIR example (#88)
Cloned https://github.com/apple/pir-service-example.git
Revision (git rev-parse @):
230dfbf723e7e762ab9da519b2c7b8f0c087c9f0
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.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" : "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-0":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/3598] Fetching swift-homomorphic-encryption
Fetched https://github.com/apple/swift-homomorphic-encryption from cache (1.17s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-crypto.git
[1/3857] Fetching swift-log
[619/9614] Fetching swift-log, swift-numerics
[9615/25298] Fetching swift-log, swift-numerics, swift-crypto
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
[6228/21441] Fetching swift-numerics, swift-crypto
Fetching https://github.com/swiftlang/swift-docc-plugin
[6700/36965] Fetching swift-numerics, swift-crypto, swift-argument-parser
[17897/39059] Fetching swift-numerics, swift-crypto, swift-argument-parser, swift-docc-plugin
[21879/45018] Fetching swift-numerics, swift-crypto, swift-argument-parser, swift-docc-plugin, swift-algorithms
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.50s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[31161/42924] Fetching swift-numerics, swift-crypto, swift-argument-parser, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.60s)
Fetching https://github.com/hummingbird-project/hummingbird-compression
[25673/36965] Fetching swift-numerics, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-numerics from cache (1.12s)
Fetching https://github.com/hummingbird-project/hummingbird
[21014/31208] Fetching swift-crypto, swift-argument-parser
[22740/32228] Fetching swift-crypto, swift-argument-parser, hummingbird-compression
[24150/34654] Fetching swift-crypto, swift-argument-parser, hummingbird-compression, swift-service-lifecycle
[25881/74450] Fetching swift-crypto, swift-argument-parser, hummingbird-compression, swift-service-lifecycle, swift-protobuf
Fetched https://github.com/hummingbird-project/hummingbird-compression from cache (0.29s)
[29267/73430] Fetching swift-crypto, swift-argument-parser, swift-service-lifecycle, swift-protobuf
Fetching https://github.com/apple/swift-asn1.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.43s)
[28819/71004] Fetching swift-crypto, swift-argument-parser, swift-protobuf
[29375/95797] Fetching swift-crypto, swift-argument-parser, swift-protobuf, hummingbird
[37885/97413] Fetching swift-crypto, swift-argument-parser, swift-protobuf, hummingbird, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
[42931/95797] Fetching swift-crypto, swift-argument-parser, swift-protobuf, hummingbird
Fetched https://github.com/apple/swift-crypto.git from cache (2.39s)
[62603/80113] Fetching swift-argument-parser, swift-protobuf, hummingbird
Fetched https://github.com/hummingbird-project/hummingbird from cache (1.43s)
[41392/55320] Fetching swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser.git from cache (7.52s)
Fetched https://github.com/apple/swift-protobuf from cache (7.61s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.30.0 (8.62s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (3.71s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.93s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.95s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3424] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.13s)
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.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.53s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4990] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.41s)
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.08s)
Fetching https://github.com/apple/swift-collections.git
[1/16746] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.72s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.15.0 (0.66s)
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-extras.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
[1/2673] Fetching swift-nio-transport-services
[1632/8712] Fetching swift-nio-transport-services, swift-nio-extras
[4426/20306] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[10569/34320] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, async-http-client
[11453/49250] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl
[16980/125745] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.23s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[94463/119706] Fetching swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
[97524/124739] 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.57s)
Fetching https://github.com/apple/swift-metrics.git
[103643/119706] Fetching swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
[108233/121918] Fetching swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.36s)
Fetching https://github.com/apple/swift-http-types.git
[119707/120610] Fetching swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.31s)
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (6.17s)
Fetched https://github.com/swift-server/async-http-client.git from cache (6.18s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (6.20s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.22s)
Fetched https://github.com/apple/swift-nio.git from cache (6.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.84.0 (7.70s)
Fetching https://github.com/apple/swift-system.git
[1/4546] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.28s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.37.0 (0.96s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.91s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.00s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (1.34s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.33s)
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.0 (0.55s)
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-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.74s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1169] Fetching swift-http-structured-headers
[1170/7413] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.47s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.47s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.0 (1.12s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (1.58s)
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.56s)
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.63s)
Computing version for https://github.com/hummingbird-project/hummingbird-compression
Computed https://github.com/hummingbird-project/hummingbird-compression at 2.0.0 (0.56s)
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.22s)
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.75s)
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/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.15.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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.84.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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.37.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-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.30.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.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-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-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/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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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/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-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.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 (047881f)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.11.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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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
[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/908] Compiling a_dup.cc
[6/908] Compiling a_bitstr.cc
[6/908] Write sources
[8/908] Compiling a_d2i_fp.cc
[8/908] Write sources
[12/908] Compiling a_i2d_fp.cc
[12/908] Write sources
[12/908] Copying PrivacyInfo.xcprivacy
[12/908] Write sources
[29/908] Compiling _NumericsShims _NumericsShims.c
[29/908] Write sources
[70/908] Compiling _AtomicsShims.c
[71/908] Compiling CNIOWindows shim.c
[72/908] Compiling CUtil zeroize.c
[73/908] Compiling CNIOWindows WSAStartup.c
[74/908] Compiling CNIOWASI CNIOWASI.c
[74/908] Compiling CNIOLinux shim.c
[76/908] Compiling CNIOLinux liburing_shims.c
[77/908] Compiling a_bool.cc
[78/908] Compiling CNIOLLHTTP c_nio_http.c
[79/908] Compiling CNIODarwin shim.c
[80/908] Compiling CNIOExtrasZlib empty.c
[81/908] Compiling a_mbstr.cc
[82/908] Compiling CNIOLLHTTP c_nio_api.c
[83/908] Compiling fiat_p256_adx_sqr.S
[84/908] Write swift-version-24593BA9C3E375BF.txt
[85/908] Compiling a_gentm.cc
[86/908] Compiling fiat_p256_adx_mul.S
[86/908] Compiling fiat_curve25519_adx_square.S
[88/908] Compiling a_int.cc
[89/908] Compiling fiat_curve25519_adx_mul.S
[90/913] Compiling CNIOBoringSSLShims shims.c
[92/1020] Emitting module _NIOBase64
[92/1020] Compiling CNIOLLHTTP c_nio_llhttp.c
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.
[93/1020] Compiling tls_record.cc
[94/1020] Emitting module ServiceContextModule
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/821] Write sources
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.
[6/822] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/ssl_x509.cc:23:
/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>
      |          ^~~~~~~~~~~
[6/822] Compiling ssl_x509.cc
[6/822] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[6/822] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
In file included from 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>
      |          ^~~~~~~~~~~
[6/822] Compiling t1_enc.cc
[6/822] Compiling tls_record.cc
[6/822] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[6/822] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm