The Swift Package Index logo.Swift Package Index

Build Information

Failed to build snapshotino with Swift 5.8 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.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.16.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kublaios/snapshotino.git
Reference: main
Cloned https://github.com/kublaios/snapshotino.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/kublaios/snapshotino.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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.8-latest swift build 2>&1
Building for debugging...
[1/10] Compiling snapshotino View+Snapshot.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[2/11] Compiling snapshotino UIImageTests.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/11] Compiling snapshotino XCTestCase+SnapshotAssertion.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/11] Compiling snapshotino TypeNameExtractor.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/11] Compiling snapshotino UIImage+Compare.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Compiling snapshotino SnapshottableScreenSize.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/11] Emitting module snapshotino
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/11] Compiling snapshotino SnapshotRetriever.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/11] Compiling snapshotino SnapshotWindow.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/11] Compiling snapshotino SnapshotFileURLBuilder.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/11] Compiling snapshotino SnapshotRecorder.swift
/host/spi-builder-workspace/Sources/snapshotino/SnapshotRecorder.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2