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 VaporFluentDriver, reference 2.3.2 (a6aba2), with Swift 6.1 for Wasm on 27 May 2025 19:44:40 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/SwifQL/VaporFluentDriver.git
Reference: 2.3.2
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/SwifQL/VaporFluentDriver
 * tag               2.3.2      -> FETCH_HEAD
HEAD is now at a6aba29 Update README.md
Cloned https://github.com/SwifQL/VaporFluentDriver.git
Revision (git rev-parse @):
a6aba29b01ace41e6a0e9b7c98e150b4bd5e41f7
SUCCESS checkout https://github.com/SwifQL/VaporFluentDriver.git at 2.3.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwifQL/VaporFluentDriver.git
https://github.com/SwifQL/VaporFluentDriver.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swifql",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MihaelIsaev/SwifQL.git"
    },
    {
      "identity" : "swifqlnio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MihaelIsaev/SwifQLNIO.git"
    },
    {
      "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" : "fluent-mysql-driver",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/fluent-mysql-driver.git"
    }
  ],
  "manifest_display_name" : "VaporFluentDriver",
  "name" : "VaporFluentDriver",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "VaporFluentDriver",
      "targets" : [
        "VaporFluentDriver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VaporFluentDriver",
      "module_type" : "SwiftTarget",
      "name" : "VaporFluentDriver",
      "path" : "Sources/VaporFluentDriver",
      "product_dependencies" : [
        "SwifQL",
        "SwifQLNIO",
        "Fluent",
        "FluentPostgresDriver",
        "Vapor"
      ],
      "product_memberships" : [
        "VaporFluentDriver"
      ],
      "sources" : [
        "Exports.swift",
        "KeyPath.swift",
        "Rows+Decoder.swift",
        "SwifQLable+Execute.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwifQLVaporTests",
      "module_type" : "SwiftTarget",
      "name" : "SwifQLVaporTests",
      "path" : "Tests/SwifQLVaporTests",
      "sources" : [
        "SwifQLVaporTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "VaporFluentDriver"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.2"
}
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/MihaelIsaev/SwifQLNIO.git
Fetching https://github.com/vapor/fluent-mysql-driver.git
Fetching https://github.com/vapor/fluent-postgres-driver.git
Fetching https://github.com/vapor/fluent.git
[1/2659] Fetching fluent-postgres-driver
[1198/2762] Fetching fluent-postgres-driver, swifqlnio
[2763/16183] Fetching fluent-postgres-driver, swifqlnio, fluent
[2898/18957] Fetching fluent-postgres-driver, swifqlnio, fluent, fluent-mysql-driver
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/MihaelIsaev/SwifQLNIO.git from cache (0.49s)
[8035/18854] Fetching fluent-postgres-driver, fluent, fluent-mysql-driver
Fetched https://github.com/vapor/fluent-mysql-driver.git from cache (0.62s)
[8028/16080] Fetching fluent-postgres-driver, fluent
[16081/90458] Fetching fluent-postgres-driver, fluent, vapor
Fetched https://github.com/vapor/fluent-postgres-driver.git from cache (1.13s)
Fetching https://github.com/MihaelIsaev/SwifQL.git
Fetched https://github.com/vapor/fluent.git from cache (1.13s)
[4463/74378] Fetching vapor
[14133/76744] Fetching vapor, swifql
Fetched https://github.com/MihaelIsaev/SwifQL.git from cache (0.54s)
[14876/74378] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (3.56s)
Computing version for https://github.com/MihaelIsaev/SwifQLNIO.git
Computed https://github.com/MihaelIsaev/SwifQLNIO.git at 2.2.0 (4.96s)
Fetching https://github.com/apple/swift-nio.git
[1/76055] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (30.38s)
Computing version for https://github.com/MihaelIsaev/SwifQL.git
Computed https://github.com/MihaelIsaev/SwifQL.git at 1.6.0 (32.96s)
Computing version for https://github.com/vapor/fluent-mysql-driver.git
Computed https://github.com/vapor/fluent-mysql-driver.git at 4.7.1 (0.78s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/vapor/fluent-kit.git
Fetching https://github.com/vapor/mysql-kit.git
[1/5151] Fetching mysql-kit
[4277/8987] Fetching mysql-kit, swift-log
[4276/5151] Fetching mysql-kit
[4380/8987] Fetching mysql-kit, swift-log
[6789/22315] Fetching mysql-kit, swift-log, fluent-kit
Fetched https://github.com/vapor/mysql-kit.git from cache (1.52s)
Fetched https://github.com/apple/swift-log.git from cache (1.52s)
Fetched https://github.com/vapor/fluent-kit.git from cache (1.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.53s)
Computing version for https://github.com/vapor/mysql-kit.git
Computed https://github.com/vapor/mysql-kit.git at 4.10.0 (0.85s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/vapor/sql-kit.git
Fetching https://github.com/vapor/async-kit.git
Fetching https://github.com/vapor/mysql-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2217] Fetching mysql-nio
[46/4587] Fetching mysql-nio, async-kit
[3857/10570] Fetching mysql-nio, async-kit, sql-kit
[6399/24506] Fetching mysql-nio, async-kit, sql-kit, swift-crypto
[11408/39349] Fetching mysql-nio, async-kit, sql-kit, swift-crypto, swift-nio-ssl
Fetched https://github.com/vapor/sql-kit.git from cache (0.72s)
[8172/33366] Fetching mysql-nio, async-kit, swift-crypto, swift-nio-ssl
Fetched https://github.com/vapor/mysql-nio.git from cache (3.32s)
Fetched https://github.com/vapor/async-kit.git from cache (3.32s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.37s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.37s)
Computing version for https://github.com/vapor/sql-kit.git
Computed https://github.com/vapor/sql-kit.git at 3.33.0 (4.24s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.22s)
Computing version for https://github.com/vapor/mysql-nio.git
Computed https://github.com/vapor/mysql-nio.git at 1.7.2 (4.14s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.93s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.63s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.32s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4391] Fetching swift-system
[792/6101] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
Fetched https://github.com/apple/swift-system.git from cache (0.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.61s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.83s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.51s)
Computing version for https://github.com/vapor/fluent-kit.git
Computed https://github.com/vapor/fluent-kit.git at 1.52.2 (0.95s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.98s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.20s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 4.12.0 (0.90s)
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.96s)
Fetching https://github.com/vapor/postgres-kit.git
[1/5355] Fetching postgres-kit
Fetched https://github.com/vapor/postgres-kit.git from cache (0.64s)
Computing version for https://github.com/vapor/postgres-kit.git
Computed https://github.com/vapor/postgres-kit.git at 2.14.0 (1.62s)
Fetching https://github.com/vapor/postgres-nio.git
[1/12271] Fetching postgres-nio
Fetched https://github.com/vapor/postgres-nio.git from cache (0.99s)
Computing version for https://github.com/vapor/postgres-nio.git
Computed https://github.com/vapor/postgres-nio.git at 1.26.1 (1.90s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-metrics.git
[1/2426] Fetching swift-service-lifecycle
[729/4632] Fetching swift-service-lifecycle, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.72s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.73s)
[1/2667] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.47s)
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 (2.03s)
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.52s)
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.53s)
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 (1.22s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.86s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.67s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.33s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (1.06s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/websocket-kit.git
[1/1063] Fetching swift-service-context
[374/3672] Fetching swift-service-context, websocket-kit
[2101/8646] Fetching swift-service-context, websocket-kit, swift-distributed-tracing
[5066/14560] Fetching swift-service-context, websocket-kit, swift-distributed-tracing, swift-nio-extras
[5570/17879] Fetching swift-service-context, websocket-kit, swift-distributed-tracing, swift-nio-extras, multipart-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (0.57s)
[7404/15270] Fetching swift-service-context, swift-distributed-tracing, swift-nio-extras, multipart-kit
[7981/26797] Fetching swift-service-context, swift-distributed-tracing, swift-nio-extras, multipart-kit, swift-nio-http2
Fetching https://github.com/vapor/routing-kit.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.95s)
Fetching https://github.com/vapor/console-kit.git
[10725/21823] Fetching swift-service-context, swift-nio-extras, multipart-kit, swift-nio-http2
[10726/42550] Fetching swift-service-context, swift-nio-extras, multipart-kit, swift-nio-http2, routing-kit
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.07s)
[5871/36636] Fetching swift-service-context, multipart-kit, swift-nio-http2, routing-kit
Fetching https://github.com/swift-server/async-http-client.git
[23429/42213] Fetching swift-service-context, multipart-kit, swift-nio-http2, routing-kit, console-kit
[31081/56227] Fetching swift-service-context, multipart-kit, swift-nio-http2, routing-kit, console-kit, async-http-client
Fetched https://github.com/vapor/console-kit.git from cache (0.86s)
[33174/50650] Fetching swift-service-context, multipart-kit, swift-nio-http2, routing-kit, async-http-client
Fetched https://github.com/apple/swift-service-context.git from cache (3.67s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.65s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.75s)
Fetched https://github.com/vapor/routing-kit.git from cache (3.14s)
Fetched https://github.com/vapor/multipart-kit.git from cache (3.96s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (4.80s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.82s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.81s)
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.93s)
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.36s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1141] Fetching swift-http-structured-headers
[1142/2045] Fetching swift-http-structured-headers, swift-http-types
[2046/8200] Fetching swift-http-structured-headers, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.47s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.47s)
[1478/6155] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.74s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (1.68s)
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.80s)
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.83s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.81s)
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.65s)
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.88s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.91s)
Creating working copy for https://github.com/vapor/fluent-mysql-driver.git
Working copy of https://github.com/vapor/fluent-mysql-driver.git resolved at 4.7.1
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-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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-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/mysql-kit.git
Working copy of https://github.com/vapor/mysql-kit.git resolved at 4.10.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.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/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/MihaelIsaev/SwifQLNIO.git
Working copy of https://github.com/MihaelIsaev/SwifQLNIO.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-nio.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-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/MihaelIsaev/SwifQL.git
Working copy of https://github.com/MihaelIsaev/SwifQL.git resolved at 1.6.0
Creating working copy for https://github.com/vapor/mysql-nio.git
Working copy of https://github.com/vapor/mysql-nio.git resolved at 1.7.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-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/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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-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-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/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-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/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/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/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/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/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
warning: 'spi-builder-workspace': dependency 'fluent-mysql-driver' is not used by any target
Building for debugging...
[0/847] Write sources
[61/847] Compiling _NumericsShims _NumericsShims.c
[62/847] Compiling CNIOWindows WSAStartup.c
[63/847] Compiling CNIOWindows shim.c
[63/847] Compiling CSystem shims.c
[65/847] Compiling _AtomicsShims.c
[66/847] Compiling CNIOWASI CNIOWASI.c
[67/847] Compiling CVaporBcrypt bcrypt.c
[68/847] Compiling CVaporBcrypt blf.c
[69/847] Write swift-version-24593BA9C3E375BF.txt
[70/847] Compiling CNIOSHA1 c_nio_sha1.c
[71/847] Compiling CNIOLinux shim.c
[72/847] Compiling CNIOLinux liburing_shims.c
[73/847] Compiling CNIODarwin shim.c
[74/847] Compiling CNIOLLHTTP c_nio_http.c
[75/847] Compiling CNIOExtrasZlib empty.c
[76/847] Compiling CNIOLLHTTP c_nio_api.c
[78/975] Emitting module _NIOBase64
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/975] 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)
[79/978] Compiling CNIOLLHTTP c_nio_llhttp.c
[81/983] Compiling SwifQL Operators.swift
[82/983] Compiling SwifQL PostgresArray.swift
[83/983] Compiling SwifQL PostgresJsonObject.swift
[84/983] Compiling SwifQL Predicates.swift
[85/983] Compiling RealModule Real.swift
[86/984] Compiling RealModule Float80+Real.swift
[87/984] Compiling Logging Locks.swift
[88/984] Emitting module Logging
[89/984] Compiling _NIOBase64 Base64.swift
[92/985] Compiling _NIODataStructures PriorityQueue.swift
[93/985] Compiling _NIODataStructures _TinyArray.swift
[94/985] Compiling SystemPackage Util+StringArray.swift
[95/985] Compiling SystemPackage Util.swift
[96/985] Compiling SystemPackage UtilConsumers.swift
[97/985] Emitting module RealModule
[98/985] Compiling ServiceContextModule ServiceContextKey.swift
[99/985] Compiling SwifQL Protocols.swift
[100/985] Compiling SwifQL StringExtensions.swift
[101/985] Compiling SwifQL SwifQL.swift
[102/985] Compiling SwifQL SwifQLJoinBuilder.swift
[103/985] Emitting module ServiceContextModule
[104/985] Compiling ServiceContextModule ServiceContext.swift
[105/985] Compiling SwifQL SwifQLable+Between.swift
/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)
[106/985] Compiling SwifQL SwifQLable+Conflict.swift
/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)
[107/985] Compiling SwifQL SwifQLable+Constraint.swift
/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)
[108/985] Compiling SwifQL SwifQLable+Delete.swift
/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)
[109/986] Compiling SwifQL SwifQLSelectBuilder.swift
[110/986] Compiling SwifQL SwifQLTableAlias.swift
[120/988] Compiling SwifQL SwifQLable+Alter.swift
[121/988] Compiling SwifQL SwifQLable+And.swift
[122/988] Emitting module SwifQL
[123/988] Compiling RealModule ElementaryFunctions.swift
[126/988] Compiling RealModule Float+Real.swift
[127/988] Compiling RealModule Float16+Real.swift
[128/996] Compiling RealModule RealFunctions.swift
[132/1020] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[133/1020] Compiling InternalCollectionsUtilities Debugging.swift
[134/1021] Compiling InternalCollectionsUtilities Descriptions.swift
[135/1021] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[136/1021] Emitting module Instrumentation
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
 36 | import Musl
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
[137/1021] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[138/1021] Emitting module _NIODataStructures
[139/1021] Compiling _NIODataStructures Heap.swift
[140/1021] Compiling Logging MetadataProvider.swift
[141/1022] Compiling Instrumentation NoOpInstrument.swift
[142/1022] Compiling SwiftASN1 DER.swift
[143/1022] Compiling SwiftASN1 Errors.swift
[144/1022] Compiling SwifQL CaseWhen.swift
[145/1022] Compiling SwifQL FluentKitFieldable.swift
/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)
/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:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[146/1022] Compiling SwifQL FormattedKeyPath.swift
/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)
/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:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[147/1022] Compiling SwifQL Functions.swift
/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)
/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:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[148/1022] Compiling SwifQL KeyPath.swift
/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)
/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:252:10: error: cannot find 'umask' in scope
250 |   _ mode: CInterop.Mode
251 | ) -> CInterop.Mode {
252 |   return umask(mode)
    |          `- error: cannot find 'umask' in scope
253 | }
254 |
[149/1022] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
 54 |         UnsafeMutablePointer.allocate(capacity: 1)
 55 |     #else
 56 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 57 |         UnsafeMutablePointer.allocate(capacity: 1)
 58 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
 63 |         InitializeSRWLock(self.mutex)
 64 |         #else
 65 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
 64 |         #else
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
 65 |         var attr = pthread_mutexattr_t()
 66 |         pthread_mutexattr_init(&attr)
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
 67 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 68 |
 69 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 70 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 71 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
 76 |         // SRWLOCK does not need to be free'd
 77 |         #else
 78 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 79 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 80 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
 90 |         AcquireSRWLockExclusive(self.mutex)
 91 |         #else
 92 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 93 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 94 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 |         ReleaseSRWLockExclusive(self.mutex)
104 |         #else
105 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
106 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 |         #endif
177 |         self.rwlock.deallocate()
    |              `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 |     }
179 |
[150/1022] Compiling SwifQL CastType.swift
[151/1022] Compiling SwifQL Column.swift
[152/1022] Compiling SwifQL Distinct.swift
[153/1022] Compiling SwifQL ExtractFieldValue.swift
[154/1022] Compiling Instrumentation Instrument.swift
[155/1022] Compiling Instrumentation InstrumentationSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
[156/1022] Compiling Instrumentation Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:38:8: error: Unsupported runtime
 36 | import Musl
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:48:46: error: cannot find type 'pthread_rwlock_t' in scope
 46 | @_spi(Locking)  // Use the `package` access modifier once min Swift version is increased.
 47 | public final class ReadWriteLock {
 48 |     private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                              `- error: cannot find type 'pthread_rwlock_t' in scope
 49 |
 50 |     /// Create a new lock.
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:19: error: cannot find 'pthread_rwlock_init' in scope
 50 |     /// Create a new lock.
 51 |     public init() {
 52 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
 53 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:52:52: error: 'nil' requires a contextual type
 50 |     /// Create a new lock.
 51 |     public init() {
 52 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
 53 |         precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
 54 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:57:19: error: cannot find 'pthread_rwlock_destroy' in scope
 55 |
 56 |     deinit {
 57 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
 58 |         precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
 59 |         self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:67:19: error: cannot find 'pthread_rwlock_rdlock' in scope
 65 |     /// `unlock`, to simplify lock handling.
 66 |     public func lockRead() {
 67 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
 68 |         precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
 69 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:76:19: error: cannot find 'pthread_rwlock_wrlock' in scope
 74 |     /// `unlock`, to simplify lock handling.
 75 |     public func lockWrite() {
 76 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
 77 |         precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
 78 |     }
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/Locks.swift:85:19: error: cannot find 'pthread_rwlock_unlock' in scope
 83 |     /// `lock`, to simplify lock handling.
 84 |     public func unlock() {
 85 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
 86 |         precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
 87 |     }
[157/1022] Compiling Instrumentation MultiplexInstrument.swift
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: 'spi-builder-workspace': dependency 'fluent-mysql-driver' is not used by any target
[0/1] Planning build
Building for debugging...
[0/769] Write sources
[1/770] Compiling fiat_p256_adx_mul.S
[2/770] Compiling fiat_curve25519_adx_square.S
[3/770] Compiling md5-x86_64-linux.S
[4/770] Compiling fiat_curve25519_adx_mul.S
[5/770] Compiling fiat_p256_adx_sqr.S
[6/770] Compiling md5-x86_64-apple.S
[7/770] Compiling md5-586-linux.S
[8/770] Compiling fiat_p256_adx_sqr.S
[9/770] Compiling fiat_p256_adx_mul.S
[10/770] Compiling fiat_curve25519_adx_square.S
[11/770] Compiling fiat_curve25519_adx_mul.S
[12/770] Write swift-version-24593BA9C3E375BF.txt
[13/770] Compiling CCryptoBoringSSLShims shims.c
[14/774] Compiling CNIOBoringSSLShims shims.c
[16/774] Compiling _NIODataStructures _TinyArray.swift
[17/775] Compiling _NIODataStructures PriorityQueue.swift
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[17/776] Compiling tls_record.cc
[17/776] Compiling tls13_both.cc
[17/776] Compiling tls13_enc.cc
[17/776] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[17/776] Compiling tls_method.cc
[17/776] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm