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: 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/LinusU/JSBridge
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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.89s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.16.0 (0.36s)
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 Resolver.swift
[2/15] Compiling PromiseKit Thenable.swift
[3/15] Compiling PromiseKit LogEvent.swift
[4/15] Compiling PromiseKit Promise.swift
[5/16] Compiling PromiseKit after.swift
[6/16] Compiling PromiseKit firstly.swift
[7/16] Compiling PromiseKit hang.swift
[8/16] Compiling PromiseKit race.swift
[9/16] Compiling PromiseKit Box.swift
[10/16] Compiling PromiseKit Catchable.swift
[11/16] Compiling PromiseKit Error.swift
[12/16] Compiling PromiseKit Guarantee.swift
[13/16] Compiling PromiseKit Configuration.swift
[14/16] Compiling PromiseKit CustomStringConvertible.swift
[15/16] Emitting module PromiseKit
[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.