The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PlayButton with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/public-value-tech/play-button.git
Reference: v1.0.3
Cloned https://github.com/public-value-tech/play-button.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/public-value-tech/play-button.git at v1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/9831] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.68s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.9.0 (0.34s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.9.0
Building for debugging...
[1/9] Compiling PlayButton CA+Extensions.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/10] Emitting module PlayButton
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[3/10] Compiling PlayButton AnimationGroup.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[4/10] Compiling PlayButton AnimationKeys.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/10] Compiling PlayButton AnimationStates.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/10] Compiling PlayButton PlayButtonPreviews.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[7/10] Compiling PlayButton PlayButton+tvOS.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[8/10] Compiling PlayButton Modes.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[9/10] Compiling PlayButton PlayButton.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[10/10] Compiling PlayButton CGPath+Extensions.swift
/host/spi-builder-workspace/Sources/PlayButton/AnimationGroup.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2