The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build hummingbird-elementary, reference 0.4.1 (e41590), with Swift 6.1 for Wasm on 30 May 2025 01:15:00 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/hummingbird-community/hummingbird-elementary.git
Reference: 0.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/hummingbird-community/hummingbird-elementary
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at e41590e non-sendable support for HTMLResponse (#10)
Cloned https://github.com/hummingbird-community/hummingbird-elementary.git
Revision (git rev-parse @):
e41590e49cdb60dcf62004fc15729a10c069249c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-community/hummingbird-elementary.git at 0.4.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hummingbird-community/hummingbird-elementary.git
https://github.com/hummingbird-community/hummingbird-elementary.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "hummingbird",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hummingbird-project/hummingbird.git"
    },
    {
      "identity" : "elementary",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sliemeobn/elementary.git"
    }
  ],
  "manifest_display_name" : "hummingbird-elementary",
  "name" : "hummingbird-elementary",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "HummingbirdElementary",
      "targets" : [
        "HummingbirdElementary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HummingbirdElementaryTests",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdElementaryTests",
      "path" : "Tests/HummingbirdElementaryTests",
      "product_dependencies" : [
        "Elementary",
        "HummingbirdTesting"
      ],
      "sources" : [
        "HTMLResponseTests.swift",
        "NonSendableHTMLResponseTests.swift"
      ],
      "target_dependencies" : [
        "HummingbirdElementary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HummingbirdElementary",
      "module_type" : "SwiftTarget",
      "name" : "HummingbirdElementary",
      "path" : "Sources/HummingbirdElementary",
      "product_dependencies" : [
        "Hummingbird",
        "Elementary"
      ],
      "product_memberships" : [
        "HummingbirdElementary"
      ],
      "sources" : [
        "HTMLResponse.swift",
        "HTMLResponseBodyWriter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/hummingbird-project/hummingbird.git
Fetching https://github.com/sliemeobn/elementary.git
[1/1263] Fetching elementary
[1264/25746] Fetching elementary, hummingbird
Fetched https://github.com/sliemeobn/elementary.git from cache (0.49s)
[7101/24483] Fetching hummingbird
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (1.03s)
Computing version for https://github.com/sliemeobn/elementary.git
Computed https://github.com/sliemeobn/elementary.git at 0.5.2 (1.74s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.14.0 (0.59s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2667] Fetching swift-nio-transport-services
[642/8581] Fetching swift-nio-transport-services, swift-nio-extras
[4358/11007] Fetching swift-nio-transport-services, swift-nio-extras, swift-service-lifecycle
[5230/22534] Fetching swift-nio-transport-services, swift-nio-extras, swift-service-lifecycle, swift-nio-http2
[8808/36548] Fetching swift-nio-transport-services, swift-nio-extras, swift-service-lifecycle, swift-nio-http2, async-http-client
[14177/51391] Fetching swift-nio-transport-services, swift-nio-extras, swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.74s)
[22369/48724] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[39671/124832] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (2.19s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[36476/110818] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-http2, swift-nio-ssl, swift-nio
[49172/115792] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-http2, swift-nio-ssl, swift-nio, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.76s)
[68198/110818] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-metrics.git
[78093/113024] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-http2, swift-nio-ssl, swift-nio, swift-metrics
Fetched https://github.com/apple/swift-metrics.git from cache (0.61s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (3.60s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.61s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-http-types.git
[73557/102478] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.65s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.67s)
Fetching https://github.com/apple/swift-atomics.git
[47949/76108] Fetching swift-nio
[49472/79944] Fetching swift-nio, swift-log
[50470/81654] Fetching swift-nio, swift-log, swift-atomics
[51845/82558] Fetching swift-nio, swift-log, swift-atomics, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.51s)
[55488/81654] Fetching swift-nio, swift-log, swift-atomics
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
[52703/77818] Fetching swift-nio, swift-atomics
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
[51754/76108] Fetching swift-nio
[55560/81093] Fetching swift-nio, swift-async-algorithms
[59076/97684] Fetching swift-nio, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.56s)
[61425/92699] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.94s)
Fetched https://github.com/apple/swift-nio.git from cache (8.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (11.79s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.42s)
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.70s)
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.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.97s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (3.10s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.52s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (1.03s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.95s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.65s)
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.63s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.88s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1590] Fetching swift-asn1
[1591/7549] Fetching swift-asn1, swift-algorithms
[1592/8690] Fetching swift-asn1, swift-algorithms, swift-http-structured-headers
[4222/14845] Fetching swift-asn1, swift-algorithms, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.40s)
[7434/13704] Fetching swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.62s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.62s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.70s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.00s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.13s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.23s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.48s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.39s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (1.08s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.04s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.93s)
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-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-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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/apple/swift-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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/sliemeobn/elementary.git
Working copy of https://github.com/sliemeobn/elementary.git resolved at 0.5.2
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.14.0
Creating working copy for https://github.com/apple/swift-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.27.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/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-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.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
Building for debugging...
[0/48] Write sources
[34/48] Compiling CNIODarwin shim.c
[35/48] Compiling _AtomicsShims.c
[36/48] Compiling CNIOLinux liburing_shims.c
[37/48] Compiling CNIOWindows WSAStartup.c
[38/48] Compiling CNIOWASI CNIOWASI.c
[39/48] Compiling CNIOLinux shim.c
[40/48] Write sources
[40/48] Compiling CNIOWindows shim.c
[42/48] Compiling CNIOLLHTTP c_nio_http.c
[43/48] Compiling CNIOLLHTTP c_nio_api.c
[44/48] Write swift-version-24593BA9C3E375BF.txt
[46/74] Emitting module _NIODataStructures
[47/74] Emitting module InternalCollectionsUtilities
[47/75] Compiling CNIOLLHTTP c_nio_llhttp.c
[48/80] Compiling c-nioatomics.c
[50/80] Emitting module Logging
[51/80] Compiling Logging Locks.swift
[52/80] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/80] 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
[54/80] 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 |
[55/80] Compiling _NIODataStructures _TinyArray.swift
[55/80] Compiling c-atomics.c
[56/80] Emitting module ServiceContextModule
[57/80] Emitting module _NIOBase64
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
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
[2/60] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/61] Compiling Logging MetadataProvider.swift
[4/61] Compiling _NIODataStructures PriorityQueue.swift
[5/61] Compiling Elementary StoredAttribute.swift
[6/61] Compiling Elementary Html+Attributes.swift
[7/61] Compiling Elementary Html+Elements.swift
[8/61] Compiling Elementary HtmlBuilder+Tuples.swift
[9/61] Compiling ServiceContextModule ServiceContextKey.swift
[10/61] Compiling HTTPTypes ISOLatin1String.swift
[11/62] Emitting module ServiceContextModule
[12/62] Compiling ServiceContextModule ServiceContext.swift
[13/63] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/63] Compiling _NIOBase64 Base64.swift
[16/63] Emitting module _NIOBase64
[17/64] Compiling Elementary CoreModel.swift
[18/64] Compiling Elementary Environment.swift
[19/64] Emitting module InternalCollectionsUtilities
[20/64] Compiling _NIODataStructures Heap.swift
[22/64] Compiling HTTPTypes NIOLock.swift
[23/64] Emitting module _NIODataStructures
[24/64] Compiling Elementary HtmlBuilder.swift
[25/64] Compiling Elementary HtmlElement+Async.swift
[26/64] Compiling HTTPTypes HTTPFieldName.swift
[27/64] Compiling HTTPTypes HTTPResponse.swift
[28/64] Compiling _NIODataStructures _TinyArray.swift
[29/64] Emitting module HTTPTypes
[30/64] Compiling HTTPTypes HTTPField.swift
[31/67] Compiling Elementary ForEach.swift
[32/67] Compiling Elementary AsyncContent.swift
[33/68] Compiling Elementary AsyncForEach.swift
[34/68] Compiling Elementary AttributeStorage.swift
[36/75] Compiling HTTPTypes HTTPParsedFields.swift
[37/75] Compiling HTTPTypes HTTPRequest.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/75] 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.
[40/75] Compiling Instrumentation NoOpInstrument.swift
[41/75] 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 |     }
[42/75] Compiling Instrumentation MultiplexInstrument.swift
[43/75] Compiling Elementary HtmlAttributes+global.swift
[44/75] Compiling Elementary HtmlDocument.swift
[45/75] Compiling Elementary HtmlElements.swift
[46/78] Compiling Instrumentation Instrument.swift
[47/78] 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.
[48/78] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/79] 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
[53/79] Compiling Elementary Html+Rendering.swift
[54/79] Compiling Elementary HtmlAttributes+common.swift
[55/79] Compiling Elementary HtmlAttributes+event.swift
[55/79] Compiling c-atomics.c
[56/79] Compiling Logging LogHandler.swift
[57/79] Emitting module Logging
[58/79] Compiling Logging Locks.swift
BUILD FAILURE 6.1 wasm