The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScaledFont with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kharrison/ScaledFont.git
Reference: 1.0.5
Cloned https://github.com/kharrison/ScaledFont.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/kharrison/ScaledFont.git at 1.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
[1/1423] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.29s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Emitting module ScaledFont
/host/spi-builder-workspace/Sources/ScaledFont/ScaledFont.swift:29:8: error: no such module 'UIKit'
import UIKit
       ^
[2/3] Compiling ScaledFont ScaledFontUI.swift
/host/spi-builder-workspace/Sources/ScaledFont/ScaledFont.swift:29:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling ScaledFont ScaledFont.swift
/host/spi-builder-workspace/Sources/ScaledFont/ScaledFont.swift:29:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1