Build Information
Failed to build JSBridge with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
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: 6.0
Building package at path: $workDir
https://github.com/LinusU/JSBridge.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/mxcl/PromiseKit
[1/16963] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit from cache (1.21s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.16.0 (0.51s)
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...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling PromiseKit Resolver.swift
[5/18] Compiling PromiseKit Thenable.swift
[6/19] Compiling PromiseKit when.swift
[7/19] Compiling PromiseKit after.swift
[8/19] Compiling PromiseKit firstly.swift
[9/19] Compiling PromiseKit hang.swift
[10/19] Compiling PromiseKit race.swift
[11/19] Compiling PromiseKit Configuration.swift
[12/19] Compiling PromiseKit CustomStringConvertible.swift
[13/19] Emitting module PromiseKit
[14/19] Compiling PromiseKit Error.swift
[15/19] Compiling PromiseKit Guarantee.swift
[16/19] Compiling PromiseKit Box.swift
[17/19] Compiling PromiseKit Catchable.swift
[18/19] Compiling PromiseKit LogEvent.swift
[19/19] Compiling PromiseKit Promise.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 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)
[23/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)
BUILD FAILURE 6.0 linux