Build Information
Failed to build SImage with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/backslash-f/simage.git
Reference: v2.0.1
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/backslash-f/simage
* tag v2.0.1 -> FETCH_HEAD
HEAD is now at 0927fa7 Use SPM Resources (SE-0271)
Cloned https://github.com/backslash-f/simage.git
Revision (git rev-parse @):
0927fa7a625c8dd99ba89cf1d492a7db55420424
SUCCESS checkout https://github.com/backslash-f/simage.git at v2.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/backslash-f/simage.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/backslash-f/applogger
Fetching https://github.com/backslash-f/worker
[1/97] Fetching worker
[98/194] Fetching worker, applogger
Fetched https://github.com/backslash-f/applogger from cache (0.21s)
Fetched https://github.com/backslash-f/worker from cache (0.21s)
Computing version for https://github.com/backslash-f/applogger
Computed https://github.com/backslash-f/applogger at 1.0.0 (0.47s)
Computing version for https://github.com/backslash-f/worker
Computed https://github.com/backslash-f/worker at 1.0.0 (0.44s)
Creating working copy for https://github.com/backslash-f/applogger
Working copy of https://github.com/backslash-f/applogger resolved at 1.0.0
Creating working copy for https://github.com/backslash-f/worker
Working copy of https://github.com/backslash-f/worker resolved at 1.0.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module AppLogger
/host/spi-builder-workspace/.build/checkouts/applogger/Sources/AppLogger/AppLogger.swift:9:8: error: no such module 'os'
import os
^
[6/8] Compiling AppLogger AppLogger.swift
/host/spi-builder-workspace/.build/checkouts/applogger/Sources/AppLogger/AppLogger.swift:9:8: error: no such module 'os'
import os
^
[7/8] Compiling Worker Worker.swift
[8/8] Emitting module Worker
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module AppLogger
/host/spi-builder-workspace/.build/checkouts/applogger/Sources/AppLogger/AppLogger.swift:9:8: error: no such module 'os'
import os
^
[3/4] Compiling AppLogger AppLogger.swift
/host/spi-builder-workspace/.build/checkouts/applogger/Sources/AppLogger/AppLogger.swift:9:8: error: no such module 'os'
import os
^
error: fatalError
BUILD FAILURE 5.10 linux