This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build JSBridge with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
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:             5.9
Building package at path:  $PWD/checkout
https://github.com/LinusU/JSBridge.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/mxcl/PromiseKit
[1/16749] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit (0.92s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.16.0 (0.37s)
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.16.0
Building for debugging...
[1/15] Compiling PromiseKit hang.swift
[2/15] Compiling PromiseKit race.swift
[3/16] Emitting module PromiseKit
[4/16] Compiling PromiseKit Box.swift
[5/16] Compiling PromiseKit Catchable.swift
[6/16] Compiling PromiseKit Resolver.swift
[7/16] Compiling PromiseKit Thenable.swift
[8/16] Compiling PromiseKit Error.swift
[9/16] Compiling PromiseKit Guarantee.swift
[10/16] Compiling PromiseKit Configuration.swift
[11/16] Compiling PromiseKit CustomStringConvertible.swift
[12/16] Compiling PromiseKit LogEvent.swift
[13/16] Compiling PromiseKit Promise.swift
[14/16] Compiling PromiseKit after.swift
[15/16] Compiling PromiseKit firstly.swift
[16/16] Compiling PromiseKit when.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/21] Emitting module JSBridge
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
import WebKit
       ^
[20/21] Compiling JSBridge Context.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
import WebKit
       ^
[21/21] Compiling JSBridge JSBridge.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
import WebKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module JSBridge
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
import WebKit
       ^
[2/3] Compiling JSBridge JSBridge.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
import WebKit
       ^
[3/3] Compiling JSBridge Context.swift
/host/spi-builder-workspace/Sources/Context.swift:1:8: error: no such module 'WebKit'
import WebKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.