Build Information
Failed to build MediaViewer with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrsaruo/MediaViewer.git
Reference: 0.1.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jrsaruo/MediaViewer
* tag 0.1.3 -> FETCH_HEAD
HEAD is now at f7c26ac Merge pull request #102 from jrsaruo/release-0.1.3
Cloned https://github.com/jrsaruo/MediaViewer.git
Revision (git rev-parse @):
f7c26ac985c2bcf8e177dd6b75332e76055ea49d
SUCCESS checkout https://github.com/jrsaruo/MediaViewer.git at 0.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/jrsaruo/MediaViewer.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/19] Emitting module MediaViewer
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[2/21] Compiling MediaViewer AnyMediaIdentifier.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/21] Compiling MediaViewer MediaViewerViewController+UI.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/21] Compiling MediaViewer Sequence+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/21] Compiling MediaViewer MediaViewerTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/21] Compiling MediaViewer UIViewTransitioningConfiguration.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/21] Compiling MediaViewer UICollectionView+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/21] Compiling MediaViewer UIImageView+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[9/21] Compiling MediaViewer UIView+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[10/21] Compiling MediaViewer MediaViewerPageControlBar.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[11/21] Compiling MediaViewer MediaViewerPageControlBarLayout.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[12/21] Compiling MediaViewer MediaViewerDelegate.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[13/21] Compiling MediaViewer MediaViewerOnePageView.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[14/21] Compiling MediaViewer MediaViewerOnePageViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[15/21] Compiling MediaViewer PageControlBarThumbnailCell.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[16/21] Compiling MediaViewer MediaViewerInteractivePopTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[17/21] Compiling MediaViewer MediaViewerViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[18/21] Compiling MediaViewer MediaViewerViewModel.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[19/21] Compiling MediaViewer UIViewControllerContextTransitioning+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[20/21] Compiling MediaViewer Media.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[21/21] Compiling MediaViewer MediaViewerDataSource.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/19] Compiling MediaViewer AnyMediaIdentifier.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[2/19] Compiling MediaViewer MediaViewerViewController+UI.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/19] Compiling MediaViewer Sequence+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/19] Compiling MediaViewer UIViewControllerContextTransitioning+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/19] Compiling MediaViewer Media.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/19] Compiling MediaViewer MediaViewerDataSource.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/19] Compiling MediaViewer UICollectionView+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/19] Compiling MediaViewer UIImageView+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[9/19] Compiling MediaViewer UIView+Extension.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/21] Emitting module MediaViewer
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[11/21] Compiling MediaViewer MediaViewerTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[12/21] Compiling MediaViewer UIViewTransitioningConfiguration.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[13/21] Compiling MediaViewer MediaViewerDelegate.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[14/21] Compiling MediaViewer MediaViewerOnePageView.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[15/21] Compiling MediaViewer MediaViewerOnePageViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[16/21] Compiling MediaViewer MediaViewerViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[17/21] Compiling MediaViewer MediaViewerViewModel.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[18/21] Compiling MediaViewer MediaViewerPageControlBar.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[19/21] Compiling MediaViewer MediaViewerPageControlBarLayout.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[20/21] Compiling MediaViewer PageControlBarThumbnailCell.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[21/21] Compiling MediaViewer MediaViewerInteractivePopTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux