The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stem with Swift 5.7 for Linux.

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/linhay/Stem.git
Reference: 1.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/linhay/Stem
 * tag               1.5.2      -> FETCH_HEAD
HEAD is now at 7b02a6b chore: 同步代码
Cloned https://github.com/linhay/Stem.git
Revision (git rev-parse @):
7b02a6b4053f68f7a3d3b92a6e5350f60fbc168d
SUCCESS checkout https://github.com/linhay/Stem.git at 1.5.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/StemTests/Resource/fixture.xcassets
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/StemColorTests/Resource/fixture.xcassets
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/174] Emitting module StemHybrid
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[2/174] Compiling StemHybrid StemHybridConfiguration.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[3/174] Compiling StemHybrid StemHybridWebView.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[4/174] Compiling StemHybrid StemHybridViewController.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/StemTests/Resource/fixture.xcassets
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/StemColorTests/Resource/fixture.xcassets
[0/1] Planning build
Building for debugging...
[1/5] Compiling StemHybrid StemHybridWebView.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[2/11] Emitting module StemHybrid
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[3/11] Compiling StemHybrid StemHybridViewController.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[4/11] Compiling StemHybrid StemHybridConfiguration.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1