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 StreamChatVapor, reference main (10ff87), with Swift 6.1 for Wasm on 28 May 2025 07:27:06 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GetStream/stream-chat-vapor-swift.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/GetStream/stream-chat-vapor-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10ff872 Create SECURITY.md
Cloned https://github.com/GetStream/stream-chat-vapor-swift.git
Revision (git rev-parse @):
10ff8721f882a2714e06e5dd63713d0cf697a929
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GetStream/stream-chat-vapor-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/GetStream/stream-chat-vapor-swift.git
https://github.com/GetStream/stream-chat-vapor-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "fluent",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent.git"
    },
    {
      "identity" : "fluent-postgres-driver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-postgres-driver.git"
    },
    {
      "identity" : "jwt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/jwt.git"
    },
    {
      "identity" : "imperial",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor-community/Imperial.git"
    }
  ],
  "manifest_display_name" : "StreamChatVapor",
  "name" : "StreamChatVapor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "StreamSDKVapor",
      "targets" : [
        "StreamSDKVapor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExampleApp",
      "targets" : [
        "ExampleApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StreamSDKVapor",
      "module_type" : "SwiftTarget",
      "name" : "StreamSDKVapor",
      "path" : "Sources/StreamSDKVapor",
      "product_dependencies" : [
        "JWT",
        "Vapor"
      ],
      "product_memberships" : [
        "StreamSDKVapor",
        "ExampleApp"
      ],
      "sources" : [
        "Application+Stream.swift",
        "Request+Stream.swift",
        "StreamClient.swift",
        "StreamConfiguration.swift",
        "StreamJWTPayload.swift",
        "StreamToken.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExampleAppTests",
      "module_type" : "SwiftTarget",
      "name" : "ExampleAppTests",
      "path" : "Tests/ExampleAppTests",
      "product_dependencies" : [
        "XCTVapor"
      ],
      "sources" : [
        "ExampleAppTests.swift"
      ],
      "target_dependencies" : [
        "ExampleApp"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ExampleApp",
      "module_type" : "SwiftTarget",
      "name" : "ExampleApp",
      "path" : "Sources/ExampleApp",
      "product_dependencies" : [
        "Fluent",
        "FluentPostgresDriver",
        "Vapor",
        "JWT",
        "ImperialGoogle"
      ],
      "product_memberships" : [
        "ExampleApp"
      ],
      "sources" : [
        "Controllers/AccountController.swift",
        "Controllers/AuthController.swift",
        "Migrations/0001-CreateUser.swift",
        "Migrations/0002-CreateUserToken.swift",
        "Migrations/migrations.swift",
        "Models/API/Request/CreateUserData.swift",
        "Models/API/Request/SignInWithAppleToken.swift",
        "Models/API/Response/LoginResponse.swift",
        "Models/API/Response/User+Public.swift",
        "Models/Fluent/App+FieldKeys.swift",
        "Models/Fluent/User.swift",
        "Models/Fluent/UserToken.swift",
        "app.swift",
        "configure.swift",
        "routes.swift"
      ],
      "target_dependencies" : [
        "StreamSDKVapor"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
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 -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.git
Fetching https://github.com/vapor/fluent-postgres-driver.git
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor-community/Imperial.git
[1/2659] Fetching fluent-postgres-driver
[2660/5366] Fetching fluent-postgres-driver, jwt
[5367/18787] Fetching fluent-postgres-driver, jwt, fluent
[8186/23713] Fetching fluent-postgres-driver, jwt, fluent, imperial
[21701/98091] Fetching fluent-postgres-driver, jwt, fluent, imperial, vapor
Fetched https://github.com/vapor/fluent-postgres-driver.git from cache (2.32s)
Fetched https://github.com/vapor/jwt.git from cache (2.32s)
Fetched https://github.com/vapor-community/Imperial.git from cache (2.32s)
Fetched https://github.com/vapor/fluent.git from cache (2.33s)
Fetched https://github.com/vapor/vapor.git from cache (2.36s)
Computing version for https://github.com/vapor-community/Imperial.git
Computed https://github.com/vapor-community/Imperial.git at 1.2.0 (2.91s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9049] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.34s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 4.2.2 (2.32s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.12.0 (0.86s)
Fetching https://github.com/vapor/fluent-kit.git
[1/13328] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (0.82s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (1.82s)
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
[3492/9819] Fetching swift-log, sql-kit
[9820/85874] Fetching swift-log, sql-kit, swift-nio
Fetched https://github.com/vapor/sql-kit.git from cache (0.73s)
[6118/79891] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (13.71s)
Fetched https://github.com/apple/swift-nio.git from cache (13.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (16.41s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (0.80s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.28s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[4392/6101] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (0.33s)
[1454/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.89s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.59s)
Computing version for https://github.com/vapor/fluent-postgres-driver.git
Computed https://github.com/vapor/fluent-postgres-driver.git at 2.10.1 (0.45s)
Fetching https://github.com/vapor/postgres-kit.git
[1/5355] Fetching postgres-kit
Fetched https://github.com/vapor/postgres-kit.git from cache (0.38s)
Computing version for https://github.com/vapor/postgres-kit.git
Computed https://github.com/vapor/postgres-kit.git at 2.14.0 (1.98s)
Fetching https://github.com/vapor/postgres-nio.git
Fetching https://github.com/vapor/async-kit.git
[1/2370] Fetching async-kit
[2371/14641] Fetching async-kit, postgres-nio
Fetched https://github.com/vapor/async-kit.git from cache (0.71s)
Fetched https://github.com/vapor/postgres-nio.git from cache (0.72s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (1.19s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.37s)
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/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.89s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.26.1 (0.47s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-metrics.git
[1/2206] Fetching swift-metrics
[178/4632] Fetching swift-metrics, swift-service-lifecycle
[3125/7299] Fetching swift-metrics, swift-service-lifecycle, swift-nio-transport-services
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.41s)
[1/13936] Fetching swift-crypto
[977/28779] Fetching swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-crypto.git from cache (2.11s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.67s)
Fetched https://github.com/apple/swift-metrics.git from cache (2.67s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.70s)
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 (3.18s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4985] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.34s)
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.92s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.50s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.57s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.85s)
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/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (0.56s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.62s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/vapor/multipart-kit.git
[1/5914] Fetching swift-nio-extras
[179/6977] Fetching swift-nio-extras, swift-service-context
[1565/10296] Fetching swift-nio-extras, swift-service-context, multipart-kit
[5195/21823] Fetching swift-nio-extras, swift-service-context, multipart-kit, swift-nio-http2
[7293/26797] Fetching swift-nio-extras, swift-service-context, multipart-kit, swift-nio-http2, swift-distributed-tracing
[7353/29406] Fetching swift-nio-extras, swift-service-context, multipart-kit, swift-nio-http2, swift-distributed-tracing, websocket-kit
Fetched https://github.com/apple/swift-service-context.git from cache (0.42s)
[9359/28343] Fetching swift-nio-extras, multipart-kit, swift-nio-http2, swift-distributed-tracing, websocket-kit
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.75s)
[11862/22429] Fetching multipart-kit, swift-nio-http2, swift-distributed-tracing, websocket-kit
Fetching https://github.com/vapor/console-kit.git
[13938/43156] Fetching multipart-kit, swift-nio-http2, swift-distributed-tracing, websocket-kit, routing-kit
[36698/48733] Fetching multipart-kit, swift-nio-http2, swift-distributed-tracing, websocket-kit, routing-kit, console-kit
Fetched https://github.com/vapor/console-kit.git from cache (0.82s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/routing-kit.git from cache (1.23s)
[20770/22429] Fetching multipart-kit, swift-nio-http2, swift-distributed-tracing, websocket-kit
[22430/36443] Fetching multipart-kit, swift-nio-http2, swift-distributed-tracing, websocket-kit, async-http-client
Fetched https://github.com/vapor/websocket-kit.git from cache (2.13s)
[25987/33834] Fetching multipart-kit, swift-nio-http2, swift-distributed-tracing, async-http-client
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (2.14s)
[21153/28860] Fetching multipart-kit, swift-nio-http2, async-http-client
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.16s)
[12288/17333] Fetching multipart-kit, async-http-client
Fetched https://github.com/vapor/multipart-kit.git from cache (2.21s)
[11772/14014] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (14.17s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (16.63s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (1.57s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.52s)
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.49s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.61s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
[1/1141] Fetching swift-http-structured-headers
[1142/7296] Fetching swift-http-structured-headers, swift-certificates
[1389/8200] Fetching swift-http-structured-headers, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.41s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.42s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.98s)
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.48s)
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.50s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (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 (1.51s)
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.56s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.57s)
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-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-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/postgres-nio.git
Working copy of https://github.com/vapor/postgres-nio.git resolved at 1.26.1
Creating working copy for https://github.com/vapor/fluent-postgres-driver.git
Working copy of https://github.com/vapor/fluent-postgres-driver.git resolved at 2.10.1
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 4.2.2
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/vapor/fluent-kit.git
Working copy of https://github.com/vapor/fluent-kit.git resolved at 1.52.2
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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/swift-server/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.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-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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.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.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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 4.12.0
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
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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/vapor-community/Imperial.git
Working copy of https://github.com/vapor-community/Imperial.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/sql-kit.git
Working copy of https://github.com/vapor/sql-kit.git resolved at 3.33.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-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/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/vapor/postgres-kit.git
Working copy of https://github.com/vapor/postgres-kit.git resolved at 2.14.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-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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
warning: 'jwt': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/jwt/Sources/JWT/Docs.docc
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
   93 | size_t strftime_l (char *  __restrict, size_t, const char *  __restrict, const struct tm *  __restrict, locale_t);
      |        ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                  ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[0/1344] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[0/1344] Compiling a_i2d_fp.cc
[0/1344] Compiling a_utctm.cc
[0/1344] Compiling a_d2i_fp.cc
[0/1344] Compiling a_bool.cc
[0/1344] Compiling a_int.cc
[0/1344] Compiling a_type.cc
[0/1344] Compiling a_bitstr.cc
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'jwt': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/jwt/Sources/JWT/Docs.docc
[0/1] Planning build
Building for debugging...
[0/1344] Write sources
[64/1344] Compiling _AtomicsShims.c
[65/1344] Compiling CSystem shims.c
[65/1344] Compiling _NumericsShims _NumericsShims.c
[67/1344] Compiling CNIOWindows WSAStartup.c
[68/1344] Compiling CNIOWindows shim.c
[69/1344] Compiling CNIOWASI CNIOWASI.c
[70/1344] Compiling CVaporBcrypt blf.c
[71/1344] Compiling CNIOLinux liburing_shims.c
[72/1344] Compiling CNIOLinux shim.c
[73/1344] Compiling CVaporBcrypt bcrypt.c
[74/1344] Compiling CNIOSHA1 c_nio_sha1.c
[75/1344] Compiling CNIOExtrasZlib empty.c
[76/1344] Compiling CNIOLLHTTP c_nio_http.c
[77/1344] Compiling CNIODarwin shim.c
[78/1344] Compiling CNIOLLHTTP c_nio_api.c
[79/1344] Compiling fiat_p256_adx_sqr.S
[80/1344] Compiling fiat_curve25519_adx_mul.S
[81/1344] Compiling fiat_curve25519_adx_square.S
[82/1344] Compiling fiat_p256_adx_mul.S
[83/1344] Write swift-version-24593BA9C3E375BF.txt
[84/1344] Compiling CNIOBoringSSLShims shims.c
[86/1348] Emitting module _NIODataStructures
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.
[86/1348] Compiling tls13_server.cc
[86/1348] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[86/1348] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[86/1348] 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>
      |          ^~~~~~~~~~~
[86/1348] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[86/1348] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[86/1348] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm