The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCoroutine, reference master (afd91f), with Swift 6.1 for Wasm on 28 May 2025 00:27:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/belozierov/SwiftCoroutine.git
Reference: master
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/belozierov/SwiftCoroutine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at afd91ff - updated versions
Cloned https://github.com/belozierov/SwiftCoroutine.git
Revision (git rev-parse @):
afd91ff068e96814beea27f5990c813d7261ebef
SUCCESS checkout https://github.com/belozierov/SwiftCoroutine.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/belozierov/SwiftCoroutine.git
https://github.com/belozierov/SwiftCoroutine.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCoroutine",
  "name" : "SwiftCoroutine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftCoroutine",
      "targets" : [
        "CCoroutine",
        "SwiftCoroutine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCoroutineTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCoroutineTests",
      "path" : "Tests/SwiftCoroutineTests",
      "sources" : [
        "CoChannel/BufferedChannelTests.swift",
        "CoChannel/CoChannelCombineTests.swift",
        "CoChannel/CoChannelTests.swift",
        "CoChannel/ConflatedChannelTests.swift",
        "CoFutureTests/CoFutureAwaitTests.swift",
        "CoFutureTests/CoFutureCancelTests.swift",
        "CoFutureTests/CoFutureCombineTests.swift",
        "CoFutureTests/CoFutureFlatMapTests.swift",
        "CoFutureTests/CoFutureTests.swift",
        "CoFutureTests/CoPromiseTests.swift",
        "CoScope/CoScopeTests.swift",
        "Coroutine/CoroutineCancelTests.swift",
        "Coroutine/CoroutineContextTests.swift",
        "Coroutine/CoroutineDispatcherTests.swift",
        "Coroutine/CoroutineSchedulerTests.swift",
        "Coroutine/CoroutineTests.swift",
        "Extensions/URL+Extensions.swift",
        "Extensions/XCTAssertContains.swift",
        "Extensions/XCTOrderedExpectation.swift",
        "Helpers/StorageTests.swift",
        "Helpers/TaggedPointerTests.swift",
        "Helpers/TestAtomic.swift",
        "Helpers/TestFifoQueue.swift",
        "Helpers/URLSessionTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCoroutine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCoroutine",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCoroutine",
      "path" : "Sources/SwiftCoroutine",
      "product_memberships" : [
        "SwiftCoroutine"
      ],
      "sources" : [
        "CoChannel/Channels/_BufferedChannel.swift",
        "CoChannel/Channels/_Channel.swift",
        "CoChannel/Channels/_CoChannelMap.swift",
        "CoChannel/Channels/_ConflatedChannel.swift",
        "CoChannel/CoChannel.swift",
        "CoChannel/CoChannelError.swift",
        "CoChannel/CoChannelReceiver.swift",
        "CoChannel/CoChannelSender.swift",
        "CoFuture/CoFutureError.swift",
        "CoFuture/Core/CoFuture.swift",
        "CoFuture/Core/CoPromise.swift",
        "CoFuture/Extensions/URLSession+CoFuture.swift",
        "CoFuture/Operators/CoFuture1+await.swift",
        "CoFuture/Operators/CoFuture2+map.swift",
        "CoFuture/Operators/CoFuture3+flatMap.swift",
        "CoFuture/Operators/CoFuture4+whenComplete.swift",
        "CoFuture/Operators/CoFuture5+hashable.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannel+Combine.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannelPublisher.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannelSubscription.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFuture+Combine.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFuturePublisher.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFutureSubscription.swift",
        "CoScope/CoCancellable.swift",
        "CoScope/CoScope.swift",
        "Coroutine/Context/CoroutineContext.swift",
        "Coroutine/Coroutine/Coroutine+StackSize.swift",
        "Coroutine/Coroutine/Coroutine.swift",
        "Coroutine/Coroutine/CoroutineError.swift",
        "Coroutine/CoroutineProtocol/CoroutineProtocol.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutine.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutineQueue.swift",
        "Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift",
        "Coroutine/TaskScheduler/CoroutineScheduler.swift",
        "Helpers/Atomic/AtomicInt.swift",
        "Helpers/Atomic/AtomicTuple.swift",
        "Helpers/Atomic/CallbackStack.swift",
        "Helpers/Atomic/FifoQueue.swift",
        "Helpers/Atomic/QueueNodeEraser.swift",
        "Helpers/Atomic/Storage.swift",
        "Helpers/Atomic/TaggedPointer.swift",
        "Helpers/Constants.swift",
        "Helpers/DispatchSourceTimer+extensions.swift"
      ],
      "target_dependencies" : [
        "CCoroutine"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CCoroutine",
      "module_type" : "ClangTarget",
      "name" : "CCoroutine",
      "path" : "Sources/CCoroutine",
      "product_memberships" : [
        "SwiftCoroutine"
      ],
      "sources" : [
        "CCoroutine.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/3] Write sources
In file included from /host/spi-builder-workspace/Sources/CCoroutine/CCoroutine.c:11:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
1 error generated.
[1/3] Compiling CCoroutine CCoroutine.c
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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...
In file included from /host/spi-builder-workspace/Sources/CCoroutine/CCoroutine.c:11:
/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/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
1 error generated.
[0/2] Compiling CCoroutine CCoroutine.c
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm