The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyJSCore, reference 0.5.2 (06e7cc), with Swift 6.1 for Wasm on 16 Jul 2025 14:47:35 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michalbencur/SwiftyJSCore.git
Reference: 0.5.2
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/michalbencur/SwiftyJSCore
 * tag               0.5.2      -> FETCH_HEAD
HEAD is now at 06e7cc1 make console.debug() only log in DEBUG mode
Cloned https://github.com/michalbencur/SwiftyJSCore.git
Revision (git rev-parse @):
06e7cc12d5b8a2720f7ae4456f01115dff0e7c3b
SUCCESS checkout https://github.com/michalbencur/SwiftyJSCore.git at 0.5.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/michalbencur/SwiftyJSCore.git
https://github.com/michalbencur/SwiftyJSCore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyJSCore",
  "name" : "SwiftyJSCore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyJSCore",
      "targets" : [
        "SwiftyJSCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyJSCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyJSCoreTests",
      "path" : "Tests/SwiftyJSCoreTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftyJSCoreTests/script.js",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SwiftyJSCoreTests/swift-data.js",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "FetchTests.swift",
        "Logger.swift",
        "SwiftDataAPI.swift",
        "SwiftDataModels.swift",
        "SwiftDataTests.swift",
        "SwiftyJSCoreTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyJSCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyJSCore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyJSCore",
      "path" : "Sources/SwiftyJSCore",
      "product_memberships" : [
        "SwiftyJSCore"
      ],
      "sources" : [
        "JSAsyncWrapper.swift",
        "JSConsoleLogger.swift",
        "JSConvertable+Extensions.swift",
        "JSIntepreter+Setup.swift",
        "JSInternal.swift",
        "JSInterpreter+Fetch.swift",
        "JSInterpreter.swift",
        "JSPromiseHolder.swift",
        "JSTypes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling SwiftyJSCore JSPromiseHolder.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[4/12] Compiling SwiftyJSCore JSTypes.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[5/12] Compiling SwiftyJSCore JSInterpreter.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[6/12] Compiling SwiftyJSCore JSInternal.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[7/12] Compiling SwiftyJSCore JSInterpreter+Fetch.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Emitting module SwiftyJSCore
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[9/12] Compiling SwiftyJSCore JSIntepreter+Setup.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[10/12] Compiling SwiftyJSCore JSConvertable+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[11/12] Compiling SwiftyJSCore JSAsyncWrapper.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[12/12] Compiling SwiftyJSCore JSConsoleLogger.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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
[2/10] Compiling SwiftyJSCore JSConvertable+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[3/11] Compiling SwiftyJSCore JSAsyncWrapper.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[4/11] Compiling SwiftyJSCore JSConsoleLogger.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Emitting module SwiftyJSCore
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[6/11] Compiling SwiftyJSCore JSPromiseHolder.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[7/11] Compiling SwiftyJSCore JSInterpreter+Fetch.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[8/11] Compiling SwiftyJSCore JSInternal.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[9/11] Compiling SwiftyJSCore JSIntepreter+Setup.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[10/11] Compiling SwiftyJSCore JSInterpreter.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
[11/11] Compiling SwiftyJSCore JSTypes.swift
/host/spi-builder-workspace/Sources/SwiftyJSCore/JSAsyncWrapper.swift:8:8: error: no such module 'JavaScriptCore'
 6 | //
 7 |
 8 | import JavaScriptCore
   |        `- error: no such module 'JavaScriptCore'
 9 |
10 | fileprivate class ClosureWrapper<T>: @unchecked Sendable {
BUILD FAILURE 6.1 wasm