The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TimeIntervalFormatStyle with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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/spanage/TimeIntervalFormatStyle.git
Reference: main
Cloned https://github.com/spanage/TimeIntervalFormatStyle.git into spi-builder-workspace
SUCCESS checkout https://github.com/spanage/TimeIntervalFormatStyle.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/5] Compiling TimeIntervalFormatStyle TimeIntervalParseStrategy.swift
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeIntervalParseStrategy.swift:10:42: error: cannot find type 'ParseStrategy' in scope
public struct TimeIntervalParseStrategy: ParseStrategy {
                                         ^~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling TimeIntervalFormatStyle TimeInterval+Constants.swift
[3/5] Emitting module TimeIntervalFormatStyle
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeInterval+FormatStyle.swift:20:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == TimeInterval.TimeIntervalFormatStyle {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeIntervalFormatStyle.swift:23:49: error: cannot find type 'ParseableFormatStyle' in scope
extension TimeInterval.TimeIntervalFormatStyle: ParseableFormatStyle {
                                                ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeIntervalParseStrategy.swift:10:42: error: cannot find type 'ParseStrategy' in scope
public struct TimeIntervalParseStrategy: ParseStrategy {
                                         ^~~~~~~~~~~~~
[4/5] Compiling TimeIntervalFormatStyle TimeInterval+FormatStyle.swift
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeInterval+FormatStyle.swift:20:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == TimeInterval.TimeIntervalFormatStyle {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeInterval+FormatStyle.swift:20:30: error: 'where' clause cannot be applied to a non-generic top-level declaration
public extension FormatStyle where Self == TimeInterval.TimeIntervalFormatStyle {
                             ^
[5/5] Compiling TimeIntervalFormatStyle TimeIntervalFormatStyle.swift
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeIntervalFormatStyle.swift:23:49: error: cannot find type 'ParseableFormatStyle' in scope
extension TimeInterval.TimeIntervalFormatStyle: ParseableFormatStyle {
                                                ^~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1