Build Information
Failed to build DurationPicker 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 --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.9
Building package at path: $workDir
https://github.com/mac-gallagher/DurationPicker.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 --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...
[1/13] Compiling DurationPicker DurationPicker+Mode.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[2/13] Compiling DurationPicker TimeUtils.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[3/13] Compiling DurationPicker DurationFormatter.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[4/13] Compiling DurationPicker TimeConstants.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[5/14] Compiling DurationPicker UILabel++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[6/14] Compiling DurationPicker TimeComponents.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[7/14] Compiling DurationPicker DurationPicker.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[8/14] Compiling DurationPicker Numbers++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[9/14] Compiling DurationPicker String++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[10/14] Compiling DurationPicker CGFloat++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[11/14] Compiling DurationPicker CGSize++.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)
[12/14] Emitting module DurationPicker
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[13/14] Compiling DurationPicker DurationPickerContentView.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[14/14] 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...
[1/13] Compiling DurationPicker DurationPicker+Mode.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[2/13] Compiling DurationPicker TimeUtils.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[3/14] Compiling DurationPicker CGFloat++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[4/14] Compiling DurationPicker CGSize++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[5/14] Compiling DurationPicker Numbers++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[6/14] Compiling DurationPicker String++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[7/14] Compiling DurationPicker DurationFormatter.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[8/14] Compiling DurationPicker TimeConstants.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[9/14] Compiling DurationPicker UILabel++.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[10/14] Compiling DurationPicker TimeComponents.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[11/14] 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)
[12/14] Emitting module DurationPicker
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[13/14] Compiling DurationPicker DurationPickerContentView.swift
/host/spi-builder-workspace/Sources/DurationPicker/Internal/DurationPickerContentView.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[14/14] 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.9 linux