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 package-concurrency-helpers, reference main (eb5a56), with Swift 6.1 for Wasm on 30 May 2025 16:55:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-concurrency-helpers.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/ordo-one/package-concurrency-helpers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at eb5a564 fix(patch): avoid closure escaping in runSync() (#70)
Cloned https://github.com/ordo-one/package-concurrency-helpers.git
Revision (git rev-parse @):
eb5a5642ad0cbce123e7773b422bfcfce48c5728
SUCCESS checkout https://github.com/ordo-one/package-concurrency-helpers.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ordo-one/package-concurrency-helpers.git
https://github.com/ordo-one/package-concurrency-helpers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "package-concurrency-helpers",
  "name" : "package-concurrency-helpers",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "PackageConcurrencyHelpers",
      "targets" : [
        "PackageConcurrencyHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Helpers",
      "targets" : [
        "Helpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_PauseShims",
      "module_type" : "ClangTarget",
      "name" : "_PauseShims",
      "path" : "Sources/_PauseShims",
      "product_memberships" : [
        "PackageConcurrencyHelpers"
      ],
      "sources" : [
        "_PauseShims.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PackageConcurrencyHelpers",
      "module_type" : "SwiftTarget",
      "name" : "PackageConcurrencyHelpers",
      "path" : "Sources/ConcurrencyHelpers",
      "product_dependencies" : [
        "Atomics"
      ],
      "product_memberships" : [
        "PackageConcurrencyHelpers"
      ],
      "sources" : [
        "ForBlockingCall.swift",
        "Lock.swift",
        "Lockable.swift",
        "NIOSendable.swift",
        "Protected.swift",
        "RunSync.swift",
        "Spinlock.swift",
        "UnsafeSendableWrapper.swift",
        "YieldWithBackPressure.swift"
      ],
      "target_dependencies" : [
        "_PauseShims"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HelpersTests",
      "module_type" : "SwiftTarget",
      "name" : "HelpersTests",
      "path" : "Tests/HelpersTests",
      "sources" : [
        "BoxTests.swift",
        "TimeIntervalCounterTests.swift"
      ],
      "target_dependencies" : [
        "Helpers",
        "PackageConcurrencyHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Helpers",
      "module_type" : "SwiftTarget",
      "name" : "Helpers",
      "path" : "Sources/Helpers",
      "product_memberships" : [
        "Helpers"
      ],
      "sources" : [
        "Box.swift",
        "IsBeingDebugged.swift",
        "MakeStream.swift",
        "NearestPowerOf2.swift",
        "TimeIntervalCounter.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConcurrencyHelpersTests",
      "module_type" : "SwiftTarget",
      "name" : "ConcurrencyHelpersTests",
      "path" : "Tests/ConcurrencyHelpersTests",
      "product_dependencies" : [
        "CwlPreconditionTesting"
      ],
      "sources" : [
        "ConcurrencyHelpersTests.swift"
      ],
      "target_dependencies" : [
        "PackageConcurrencyHelpers"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
Fetched https://github.com/apple/swift-docc-plugin from cache (0.63s)
[1/1257] Fetching cwlpreconditiontesting
[1258/2974] Fetching cwlpreconditiontesting, swift-atomics
Fetched https://github.com/mattgallagher/CwlPreconditionTesting from cache (0.56s)
[945/1717] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (0.88s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (2.42s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.97s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.70s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.89s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.2.2 (1.05s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.47s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (2.86s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write sources
[5/8] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/Sources/_PauseShims/_PauseShims.c:13:
/host/spi-builder-workspace/Sources/_PauseShims/include/_PauseShims.h:20:5: error: "Unknown CPU architecture"
   20 | #   error "Unknown CPU architecture"
      |     ^
1 error generated.
[6/8] Compiling _PauseShims _PauseShims.c
[6/8] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/_PauseShims/_PauseShims.c:13:
/host/spi-builder-workspace/Sources/_PauseShims/include/_PauseShims.h:20:5: error: "Unknown CPU architecture"
   20 | #   error "Unknown CPU architecture"
      |     ^
1 error generated.
[2/4] Compiling _PauseShims _PauseShims.c
[2/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm