Build Information
Failed to build TimeIntervalFormatStyle with Swift 5.8 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.16.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/spanage/TimeIntervalFormatStyle.git
Reference: 1.0.1
Cloned https://github.com/spanage/TimeIntervalFormatStyle.git into spi-builder-workspace
SUCCESS checkout https://github.com/spanage/TimeIntervalFormatStyle.git at 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/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 {
^~~~~~~~~~~~~
[2/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 {
^
[3/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 {
^~~~~~~~~~~~~~~~~~~~
/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 TimeIntervalParseStrategy.swift
/host/spi-builder-workspace/Sources/TimeIntervalFormatStyle/TimeIntervalParseStrategy.swift:10:42: error: cannot find type 'ParseStrategy' in scope
public struct TimeIntervalParseStrategy: ParseStrategy {
^~~~~~~~~~~~~
[5/5] Compiling TimeIntervalFormatStyle TimeInterval+Constants.swift
BUILD FAILURE 5.8 linux
Build Machine: Linux 2