Build Information
Failed to build MediaViewer with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/jrsaruo/MediaViewer.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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 MediaViewerTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[3/21] Compiling MediaViewer UIViewTransitioningConfiguration.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[4/21] Compiling MediaViewer MediaViewerViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[5/21] Compiling MediaViewer MediaViewerViewModel.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/21] Compiling MediaViewer MediaViewerDelegate.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[7/21] Compiling MediaViewer MediaViewerOnePageView.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/21] Compiling MediaViewer MediaViewerOnePageViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[9/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
^
[10/21] Compiling MediaViewer Media.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[11/21] Compiling MediaViewer MediaViewerDataSource.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[12/21] Compiling MediaViewer AnyMediaIdentifier.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[13/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
^
[14/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
^
[15/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
^
[16/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
^
[17/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
^
[18/21] Compiling MediaViewer PageControlBarThumbnailCell.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[19/21] Compiling MediaViewer MediaViewerInteractivePopTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[20/21] Compiling MediaViewer MediaViewerPageControlBar.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[21/21] Compiling MediaViewer MediaViewerPageControlBarLayout.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[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/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
^
[5/21] Compiling MediaViewer Media.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[6/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: emit-module command failed with exit code 1 (use -v to see invocation)
[7/21] Emitting module MediaViewer
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[8/21] Compiling MediaViewer MediaViewerTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[9/21] Compiling MediaViewer UIViewTransitioningConfiguration.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[10/21] Compiling MediaViewer MediaViewerViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[11/21] Compiling MediaViewer MediaViewerViewModel.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[12/21] Compiling MediaViewer PageControlBarThumbnailCell.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[13/21] Compiling MediaViewer MediaViewerInteractivePopTransition.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[14/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
^
[15/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
^
[16/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
^
[17/21] Compiling MediaViewer MediaViewerPageControlBar.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[18/21] Compiling MediaViewer MediaViewerPageControlBarLayout.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[19/21] Compiling MediaViewer MediaViewerDelegate.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[20/21] Compiling MediaViewer MediaViewerOnePageView.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
[21/21] Compiling MediaViewer MediaViewerOnePageViewController.swift
/host/spi-builder-workspace/Sources/MediaViewer/Extensions/MediaViewerViewController+UI.swift:8:8: error: no such module 'UIKit'
import UIKit
^
BUILD FAILURE 5.8 linux