The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Stem with Swift 5.9 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.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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...
[1/174] Compiling StemHybrid StemHybridConfiguration.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/174] Emitting module Stem
/host/spi-builder-workspace/Sources/Stem/CrossPlatform/AVKit/AudioFileService.swift:9:8: error: no such module 'AudioToolbox'
import AudioToolbox
       ^
[3/191] 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)
[4/191] Emitting module StemHybrid
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[5/191] Compiling StemHybrid StemHybridViewController.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
error: fatalError
/host/spi-builder-workspace/Sources/StemColor/Spaces/ColorSpaceCalculator.swift:24:8: error: no such module 'simd'
import simd
       ^
[6/191] Compiling Stem Stem.swift
[7/191] Compiling Stem AVAsset.swift
[8/191] Emitting module StemFilePath
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/47] Compiling StemHybrid StemHybridWebView.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[2/47] Compiling StemHybrid StemHybridViewController.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)
[3/84] Emitting module StemHybrid
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
[4/84] Compiling StemHybrid StemHybridConfiguration.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2