Build Information
Failed to build UnifiedLogHandler 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/gonzalezreal/UnifiedLogging.git
Reference: master
Cloned https://github.com/gonzalezreal/UnifiedLogging.git into spi-builder-workspace
SUCCESS checkout https://github.com/gonzalezreal/UnifiedLogging.git at master
========================================
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/apple/swift-log
[1/3079] Fetching swift-log
Fetched https://github.com/apple/swift-log (0.57s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.2.0 (0.36s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.2.0
Building for debugging...
[1/4] Compiling Logging LogHandler.swift
[2/4] Compiling Logging Logging.swift
[3/4] Compiling Logging Locks.swift
[4/4] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Emitting module UnifiedLogHandler
/host/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:3:8: error: no such module 'os.log'
import os.log
^
[8/9] Compiling UnifiedLogHandler UnifiedLogHandler.swift
/host/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:3:8: error: no such module 'os.log'
import os.log
^
[9/9] Compiling UnifiedLogHandler LogFormatter.swift
/host/spi-builder-workspace/Sources/UnifiedLogHandler/UnifiedLogHandler.swift:3:8: error: no such module 'os.log'
import os.log
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1