The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SImage with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/backslash-f/simage.git
Reference: v2.0.1
Cloned https://github.com/backslash-f/simage.git into spi-builder-workspace
SUCCESS checkout https://github.com/backslash-f/simage.git at v2.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/backslash-f/worker
Fetching https://github.com/backslash-f/applogger
Fetched https://github.com/backslash-f/applogger (0.22s)
Fetched https://github.com/backslash-f/worker (0.23s)
Computing version for https://github.com/backslash-f/applogger
Computed https://github.com/backslash-f/applogger at 1.0.0 (0.34s)
Computing version for https://github.com/backslash-f/worker
Computed https://github.com/backslash-f/worker at 1.0.0 (0.26s)
Creating working copy for https://github.com/backslash-f/worker
Working copy of https://github.com/backslash-f/worker resolved at 1.0.0
Creating working copy for https://github.com/backslash-f/applogger
Working copy of https://github.com/backslash-f/applogger resolved at 1.0.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module AppLogger
/host/spi-builder-workspace/.build/checkouts/applogger/Sources/AppLogger/AppLogger.swift:9:8: error: no such module 'os'
import os
       ^
[2/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
[3/4] Emitting module Worker
BUILD FAILURE 5.9 linux

Build Machine: Linux 1