The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build VDDate, reference main (2155df), with Swift 5.9 for Linux on 3 Sep 2024 12:04:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $PWD
https://github.com/dankinsoid/VDDate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-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, Sendable {
              ^
/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 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, Sendable {
              ^
/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:
                                           ~^~~~~~~~~~~
[3/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, Sendable {
              ^
/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:
                                           ~^~~~~~~~~~~
[4/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"
             ~^~~~~~~~~~~
[5/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"
             ~^~~~~~~~~~~
[6/15] Compiling VDDate TimeZone++.swift
[7/15] Compiling VDDate Weekdays.swift
[8/15] Compiling VDDate DatesCollection.swift
[9/15] Compiling VDDate SearchDirectionSet.swift
[10/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)
                          ~~~~~ ^~~~~~
[11/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)
                          ~~~~~ ^~~~~~
[12/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 {
                ^~~~~~~~~~~
[13/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 {
                ^~~~~~~~~~~
[14/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 {
                             ^
[15/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 {
                             ^
error: fatalError
BUILD FAILURE 5.9 linux