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 Vercel, reference main (93e18e), with Swift 6.1 for Wasm on 29 May 2025 07:02:34 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/swift-cloud/Vercel.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-cloud/Vercel
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 93e18e8 Formatting
Cloned https://github.com/swift-cloud/Vercel.git
Revision (git rev-parse @):
93e18e8eac21c8d3f001f4687a07e7175a3b41e7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-cloud/Vercel.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-cloud/Vercel.git
https://github.com/swift-cloud/Vercel.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto"
    },
    {
      "identity" : "swift-aws-lambda-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-alpha.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-aws-lambda-runtime"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor"
    }
  ],
  "manifest_display_name" : "Vercel",
  "name" : "Vercel",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Vercel",
      "targets" : [
        "Vercel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "VercelVapor",
      "targets" : [
        "VercelVapor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "VercelPackager",
      "targets" : [
        "VercelPackager"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VercelVapor",
      "module_type" : "SwiftTarget",
      "name" : "VercelVapor",
      "path" : "Sources/VercelVapor",
      "product_dependencies" : [
        "AWSLambdaRuntime",
        "Vapor"
      ],
      "product_memberships" : [
        "VercelVapor"
      ],
      "sources" : [
        "VaporHandler.swift",
        "VercelServer.swift",
        "VercelVapor.swift"
      ],
      "target_dependencies" : [
        "Vercel"
      ],
      "type" : "library"
    },
    {
      "c99name" : "VercelTests",
      "module_type" : "SwiftTarget",
      "name" : "VercelTests",
      "path" : "Tests/VercelTests",
      "sources" : [
        "ClaimTests.swift",
        "EdgeConfigTests.swift",
        "FetchTests.swift",
        "JWTTests.swift",
        "RequestTests.swift"
      ],
      "target_dependencies" : [
        "Vercel"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VercelPackager",
      "module_type" : "PluginTarget",
      "name" : "VercelPackager",
      "path" : "Plugins/VercelPackager",
      "plugin_capability" : {
        "intent" : {
          "description" : "Build and deploy your Swift application to Vercel",
          "type" : "custom",
          "verb" : "vercel"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "VercelPackager"
      ],
      "sources" : [
        "Plugin.swift",
        "Shell.swift",
        "Utils.swift",
        "VercelOutput.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Vercel",
      "module_type" : "SwiftTarget",
      "name" : "Vercel",
      "path" : "Sources/Vercel",
      "product_dependencies" : [
        "AWSLambdaRuntime",
        "AsyncHTTPClient",
        "Crypto"
      ],
      "product_memberships" : [
        "Vercel",
        "VercelVapor"
      ],
      "sources" : [
        "Claim.swift",
        "Crypto.swift",
        "EdgeConfig.swift",
        "Environment.swift",
        "Fetch/Fetch.swift",
        "Fetch/FetchRequest.swift",
        "Fetch/FetchResponse.swift",
        "Handlers/ExpressHandler.swift",
        "Handlers/RequestHandler.swift",
        "InvokeEvent.swift",
        "JWT/JWT.swift",
        "JWT/JWTError.swift",
        "Request.swift",
        "Response.swift",
        "Router/Parameters.swift",
        "Router/PathComponent.swift",
        "Router/Routable.swift",
        "Router/Router.swift",
        "Router/TrieRouter.swift",
        "Types.swift",
        "Utils.swift",
        "Vercel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/vapor/vapor
Fetching https://github.com/swift-server/swift-aws-lambda-runtime
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/swift-server/async-http-client
[1/11517] Fetching swift-aws-lambda-runtime
[577/25453] Fetching swift-aws-lambda-runtime, swift-crypto
[1553/99831] Fetching swift-aws-lambda-runtime, swift-crypto, vapor
[4295/113845] Fetching swift-aws-lambda-runtime, swift-crypto, vapor, async-http-client
Fetched https://github.com/swift-server/swift-aws-lambda-runtime from cache (1.70s)
[100097/102328] Fetching swift-crypto, vapor, async-http-client
Fetched https://github.com/swift-server/async-http-client from cache (2.49s)
Fetched https://github.com/apple/swift-crypto from cache (2.51s)
Fetched https://github.com/vapor/vapor from cache (2.53s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.12.3 (6.16s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.17s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.26.1 (0.62s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1710] Fetching swift-atomics
[754/4377] Fetching swift-atomics, swift-nio-transport-services
[952/10336] Fetching swift-atomics, swift-nio-transport-services, swift-algorithms
[1609/21863] Fetching swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-http2
[2256/25699] Fetching swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-log
[6354/31613] Fetching swift-atomics, swift-nio-transport-services, swift-algorithms, swift-nio-http2, swift-log, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.71s)
[24336/28946] Fetching swift-atomics, swift-algorithms, swift-nio-http2, swift-log, swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
[28947/43789] Fetching swift-atomics, swift-algorithms, swift-nio-http2, swift-log, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (1.33s)
Fetched https://github.com/apple/swift-log.git from cache (1.33s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.34s)
[19816/32284] Fetching swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.34s)
Fetching https://github.com/apple/swift-nio.git
[14051/26370] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.36s)
[2672/14843] Fetching swift-nio-ssl
[10392/90936] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.04s)
[44895/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.16s)
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 (7.06s)
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.59s)
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.62s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (2.28s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
[1/1141] Fetching swift-http-structured-headers
[47/3567] Fetching swift-http-structured-headers, swift-service-lifecycle
[3229/4471] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[3984/9456] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms
[5818/15611] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.60s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.60s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.60s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.97s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.59s)
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.80s)
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.73s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.32s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (2.25s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.84s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.07s)
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.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (3.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.03s)
Computing version for https://github.com/vapor/vapor
Computed https://github.com/vapor/vapor at 4.115.0 (0.85s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/routing-kit.git
[1/3319] Fetching multipart-kit
[333/4382] Fetching multipart-kit, swift-service-context
[1576/6588] Fetching multipart-kit, swift-service-context, swift-metrics
[2096/11562] Fetching multipart-kit, swift-service-context, swift-metrics, swift-distributed-tracing
[2754/14171] Fetching multipart-kit, swift-service-context, swift-metrics, swift-distributed-tracing, websocket-kit
[6679/34898] Fetching multipart-kit, swift-service-context, swift-metrics, swift-distributed-tracing, websocket-kit, routing-kit
Fetched https://github.com/apple/swift-service-context.git from cache (0.45s)
[16184/33835] Fetching multipart-kit, swift-metrics, swift-distributed-tracing, websocket-kit, routing-kit
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.64s)
Fetched https://github.com/vapor/websocket-kit.git from cache (0.64s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.64s)
Fetching https://github.com/vapor/async-kit.git
[17795/24046] Fetching multipart-kit, routing-kit
[18003/29693] Fetching multipart-kit, routing-kit, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.66s)
[22355/26416] Fetching multipart-kit, routing-kit, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.73s)
[22387/24046] Fetching multipart-kit, routing-kit
Fetched https://github.com/vapor/routing-kit.git from cache (3.56s)
Fetched https://github.com/vapor/multipart-kit.git from cache (3.62s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (4.88s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.65s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.74s)
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.69s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.74s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (1.06s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.73s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.68s)
Computing version for https://github.com/swift-server/swift-aws-lambda-runtime
Computed https://github.com/swift-server/swift-aws-lambda-runtime at 1.0.0-alpha.3 (0.94s)
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-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-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-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/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
Creating working copy for https://github.com/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.26.1
Creating working copy for https://github.com/vapor/vapor
Working copy of https://github.com/vapor/vapor resolved at 4.115.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/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-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-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/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-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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/swift-server/swift-aws-lambda-runtime
Working copy of https://github.com/swift-server/swift-aws-lambda-runtime resolved at 1.0.0-alpha.3
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/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
/host/spi-builder-workspace/Plugins/VercelPackager/VercelOutput.swift:335:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
333 |         let config = ProjectConfiguration(orgId: vercelOrgID, projectId: vercelProjectID)
334 |         let data = try encoder.encode(config)
335 |         fs.createFile(atPath: vercelProjectConfigurationPath.string, contents: data)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
336 |     }
337 |
/host/spi-builder-workspace/Plugins/VercelPackager/VercelOutput.swift:407:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
405 |         )
406 |         let data = try encoder.encode(config)
407 |         fs.createFile(atPath: vercelOutputConfigurationPath.string, contents: data)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
408 |     }
409 | }
/host/spi-builder-workspace/Plugins/VercelPackager/VercelOutput.swift:462:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
460 |         )
461 |         let data = try encoder.encode(config)
462 |         fs.createFile(atPath: vercelFunctionConfigurationPath(product).string, contents: data)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
463 |     }
464 | }
[1/1] Compiling plugin VercelPackager
[2/2] Compiling plugin AWSLambdaPackager
Building for debugging...
[2/836] Write sources
[52/836] Compiling _NumericsShims _NumericsShims.c
[52/836] Compiling _AtomicsShims.c
[54/836] Compiling CVaporBcrypt bcrypt.c
[55/836] Compiling CNIOWASI CNIOWASI.c
[56/836] Compiling CNIOWindows shim.c
[57/836] Compiling CNIOWindows WSAStartup.c
[57/836] Compiling CSystem shims.c
[59/836] Compiling CNIOLinux shim.c
[60/836] Compiling CVaporBcrypt blf.c
[61/836] Compiling CNIOLinux liburing_shims.c
[61/836] Compiling CNIOSHA1 c_nio_sha1.c
[63/836] Compiling CNIOExtrasZlib empty.c
[64/836] Compiling CNIOLLHTTP c_nio_http.c
[65/836] Compiling CNIODarwin shim.c
[66/836] Compiling CNIOLLHTTP c_nio_api.c
[67/836] Compiling fiat_p256_adx_mul.S
[68/836] Compiling fiat_curve25519_adx_mul.S
[69/836] Compiling fiat_p256_adx_sqr.S
[70/836] Write swift-version-24593BA9C3E375BF.txt
[71/836] Compiling fiat_curve25519_adx_square.S
[72/840] Compiling CNIOBoringSSLShims shims.c
[74/842] Emitting module _NIOBase64
[74/842] Compiling CNIOLLHTTP c_nio_llhttp.c
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.
[75/842] 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.
[75/842] 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.
[75/842] Compiling tls_record.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>
      |          ^~~~~~~~~~~
[75/842] 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>
      |          ^~~~~~~~~~~
[75/842] Compiling tls13_client.cc
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
/host/spi-builder-workspace/Plugins/VercelPackager/VercelOutput.swift:335:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
333 |         let config = ProjectConfiguration(orgId: vercelOrgID, projectId: vercelProjectID)
334 |         let data = try encoder.encode(config)
335 |         fs.createFile(atPath: vercelProjectConfigurationPath.string, contents: data)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
336 |     }
337 |
/host/spi-builder-workspace/Plugins/VercelPackager/VercelOutput.swift:407:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
405 |         )
406 |         let data = try encoder.encode(config)
407 |         fs.createFile(atPath: vercelOutputConfigurationPath.string, contents: data)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
408 |     }
409 | }
/host/spi-builder-workspace/Plugins/VercelPackager/VercelOutput.swift:462:12: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
460 |         )
461 |         let data = try encoder.encode(config)
462 |         fs.createFile(atPath: vercelFunctionConfigurationPath(product).string, contents: data)
    |            `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
463 |     }
464 | }
[1/1] Compiling plugin VercelPackager
[2/2] Compiling plugin AWSLambdaPackager
Building for debugging...
[2/764] Write sources
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.
[5/765] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
1 error generated.
[5/765] Compiling ssl_x509.cc
[5/765] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
[5/765] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[5/765] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[5/765] Compiling tls_record.cc
[5/765] 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>
      |          ^~~~~~~~~~~
[5/765] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm