Build Information
Failed to build DeviceDetector with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-1":/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/ShawnBaek/DeviceDetector.git
Reference: 1.0.4
Cloned https://github.com/ShawnBaek/DeviceDetector.git into spi-builder-workspace
SUCCESS checkout https://github.com/ShawnBaek/DeviceDetector.git at 1.0.4
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[0/1] Copying Device.plist
[2/6] Compiling DeviceDetector resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[3/6] Compiling DeviceDetector UIDevice+Extension.swift
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module DeviceDetector
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/6] Compiling DeviceDetector DeviceOptionSet.swift
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling DeviceDetector DeviceDetector.swift
/host/spi-builder-workspace/Sources/DeviceDetector/DeviceDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2