The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BunnySwift, reference 0.13.0 (42b66e), with Swift 6.1 for Wasm on 22 Mar 2026 14:03:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaelklishin/bunny-swift.git
Reference: 0.13.0
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/michaelklishin/bunny-swift
 * tag               0.13.0     -> FETCH_HEAD
HEAD is now at 42b66e0 0.13.0
Cloned https://github.com/michaelklishin/bunny-swift.git
Revision (git rev-parse @):
42b66e0c3a3a67ca9b95a4e3c6b9bbe02ef96563
SUCCESS checkout https://github.com/michaelklishin/bunny-swift.git at 0.13.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/michaelklishin/bunny-swift.git
https://github.com/michaelklishin/bunny-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.87.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.29.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "rabbitmq-http-api-client-swift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/michaelklishin/rabbitmq-http-api-client-swift.git"
    }
  ],
  "manifest_display_name" : "BunnySwift",
  "name" : "BunnySwift",
  "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"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "BunnySwift",
      "targets" : [
        "BunnySwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TransportTests",
      "module_type" : "SwiftTarget",
      "name" : "TransportTests",
      "path" : "Tests/TransportTests",
      "sources" : [
        "ConnectionConfigurationTests.swift",
        "ErrorHandlingTests.swift"
      ],
      "target_dependencies" : [
        "Transport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Transport",
      "module_type" : "SwiftTarget",
      "name" : "Transport",
      "path" : "Sources/Transport",
      "product_dependencies" : [
        "NIO",
        "NIOFoundationCompat",
        "NIOSSL"
      ],
      "product_memberships" : [
        "BunnySwift"
      ],
      "sources" : [
        "AMQPTransport.swift",
        "Connection.swift",
        "FrameHandler.swift",
        "Transport.swift"
      ],
      "target_dependencies" : [
        "AMQPProtocol"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RecoveryTests",
      "module_type" : "SwiftTarget",
      "name" : "RecoveryTests",
      "path" : "Tests/RecoveryTests",
      "sources" : [
        "RecoveryCoordinatorTests.swift",
        "TopologyRegistryTests.swift"
      ],
      "target_dependencies" : [
        "Recovery"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Recovery",
      "module_type" : "SwiftTarget",
      "name" : "Recovery",
      "path" : "Sources/Recovery",
      "product_memberships" : [
        "BunnySwift"
      ],
      "sources" : [
        "Recovery.swift",
        "RecoveryCoordinator.swift",
        "TopologyRecoveryFilter.swift",
        "TopologyRegistry.swift"
      ],
      "target_dependencies" : [
        "AMQPProtocol",
        "Transport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "IntegrationTests",
      "path" : "Tests/IntegrationTests",
      "product_dependencies" : [
        "RabbitMQHTTPAPIClient"
      ],
      "sources" : [
        "ConnectionRecoveryTests.swift",
        "IntegrationTests.swift",
        "NIOHandlerTest.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "BunnySwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BunnySwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "BunnySwiftTests",
      "path" : "Tests/BunnySwiftTests",
      "sources" : [
        "BunnySwiftTests.swift"
      ],
      "target_dependencies" : [
        "BunnySwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BunnySwift",
      "module_type" : "SwiftTarget",
      "name" : "BunnySwift",
      "path" : "Sources/BunnySwift",
      "product_memberships" : [
        "BunnySwift"
      ],
      "sources" : [
        "BunnySwift.swift",
        "Channel.swift",
        "Connection.swift",
        "Exchange.swift",
        "Message.swift",
        "Queue.swift",
        "XArguments.swift"
      ],
      "target_dependencies" : [
        "AMQPProtocol",
        "Transport",
        "Recovery"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AMQPProtocolTests",
      "module_type" : "SwiftTarget",
      "name" : "AMQPProtocolTests",
      "path" : "Tests/AMQPProtocolTests",
      "sources" : [
        "FrameCodecTests.swift",
        "TableEncodingTests.swift",
        "WireFormatTests.swift"
      ],
      "target_dependencies" : [
        "AMQPProtocol"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AMQPProtocol",
      "module_type" : "SwiftTarget",
      "name" : "AMQPProtocol",
      "path" : "Sources/AMQPProtocol",
      "product_dependencies" : [
        "Collections"
      ],
      "product_memberships" : [
        "BunnySwift"
      ],
      "sources" : [
        "Constants.swift",
        "Frame.swift",
        "FrameCodec.swift",
        "Types.swift",
        "WireFormat.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/michaelklishin/rabbitmq-http-api-client-swift.git
[1/113] Fetching rabbitmq-http-api-client-swift
Fetched https://github.com/michaelklishin/rabbitmq-http-api-client-swift.git from cache (0.29s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/22628] Fetching swift-collections
[1812/37988] Fetching swift-collections, swift-nio-ssl
[4407/120886] Fetching swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.11s)
[72367/105526] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (10.25s)
Fetched https://github.com/apple/swift-nio.git from cache (10.34s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (11.23s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.1 (0.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.96.0 (1.13s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[711/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.75s)
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.4
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/michaelklishin/rabbitmq-http-api-client-swift.git
Working copy of https://github.com/michaelklishin/rabbitmq-http-api-client-swift.git resolved at main (42e0262)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.96.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.36.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.4.1
Building for debugging...
[0/436] Write sources
[22/436] Compiling CNIOWASI CNIOWASI.c
[23/436] Compiling CNIOOpenBSD shim.c
[23/436] Compiling _AtomicsShims.c
[25/436] Compiling CNIOWindows WSAStartup.c
[25/436] Compiling CNIOPosix event_loop_id.c
[25/436] Compiling CNIOWindows shim.c
[28/436] Compiling CNIOLinux shim.c
[29/436] Compiling CNIODarwin shim.c
[30/436] Compiling CNIOLinux liburing_shims.c
[31/436] Compiling fiat_curve25519_adx_square.S
[32/436] Compiling fiat_p256_adx_mul.S
[33/436] Compiling fiat_p256_adx_sqr.S
[34/436] Compiling fiat_curve25519_adx_mul.S
[35/436] Write swift-version-24593BA9C3E375BF.txt
[36/436] Compiling CNIOBoringSSLShims shims.c
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.
[37/440] Compiling tls13_enc.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 error generated.
[37/440] Compiling tls13_both.cc
[37/440] Compiling t1_enc.cc
[37/440] Compiling tls13_client.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>
      |          ^~~~~~~~~~~
[37/440] Compiling tls13_server.cc
[37/440] Compiling tls_record.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>
      |          ^~~~~~~~~~~
[37/440] Compiling tls_method.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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 error generated.
[0/400] Compiling tls13_both.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.
[0/400] Compiling tls_method.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.
[0/400] Compiling tls_record.cc
[0/400] Compiling c-nioatomics.c
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>
      |          ^~~~~~~~~~~
[0/400] Compiling tls13_client.cc
[0/400] Compiling c-atomics.c
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>
      |          ^~~~~~~~~~~
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>
      |          ^~~~~~~~~~~
[0/400] Compiling tls13_server.cc
[0/400] Compiling tls13_enc.cc
BUILD FAILURE 6.1 wasm