Build Information
Failed to build DurationPicker with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mac-gallagher/DurationPicker.git
Reference: 1.0.2
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/mac-gallagher/DurationPicker
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 798a9f9 Update README (#3)
Cloned https://github.com/mac-gallagher/DurationPicker.git
Revision (git rev-parse @):
798a9f9b6c162eb6f00deb29d10175c00d1caa25
SUCCESS checkout https://github.com/mac-gallagher/DurationPicker.git at 1.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/mac-gallagher/DurationPicker.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/DurationPicker/Resources/Localizable.xcstrings
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling DurationPicker DurationPicker+Mode.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[4/16] Compiling DurationPicker DurationPicker.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[5/16] Compiling DurationPicker TimeUtils.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[6/16] Compiling DurationPicker Numbers++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[7/16] Compiling DurationPicker String++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[8/16] Compiling DurationPicker CGFloat++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[9/16] Compiling DurationPicker CGSize++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[10/16] Compiling DurationPicker UILabel++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[11/16] Compiling DurationPicker TimeComponents.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[12/16] Compiling DurationPicker DurationFormatter.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[13/16] Compiling DurationPicker TimeConstants.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module DurationPicker
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[15/16] Compiling DurationPicker DurationPickerContentView.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[16/16] Compiling DurationPicker DurationPickerView.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/DurationPicker/Resources/Localizable.xcstrings
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling DurationPicker Numbers++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[3/14] Compiling DurationPicker String++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[4/14] Compiling DurationPicker CGFloat++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[5/14] Compiling DurationPicker CGSize++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[6/15] Compiling DurationPicker DurationPicker+Mode.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[7/15] Compiling DurationPicker TimeUtils.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[8/15] Compiling DurationPicker UILabel++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[9/15] Compiling DurationPicker TimeComponents.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[10/15] Compiling DurationPicker DurationFormatter.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[11/15] Compiling DurationPicker TimeConstants.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[12/15] Compiling DurationPicker DurationPicker.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/15] Emitting module DurationPicker
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[14/15] Compiling DurationPicker DurationPickerContentView.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[15/15] Compiling DurationPicker DurationPickerView.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 linux