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 0.1.1 (54cd87), with Swift 6.1 for Wasm on 28 May 2025 19:00:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/brokenhandsio/soto-elasticsearch-nio-client.git
Reference: 0.1.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/brokenhandsio/soto-elasticsearch-nio-client
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 54cd878 Add new APIs from main library
Cloned https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git
Revision (git rev-parse @):
54cd878b0620e38c8fb12001f456d4c3059da504
SUCCESS checkout https://github.com/brokenhandsio/soto-elasticsearch-nio-client.git at 0.1.1
========================================
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-4606859-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/soto-project/soto.git
Fetching https://github.com/brokenhandsio/elasticsearch-nio-client.git
[1/714] Fetching elasticsearch-nio-client
Fetched https://github.com/brokenhandsio/elasticsearch-nio-client.git from cache (0.30s)
[1/141069] Fetching soto
Fetched https://github.com/soto-project/soto.git from cache (119.42s)
Computing version for https://github.com/brokenhandsio/elasticsearch-nio-client.git
Computed https://github.com/brokenhandsio/elasticsearch-nio-client.git at 0.7.0 (124.81s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
[1/14014] Fetching async-http-client
[5047/90107] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.51s)
[22067/76093] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.33s)
Computing version for https://github.com/soto-project/soto.git
Computed https://github.com/soto-project/soto.git at 5.13.2 (9.71s)
Fetching https://github.com/soto-project/soto-core.git
[1/56330] Fetching soto-core
Fetched https://github.com/soto-project/soto-core.git from cache (2.62s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 5.9.4 (3.27s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.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-log.git
Fetching https://github.com/adam-fowler/jmespath.swift.git
[1/658] Fetching jmespath.swift
[357/2864] Fetching jmespath.swift, swift-metrics
[1079/5531] Fetching jmespath.swift, swift-metrics, swift-nio-transport-services
[1287/9367] Fetching jmespath.swift, swift-metrics, swift-nio-transport-services, swift-log
[9177/23303] Fetching jmespath.swift, swift-metrics, swift-nio-transport-services, swift-log, swift-crypto
Fetched https://github.com/apple/swift-metrics.git from cache (0.42s)
[8137/21097] Fetching jmespath.swift, swift-nio-transport-services, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
[4859/32104] Fetching jmespath.swift, swift-nio-transport-services, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-crypto.git from cache (2.33s)
Fetched https://github.com/adam-fowler/jmespath.swift.git from cache (2.90s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.90s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.93s)
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.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.70s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.60s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (1.17s)
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 (3.05s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.57s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[1231/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.69s)
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.71s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5914] Fetching swift-nio-extras
[829/11873] Fetching swift-nio-extras, swift-algorithms
[2073/23400] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.61s)
[9834/17441] Fetching swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.17s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.18s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (5.51s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (2.00s)
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.70s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.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/1141] Fetching swift-http-structured-headers
[424/2045] Fetching swift-http-structured-headers, swift-http-types
[2046/7030] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms
[2196/9456] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms, swift-service-lifecycle
[2319/15611] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms, swift-service-lifecycle, swift-certificates
[15612/17201] Fetching swift-http-structured-headers, swift-http-types, swift-async-algorithms, swift-service-lifecycle, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.85s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.86s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (2.86s)
Fetched https://github.com/apple/swift-http-types.git from cache (2.87s)
Fetched https://github.com/apple/swift-asn1.git from cache (2.87s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.87s)
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 (3.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 (1.07s)
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.3 (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/apple/swift-nio-transport-services.git at 1.24.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.00s)
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.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-http2.git at 1.36.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.98s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.63s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.67s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.84s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.85s)
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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
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.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.24.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-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.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-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/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-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-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-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/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-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-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
Building for debugging...
[0/871] Write sources
[28/871] Compiling CNIOWindows shim.c
[29/871] Compiling CNIOWindows WSAStartup.c
[29/871] Compiling CNIOLinux shim.c
[29/871] Compiling CNIOWASI CNIOWASI.c
[29/871] Compiling CNIOLinux liburing_shims.c
[29/871] Write sources
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
   93 | size_t strftime_l (char *  __restrict, size_t, const char *  __restrict, const struct tm *  __restrict, locale_t);
      |        ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                  ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[39/871] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[39/871] Compiling CSotoExpat xmltok_impl.c
[39/871] Compiling CSotoExpat xmltok.c
[39/871] Compiling _AtomicsShims.c
[39/871] Compiling _NumericsShims _NumericsShims.c
[39/871] Compiling CSotoExpat xmltok_ns.c
[39/871] Compiling CNIOLLHTTP c_nio_llhttp.c
[39/871] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/832] Compiling fiat_curve25519_adx_mul.S
[1/832] Compiling fiat_curve25519_adx_square.S
[2/832] Compiling _NumericsShims _NumericsShims.c
[3/832] Compiling v3_purp.c
[4/832] Compiling v3_prn.c
[5/832] Compiling v3_skey.c
[6/832] Compiling _AtomicsShims.c
[7/832] Compiling CSotoExpat xmltok_ns.c
[7/832] Compiling v3_pmaps.c
[9/832] Compiling CSotoExpat xmltok_impl.c
[10/832] Compiling v3_utl.c
[11/832] Write swift-version-24593BA9C3E375BF.txt
[12/832] Compiling CNIOLLHTTP c_nio_http.c
[13/832] Compiling CCryptoBoringSSLShims shims.c
[14/832] Compiling CNIOExtrasZlib empty.c
[15/832] Compiling CSotoExpat xmlrole.c
[16/832] Compiling CNIOLLHTTP c_nio_api.c
[17/857] Compiling CSotoExpat xmltok.c
[18/864] Compiling CSotoExpat xmlparse.c
[19/880] Compiling CNIOLLHTTP c_nio_llhttp.c
[21/885] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[22/885] Compiling InternalCollectionsUtilities Descriptions.swift
[23/885] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[24/886] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/886] Compiling InternalCollectionsUtilities Debugging.swift
[26/886] Emitting module JMESPath
[27/887] Emitting module RealModule
[28/887] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/887] Compiling InternalCollectionsUtilities Integer rank.swift
[30/887] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/887] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/888] Emitting module InternalCollectionsUtilities
[35/888] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[36/888] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[37/888] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[38/888] Compiling InternalCollectionsUtilities _SortedCollection.swift
[39/888] Compiling JMESPath Sendable.swift
[40/888] Emitting module Logging
[41/888] Compiling JMESPath Token.swift
[42/888] Compiling JMESPath Runtime.swift
[43/888] Compiling RealModule Float16+Real.swift
[46/888] Compiling RealModule ElementaryFunctions.swift
[47/888] Compiling RealModule Float+Real.swift
[48/888] Compiling RealModule Float80+Real.swift
[49/888] Compiling RealModule Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/888] 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 |
[51/888] 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 |
[52/888] Emitting module _NIOBase64
[53/888] Compiling _NIOBase64 Base64.swift
[54/888] Emitting module INIParser
[55/888] Compiling INIParser INIParser.swift
[56/890] Compiling RealModule RealFunctions.swift
[57/891] Compiling _NIODataStructures PriorityQueue.swift
[58/891] Compiling _NIODataStructures _TinyArray.swift
[59/891] Compiling JMESPath Parser.swift
[62/891] Compiling CNIODarwin shim.c
[64/894] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[64/894] Compiling fiat_p256_adx_sqr.S
[66/895] 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 |
[66/895] Compiling fiat_p256_adx_mul.S
[67/895] Compiling fiat_curve25519_adx_square.S
[69/895] Compiling fiat_curve25519_adx_mul.S
[71/895] Compiling Logging MetadataProvider.swift
[72/895] 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
[73/895] Compiling _NIODataStructures Heap.swift
[74/895] Emitting module _NIODataStructures
[74/911] Compiling CNIOBoringSSLShims shims.c
[77/911] Compiling DequeModule Deque+Codable.swift
[78/911] Compiling DequeModule Deque+Collection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/911] 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
[80/911] 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 |
[81/911] Compiling Logging LogHandler.swift
[82/911] Compiling Logging Logging.swift
[83/911] Compiling Logging Locks.swift
[84/912] 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 |
[85/912] 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 |
[86/912] Compiling DequeModule _DequeBuffer.swift
[87/912] Compiling DequeModule _DequeBufferHeader.swift
[87/912] Compiling tls_method.cc
[87/912] Compiling tls13_server.cc
[87/912] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm