Build Information
Failed to build CollectionViewSlantedLayout 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/yacir/CollectionViewSlantedLayout.git
Reference: master
Cloned https://github.com/yacir/CollectionViewSlantedLayout.git into spi-builder-workspace
SUCCESS checkout https://github.com/yacir/CollectionViewSlantedLayout.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
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
99803d4b97f3: Already exists
5e1b2fb8357f: Already exists
4f4fb700ef54: Already exists
f1c7a4392f9e: Already exists
9efea71765ed: Already exists
fb7dea7fb088: Already exists
124f96eb3fc2: Pulling fs layer
124f96eb3fc2: Verifying Checksum
124f96eb3fc2: Download complete
124f96eb3fc2: Pull complete
Digest: sha256:c9de9b81fe76e6276d4917ad8029a956492389dc9f5ee4a314ba4e445da236a2
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/9] Compiling CollectionViewSlantedLayout CAShapeLayer+Helpers.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/10] Emitting module CollectionViewSlantedLayout
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[3/10] Compiling CollectionViewSlantedLayout CollectionViewDelegateSlantedLayout.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[4/10] Compiling CollectionViewSlantedLayout CollectionViewSlantedCell.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[5/10] Compiling CollectionViewSlantedLayout UICollectionView+Helpers.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[6/10] Compiling CollectionViewSlantedLayout CollectionViewSlantedLayoutAttributes.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[7/10] Compiling CollectionViewSlantedLayout UICollectionViewLayout+Helpers.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[8/10] Compiling CollectionViewSlantedLayout CollectionViewSlantedMasks.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[9/10] Compiling CollectionViewSlantedLayout CollectionViewSlantedLayout.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
[10/10] Compiling CollectionViewSlantedLayout CollectionViewSlantedLayout+Constants.swift
/host/spi-builder-workspace/Sources/CollectionViewDelegateSlantedLayout.swift:25:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2