Build Information
Failed to build VDDate, reference main (2155df
), with Swift 5.8 for Linux on 3 Sep 2024 12:04:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/VDDate.git
Reference: main
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/dankinsoid/VDDate
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2155df4 0.14.0
Cloned https://github.com/dankinsoid/VDDate.git
Revision (git rev-parse @):
2155df428bc0446d5a749579c18bda1ff6569ec2
SUCCESS checkout https://github.com/dankinsoid/VDDate.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD
https://github.com/dankinsoid/VDDate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:c076d3ae857ca95da27bda0293ef81759bb7add70e4768513ac0cd43f6640c27
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/14] Emitting module VDDate
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:73:22: error: 'FormatString' is not a member type of struct 'Foundation.Date'
formatString: Date.FormatString,
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable {
^
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:18:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == ConstantDateStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:4:34: error: cannot find type 'FormatStyle' in scope
public struct ConstantDateStyle: FormatStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:44: error: 'FormatInput' is not a member type of type 'S'
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:67: error: 'FormatOutput' is not a member type of type 'S'
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:13: error: cannot find type 'FormatStyle' in scope
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:99: error: 'FormatInput' is not a member type of type 'S'
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:122: error: 'FormatOutput' is not a member type of type 'S'
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:43: error: 'FormatInput' is not a member type of type 'S'
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:66: error: 'FormatOutput' is not a member type of type 'S'
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
[2/15] Compiling VDDate Weekdays.swift
[3/15] Compiling VDDate Locale++.swift
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:43: error: 'FormatInput' is not a member type of type 'S'
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:66: error: 'FormatOutput' is not a member type of type 'S'
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:20:19: error: value of type 'S' has no member 'format'
self.init(style.format)
~~~~~ ^~~~~~
[4/15] Compiling VDDate AnyDateFormatStyle.swift
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:43: error: 'FormatInput' is not a member type of type 'S'
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:66: error: 'FormatOutput' is not a member type of type 'S'
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:20:19: error: value of type 'S' has no member 'format'
self.init(style.format)
~~~~~ ^~~~~~
[5/15] Compiling VDDate DatesCollection.swift
[6/15] Compiling VDDate SearchDirectionSet.swift
[7/15] Compiling VDDate DateFormatParser.swift
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:44: error: 'FormatInput' is not a member type of type 'S'
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:67: error: 'FormatOutput' is not a member type of type 'S'
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:13: error: cannot find type 'FormatStyle' in scope
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:99: error: 'FormatInput' is not a member type of type 'S'
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:122: error: 'FormatOutput' is not a member type of type 'S'
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
[8/15] Compiling VDDate RelativeDateFormat.swift
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:44: error: 'FormatInput' is not a member type of type 'S'
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:46:67: error: 'FormatOutput' is not a member type of type 'S'
init<S: FormatStyle>(_ format: S) where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:13: error: cannot find type 'FormatStyle' in scope
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:99: error: 'FormatInput' is not a member type of type 'S'
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Format/RelativeDateFormat.swift:50:122: error: 'FormatOutput' is not a member type of type 'S'
func at<S: FormatStyle>(_ components: DateComponents, _ format: S) -> RelativeDateFormat where S.FormatInput == Date, S.FormatOutput == String {
~ ^
/host/spi-builder-workspace/Sources/VDDate/Models/AnyDateFormatStyle.swift:19:10: error: cannot find type 'FormatStyle' in scope
init<S: FormatStyle>(_ style: S) where S.FormatInput == Date, S.FormatOutput == String {
^~~~~~~~~~~
[9/15] Compiling VDDate ConstantDateStyle.swift
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:18:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == ConstantDateStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:4:34: error: cannot find type 'FormatStyle' in scope
public struct ConstantDateStyle: FormatStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/DateFormat.swift:299:9: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return .string("")
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:18:30: error: 'where' clause cannot be applied to a non-generic top-level declaration
public extension FormatStyle where Self == ConstantDateStyle {
^
[10/15] Compiling VDDate DateFormat.swift
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:18:18: error: cannot find type 'FormatStyle' in scope
public extension FormatStyle where Self == ConstantDateStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:4:34: error: cannot find type 'FormatStyle' in scope
public struct ConstantDateStyle: FormatStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/DateFormat.swift:299:9: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return .string("")
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Format/ConstantDateStyle.swift:18:30: error: 'where' clause cannot be applied to a non-generic top-level declaration
public extension FormatStyle where Self == ConstantDateStyle {
^
[11/15] Compiling VDDate TimeZone++.swift
[12/15] Compiling VDDate Calendar++.swift
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:50:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return nil
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:83:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return nil
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:104:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return nil
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:142:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return "isLeapMonth"
~^~~~~~~~~~~
[13/15] Compiling VDDate CalendarComponent++.swift
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:50:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return nil
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:83:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return nil
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:104:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return nil
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:142:15: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return "isLeapMonth"
~^~~~~~~~~~~
[14/15] Compiling VDDate Date++.swift
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:73:22: error: 'FormatString' is not a member type of struct 'Foundation.Date'
formatString: Date.FormatString,
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable {
^
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:78:24: error: type 'Date' has no member 'ParseStrategy'
let formatter = Date.ParseStrategy(format: formatString, locale: locale, timeZone: timeZone, calendar: calendar)
~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:116:26: error: type 'Date' has no member 'ISO8601FormatStyle'
return formatted(Date.ISO8601FormatStyle(includingFractionalSeconds: true, timeZone: timeZone))
~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:421:9: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return ""
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:478:31: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .calendar, .timeZone, .isLeapMonth:
~^~~~~~~~~~~
[15/15] Compiling VDDate DateComponents++.swift
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:73:22: error: 'FormatString' is not a member type of struct 'Foundation.Date'
formatString: Date.FormatString,
~~~~ ^
Foundation.Date:1:15: note: 'Date' declared here
public struct Date : ReferenceConvertible, Comparable, Equatable {
^
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:78:24: error: type 'Date' has no member 'ParseStrategy'
let formatter = Date.ParseStrategy(format: formatString, locale: locale, timeZone: timeZone, calendar: calendar)
~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:116:26: error: type 'Date' has no member 'ISO8601FormatStyle'
return formatted(Date.ISO8601FormatStyle(includingFractionalSeconds: true, timeZone: timeZone))
~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:421:9: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .isLeapMonth: return ""
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:478:31: error: type 'Calendar.Component' has no member 'isLeapMonth'
case .calendar, .timeZone, .isLeapMonth:
~^~~~~~~~~~~
BUILD FAILURE 5.8 linux