Build Information
Failed to build AHDownloadButton with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amerhukic/AHDownloadButton.git
Reference: 1.3.0
Cloned https://github.com/amerhukic/AHDownloadButton.git into spi-builder-workspace
SUCCESS checkout https://github.com/amerhukic/AHDownloadButton.git at 1.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/9] Compiling AHDownloadButton UIButton+TitleWidth.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[2/10] Compiling AHDownloadButton Color.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[3/10] Compiling AHDownloadButton UIView+Constraint.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/10] Compiling AHDownloadButton HighlightableRoundedButton.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/10] Compiling AHDownloadButton ProgressCircleView.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[6/10] Compiling AHDownloadButton ProgressButton.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module AHDownloadButton
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[8/10] Compiling AHDownloadButton CircleView.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[9/10] Compiling AHDownloadButton AHDownloadButton+StateTransitionAnimation.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[10/10] Compiling AHDownloadButton AHDownloadButton.swift
/host/spi-builder-workspace/Sources/AHDownloadButton/Classes/AHDownloadButton+StateTransitionAnimation.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.9 linux