Build Information
Failed to build ArrowView with Swift 5.9 for Linux.
Build Command
bash -c 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.22.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/ArrowView.git
Reference: 1.1.0
Cloned https://github.com/bradhowes/ArrowView.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/bradhowes/ArrowView.git at 1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: /host/spi-builder-workspace
Running build ...
bash -c 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/pointfreeco/swift-snapshot-testing.git
[1/10737] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.14.2 (0.35s)
Fetching https://github.com/apple/swift-syntax.git
[1/52810] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.86s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.1 (0.48s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.14.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module ArrowView
/host/spi-builder-workspace/Sources/ArrowView/ArrowView.swift:3:8: error: no such module 'UIKit'
import UIKit
^
[2/2] Compiling ArrowView ArrowView.swift
/host/spi-builder-workspace/Sources/ArrowView/ArrowView.swift:3:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux