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 BreezeLambdaDynamoDBAPI, reference main (7e13b4), with Swift 6.1 for Wasm on 30 Jul 2025 22:42:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/swift-serverless/BreezeLambdaDynamoDBAPI.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/swift-serverless/BreezeLambdaDynamoDBAPI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7e13b47 Merge pull request #4 from swift-serverless/feature/2.0.0-beta.1
Cloned https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git
Revision (git rev-parse @):
7e13b475fc925eecafb3f620699041e39bc63a0a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git
https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-aws-lambda-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0-beta.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-aws-lambda-runtime.git"
    },
    {
      "identity" : "swift-aws-lambda-events",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-aws-lambda-events.git"
    },
    {
      "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" : "soto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/soto-project/soto.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "BreezeLambdaDynamoDBAPI",
  "name" : "BreezeLambdaDynamoDBAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BreezeDynamoDBService",
      "targets" : [
        "BreezeDynamoDBService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BreezeLambdaAPI",
      "targets" : [
        "BreezeLambdaAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BreezeLambdaItemAPI",
      "targets" : [
        "BreezeLambdaItemAPI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BreezeLambdaItemAPI",
      "module_type" : "SwiftTarget",
      "name" : "BreezeLambdaItemAPI",
      "path" : "Sources/BreezeLambdaItemAPI",
      "product_memberships" : [
        "BreezeLambdaItemAPI"
      ],
      "sources" : [
        "BreezeLambdaItemAPI.swift"
      ],
      "target_dependencies" : [
        "BreezeLambdaAPI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BreezeLambdaAPITests",
      "module_type" : "SwiftTarget",
      "name" : "BreezeLambdaAPITests",
      "path" : "Tests/BreezeLambdaAPITests",
      "product_dependencies" : [
        "AWSLambdaRuntime",
        "ServiceLifecycle",
        "ServiceLifecycleTestKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/BreezeLambdaAPITests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "APIGatewayV2Response.swift",
        "BreezeDynamoDBManagerMock.swift",
        "BreezeLambdaAPIServiceTests.swift",
        "BreezeLambdaHandlerTests.swift",
        "BreezeOperationTests.swift",
        "Fixtures.swift",
        "Lambda.swift",
        "Product.swift"
      ],
      "target_dependencies" : [
        "BreezeLambdaAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BreezeLambdaAPI",
      "module_type" : "SwiftTarget",
      "name" : "BreezeLambdaAPI",
      "path" : "Sources/BreezeLambdaAPI",
      "product_dependencies" : [
        "AWSLambdaRuntime",
        "AWSLambdaEvents",
        "ServiceLifecycle"
      ],
      "product_memberships" : [
        "BreezeLambdaAPI",
        "BreezeLambdaItemAPI"
      ],
      "sources" : [
        "APIGatewayV2Request+Extensions.swift",
        "APIGatewayV2Response+Extensions.swift",
        "BreezeAPIConfiguration.swift",
        "BreezeEmptyResponse.swift",
        "BreezeLambdaAPI.swift",
        "BreezeLambdaAPIError.swift",
        "BreezeLambdaHandler.swift",
        "BreezeLambdaService.swift",
        "BreezeOperation.swift"
      ],
      "target_dependencies" : [
        "BreezeDynamoDBService"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BreezeDynamoDBServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "BreezeDynamoDBServiceTests",
      "path" : "Tests/BreezeDynamoDBServiceTests",
      "product_dependencies" : [
        "AWSLambdaRuntime",
        "ServiceLifecycle",
        "ServiceLifecycleTestKit"
      ],
      "sources" : [
        "BreezeDynamoDBManagerMock.swift",
        "BreezeDynamoDBManagerTests.swift",
        "BreezeDynamoDBServiceTests.swift",
        "LocalStackDynamoDB.swift"
      ],
      "target_dependencies" : [
        "BreezeDynamoDBService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BreezeDynamoDBService",
      "module_type" : "SwiftTarget",
      "name" : "BreezeDynamoDBService",
      "path" : "Sources/BreezeDynamoDBService",
      "product_dependencies" : [
        "SotoDynamoDB",
        "ServiceLifecycle",
        "Logging"
      ],
      "product_memberships" : [
        "BreezeDynamoDBService",
        "BreezeLambdaAPI",
        "BreezeLambdaItemAPI"
      ],
      "sources" : [
        "BreezeCodable.swift",
        "BreezeDynamoDBConfig.swift",
        "BreezeDynamoDBManager.swift",
        "BreezeDynamoDBManaging.swift",
        "BreezeDynamoDBService.swift",
        "BreezeHTTPClientConfig.swift",
        "Foundation+Extension.swift",
        "ListResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/soto-project/soto.git
Fetching https://github.com/swift-server/swift-aws-lambda-events.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/swift-server/swift-aws-lambda-runtime.git
[1/2559] Fetching swift-aws-lambda-events
[1614/4653] Fetching swift-aws-lambda-events, swift-docc-plugin
[1758/7086] Fetching swift-aws-lambda-events, swift-docc-plugin, swift-service-lifecycle
[4130/19830] Fetching swift-aws-lambda-events, swift-docc-plugin, swift-service-lifecycle, swift-aws-lambda-runtime
[5862/23710] Fetching swift-aws-lambda-events, swift-docc-plugin, swift-service-lifecycle, swift-aws-lambda-runtime, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Fetched https://github.com/swift-server/swift-aws-lambda-events.git from cache (0.51s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.51s)
[3198/15177] Fetching swift-service-lifecycle, swift-aws-lambda-runtime
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.25s)
Fetched https://github.com/swift-server/swift-aws-lambda-runtime.git from cache (1.29s)
[1/141808] Fetching soto
Fetched https://github.com/soto-project/soto.git from cache (113.99s)
Computing version for https://github.com/swift-server/swift-aws-lambda-events.git
Computed https://github.com/swift-server/swift-aws-lambda-events.git at 0.5.0 (114.89s)
Fetching https://github.com/apple/swift-http-types.git
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.21s)
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.84s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.38s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3438] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.88s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 7.9.0 (7.86s)
Fetching https://github.com/soto-project/soto-core.git
[1/60173] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git from cache (2.59s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 7.8.0 (3.33s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/jmespath/jmespath.swift.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/653] Fetching jmespath.swift
[654/2872] Fetching jmespath.swift, swift-metrics
[1187/5573] Fetching jmespath.swift, swift-metrics, swift-nio-transport-services
[4953/10629] Fetching jmespath.swift, swift-metrics, swift-nio-transport-services, swift-distributed-tracing
[6889/24688] Fetching jmespath.swift, swift-metrics, swift-nio-transport-services, swift-distributed-tracing, async-http-client
Fetched https://github.com/apple/swift-metrics.git from cache (0.63s)
[8261/22469] Fetching jmespath.swift, swift-nio-transport-services, swift-distributed-tracing, async-http-client
Fetching https://github.com/apple/swift-crypto.git
[8684/37454] Fetching jmespath.swift, swift-nio-transport-services, swift-distributed-tracing, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.94s)
[20962/34753] Fetching jmespath.swift, swift-distributed-tracing, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.95s)
[16248/29697] Fetching jmespath.swift, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[17411/45624] Fetching jmespath.swift, async-http-client, swift-nio-ssl, swift-crypto
[18966/47432] Fetching jmespath.swift, async-http-client, swift-nio-ssl, swift-crypto, swift-atomics
[23509/124505] Fetching jmespath.swift, async-http-client, swift-nio-ssl, swift-crypto, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.82s)
[22001/122697] Fetching jmespath.swift, async-http-client, swift-nio-ssl, swift-crypto, swift-nio
Fetched https://github.com/jmespath/jmespath.swift.git from cache (4.17s)
Fetched https://github.com/swift-server/async-http-client.git from cache (4.20s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.24s)
[66796/93000] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (3.93s)
[54722/77073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.93s)
Computing version for https://github.com/jmespath/jmespath.swift.git
Computed https://github.com/jmespath/jmespath.swift.git at 1.0.3 (10.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.11s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.89s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.35s)
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.22s)
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.76s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6123] Fetching swift-nio-extras
[797/12082] Fetching swift-nio-extras, swift-algorithms
[10117/23743] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.63s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.67s)
[2683/11661] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.09s)
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 (3.99s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (1.18s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4792] Fetching swift-system
[4793/21708] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
[1185/16916] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (2.74s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.92s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.95s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.60s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.22s)
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.77s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/4995] Fetching swift-async-algorithms
[2/6171] Fetching swift-async-algorithms, swift-http-structured-headers
[3/12615] Fetching swift-async-algorithms, swift-http-structured-headers, swift-certificates
[12616/14244] Fetching swift-async-algorithms, swift-http-structured-headers, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-certificates.git from cache (0.81s)
[6953/7800] Fetching swift-async-algorithms, swift-http-structured-headers, swift-asn1
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.81s)
[2056/2805] Fetching swift-http-structured-headers, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.93s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.93s)
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.71s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.99s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.91s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.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.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.1 (0.58s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.3 (2.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.65s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.49s)
Computing version for https://github.com/swift-server/swift-aws-lambda-runtime.git
Computed https://github.com/swift-server/swift-aws-lambda-runtime.git at 2.0.0-beta.1 (2.53s)
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/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 7.8.0
Creating working copy for https://github.com/swift-server/swift-aws-lambda-runtime.git
Working copy of https://github.com/swift-server/swift-aws-lambda-runtime.git resolved at 2.0.0-beta.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-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-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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.11.0
Creating working copy for https://github.com/swift-server/swift-aws-lambda-events.git
Working copy of https://github.com/swift-server/swift-aws-lambda-events.git resolved at 0.5.0
Creating working copy for https://github.com/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at 1.0.3
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-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.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.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.6.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.13.3
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-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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/soto-project/soto.git
Working copy of https://github.com/soto-project/soto.git resolved at 7.9.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/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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.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.38.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.85.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin AWSLambdaPackager
Building for debugging...
[3/891] Write sources
[10/891] Compiling sha256-armv8-win.S
[10/891] Write sources
[12/891] Compiling _NumericsShims _NumericsShims.c
[13/891] Write sources
[15/891] Compiling _AtomicsShims.c
[15/891] Write sources
[49/891] Compiling CSotoExpat xmltok_ns.c
[50/891] Compiling CSotoExpat xmltok_impl.c
[51/891] Compiling poly1305.cc
[51/891] Compiling ex_data.cc
[53/891] Write swift-version-24593BA9C3E375BF.txt
[54/891] Compiling mem.cc
[55/891] Compiling CSotoExpat xmltok.c
[56/891] Compiling CNIOWindows shim.c
[57/891] Compiling CSotoExpat xmlrole.c
[58/910] Compiling p5_pbev2.cc
[59/910] Compiling pkcs8.cc
[60/910] Compiling pkcs8_x509.cc
[61/910] Compiling CSotoExpat xmlparse.c
[63/945] Compiling JMESPath Token.swift
[64/946] Emitting module JMESPath
[65/946] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[66/946] Compiling InternalCollectionsUtilities Integer rank.swift
[67/946] Compiling ServiceContextModule ServiceContextKey.swift
[68/946] Compiling Logging LogHandler.swift
[69/946] Emitting module ServiceContextModule
[70/946] Compiling ServiceContextModule ServiceContext.swift
[71/947] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[72/947] Compiling InternalCollectionsUtilities UInt+reversed.swift
[73/948] Compiling JMESPath Sendable.swift
[76/948] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[77/948] Compiling InternalCollectionsUtilities Debugging.swift
[79/949] Emitting module RealModule
[82/949] Compiling RealModule ElementaryFunctions.swift
[83/949] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[84/949] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[85/949] Compiling JMESPath Parser.swift
[86/949] Compiling JMESPath Runtime.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/949] Emitting module SotoXML
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:36:8: error: Unsupported platform
 34 | import Android
 35 | #else
 36 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 37 | #endif
 38 |
[88/949] Compiling InternalCollectionsUtilities Descriptions.swift
[89/949] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[90/949] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[91/949] Compiling InternalCollectionsUtilities _SortedCollection.swift
[92/949] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[93/949] Compiling RealModule Real.swift
[96/949] Emitting module InternalCollectionsUtilities
[97/949] Compiling RealModule Float80+Real.swift
[98/949] Emitting module Logging
[99/949] Compiling _NIODataStructures PriorityQueue.swift
[100/949] Compiling Logging Locks.swift
[101/949] Compiling _NIODataStructures _TinyArray.swift
[102/949] Compiling RealModule Float+Real.swift
[103/949] Compiling RealModule Float16+Real.swift
[104/949] Compiling _NIOBase64 Base64.swift
[105/949] Emitting module _NIOBase64
[106/949] Compiling RealModule RealFunctions.swift
[109/953] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[111/968] 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 |     }
[112/968] Compiling Instrumentation Instrument.swift
[113/968] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[114/970] 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.
[115/970] 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.
[116/971] Emitting module INIParser
[117/971] Compiling INIParser INIParser.swift
[118/972] Compiling Instrumentation MultiplexInstrument.swift
[119/972] Compiling Instrumentation NoOpInstrument.swift
[120/972] Emitting module _NIODataStructures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 AWSLambdaPackager
Building for debugging...
[3/832] Write sources
[8/833] Compiling CNIOWindows WSAStartup.c
[8/833] Compiling CNIOLinux shim.c
[8/833] Compiling CNIOWASI CNIOWASI.c
[11/833] Compiling CNIOLinux liburing_shims.c
[11/833] Compiling CNIOPosix event_loop_id.c
[13/833] Compiling CNIOLLHTTP c_nio_http.c
[14/833] Compiling CNIODarwin shim.c
[15/833] Compiling fiat_p256_adx_sqr.S
[16/833] Compiling CNIOLLHTTP c_nio_api.c
[17/833] Compiling fiat_p256_adx_mul.S
[18/833] Compiling fiat_curve25519_adx_square.S
[19/833] Compiling fiat_curve25519_adx_mul.S
[20/833] Compiling CNIOExtrasZlib empty.c
[20/833] Write swift-version-24593BA9C3E375BF.txt
[22/833] Compiling CNIOBoringSSLShims shims.c
[24/839] Emitting module _NIOBase64
[25/839] Compiling _NIOBase64 Base64.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.
[25/840] 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.
[25/840] Compiling tls_method.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.
[25/840] Compiling tls13_server.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.
[25/840] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[25/840] Compiling tls13_client.cc
[25/840] Compiling CNIOLLHTTP c_nio_llhttp.c
[26/840] Compiling _NIODataStructures PriorityQueue.swift
[27/840] Compiling _NIODataStructures Heap.swift
[28/840] Emitting module _NIODataStructures
BUILD FAILURE 6.1 wasm