The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-rabbitmq, reference 0.3.2 (cd89fa), with Swift 6.1 for Wasm on 25 Jul 2025 17:56:12 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xtremekforever/swift-rabbitmq.git
Reference: 0.3.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/xtremekforever/swift-rabbitmq
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at cd89fa3 Merge pull request #26 from xtremekforever/#25-structured-logging
Cloned https://github.com/xtremekforever/swift-rabbitmq.git
Revision (git rev-parse @):
cd89fa329d2e09a35e49bc41cdbdec26619749ac
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xtremekforever/swift-rabbitmq.git at 0.3.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xtremekforever/swift-rabbitmq.git
https://github.com/xtremekforever/swift-rabbitmq.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    },
    {
      "identity" : "rabbitmq-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0-beta4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/funcmike/rabbitmq-nio.git"
    },
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-service-lifecycle",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/swift-service-lifecycle.git"
    },
    {
      "identity" : "semaphore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/Semaphore.git"
    },
    {
      "identity" : "testcontainers-swift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/xtremekforever/testcontainers-swift.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "swift-rabbitmq",
  "name" : "swift-rabbitmq",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "RabbitMq",
      "targets" : [
        "RabbitMq"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ConsumePublishServices",
      "targets" : [
        "ConsumePublishServices"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BasicConsumePublish",
      "targets" : [
        "BasicConsumePublish"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests",
      "product_dependencies" : [
        "Testcontainers"
      ],
      "sources" : [
        "Connection/BasicConnectionTests.swift",
        "Connection/ConnectionTests.swift",
        "Connection/RetryingConnectionTests.swift",
        "Consumer/ConsumerTests.swift",
        "Publisher/PublisherTests.swift",
        "TestUtils/RabbitMqTestContainer.swift",
        "TestUtils/createTestLogger.swift",
        "TestUtils/firstElement.swift",
        "Utils/UtilsTests.swift",
        "Utils/withBasicConnectionTests.swift",
        "Utils/withRetryingConnectionBodyTests.swift"
      ],
      "target_dependencies" : [
        "RabbitMq"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RabbitMq",
      "module_type" : "SwiftTarget",
      "name" : "RabbitMq",
      "path" : "Sources/RabbitMq",
      "product_dependencies" : [
        "AMQPClient",
        "AsyncAlgorithms",
        "Logging",
        "ServiceLifecycle",
        "Semaphore"
      ],
      "product_memberships" : [
        "RabbitMq",
        "ConsumePublishServices",
        "BasicConsumePublish"
      ],
      "sources" : [
        "Connection/BasicConnection.swift",
        "Connection/Connection.swift",
        "Connection/ConnectionConfiguration.swift",
        "Connection/RetryingConnection.swift",
        "Consumer/Connection+performConsume.swift",
        "Consumer/Consumer.swift",
        "Consumer/ConsumerChannel.swift",
        "Consumer/ConsumerConfiguration.swift",
        "Consumer/RetryingConsumer.swift",
        "Extensions/AMQPChannel+Options.swift",
        "Extensions/AMQPConnection+initOptions.swift",
        "Extensions/AsyncChannel+waitUntilFinished.swift",
        "Extensions/Task+isCancelledOrShuttingDown.swift",
        "Options/BindingOptions.swift",
        "Options/ConsumerOptions.swift",
        "Options/ExchangeOptions.swift",
        "Options/PublisherOptions.swift",
        "Options/QueueOptions.swift",
        "Publisher/Connection+performPublish.swift",
        "Publisher/Publisher.swift",
        "Publisher/PublisherConfiguration.swift",
        "Publisher/RetryingPublisher.swift",
        "Utils/AnyAsyncSequence.swift",
        "Utils/Logger+withMetadata.swift",
        "Utils/gracefulCancellableDelay.swift",
        "Utils/withBasicConnection.swift",
        "Utils/withRetryingConnectionBody.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConsumePublishServices",
      "module_type" : "SwiftTarget",
      "name" : "ConsumePublishServices",
      "path" : "Sources/Examples/ConsumePublishServices",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "ConsumePublishServices"
      ],
      "sources" : [
        "ConsumePublishServices.swift",
        "ConsumerService.swift",
        "PublisherService.swift",
        "RabbitMqService.swift"
      ],
      "target_dependencies" : [
        "RabbitMq"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BasicConsumePublish",
      "module_type" : "SwiftTarget",
      "name" : "BasicConsumePublish",
      "path" : "Sources/Examples/BasicConsumePublish",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "BasicConsumePublish"
      ],
      "sources" : [
        "BasicConsumePublish.swift"
      ],
      "target_dependencies" : [
        "RabbitMq"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
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/xtremekforever/testcontainers-swift.git
[1/408] Fetching testcontainers-swift
Fetched https://github.com/xtremekforever/testcontainers-swift.git from cache (0.25s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/groue/Semaphore.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/293] Fetching semaphore
[294/2719] Fetching semaphore, swift-service-lifecycle
[1653/7709] Fetching semaphore, swift-service-lifecycle, swift-async-algorithms
[3146/11576] Fetching semaphore, swift-service-lifecycle, swift-async-algorithms, swift-log
[11577/25598] Fetching semaphore, swift-service-lifecycle, swift-async-algorithms, swift-log, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
[15562/21731] Fetching semaphore, swift-service-lifecycle, swift-async-algorithms, async-http-client
Fetching https://github.com/funcmike/rabbitmq-nio.git
[18788/37310] Fetching semaphore, swift-service-lifecycle, swift-async-algorithms, async-http-client, swift-argument-parser
[29522/39288] Fetching semaphore, swift-service-lifecycle, swift-async-algorithms, async-http-client, swift-argument-parser, rabbitmq-nio
Fetched https://github.com/funcmike/rabbitmq-nio.git from cache (0.34s)
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.12s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.12s)
Fetched https://github.com/groue/Semaphore.git from cache (1.12s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.14s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.14s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.51s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.1.0 (2.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.90s)
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.97s)
Fetching https://github.com/apple/swift-collections.git
[1/16890] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (3.09s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.5 (1.21s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3433] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.03s)
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 (0.85s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.09s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (1.02s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/1808] Fetching swift-atomics
[670/4502] Fetching swift-atomics, swift-nio-transport-services
[671/10618] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras
[1019/22272] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[1020/28231] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-algorithms
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.06s)
Fetching https://github.com/apple/swift-nio.git
[13415/22272] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[21807/37250] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
[23771/114154] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (2.85s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.85s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.88s)
[25786/103536] Fetching swift-nio-http2, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.90s)
[15051/91882] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.77s)
[49988/76904] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (9.90s)
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.0 (11.96s)
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.94s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (1.27s)
Fetching https://github.com/apple/swift-system.git
[1/4659] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.52s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.99s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.64s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (1.60s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.23s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.02s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
[1/904] Fetching swift-http-types
[905/2520] Fetching swift-http-types, swift-asn1
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.57s)
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/apple/swift-asn1.git from cache (0.66s)
[1/1169] Fetching swift-http-structured-headers
[890/7586] Fetching swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.55s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.79s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (2.43s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.0 (0.92s)
Fetching https://github.com/apple/swift-crypto.git
[1/15850] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.64s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (5.30s)
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 (2.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.0 (1.69s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.2 (2.84s)
Computing version for https://github.com/funcmike/rabbitmq-nio.git
Computed https://github.com/funcmike/rabbitmq-nio.git at 0.1.0-beta4 (0.82s)
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.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.13.2
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.5
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.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.85.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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/funcmike/rabbitmq-nio.git
Working copy of https://github.com/funcmike/rabbitmq-nio.git resolved at 0.1.0-beta4
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.29.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/groue/Semaphore.git
Working copy of https://github.com/groue/Semaphore.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-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/xtremekforever/testcontainers-swift.git
Working copy of https://github.com/xtremekforever/testcontainers-swift.git resolved at main (9be8a42)
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.11.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/481] Write sources
[7/481] Compiling _AtomicsShims.c
[7/481] Write sources
[28/481] Compiling CNIOWindows shim.c
[29/481] Compiling CNIOWindows WSAStartup.c
[30/481] Compiling CNIOWASI CNIOWASI.c
[31/481] Compiling CNIOPosix event_loop_id.c
[32/481] Compiling CNIOLinux shim.c
[33/481] Compiling CNIOLinux liburing_shims.c
[34/481] Compiling CNIODarwin shim.c
[35/481] Write swift-version-24593BA9C3E375BF.txt
[36/481] Compiling fiat_p256_adx_sqr.S
[37/481] Compiling a_gentm.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[38/481] Compiling a_bitstr.cc
[38/481] Compiling pem_x509.cc
[38/481] Compiling errno.cc
[38/481] Compiling CNIOBoringSSLShims shims.c
[38/481] Compiling a_int.cc
[38/481] Compiling a_bool.cc
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/447] Write sources
[8/448] Compiling fiat_p256_adx_mul.S
[9/448] Compiling fiat_curve25519_adx_square.S
[10/448] Compiling fiat_curve25519_adx_mul.S
[11/448] Compiling CNIOBoringSSLShims shims.c
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.
[12/448] Compiling tls_record.cc
[12/448] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[12/448] Compiling tls13_client.cc
[12/448] Write swift-version-24593BA9C3E375BF.txt
[12/448] Compiling tls13_both.cc
[12/448] Compiling tls13_enc.cc
[12/448] Compiling tls13_server.cc
[12/448] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm