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 RuntimeAssertions, reference main (ba5753), with Swift 6.1 for Wasm on 30 Aug 2025 23:04:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTRuntimeAssertions.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/StanfordBDHG/XCTRuntimeAssertions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ba5753f support release testing (#23)
Cloned https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Revision (git rev-parse @):
ba5753f59905b80fd98d0da0f552f4e5d5c0488e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RuntimeAssertions",
  "name" : "RuntimeAssertions",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RuntimeAssertions",
      "targets" : [
        "RuntimeAssertions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RuntimeAssertionsTesting",
      "targets" : [
        "RuntimeAssertionsTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XCTRuntimeAssertions",
      "targets" : [
        "XCTRuntimeAssertions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "XCTRuntimeAssertionsTests",
      "module_type" : "SwiftTarget",
      "name" : "XCTRuntimeAssertionsTests",
      "path" : "Tests/XCTRuntimeAssertionsTests",
      "sources" : [
        "XCTRuntimeAssertionsTests.swift",
        "XCTRuntimePreconditionsTests.swift"
      ],
      "target_dependencies" : [
        "XCTRuntimeAssertions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCTRuntimeAssertions",
      "module_type" : "SwiftTarget",
      "name" : "XCTRuntimeAssertions",
      "path" : "Sources/XCTRuntimeAssertions",
      "product_memberships" : [
        "XCTRuntimeAssertions"
      ],
      "sources" : [
        "Deprecations.swift",
        "XCTRuntimeAssertion.swift",
        "XCTRuntimePrecondition.swift"
      ],
      "target_dependencies" : [
        "RuntimeAssertions"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RuntimeAssertionsTests",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeAssertionsTests",
      "path" : "Tests/RuntimeAssertionsTests",
      "sources" : [
        "RuntimeAssertionsTests.swift",
        "RuntimePreconditionsTests.swift"
      ],
      "target_dependencies" : [
        "RuntimeAssertions",
        "RuntimeAssertionsTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RuntimeAssertionsTesting",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeAssertionsTesting",
      "path" : "Sources/RuntimeAssertionsTesting",
      "product_memberships" : [
        "RuntimeAssertionsTesting"
      ],
      "sources" : [
        "RuntimeAssertion.swift",
        "RuntimePrecondition.swift"
      ],
      "target_dependencies" : [
        "RuntimeAssertions"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RuntimeAssertions",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeAssertions",
      "path" : "Sources/RuntimeAssertions",
      "product_memberships" : [
        "RuntimeAssertions",
        "RuntimeAssertionsTesting",
        "XCTRuntimeAssertions"
      ],
      "sources" : [
        "Assert.swift",
        "Counter.swift",
        "DebugOnly.swift",
        "NeverReturn.swift",
        "Precondition.swift",
        "RuntimeAssertion.swift",
        "RuntimeAssertionInjection.swift",
        "RuntimePrecondition.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling RuntimeAssertions RuntimeAssertion.swift
[6/12] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[7/13] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[8/13] Compiling RuntimeAssertions DebugOnly.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Compiling RuntimeAssertions Assert.swift
[10/13] Compiling RuntimeAssertions Counter.swift
[11/13] Emitting module RuntimeAssertions
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[12/13] Compiling RuntimeAssertions Precondition.swift
[13/13] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 |     // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
   |                         `- error: cannot find 'DispatchQueue' in scope
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
   |                              `- error: cannot find 'DispatchWorkItem' in scope
34 |         injection.withInjection(expression)
35 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Compiling RuntimeAssertions Assert.swift
[3/9] Emitting module RuntimeAssertions
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[4/10] Compiling RuntimeAssertions RuntimeAssertion.swift
[5/10] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 |     // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 |     repeat {
16 |         RunLoop.current.run()
   |                         `- error: value of type 'RunLoop' has no member 'run'
17 |     } while (true)
18 | }
[6/10] Compiling RuntimeAssertions DebugOnly.swift
[7/10] Compiling RuntimeAssertions Counter.swift
[8/10] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[9/10] Compiling RuntimeAssertions Precondition.swift
[10/10] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 |     // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
   |                         `- error: cannot find 'DispatchQueue' in scope
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 |     let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 |     let expressionWorkItem = DispatchWorkItem {
   |                              `- error: cannot find 'DispatchWorkItem' in scope
34 |         injection.withInjection(expression)
35 |     }
BUILD FAILURE 6.1 wasm