Build Information
Failed to build FHDiffableViewControllers with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FelixHerrmann/FHDiffableViewControllers.git
Reference: master
Cloned https://github.com/FelixHerrmann/FHDiffableViewControllers.git
Revision (git rev-parse @):
SUCCESS checkout https://github.com/FelixHerrmann/FHDiffableViewControllers.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/6] Compiling FHDiffableViewControllers FHDiffableTableViewController.swift
$PWD/checkout/Sources/FHDiffableViewControllers/FHDiffableCollectionViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module FHDiffableViewControllers
$PWD/checkout/Sources/FHDiffableViewControllers/FHDiffableCollectionViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/6] Compiling FHDiffableViewControllers FHDiffableDataSourceSnapshotItemBuilder.swift
$PWD/checkout/Sources/FHDiffableViewControllers/FHDiffableCollectionViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/6] Compiling FHDiffableViewControllers FHDiffableDataSourceSnapshotSection.swift
$PWD/checkout/Sources/FHDiffableViewControllers/FHDiffableCollectionViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/6] Compiling FHDiffableViewControllers FHDiffableDataSourceSnapshotSectionBuilder.swift
$PWD/checkout/Sources/FHDiffableViewControllers/FHDiffableCollectionViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/6] Compiling FHDiffableViewControllers FHDiffableCollectionViewController.swift
$PWD/checkout/Sources/FHDiffableViewControllers/FHDiffableCollectionViewController.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux