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 hummingbird-wallet, reference main (829d26), with Swift 6.1 for Wasm on 30 May 2025 16:43:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-community/hummingbird-wallet.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/hummingbird-community/hummingbird-wallet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 829d263 Update from Hummingbird Project Template (#8)
Cloned https://github.com/hummingbird-community/hummingbird-wallet.git
Revision (git rev-parse @):
829d2630ddb7159416aba12cb8f312d0cbe4a346
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-community/hummingbird-wallet.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hummingbird-community/hummingbird-wallet.git
https://github.com/hummingbird-community/hummingbird-wallet.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "hummingbird",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hummingbird-project/hummingbird.git"
    },
    {
      "identity" : "hummingbird-fluent",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hummingbird-project/hummingbird-fluent.git"
    },
    {
      "identity" : "fluent-wallet",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fpseverino/fluent-wallet.git"
    },
    {
      "identity" : "apnswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server-community/APNSwift.git"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.6.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "swift-zip-archive",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/adam-fowler/swift-zip-archive.git"
    },
    {
      "identity" : "fluent-sqlite-driver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-sqlite-driver.git"
    }
  ],
  "manifest_display_name" : "hummingbird-wallet",
  "name" : "hummingbird-wallet",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "HummingbirdWalletPasses",
      "targets" : [
        "HummingbirdWalletPasses"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HummingbirdWalletOrders",
      "targets" : [
        "HummingbirdWalletOrders"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HummingbirdWalletPassesTests",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdWalletPassesTests",
      "path" : "Tests/HummingbirdWalletPassesTests",
      "product_dependencies" : [
        "FluentSQLiteDriver",
        "HummingbirdTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/HummingbirdWalletPassesTests/SourceFiles",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "HummingbirdWalletPassesTests.swift",
        "Utils/Application+build.swift",
        "Utils/PassData.swift",
        "Utils/PassJSONData.swift"
      ],
      "target_dependencies" : [
        "HummingbirdWalletPasses"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HummingbirdWalletPasses",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdWalletPasses",
      "path" : "Sources/HummingbirdWalletPasses",
      "product_dependencies" : [
        "FluentWalletPasses",
        "ZipArchive"
      ],
      "product_memberships" : [
        "HummingbirdWalletPasses"
      ],
      "sources" : [
        "DTOs/DTOs+ResponseEncodable.swift",
        "Exports.swift",
        "Middleware/ApplePassMiddleware.swift",
        "Middleware/PassesService+AsyncModelMiddleware.swift",
        "PassesService.swift",
        "PassesServiceCustom+addRoutes.swift",
        "PassesServiceCustom.swift"
      ],
      "target_dependencies" : [
        "HummingbirdWallet"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HummingbirdWalletOrdersTests",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdWalletOrdersTests",
      "path" : "Tests/HummingbirdWalletOrdersTests",
      "product_dependencies" : [
        "FluentSQLiteDriver",
        "HummingbirdTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/HummingbirdWalletOrdersTests/SourceFiles",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "HummingbirdWalletOrdersTests.swift",
        "Utils/Application+build.swift",
        "Utils/OrderData.swift",
        "Utils/OrderJSONData.swift"
      ],
      "target_dependencies" : [
        "HummingbirdWalletOrders"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HummingbirdWalletOrders",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdWalletOrders",
      "path" : "Sources/HummingbirdWalletOrders",
      "product_dependencies" : [
        "FluentWalletOrders"
      ],
      "product_memberships" : [
        "HummingbirdWalletOrders"
      ],
      "sources" : [
        "DTOs/OrderIdentifiersDTO+ResponseEncodable.swift",
        "Exports.swift",
        "Middleware/AppleOrderMiddleware.swift",
        "Middleware/OrdersService+AsyncModelMiddleware.swift",
        "OrdersService.swift",
        "OrdersServiceCustom+addRoutes.swift",
        "OrdersServiceCustom.swift"
      ],
      "target_dependencies" : [
        "HummingbirdWallet"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HummingbirdWallet",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdWallet",
      "path" : "Sources/HummingbirdWallet",
      "product_dependencies" : [
        "Hummingbird",
        "HummingbirdFluent",
        "APNS",
        "ServiceLifecycle"
      ],
      "product_memberships" : [
        "HummingbirdWalletPasses",
        "HummingbirdWalletOrders"
      ],
      "sources" : [
        "Array+random.swift",
        "DTOs/DTOs+ResponseEncodable.swift",
        "Testing/TestCertificate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/fpseverino/fluent-wallet.git
Fetching https://github.com/adam-fowler/swift-zip-archive.git
Fetching https://github.com/hummingbird-project/hummingbird-fluent.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/vapor/fluent-sqlite-driver.git
[1/361] Fetching fluent-wallet
[362/1226] Fetching fluent-wallet, hummingbird-fluent
[1227/2573] Fetching fluent-wallet, hummingbird-fluent, fluent-sqlite-driver
[2574/4999] Fetching fluent-wallet, hummingbird-fluent, fluent-sqlite-driver, swift-service-lifecycle
[3327/5715] Fetching fluent-wallet, hummingbird-fluent, fluent-sqlite-driver, swift-service-lifecycle, swift-zip-archive
Fetched https://github.com/hummingbird-project/hummingbird-fluent.git from cache (0.34s)
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/swift-server-community/APNSwift.git
Fetched https://github.com/fpseverino/fluent-wallet.git from cache (0.35s)
Fetched https://github.com/adam-fowler/swift-zip-archive.git from cache (0.35s)
Fetched https://github.com/vapor/fluent-sqlite-driver.git from cache (0.35s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.35s)
[1/5418] Fetching apnswift
[1085/29947] Fetching apnswift, hummingbird
Fetched https://github.com/swift-server-community/APNSwift.git from cache (0.44s)
[6869/24529] Fetching hummingbird
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (0.92s)
Computing version for https://github.com/adam-fowler/swift-zip-archive.git
Computed https://github.com/adam-fowler/swift-zip-archive.git at 0.6.3 (3.19s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.37s)
Computing version for https://github.com/fpseverino/fluent-wallet.git
Computed https://github.com/fpseverino/fluent-wallet.git at 0.1.0 (0.86s)
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/fpseverino/swift-wallet.git
[1/370] Fetching swift-wallet
[371/13698] Fetching swift-wallet, fluent-kit
Fetched https://github.com/fpseverino/swift-wallet.git from cache (0.24s)
[267/13328] Fetching fluent-kit
Fetched https://github.com/vapor/fluent-kit.git from cache (0.47s)
Computing version for https://github.com/hummingbird-project/hummingbird-fluent.git
Computed https://github.com/hummingbird-project/hummingbird-fluent.git at 2.0.0 (0.95s)
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.39s)
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.84s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/sqlite-kit.git
[1/2112] Fetching sqlite-kit
[403/5948] Fetching sqlite-kit, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Fetched https://github.com/vapor/sqlite-kit.git from cache (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.02s)
Computing version for https://github.com/vapor/sqlite-kit.git
Computed https://github.com/vapor/sqlite-kit.git at 4.5.2 (0.45s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/sqlite-nio.git
Fetching https://github.com/vapor/async-kit.git
[1/1517] Fetching sqlite-nio
[2/3887] Fetching sqlite-nio, async-kit
[2372/9870] Fetching sqlite-nio, async-kit, sql-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.36s)
[6014/7500] Fetching sqlite-nio, sql-kit
[7486/83623] Fetching sqlite-nio, sql-kit, swift-nio
Fetched https://github.com/vapor/sqlite-nio.git from cache (2.49s)
Fetched https://github.com/vapor/sql-kit.git from cache (4.17s)
Fetched https://github.com/apple/swift-nio.git from cache (4.25s)
Computing version for https://github.com/swift-server-community/APNSwift.git
Computed https://github.com/swift-server-community/APNSwift.git at 6.1.0 (5.61s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/14014] Fetching async-http-client
[422/25541] Fetching async-http-client, swift-nio-http2
[1865/40384] Fetching async-http-client, swift-nio-http2, swift-nio-ssl
[8112/54320] Fetching async-http-client, swift-nio-http2, swift-nio-ssl, swift-crypto
Fetched https://github.com/swift-server/async-http-client.git from cache (1.88s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.91s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.94s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.95s)
Computing version for https://github.com/fpseverino/swift-wallet.git
Computed https://github.com/fpseverino/swift-wallet.git at 0.4.0 (2.76s)
Fetching https://github.com/apple/swift-certificates.git
[1/6155] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.40s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.59s)
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.60s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.02s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (2.88s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.43s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.94s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.89s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (0.45s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (1.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.21s)
Fetching https://github.com/apple/swift-atomics.git
[1/1717] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.13s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.50s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.74s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.79s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.14.0 (0.55s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2667] Fetching swift-nio-transport-services
[2028/3571] Fetching swift-nio-transport-services, swift-http-types
[2341/5777] Fetching swift-nio-transport-services, swift-http-types, swift-metrics
[4389/10751] Fetching swift-nio-transport-services, swift-http-types, swift-metrics, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.37s)
[8554/9847] Fetching swift-nio-transport-services, swift-metrics, swift-distributed-tracing
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.40s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.49s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.49s)
[1/5923] Fetching swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.38s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.27s)
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.52s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.32s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (1.08s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.56s)
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.46s)
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.64s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (1.39s)
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1141] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.29s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (2.20s)
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 (1.70s)
Computing version for https://github.com/vapor/sqlite-nio.git
Computed https://github.com/vapor/sqlite-nio.git at 1.11.4 (0.53s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.46s)
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-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/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.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/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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-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/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/fpseverino/swift-wallet.git
Working copy of https://github.com/fpseverino/swift-wallet.git resolved at 0.4.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.11.4
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/adam-fowler/swift-zip-archive.git
Working copy of https://github.com/adam-fowler/swift-zip-archive.git resolved at 0.6.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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/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-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-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-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/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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-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/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/swift-server-community/APNSwift.git
Working copy of https://github.com/swift-server-community/APNSwift.git resolved at 6.1.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/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/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/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/hummingbird-project/hummingbird-fluent.git
Working copy of https://github.com/hummingbird-project/hummingbird-fluent.git resolved at 2.0.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.3.2
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/fpseverino/fluent-wallet.git
Working copy of https://github.com/fpseverino/fluent-wallet.git resolved at 0.1.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
Building for debugging...
[0/843] Write sources
[59/843] Compiling CZipZlib empty.c
[60/843] Compiling _NumericsShims _NumericsShims.c
[61/843] Compiling CNIOWASI CNIOWASI.c
[62/843] Compiling CSystem shims.c
[63/843] Compiling CNIOLinux liburing_shims.c
[64/843] Compiling CNIOLLHTTP c_nio_http.c
[65/843] Compiling _AtomicsShims.c
[66/843] Compiling CNIOLinux shim.c
[67/843] Compiling CNIOWindows WSAStartup.c
[68/843] Compiling CNIOWindows shim.c
[69/843] Compiling CNIODarwin shim.c
[70/843] Compiling CNIOExtrasZlib empty.c
[71/843] Compiling CNIOLLHTTP c_nio_api.c
[72/843] Compiling fiat_p256_adx_sqr.S
[73/843] Write swift-version-24593BA9C3E375BF.txt
[74/843] Compiling fiat_curve25519_adx_square.S
[75/843] Compiling fiat_curve25519_adx_mul.S
[75/843] Compiling fiat_p256_adx_mul.S
[77/849] Compiling CNIOBoringSSLShims shims.c
[79/879] Emitting module _CertificateInternals
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/879] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
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.
[80/882] Compiling tls_method.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>
      |          ^~~~~~~~~~~
[80/882] Compiling tls_record.cc
[80/882] 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>
      |          ^~~~~~~~~~~
[80/882] Compiling tls13_server.cc
[81/882] Emitting module _NIOBase64
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/766] Compiling tls_method.cc
[0/766] Compiling tls_record.cc
[0/766] Compiling CNIOLLHTTP c_nio_llhttp.c
[0/766] Compiling tls13_client.cc
[0/766] Compiling t1_enc.cc
[0/766] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[0/766] Compiling tls13_both.cc
[0/766] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm