The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Dysprosium with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/e-sites/Dysprosium.git
Reference: master
Cloned https://github.com/e-sites/Dysprosium.git into spi-builder-workspace
SUCCESS checkout https://github.com/e-sites/Dysprosium.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-4609320-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.git
Fetching https://github.com/e-sites/lithium.git
[1/304] Fetching lithium
[305/3383] Fetching lithium, swift-log
Fetched https://github.com/e-sites/lithium.git (0.31s)
Computing version for https://github.com/e-sites/lithium.git
Fetched https://github.com/apple/swift-log.git (0.32s)
Computed https://github.com/e-sites/lithium.git at 9.0.1 (0.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.3.0 (0.29s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.3.0
Creating working copy for https://github.com/e-sites/lithium.git
Working copy of https://github.com/e-sites/lithium.git resolved at 9.0.1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/7] Emitting module Dysprosium
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[2/7] Compiling Dysprosium DysprosiumCompatible.swift
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[3/7] Compiling Dysprosium Dysprosium.swift
/host/spi-builder-workspace/Sources/Core/Dysprosium.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[4/7] Compiling Logging LogHandler.swift
[5/7] Emitting module Logging
[6/7] Compiling Logging Locks.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2