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 SaasTemplate, reference main (e45ee4), with Swift 6.1 for Wasm on 8 Oct 2025 13:56:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/petrpavlik/vapor-saas-backend-template.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/petrpavlik/vapor-saas-backend-template
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e45ee48 Update README.md (#22)
Cloned https://github.com/petrpavlik/vapor-saas-backend-template.git
Revision (git rev-parse @):
e45ee485e92c7676bb4d29ed0084c489d2525c20
SUCCESS checkout https://github.com/petrpavlik/vapor-saas-backend-template.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/petrpavlik/vapor-saas-backend-template.git
https://github.com/petrpavlik/vapor-saas-backend-template.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.83.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "fluent",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent.git"
    },
    {
      "identity" : "fluent-sqlite-driver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.6.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-sqlite-driver.git"
    },
    {
      "identity" : "jwt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/jwt.git"
    },
    {
      "identity" : "swift-sentry",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/petrpavlik/swift-sentry.git"
    },
    {
      "identity" : "mixpanelvapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/petrpavlik/MixpanelVapor.git"
    },
    {
      "identity" : "indiepitcher-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IndiePitcher/indiepitcher-swift.git"
    }
  ],
  "manifest_display_name" : "SaasTemplate",
  "name" : "SaasTemplate",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "App",
      "targets" : [
        "App"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppTests",
      "module_type" : "SwiftTarget",
      "name" : "AppTests",
      "path" : "Tests/AppTests",
      "product_dependencies" : [
        "VaporTesting"
      ],
      "sources" : [
        "AppTests.swift",
        "Request+FirebaseUser.swift"
      ],
      "target_dependencies" : [
        "App"
      ],
      "type" : "test"
    },
    {
      "c99name" : "App",
      "module_type" : "SwiftTarget",
      "name" : "App",
      "path" : "Sources/App",
      "product_dependencies" : [
        "Fluent",
        "FluentSQLiteDriver",
        "Vapor",
        "JWT",
        "SwiftSentry",
        "MixpanelVapor",
        "IndiePitcherSwift"
      ],
      "product_memberships" : [
        "App"
      ],
      "sources" : [
        "Auth/FirebaseAuth.swift",
        "Controllers/OrganizationController.swift",
        "Controllers/ProfileController.swift",
        "Migrations/CreateOrganization.swift",
        "Migrations/CreateOrganizationInvite.swift",
        "Migrations/CreateProfile.swift",
        "Migrations/CreateProfileOrganizationRole.swift",
        "Models/FIeldKeys.swift",
        "Models/Organization.swift",
        "Models/OrganizationInvite.swift",
        "Models/Profile.swift",
        "Models/ProfileOrganizationRole.swift",
        "Services/AnalyticsService.swift",
        "Services/EmailService.swift",
        "Utils/SkippableEncoding.swift",
        "configure.swift",
        "entrypoint.swift",
        "routes.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/petrpavlik/swift-sentry.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/IndiePitcher/indiepitcher-swift.git
Fetching https://github.com/petrpavlik/MixpanelVapor.git
[1/497] Fetching swift-sentry
[305/820] Fetching swift-sentry, mixpanelvapor
[620/1079] Fetching swift-sentry, mixpanelvapor, indiepitcher-swift
[545/820] Fetching swift-sentry, mixpanelvapor
[754/1079] Fetching swift-sentry, mixpanelvapor, indiepitcher-swift
[1080/2426] Fetching swift-sentry, mixpanelvapor, indiepitcher-swift, fluent-sqlite-driver
[1390/15910] Fetching swift-sentry, mixpanelvapor, indiepitcher-swift, fluent-sqlite-driver, fluent
[1768/18629] Fetching swift-sentry, mixpanelvapor, indiepitcher-swift, fluent-sqlite-driver, fluent, jwt
Fetched https://github.com/petrpavlik/swift-sentry.git from cache (2.37s)
Fetched https://github.com/IndiePitcher/indiepitcher-swift.git from cache (2.36s)
Fetched https://github.com/petrpavlik/MixpanelVapor.git from cache (2.37s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/jwt.git from cache (2.45s)
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (2.45s)
Fetched https://github.com/vapor/fluent.git from cache (2.47s)
[1/75474] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (30.31s)
Computing version for https://github.com/petrpavlik/swift-sentry.git
Computed https://github.com/petrpavlik/swift-sentry.git at 1.0.0 (34.76s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/async-http-client.git
[1/3933] Fetching swift-log
[945/18250] Fetching swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (2.71s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.71s)
Computing version for https://github.com/petrpavlik/MixpanelVapor.git
Computed https://github.com/petrpavlik/MixpanelVapor.git at 2.1.0 (4.54s)
Fetching https://github.com/malcommac/UAParserSwift.git
Fetching https://github.com/apple/swift-atomics.git
[1/292] Fetching uaparserswift
[293/2106] Fetching uaparserswift, swift-atomics
Fetched https://github.com/malcommac/UAParserSwift.git from cache (1.25s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.25s)
Computing version for https://github.com/malcommac/UAParserSwift.git
Computed https://github.com/malcommac/UAParserSwift.git at 1.2.1 (5.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.03s)
Computing version for https://github.com/vapor/jwt.git
Computed https://github.com/vapor/jwt.git at 5.1.2 (2.32s)
Fetching https://github.com/vapor/jwt-kit.git
[1/9157] Fetching jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (2.11s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.2.0 (3.16s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
[1/6628] Fetching swift-certificates
[1393/23835] Fetching swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (1.04s)
[1721/17207] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.96s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.13.0 (5.35s)
Fetching https://github.com/vapor/fluent-kit.git
[1/13328] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (1.01s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.117.0 (2.75s)
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/websocket-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-metrics.git
[1/3505] Fetching multipart-kit
[387/4622] Fetching multipart-kit, swift-service-context
[1086/7231] Fetching multipart-kit, swift-service-context, websocket-kit
[1087/12672] Fetching multipart-kit, swift-service-context, websocket-kit, swift-distributed-tracing
[1350/15029] Fetching multipart-kit, swift-service-context, websocket-kit, swift-distributed-tracing, swift-metrics
[3339/21015] Fetching multipart-kit, swift-service-context, websocket-kit, swift-distributed-tracing, swift-metrics, swift-algorithms
Fetched https://github.com/vapor/websocket-kit.git from cache (1.21s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.21s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.31s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-service-context.git from cache (1.45s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.48s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/routing-kit.git
[1649/3505] Fetching multipart-kit
[1650/9675] Fetching multipart-kit, swift-nio-extras
[3687/21375] Fetching multipart-kit, swift-nio-extras, swift-nio-http2
[8990/42537] Fetching multipart-kit, swift-nio-extras, swift-nio-http2, routing-kit
[9765/57668] Fetching multipart-kit, swift-nio-extras, swift-nio-http2, routing-kit, swift-nio-ssl
[27297/136786] Fetching multipart-kit, swift-nio-extras, swift-nio-http2, routing-kit, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/routing-kit.git from cache (3.37s)
[67880/115624] Fetching multipart-kit, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.71s)
Fetching https://github.com/vapor/async-kit.git
[64084/109454] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.77s)
[53175/97754] Fetching multipart-kit, swift-nio-ssl, swift-nio
[67691/100193] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-kit
[68082/106484] Fetching multipart-kit, swift-nio-ssl, swift-nio, async-kit, console-kit
Fetched https://github.com/vapor/multipart-kit.git from cache (5.86s)
[68883/102979] Fetching swift-nio-ssl, swift-nio, async-kit, console-kit
Fetched https://github.com/vapor/async-kit.git from cache (1.05s)
Fetched https://github.com/vapor/console-kit.git from cache (1.35s)
[66558/94249] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.00s)
[52218/79118] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.62s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (14.13s)
Fetching https://github.com/vapor/sql-kit.git
[1/6087] Fetching sql-kit
Fetched https://github.com/vapor/sql-kit.git from cache (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.61s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.99s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.15s)
Fetching https://github.com/apple/swift-numerics.git
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.77s)
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.77s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.2 (1.01s)
Fetching https://github.com/apple/swift-collections.git
[1/18153] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.92s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (5.15s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2771] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.59s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (2.57s)
Fetching https://github.com/apple/swift-system.git
[1/5049] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.77s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (2.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.95s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.91s)
Computing version for https://github.com/vapor/fluent-sqlite-driver.git
Computed https://github.com/vapor/fluent-sqlite-driver.git at 4.8.1 (0.80s)
Fetching https://github.com/vapor/sqlite-kit.git
[1/2118] Fetching sqlite-kit
Fetched https://github.com/vapor/sqlite-kit.git from cache (0.71s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (1.53s)
Fetching https://github.com/vapor/sqlite-nio.git
[1/1731] Fetching sqlite-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (2.54s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (3.17s)
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.88s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
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
[1/1645] Fetching swift-asn1
[51/2584] Fetching swift-asn1, swift-http-types
[174/3774] Fetching swift-asn1, swift-http-types, swift-http-structured-headers
[2357/6292] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-service-lifecycle
[6293/11842] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (2.55s)
Fetched https://github.com/apple/swift-asn1.git from cache (2.55s)
Fetched https://github.com/apple/swift-http-types.git from cache (2.55s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.59s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.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.9.0 (3.58s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.63s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.19s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (24.16s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.65s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (0.92s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (1.71s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.73s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.65s)
Computing version for https://github.com/IndiePitcher/indiepitcher-swift.git
Computed https://github.com/IndiePitcher/indiepitcher-swift.git at 1.5.0 (0.72s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.98s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.29.0 (0.61s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.58s)
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.2 (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.56s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.12.0 (0.60s)
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 4.13.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/petrpavlik/MixpanelVapor.git
Working copy of https://github.com/petrpavlik/MixpanelVapor.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/IndiePitcher/indiepitcher-swift.git
Working copy of https://github.com/IndiePitcher/indiepitcher-swift.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/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-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/vapor/sqlite-kit.git
Working copy of https://github.com/vapor/sqlite-kit.git resolved at 4.5.2
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.2
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.2
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.0
Creating working copy for https://github.com/petrpavlik/swift-sentry.git
Working copy of https://github.com/petrpavlik/swift-sentry.git resolved at 1.0.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.34.1
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/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 5.2.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.9.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.14.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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.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.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.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.29.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.117.0
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 5.1.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.4.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.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.29.0
Creating working copy for https://github.com/vapor/sqlite-nio.git
Working copy of https://github.com/vapor/sqlite-nio.git resolved at 1.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/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/vapor/fluent-sqlite-driver.git
Working copy of https://github.com/vapor/fluent-sqlite-driver.git resolved at 4.8.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.1.1
Creating working copy for https://github.com/malcommac/UAParserSwift.git
Working copy of https://github.com/malcommac/UAParserSwift.git resolved at 1.2.1
Building for debugging...
[0/928] Compiling aes.cc
[1/928] Compiling a_dup.cc
[1/928] Write sources
[3/928] Compiling _NumericsShims _NumericsShims.c
[3/928] Write sources
[3/928] Compiling a_i2d_fp.cc
[3/928] Write sources
[11/928] Compiling a_d2i_fp.cc
[12/928] Write sources
[67/928] Compiling _CWASI _CWASI.c
[67/928] Compiling _AtomicsShims.c
[69/928] Compiling sqrt.cc
[70/928] Compiling CSystem shims.c
[71/928] Compiling CVaporBcrypt bcrypt.c
[72/928] Compiling CNIOWindows shim.c
[73/928] Compiling CVaporBcrypt blf.c
[74/928] Compiling CNIOWindows WSAStartup.c
[75/928] Compiling CNIOWASI CNIOWASI.c
[76/928] Compiling a_bitstr.cc
[77/928] Compiling CNIOPosix event_loop_id.c
[78/928] Compiling CNIOLinux liburing_shims.c
[79/928] Compiling CNIOLinux shim.c
[80/928] Compiling CNIOSHA1 c_nio_sha1.c
[81/928] Compiling a_bool.cc
[82/928] Compiling CNIOExtrasZlib empty.c
[83/928] Compiling CNIOLLHTTP c_nio_http.c
[84/928] Write swift-version-24593BA9C3E375BF.txt
[85/928] Compiling CNIODarwin shim.c
[86/928] Compiling a_gentm.cc
[87/928] Compiling CNIOLLHTTP c_nio_api.c
[88/928] Compiling fiat_p256_adx_sqr.S
[89/928] Compiling fiat_p256_adx_mul.S
[90/969] Compiling CNIOBoringSSLShims shims.c
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29863:10: fatal error: 'pthread.h' file not found
 29863 | #include <pthread.h>
       |          ^~~~~~~~~~~
1 error generated.
[91/986] Compiling CSQLite sqlite_nio_sqlite3.c
[92/986] Emitting module _CertificateInternals
[93/986] Emitting module _NIOBase64
[93/986] Compiling CNIOLLHTTP c_nio_llhttp.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/837] Write sources
[6/838] Compiling fiat_curve25519_adx_mul.S
[7/838] Compiling fiat_curve25519_adx_square.S
[8/838] Write swift-version-24593BA9C3E375BF.txt
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.
[9/838] Compiling tls_method.cc
/host/spi-builder-workspace/.build/checkouts/sqlite-nio/Sources/CSQLite/sqlite_nio_sqlite3.c:29863:10: fatal error: 'pthread.h' file not found
 29863 | #include <pthread.h>
       |          ^~~~~~~~~~~
[9/838] Compiling CSQLite sqlite_nio_sqlite3.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[9/838] Compiling tls_record.cc
[9/838] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[9/838] Compiling tls13_enc.cc
[9/838] Compiling CNIOLLHTTP c_nio_llhttp.c
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>
      |          ^~~~~~~~~~~
[9/838] 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>
      |          ^~~~~~~~~~~
[9/838] Compiling tls13_client.cc
BUILD FAILURE 6.1 wasm