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 JSBridge, reference 1.0.0-alpha.16 (cb5846), with Swift 6.1 for Linux on 27 Apr 2025 05:41:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LinusU/JSBridge.git
Reference: 1.0.0-alpha.16
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/LinusU/JSBridge
 * tag               1.0.0-alpha.16 -> FETCH_HEAD
HEAD is now at cb5846a Merge pull request #8 from LinusU/lu-fix
Cloned https://github.com/LinusU/JSBridge.git
Revision (git rev-parse @):
cb5846a525a31c79f7040fd9df024438883d8924
SUCCESS checkout https://github.com/LinusU/JSBridge.git at 1.0.0-alpha.16
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/LinusU/JSBridge.git
https://github.com/LinusU/JSBridge.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit"
    }
  ],
  "manifest_display_name" : "JSBridge",
  "name" : "JSBridge",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSBridge",
      "targets" : [
        "JSBridge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSBridgeTests",
      "module_type" : "SwiftTarget",
      "name" : "JSBridgeTests",
      "path" : "Tests",
      "sources" : [
        "JSBridgeTests.swift"
      ],
      "target_dependencies" : [
        "JSBridge"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSBridge",
      "module_type" : "SwiftTarget",
      "name" : "JSBridge",
      "path" : "Sources",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "product_memberships" : [
        "JSBridge"
      ],
      "sources" : [
        "Context.swift",
        "JSBridge.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/mxcl/PromiseKit
[1/17186] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit from cache (0.96s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.22.1 (1.44s)
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.22.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Compiling PromiseKit Async.swift
[5/19] Compiling PromiseKit Box.swift
[6/19] Compiling PromiseKit Catchable.swift
[7/21] Compiling PromiseKit Promise.swift
[8/21] Compiling PromiseKit Resolver.swift
[9/21] Emitting module PromiseKit
[10/21] Compiling PromiseKit race.swift
[11/21] Compiling PromiseKit when.swift
[12/21] Compiling PromiseKit Thenable.swift
[13/21] Compiling PromiseKit after.swift
[14/21] Compiling PromiseKit Combine.swift
[15/21] Compiling PromiseKit Configuration.swift
[16/21] Compiling PromiseKit firstly.swift
[17/21] Compiling PromiseKit hang.swift
[18/21] Compiling PromiseKit Guarantee.swift
[19/21] Compiling PromiseKit LogEvent.swift
[20/21] Compiling PromiseKit CustomStringConvertible.swift
[21/21] Compiling PromiseKit Error.swift
[23/25] Compiling JSBridge JSBridge.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
  1 | import WebKit
    |        `- error: no such module 'WebKit'
  2 |
  3 | #if os(iOS)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/25] Emitting module JSBridge
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
  1 | import WebKit
    |        `- error: no such module 'WebKit'
  2 |
  3 | #if os(iOS)
[25/25] Compiling JSBridge Context.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
  1 | import WebKit
    |        `- error: no such module 'WebKit'
  2 |
  3 | #if os(iOS)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Emitting module PromiseKit
[3/19] Compiling PromiseKit Guarantee.swift
[4/19] Compiling PromiseKit LogEvent.swift
[5/19] Compiling PromiseKit CustomStringConvertible.swift
[6/19] Compiling PromiseKit Error.swift
[7/19] Compiling PromiseKit Promise.swift
[8/19] Compiling PromiseKit Resolver.swift
[9/19] Compiling PromiseKit firstly.swift
[10/19] Compiling PromiseKit hang.swift
[11/19] Compiling PromiseKit Thenable.swift
[12/19] Compiling PromiseKit after.swift
[13/19] Compiling PromiseKit Combine.swift
[14/19] Compiling PromiseKit Configuration.swift
[15/19] Compiling PromiseKit Async.swift
[16/19] Compiling PromiseKit Box.swift
[17/19] Compiling PromiseKit Catchable.swift
[18/19] Compiling PromiseKit race.swift
[19/19] Compiling PromiseKit when.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/23] Emitting module JSBridge
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
  1 | import WebKit
    |        `- error: no such module 'WebKit'
  2 |
  3 | #if os(iOS)
[22/23] Compiling JSBridge Context.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
  1 | import WebKit
    |        `- error: no such module 'WebKit'
  2 |
  3 | #if os(iOS)
[23/23] Compiling JSBridge JSBridge.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
  1 | import WebKit
    |        `- error: no such module 'WebKit'
  2 |
  3 | #if os(iOS)
BUILD FAILURE 6.1 linux