The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Imperial, reference main (e1ecc8), with Swift 6.1 for Wasm on 11 Oct 2025 04:44:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/vapor-community/imperial.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/vapor-community/imperial
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e1ecc85 ImperialLinkedIn (#123)
Cloned https://github.com/vapor-community/imperial.git
Revision (git rev-parse @):
e1ecc8529dbf470c237f0ccfaa803b712a964cd0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vapor-community/imperial.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor-community/imperial.git
https://github.com/vapor-community/imperial.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Found unhandled resource at /host/spi-builder-workspace/.env.testing
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.117.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "jwt-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/jwt-kit.git"
    }
  ],
  "manifest_display_name" : "Imperial",
  "name" : "Imperial",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "ImperialCore",
      "targets" : [
        "ImperialCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialAuth0",
      "targets" : [
        "ImperialCore",
        "ImperialAuth0"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialDeviantArt",
      "targets" : [
        "ImperialCore",
        "ImperialDeviantArt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialDiscord",
      "targets" : [
        "ImperialCore",
        "ImperialDiscord"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialDropbox",
      "targets" : [
        "ImperialCore",
        "ImperialDropbox"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialFacebook",
      "targets" : [
        "ImperialCore",
        "ImperialFacebook"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialGitHub",
      "targets" : [
        "ImperialCore",
        "ImperialGitHub"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialGitlab",
      "targets" : [
        "ImperialCore",
        "ImperialGitlab"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialGoogle",
      "targets" : [
        "ImperialCore",
        "ImperialGoogle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialImgur",
      "targets" : [
        "ImperialCore",
        "ImperialImgur"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialKeycloak",
      "targets" : [
        "ImperialCore",
        "ImperialKeycloak"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialMicrosoft",
      "targets" : [
        "ImperialCore",
        "ImperialMicrosoft"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialMixcloud",
      "targets" : [
        "ImperialCore",
        "ImperialMixcloud"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialShopify",
      "targets" : [
        "ImperialCore",
        "ImperialShopify"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImperialLinkedIn",
      "targets" : [
        "ImperialCore",
        "ImperialLinkedIn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Imperial",
      "targets" : [
        "ImperialCore",
        "ImperialAuth0",
        "ImperialDeviantArt",
        "ImperialDiscord",
        "ImperialDropbox",
        "ImperialFacebook",
        "ImperialGitHub",
        "ImperialGitlab",
        "ImperialGoogle",
        "ImperialImgur",
        "ImperialKeycloak",
        "ImperialMicrosoft",
        "ImperialMixcloud",
        "ImperialShopify",
        "ImperialLinkedIn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImperialTests",
      "module_type" : "SwiftTarget",
      "name" : "ImperialTests",
      "path" : "Tests/ImperialTests",
      "product_dependencies" : [
        "VaporTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/.env.testing",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ImperialTests.swift",
        "ShopifyTests.swift",
        "withApp.swift"
      ],
      "target_dependencies" : [
        "ImperialCore",
        "ImperialAuth0",
        "ImperialDeviantArt",
        "ImperialDiscord",
        "ImperialDropbox",
        "ImperialFacebook",
        "ImperialGitHub",
        "ImperialGitlab",
        "ImperialGoogle",
        "ImperialImgur",
        "ImperialKeycloak",
        "ImperialMicrosoft",
        "ImperialMixcloud",
        "ImperialShopify",
        "ImperialLinkedIn"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ImperialShopify",
      "module_type" : "SwiftTarget",
      "name" : "ImperialShopify",
      "path" : "Sources/ImperialShopify",
      "product_memberships" : [
        "ImperialShopify",
        "Imperial"
      ],
      "sources" : [
        "Session+Shopify.swift",
        "Shopify.swift",
        "ShopifyAuth.swift",
        "ShopifyCallbackBody.swift",
        "ShopifyRouter.swift",
        "URL+Shopify.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialMixcloud",
      "module_type" : "SwiftTarget",
      "name" : "ImperialMixcloud",
      "path" : "Sources/ImperialMixcloud",
      "product_memberships" : [
        "ImperialMixcloud",
        "Imperial"
      ],
      "sources" : [
        "Mixcloud.swift",
        "MixcloudAuth.swift",
        "MixcloudCallbackBody.swift",
        "MixcloudRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialMicrosoft",
      "module_type" : "SwiftTarget",
      "name" : "ImperialMicrosoft",
      "path" : "Sources/ImperialMicrosoft",
      "product_memberships" : [
        "ImperialMicrosoft",
        "Imperial"
      ],
      "sources" : [
        "Microsoft.swift",
        "MicrosoftAuth.swift",
        "MicrosoftCallbackBody.swift",
        "MicrosoftRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialLinkedIn",
      "module_type" : "SwiftTarget",
      "name" : "ImperialLinkedIn",
      "path" : "Sources/ImperialLinkedIn",
      "product_memberships" : [
        "ImperialLinkedIn",
        "Imperial"
      ],
      "sources" : [
        "LinkedIn.swift",
        "LinkedInAuth.swift",
        "LinkedInCallbackBody.swift",
        "LinkedInRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialKeycloak",
      "module_type" : "SwiftTarget",
      "name" : "ImperialKeycloak",
      "path" : "Sources/ImperialKeycloak",
      "product_memberships" : [
        "ImperialKeycloak",
        "Imperial"
      ],
      "sources" : [
        "Keycloak.swift",
        "KeycloakAuth.swift",
        "KeycloakCallbackBody.swift",
        "KeycloakRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialImgur",
      "module_type" : "SwiftTarget",
      "name" : "ImperialImgur",
      "path" : "Sources/ImperialImgur",
      "product_memberships" : [
        "ImperialImgur",
        "Imperial"
      ],
      "sources" : [
        "Imgur.swift",
        "ImgurAuth.swift",
        "ImgurCallbackBody.swift",
        "ImgurRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialGoogle",
      "module_type" : "SwiftTarget",
      "name" : "ImperialGoogle",
      "path" : "Sources/ImperialGoogle",
      "product_memberships" : [
        "ImperialGoogle",
        "Imperial"
      ],
      "sources" : [
        "JWT/GoogleJWT.swift",
        "JWT/GoogleJWTAuth.swift",
        "JWT/GoogleJWTPayload.swift",
        "JWT/GoogleJWTResponse.swift",
        "JWT/GoogleJWTRouter.swift",
        "Standard/Google.swift",
        "Standard/GoogleAuth.swift",
        "Standard/GoogleCallbackBody.swift",
        "Standard/GoogleRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialGitlab",
      "module_type" : "SwiftTarget",
      "name" : "ImperialGitlab",
      "path" : "Sources/ImperialGitlab",
      "product_memberships" : [
        "ImperialGitlab",
        "Imperial"
      ],
      "sources" : [
        "Gitlab.swift",
        "GitlabAuth.swift",
        "GitlabCallbackBody.swift",
        "GitlabRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialGitHub",
      "module_type" : "SwiftTarget",
      "name" : "ImperialGitHub",
      "path" : "Sources/ImperialGitHub",
      "product_memberships" : [
        "ImperialGitHub",
        "Imperial"
      ],
      "sources" : [
        "GitHub.swift",
        "GitHubAuth.swift",
        "GitHubCallbackBody.swift",
        "GitHubRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialFacebook",
      "module_type" : "SwiftTarget",
      "name" : "ImperialFacebook",
      "path" : "Sources/ImperialFacebook",
      "product_memberships" : [
        "ImperialFacebook",
        "Imperial"
      ],
      "sources" : [
        "Facebook.swift",
        "FacebookAuth.swift",
        "FacebookCallbackBody.swift",
        "FacebookRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialDropbox",
      "module_type" : "SwiftTarget",
      "name" : "ImperialDropbox",
      "path" : "Sources/ImperialDropbox",
      "product_memberships" : [
        "ImperialDropbox",
        "Imperial"
      ],
      "sources" : [
        "Dropbox.swift",
        "DropboxAuth.swift",
        "DropboxCallbackBody.swift",
        "DropboxRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialDiscord",
      "module_type" : "SwiftTarget",
      "name" : "ImperialDiscord",
      "path" : "Sources/ImperialDiscord",
      "product_memberships" : [
        "ImperialDiscord",
        "Imperial"
      ],
      "sources" : [
        "Discord.swift",
        "DiscordAuth.swift",
        "DiscordCallbackBody.swift",
        "DiscordRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialDeviantArt",
      "module_type" : "SwiftTarget",
      "name" : "ImperialDeviantArt",
      "path" : "Sources/ImperialDeviantArt",
      "product_memberships" : [
        "ImperialDeviantArt",
        "Imperial"
      ],
      "sources" : [
        "DeviantArt.swift",
        "DeviantArtAuth.swift",
        "DeviantArtCallbackBody.swift",
        "DeviantArtRouter.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialCore",
      "module_type" : "SwiftTarget",
      "name" : "ImperialCore",
      "path" : "Sources/ImperialCore",
      "product_dependencies" : [
        "Vapor",
        "JWTKit"
      ],
      "product_memberships" : [
        "ImperialCore",
        "ImperialAuth0",
        "ImperialDeviantArt",
        "ImperialDiscord",
        "ImperialDropbox",
        "ImperialFacebook",
        "ImperialGitHub",
        "ImperialGitlab",
        "ImperialGoogle",
        "ImperialImgur",
        "ImperialKeycloak",
        "ImperialMicrosoft",
        "ImperialMixcloud",
        "ImperialShopify",
        "ImperialLinkedIn",
        "Imperial"
      ],
      "sources" : [
        "FederatedService.swift",
        "FederatedServiceRouter.swift",
        "FederatedServiceTokens.swift",
        "ImperialError.swift",
        "Middleware/ImperialMiddleware.swift",
        "RoutesBuilder+oAuth.swift",
        "Sessions+Imperial.swift",
        "String+pathSegments.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ImperialAuth0",
      "module_type" : "SwiftTarget",
      "name" : "ImperialAuth0",
      "path" : "Sources/ImperialAuth0",
      "product_memberships" : [
        "ImperialAuth0",
        "Imperial"
      ],
      "sources" : [
        "Auth0.swift",
        "Auth0Auth.swift",
        "Auth0CallbackBody.swift",
        "Auth0Router.swift"
      ],
      "target_dependencies" : [
        "ImperialCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 -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:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/vapor/vapor.git
[1/75488] Fetching vapor
[5286/84691] Fetching vapor, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git from cache (1.97s)
Fetched https://github.com/vapor/vapor.git from cache (2.00s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 5.2.0 (2.49s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-certificates.git
[1/3933] Fetching swift-log
[2361/10584] Fetching swift-log, swift-certificates
[10585/27791] Fetching swift-log, swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.37s)
[6824/23858] Fetching swift-certificates, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (0.46s)
[1033/17207] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.99s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.117.0 (4.20s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-service-context.git
[1/1117] Fetching swift-service-context
[1118/4622] Fetching swift-service-context, multipart-kit
[2205/6436] Fetching swift-service-context, multipart-kit, swift-atomics
[2568/11881] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing
[3331/17868] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-algorithms
[3802/20477] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-algorithms, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (0.48s)
[15450/17868] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-algorithms
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.73s)
Fetching https://github.com/apple/swift-nio-extras.git
[9464/14238] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.43s)
Fetching https://github.com/apple/swift-nio-http2.git
[9464/18051] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.48s)
Fetching https://github.com/apple/swift-nio-ssl.git
[9464/23581] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-nio-http2
[23582/38712] Fetching swift-service-context, multipart-kit, swift-atomics, swift-distributed-tracing, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (1.83s)
Fetched https://github.com/apple/swift-service-context.git from cache (1.83s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.84s)
Fetching https://github.com/vapor/routing-kit.git
[18080/30336] Fetching multipart-kit, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/vapor/multipart-kit.git from cache (1.89s)
[15332/26831] Fetching swift-nio-http2, swift-nio-ssl
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.11s)
[7415/15131] Fetching swift-nio-ssl
Fetching https://github.com/swift-server/async-http-client.git
[8172/36293] Fetching swift-nio-ssl, routing-kit
[8989/38732] Fetching swift-nio-ssl, routing-kit, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.38s)
[24740/36293] Fetching swift-nio-ssl, routing-kit
[26829/50644] Fetching swift-nio-ssl, routing-kit, async-http-client
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/routing-kit.git from cache (1.88s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.77s)
[1/6333] Fetching console-kit
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.99s)
Fetched https://github.com/vapor/console-kit.git from cache (0.58s)
[1/79134] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (11.38s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.74s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.74s)
Fetching https://github.com/apple/swift-numerics.git
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.92s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.48s)
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.33s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.77s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.60s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.51s)
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.52s)
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/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
[1/1190] Fetching swift-http-structured-headers
[2/3715] Fetching swift-http-structured-headers, swift-service-lifecycle
[53/4654] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[2848/10204] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms
[4168/11849] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-async-algorithms, swift-asn1
Fetched https://github.com/apple/swift-http-types.git from cache (0.28s)
[5959/10910] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.37s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.39s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.39s)
Fetched https://github.com/apple/swift-async-algorithms.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.9.0 (0.93s)
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.54s)
Fetching https://github.com/apple/swift-collections.git
[1/18181] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (2.40s)
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.96s)
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.92s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (1.18s)
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.04s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.88s)
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.93s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (4.36s)
Fetching https://github.com/apple/swift-system.git
[1/5049] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (3.17s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (5.08s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.20s)
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.97s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.16s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.2 (1.09s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (1.22s)
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/apple/swift-http-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/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/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/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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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/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/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/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/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/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/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/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/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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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/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/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/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-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/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/apple/swift-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.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
Found unhandled resource at /host/spi-builder-workspace/.env.testing
Building for debugging...
[0/859] Write sources
[2/859] Write swift-version-24593BA9C3E375BF.txt
[2/859] Write sources
[22/859] Compiling _CWASI _CWASI.c
[22/859] Write sources
[67/859] Compiling _NumericsShims _NumericsShims.c
[68/859] Compiling _AtomicsShims.c
[69/859] Compiling CVaporBcrypt blf.c
[71/919] Emitting module InternalCollectionsUtilities
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[72/921] Compiling ServiceContextModule ServiceContextKey.swift
[73/921] Compiling _NIOBase64 Base64.swift
[74/921] Emitting module _NIOBase64
[75/921] Emitting module Logging
[76/922] Compiling _NIODataStructures PriorityQueue.swift
[77/922] Compiling _NIODataStructures _TinyArray.swift
[78/922] Compiling Logging Locks.swift
[79/922] Compiling RealModule Float80+Real.swift
[80/922] Compiling RealModule Real.swift
[81/922] Compiling RealModule RealFunctions.swift
[82/922] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[83/922] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[85/923] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[86/923] Compiling InternalCollectionsUtilities LifetimeOverride.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[87/923] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[88/923] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[90/925] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[91/925] Compiling InternalCollectionsUtilities Integer rank.swift
[92/925] Emitting module RealModule
[93/925] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[94/925] Compiling InternalCollectionsUtilities UInt+reversed.swift
[95/925] Emitting module ServiceContextModule
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[99/925] Compiling ServiceContextModule ServiceContext.swift
[103/926] Compiling InternalCollectionsUtilities _SortedCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[104/926] Compiling InternalCollectionsUtilities _UniqueCollection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[105/926] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[106/926] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[107/926] Compiling InternalCollectionsUtilities Debugging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[108/926] Compiling InternalCollectionsUtilities Descriptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[109/926] Compiling _CertificateInternals _TinyArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[111/926] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[112/926] Emitting module _CertificateInternals
[113/928] Compiling RealModule Float16+Real.swift
[122/928] Compiling RealModule RelaxedArithmetic.swift
[123/929] Compiling CVaporBcrypt bcrypt.c
[124/929] Compiling CNIOWindows shim.c
[125/929] Compiling CSystem shims.c
[128/938] Emitting module SwiftASN1
[129/942] 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 |
[130/946] Compiling Instrumentation NoOpInstrument.swift
[131/946] Emitting module Instrumentation
[132/946] Compiling Instrumentation InstrumentationSystem.swift
[133/946] Compiling Instrumentation Locks.swift
[134/946] Compiling Instrumentation Instrument.swift
[135/946] Compiling Instrumentation MultiplexInstrument.swift
[136/1093] Emitting module _NIODataStructures
[137/1093] Compiling _NIODataStructures Heap.swift
[139/1094] Compiling Logging MetadataProvider.swift
[140/1094] Compiling SystemPackage FilePathTempPosix.swift
[141/1094] Compiling SystemPackage FilePathTempWindows.swift
[142/1094] Compiling SystemPackage FilePathParsing.swift
[143/1094] Compiling SystemPackage FilePathString.swift
[144/1094] Compiling SystemPackage FilePathComponentView.swift
[145/1094] Compiling SystemPackage FilePathComponents.swift
[146/1094] Compiling SystemPackage FilePathSyntax.swift
[147/1094] Compiling SystemPackage FilePathTemp.swift
[148/1094] Compiling Logging Logging.swift
[149/1094] Compiling Logging LogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[150/1095] Emitting module CoreMetrics
/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
[153/1116] Compiling SystemPackage Syscalls.swift
[154/1116] Compiling SystemPackage WindowsSyscallAdapters.swift
[155/1116] Compiling SystemPackage MachPort.swift
[156/1116] Compiling SystemPackage PlatformString.swift
[157/1120] Compiling SystemPackage IOCompletion.swift
[158/1120] Compiling SystemPackage IORequest.swift
[159/1121] Compiling HeapModule Heap+Invariants.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[160/1121] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[161/1121] Compiling Tracing InstrumentationSystem+Tracing.swift
[162/1121] Compiling HeapModule Heap+Descriptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[164/1121] Compiling CoreMetrics Metrics.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
[165/1121] Emitting module Tracing
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[166/1121] Compiling SystemPackage Util.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[167/1121] Compiling SystemPackage UtilConsumers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[168/1121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[169/1121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[170/1121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[171/1121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[172/1121] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Found unhandled resource at /host/spi-builder-workspace/.env.testing
[0/1] Planning build
Building for debugging...
[0/787] Compiling CNIOWindows WSAStartup.c
[0/787] Compiling CNIOPosix event_loop_id.c
[2/787] Compiling fiat_curve25519_adx_square.S
[3/787] Compiling md5-x86_64-linux.S
[4/787] Compiling fiat_p256_adx_sqr.S
[5/787] Compiling fiat_p256_adx_mul.S
[6/787] Compiling fiat_curve25519_adx_mul.S
[7/787] Compiling CNIOLinux shim.c
[8/787] Compiling CNIOLinux liburing_shims.c
[9/787] Compiling CNIOSHA1 c_nio_sha1.c
[10/787] Compiling CNIOExtrasZlib empty.c
[11/787] Compiling CNIODarwin shim.c
[12/787] Compiling CNIOLLHTTP c_nio_http.c
[13/787] Compiling fiat_p256_adx_sqr.S
[14/787] Compiling fiat_p256_adx_mul.S
[15/787] Compiling CNIOLLHTTP c_nio_api.c
[16/787] Compiling fiat_curve25519_adx_square.S
[17/787] Compiling fiat_curve25519_adx_mul.S
[18/787] Compiling CNIOWASI CNIOWASI.c
[19/787] Write swift-version-24593BA9C3E375BF.txt
[20/787] Compiling CCryptoBoringSSLShims shims.c
[21/787] Compiling CNIOBoringSSLShims shims.c
[23/793] Emitting module _NIOBase64
[24/793] Emitting module _NIODataStructures
[25/793] Compiling _NIODataStructures _TinyArray.swift
[26/793] Compiling _NIODataStructures PriorityQueue.swift
[27/793] Compiling _NIODataStructures Heap.swift
[29/794] Compiling _NIOBase64 Base64.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.
[30/795] Compiling tls_record.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[30/795] Compiling tls13_server.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>
      |          ^~~~~~~~~~~
1 error generated.
[30/795] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[30/795] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[30/795] Compiling tls13_client.cc
[30/795] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.1 wasm