The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-test-containers, reference 0.1.0 (55d52f), with Swift 6.1 for Wasm on 14 Feb 2026 14:45:38 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mongey/swift-test-containers.git
Reference: 0.1.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/Mongey/swift-test-containers
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 55d52f7 Add FoundationNetworking import to test files for Linux
Cloned https://github.com/Mongey/swift-test-containers.git
Revision (git rev-parse @):
55d52f75e5de95571054e715af335bc0966ac9e4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Mongey/swift-test-containers.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Mongey/swift-test-containers.git
https://github.com/Mongey/swift-test-containers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-subprocess",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-subprocess.git"
    },
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "swift-test-containers",
  "name" : "swift-test-containers",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TestContainers",
      "targets" : [
        "TestContainers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestContainersTests",
      "module_type" : "SwiftTarget",
      "name" : "TestContainersTests",
      "path" : "Tests/TestContainersTests",
      "sources" : [
        "ArtifactCollectorTests.swift",
        "BindMountIntegrationTests.swift",
        "CleanupIntegrationTests.swift",
        "CompositeWaitStrategyTests.swift",
        "ContainerCommunicationTests.swift",
        "ContainerExecIntegrationTests.swift",
        "ContainerInspectionTests.swift",
        "ContainerLifecycleTests.swift",
        "ContainerNameGeneratorTests.swift",
        "ContainerRequestTests.swift",
        "ContainerReuseTests.swift",
        "ContainerStackIntegrationTests.swift",
        "ContainerStackTests.swift",
        "CopyFromContainerTests.swift",
        "CopyToContainerTests.swift",
        "DependencyOrderingTests.swift",
        "DockerClientArgumentTests.swift",
        "DockerIntegrationTests.swift",
        "DockerfileBuildTests.swift",
        "DockerfileIntegrationTests.swift",
        "ElasticsearchContainerTests.swift",
        "ExecTests.swift",
        "FailureDiagnosticsTests.swift",
        "GlobalCleanupTests.swift",
        "HTTPProbeTests.swift",
        "HTTPWaitConfigTests.swift",
        "HTTPWaitStrategyIntegrationTests.swift",
        "ImageFromDockerfileTests.swift",
        "ImageInspectionTests.swift",
        "ImagePreflightTests.swift",
        "ImageSubstitutorConfigTests.swift",
        "KafkaContainerTests.swift",
        "LifecycleHooksTests.swift",
        "LocalStackContainerTests.swift",
        "LogConsumerTests.swift",
        "LogLevelTests.swift",
        "LogStreamingIntegrationTests.swift",
        "LogStreamingTests.swift",
        "LoggingIntegrationTests.swift",
        "MinioContainerIntegrationTests.swift",
        "MinioContainerTests.swift",
        "MongoDBContainerTests.swift",
        "MySQLContainerTests.swift",
        "NATSContainerTests.swift",
        "NetworkRequestTests.swift",
        "NginxContainerTests.swift",
        "OSLogHandlerTests.swift",
        "OpenSearchContainerTests.swift",
        "ParallelSafetyIntegrationTests.swift",
        "ParallelSafetyRequestTests.swift",
        "PostgresContainerTests.swift",
        "PrintLogHandlerTests.swift",
        "RabbitMQContainerTests.swift",
        "RedisContainerTests.swift",
        "RegistryAuthTests.swift",
        "RetryIntegrationTests.swift",
        "RetryPolicyTests.swift",
        "TCLoggerTests.swift",
        "VaultContainerTests.swift",
        "VolumeMountIntegrationTests.swift",
        "WithStackTests.swift"
      ],
      "target_dependencies" : [
        "TestContainers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TestContainers",
      "module_type" : "SwiftTarget",
      "name" : "TestContainers",
      "path" : "Sources/TestContainers",
      "product_dependencies" : [
        "Subprocess",
        "Crypto"
      ],
      "product_memberships" : [
        "TestContainers"
      ],
      "sources" : [
        "ArtifactCollector.swift",
        "ArtifactConfig.swift",
        "CleanupResult.swift",
        "Container.swift",
        "ContainerArtifact.swift",
        "ContainerInspection.swift",
        "ContainerListItem.swift",
        "ContainerNameGenerator.swift",
        "ContainerRequest.swift",
        "ContainerReuse.swift",
        "ContainerStack.swift",
        "DependencyGraph.swift",
        "DockerClient.swift",
        "ElasticsearchContainer.swift",
        "ExecTypes.swift",
        "HTTPProbe.swift",
        "HTTPWaitConfig.swift",
        "ImageFromDockerfile.swift",
        "ImageInspection.swift",
        "ImageSubstitutorConfig.swift",
        "KafkaContainer.swift",
        "LifecycleHook.swift",
        "LocalStackContainer.swift",
        "LogConsumer.swift",
        "LogHandler.swift",
        "LogLevel.swift",
        "LogStreaming.swift",
        "MariaDBContainer.swift",
        "MinioContainer.swift",
        "MongoDBContainer.swift",
        "MySQLContainer.swift",
        "NATSContainer.swift",
        "Network.swift",
        "NetworkConfig.swift",
        "NetworkRequest.swift",
        "NginxContainer.swift",
        "OSLogHandler.swift",
        "OpenSearchContainer.swift",
        "ParallelSafetyConfig.swift",
        "PostgresContainer.swift",
        "PrintLogHandler.swift",
        "ProcessRunner.swift",
        "RabbitMQContainer.swift",
        "RedisContainer.swift",
        "RetryPolicy.swift",
        "RunningStack.swift",
        "TCLogger.swift",
        "TCPProbe.swift",
        "TestContainersCleanup.swift",
        "TestContainersCleanupConfig.swift",
        "TestContainersError.swift",
        "TestContainersSession.swift",
        "VaultContainer.swift",
        "Waiter.swift",
        "WithContainer.swift",
        "WithContainerGroup.swift",
        "WithNetwork.swift",
        "WithStack.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
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/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2535] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.66s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-system
[1/5552] Fetching swift-system
[2000/23078] Fetching swift-system, swift-crypto
Fetched https://github.com/apple/swift-system from cache (0.66s)
[1753/17526] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.46s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (3.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.85s)
Fetching https://github.com/apple/swift-asn1.git
[1/1692] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.64s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (4.06s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (ba5888a)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Building for debugging...
[0/6] Write sources
[3/6] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
   18 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/6] Compiling _SubprocessCShims process_shims.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
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/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:18:10: fatal error: 'pthread.h' file not found
   18 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/2] Compiling _SubprocessCShims process_shims.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm