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 soto-elasticsearch-nio-client, reference main (43410a), with Swift 6.1 for Wasm on 12 Aug 2025 13:18:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brokenhandsio/soto-elasticsearch-nio-client.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/brokenhandsio/soto-elasticsearch-nio-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 43410a5 Merge pull request #6 from brokenhandsio/dependabot/github_actions/actions/checkout-5
Cloned https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
Revision (git rev-parse @):
43410a522f1b9d47b1974be2c510207473e60ea4
SUCCESS checkout https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "elasticsearch-nio-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/brokenhandsio/elasticsearch-nio-client.git"
    },
    {
      "identity" : "soto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/soto-project/soto.git"
    }
  ],
  "manifest_display_name" : "soto-elasticsearch-nio-client",
  "name" : "soto-elasticsearch-nio-client",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SotoElasticsearchNIOClient",
      "targets" : [
        "SotoElasticsearchNIOClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SotoElasticsearchNIOClientTests",
      "module_type" : "SwiftTarget",
      "name" : "SotoElasticsearchNIOClientTests",
      "path" : "Tests/SotoElasticsearchNIOClientTests",
      "sources" : [
        "ElasticsearchNIOClientTests.swift",
        "SomeItem.swift"
      ],
      "target_dependencies" : [
        "SotoElasticsearchNIOClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SotoElasticsearchNIOClient",
      "module_type" : "SwiftTarget",
      "name" : "SotoElasticsearchNIOClient",
      "path" : "Sources/SotoElasticsearchNIOClient",
      "product_dependencies" : [
        "ElasticsearchNIOClient",
        "SotoElasticsearchService"
      ],
      "product_memberships" : [
        "SotoElasticsearchNIOClient"
      ],
      "sources" : [
        "SotoElasticsearchNIOClient.swift",
        "SotoElasticsearchRequester.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/soto-project/soto.git
Fetching https://github.com/brokenhandsio/elasticsearch-nio-client.git
[1/744] Fetching elasticsearch-nio-client
[745/142682] Fetching elasticsearch-nio-client, soto
Fetched https://github.com/brokenhandsio/elasticsearch-nio-client.git from cache (118.96s)
Fetched https://github.com/soto-project/soto.git from cache (119.87s)
Computing version for https://github.com/brokenhandsio/elasticsearch-nio-client.git
Computed https://github.com/brokenhandsio/elasticsearch-nio-client.git at 0.7.0 (120.85s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
[1/14087] Fetching async-http-client
[10567/91424] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.35s)
[13921/77337] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.48s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 5.13.2 (14.18s)
Fetching https://github.com/soto-project/soto-core.git
[1/60185] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git from cache (3.29s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 5.9.4 (4.44s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/adam-fowler/jmespath.swift.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2219] Fetching swift-metrics
[2220/4920] Fetching swift-metrics, swift-nio-transport-services
[2221/5573] Fetching swift-metrics, swift-nio-transport-services, jmespath.swift
[5574/21791] Fetching swift-metrics, swift-nio-transport-services, jmespath.swift, swift-crypto
[6061/36794] Fetching swift-metrics, swift-nio-transport-services, jmespath.swift, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.62s)
[4884/34093] Fetching swift-metrics, jmespath.swift, swift-crypto, swift-nio-ssl
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (2.34s)
Fetched https://github.com/apple/swift-metrics.git from cache (2.33s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.36s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.39s)
[1/3886] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.48s)
Computing version for https://github.com/adam-fowler/jmespath.swift.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (3.86s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.52s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.50s)
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.50s)
Fetching https://github.com/apple/swift-algorithms.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-atomics.git
[1/6127] Fetching swift-nio-extras
[1227/12095] Fetching swift-nio-extras, swift-algorithms
[2082/13903] Fetching swift-nio-extras, swift-algorithms, swift-atomics
[5792/25564] Fetching swift-nio-extras, swift-algorithms, swift-atomics, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.47s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.47s)
[4607/13469] Fetching swift-atomics, swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (1.00s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.01s)
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.1 (1.53s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.76s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4847] Fetching swift-system
[2910/21800] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
[4408/16953] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.96s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (2.51s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.82s)
Fetching https://github.com/apple/swift-numerics.git
[1/5906] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.44s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.05s)
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.56s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1629] Fetching swift-asn1
[1240/2805] Fetching swift-asn1, swift-http-structured-headers
[2806/3722] Fetching swift-asn1, swift-http-structured-headers, swift-http-types
[3723/6155] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-service-lifecycle
[4770/11165] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-async-algorithms
[6020/17625] Fetching swift-asn1, swift-http-structured-headers, swift-http-types, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.67s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.78s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.78s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.78s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.80s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.81s)
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.34s)
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.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.56s)
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-certificates.git
Computed https://github.com/adam-fowler/jmespath.swift.git at 1.0.3 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.00s)
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.56s)
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.00s)
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.00s)
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.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.60s)
Creating working copy for https://github.com/adam-fowler/jmespath.swift.git
Working copy of https://github.com/adam-fowler/jmespath.swift.git resolved at 1.0.3
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.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.1
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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.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/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 5.9.4
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/brokenhandsio/elasticsearch-nio-client.git
Working copy of https://github.com/brokenhandsio/elasticsearch-nio-client.git resolved at 0.7.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/soto-project/soto.git
Working copy of https://github.com/soto-project/soto.git resolved at 5.13.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/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Building for debugging...
[0/872] Write sources
[33/872] Compiling CSotoExpat xmltok_ns.c
[34/872] Compiling _NumericsShims _NumericsShims.c
[35/872] Compiling CSotoExpat xmltok_impl.c
[35/872] Compiling _AtomicsShims.c
[37/872] Compiling CNIOWindows WSAStartup.c
[38/872] Compiling CNIOWindows shim.c
[39/872] Compiling CNIOPosix event_loop_id.c
[40/872] Compiling CNIOWASI CNIOWASI.c
[40/872] Compiling CSotoExpat xmlrole.c
[42/872] Compiling CNIOLinux shim.c
[43/872] Compiling CNIOLinux liburing_shims.c
[44/872] Compiling CNIOLLHTTP c_nio_http.c
[45/872] Compiling CNIOExtrasZlib empty.c
[46/872] Compiling CNIODarwin shim.c
[47/872] Write swift-version-24593BA9C3E375BF.txt
[48/872] Compiling CNIOLLHTTP c_nio_api.c
[49/872] Compiling fiat_p256_adx_sqr.S
[50/872] Compiling fiat_curve25519_adx_square.S
[51/872] Compiling fiat_p256_adx_mul.S
[52/872] Compiling CSotoExpat xmlparse.c
[53/872] Compiling CSotoExpat xmltok.c
[54/918] Compiling CNIOBoringSSLShims shims.c
[56/923] Emitting module InternalCollectionsUtilities
[56/924] Compiling CNIOLLHTTP c_nio_llhttp.c
[58/926] Compiling JMESPath Runtime.swift
[59/927] Compiling _NIOBase64 Base64.swift
[60/927] Emitting module _NIOBase64
[61/927] Compiling InternalCollectionsUtilities Descriptions.swift
[62/927] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[63/927] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[64/927] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/927] Compiling InternalCollectionsUtilities Debugging.swift
[66/927] Emitting module INIParser
[67/927] Compiling INIParser INIParser.swift
[68/928] Compiling JMESPath Parser.swift
[69/929] Compiling RealModule Float+Real.swift
[70/929] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[71/929] Compiling InternalCollectionsUtilities _SortedCollection.swift
[72/929] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[73/929] Emitting module RealModule
[74/930] Compiling JMESPath Sendable.swift
[75/930] Compiling JMESPath Token.swift
[76/930] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[77/930] Compiling InternalCollectionsUtilities Integer rank.swift
[78/930] Emitting module Logging
[79/930] Compiling Logging Locks.swift
[80/930] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[81/930] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[82/930] Compiling RealModule ElementaryFunctions.swift
[85/930] Compiling RealModule Real.swift
[86/930] Compiling RealModule Float80+Real.swift
[87/930] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[88/930] Compiling InternalCollectionsUtilities UInt+reversed.swift
[91/930] Compiling RealModule Float16+Real.swift
[92/931] Compiling _NIODataStructures PriorityQueue.swift
[93/931] Compiling _NIODataStructures _TinyArray.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/931] Emitting module SotoXML
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[98/931] Compiling RealModule RealFunctions.swift
[98/932] Compiling fiat_curve25519_adx_mul.S
[101/950] Compiling Logging MetadataProvider.swift
[102/950] Emitting module _NIODataStructures
[103/950] Compiling _NIODataStructures Heap.swift
[104/951] Compiling Logging LogHandler.swift
[105/951] Compiling Logging Logging.swift
[107/952] Compiling DequeModule _DequeBuffer.swift
[108/952] Compiling DequeModule _DequeBufferHeader.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[110/954] 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
[111/954] Compiling DequeModule Deque+Equatable.swift
[112/954] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[113/954] Compiling DequeModule Deque+Testing.swift
[114/954] Compiling DequeModule Deque._Storage.swift
[115/954] Compiling DequeModule Deque+Extras.swift
[116/954] Compiling DequeModule Deque+Hashable.swift
[117/954] Compiling SotoXML Expat.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[118/954] Compiling DequeModule Deque+CustomReflectable.swift
[119/954] Compiling DequeModule Deque+Descriptions.swift
[120/954] Compiling SotoXML XML.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[121/954] Compiling SotoXML XMLDecoder.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[122/954] Compiling SotoXML XMLEncoder.swift
/host/spi-builder-workspace/.build/checkouts/soto-core/Sources/SotoXML/Expat.swift:24:8: error: no such module 'Darwin.C'
 22 | import Glibc
 23 | #else
 24 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 25 | #endif
 26 |
[122/954] Compiling tls13_enc.cc
[123/954] 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 |
[124/954] 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
[124/954] Compiling tls_method.cc
[124/954] Compiling tls_record.cc
[124/954] Compiling tls13_server.cc
[125/954] Compiling DequeModule Deque+Codable.swift
[126/954] Compiling DequeModule Deque+Collection.swift
[127/954] Emitting module JMESPath
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/816] Compiling fiat_curve25519_adx_square.S
[1/816] Compiling fiat_curve25519_adx_mul.S
[2/816] Compiling v3_pmaps.c
[3/816] Compiling v3_prn.c
[4/816] Compiling v3_skey.c
[5/816] Compiling v3_utl.c
[6/816] Compiling v3_purp.c
[7/816] Compiling CCryptoBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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.
[8/816] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[8/816] Compiling tls_record.cc
[8/816] Write swift-version-24593BA9C3E375BF.txt
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>
      |          ^~~~~~~~~~~
1 error generated.
[8/816] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
1 error generated.
[8/816] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[8/816] 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.
[8/816] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/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[8/816] Compiling tls13_both.cc
BUILD FAILURE 6.1 wasm