Build Information
Failed to build Stem with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/linhay/Stem.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/linhay/Stem
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1585887 chore: 增强
Cloned https://github.com/linhay/Stem.git
Revision (git rev-parse @):
15858877b983f2a3d81198fc5b81439741772734
SUCCESS checkout https://github.com/linhay/Stem.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/linhay/Stem.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 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/177] Emitting module StemColor
/host/spi-builder-workspace/Sources/StemColor/Spaces/ColorSpaceCalculator.swift:24:8: error: no such module 'simd'
import simd
^
[2/180] Compiling StemHybrid StemHybridViewController.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
^
[3/180] 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/180] Emitting module StemHybrid
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
^
[5/180] Compiling StemHybrid StemHybridConfiguration.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
^
/host/spi-builder-workspace/Sources/Stem/CrossPlatform/AVKit/AudioFileService.swift:9:8: error: no such module 'AudioToolbox'
import AudioToolbox
^
/host/spi-builder-workspace/Sources/StemColor/Spaces/ColorSpaceCalculator.swift:24:8: error: no such module 'simd'
import simd
^
/host/spi-builder-workspace/Sources/StemFilePath/STPathProtocol.swift:151:5: warning: @discardableResult declared on a function returning Void is unnecessary
@discardableResult
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/StemFilePath/STPathProtocol.swift:153:13: error: value of type 'URL' has no member 'stopAccessingSecurityScopedResource'
url.stopAccessingSecurityScopedResource()
~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/StemFilePath/STPathProtocol.swift:158:20: error: value of type 'URL' has no member 'startAccessingSecurityScopedResource'
return url.startAccessingSecurityScopedResource()
~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/StemFilePath/STPathProtocol.swift:187:23: error: incorrect argument label in call (have 'filePath:relativeTo:', expected 'fileURLWithPath:relativeTo:')
return URL(filePath: "/", relativeTo: nil)
^~~~~~~~~
fileURLWithPath
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/48] Compiling StemHybrid StemHybridWebView.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
^
[2/49] 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/93] Emitting module StemHybrid
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
^
[4/93] Compiling StemHybrid StemHybridConfiguration.swift
/host/spi-builder-workspace/Sources/StemHybrid/StemHybridConfiguration.swift:8:8: error: no such module 'WebKit'
import WebKit
^
BUILD FAILURE 5.8 linux
Build Machine: Linux 1