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.10 for Linux on 3 Sep 2024 12:04:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $PWD
https://github.com/dankinsoid/VDDate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling VDDate Weekdays.swift
[4/17] 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)
                          ~~~~~ ^~~~~~
[5/17] 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)
                          ~~~~~ ^~~~~~
[6/17] 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 {
                ^~~~~~~~~~~
[7/17] 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 {
                ^~~~~~~~~~~
[8/17] Compiling VDDate DatesCollection.swift
[9/17] Compiling VDDate SearchDirectionSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] 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 {
                             ^
[11/17] 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 {
                             ^
[12/17] 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/17] 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/17] 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:
                                           ~^~~~~~~~~~~
[15/17] 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:
                                           ~^~~~~~~~~~~
[16/17] 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 {
                                                                      ~ ^
[17/17] Compiling VDDate TimeZone++.swift
error: fatalError
BUILD FAILURE 5.10 linux