The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftDate, reference 6.1.1 (d436a2), with Swift 6.2 (beta) for Linux on 20 Jun 2025 23:34:30 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/SwiftDate.git
Reference: 6.1.1
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/drewag/SwiftDate
 * tag               6.1.1      -> FETCH_HEAD
HEAD is now at d436a26 [BF] Fix build
Cloned https://github.com/drewag/SwiftDate.git
Revision (git rev-parse @):
d436a26e2350ce39540d8d98568036b3793a8320
SUCCESS checkout https://github.com/drewag/SwiftDate.git at 6.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/drewag/SwiftDate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/35] Compiling SwiftDate Int+DateComponents.swift
[4/35] Compiling SwiftDate String+Parser.swift
[5/35] Compiling SwiftDate TimeInterval+Formatter.swift
[6/35] Compiling SwiftDate AssociatedValues.swift
[7/39] Compiling SwiftDate Calendars.swift
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:48:3: warning: switch must be exhaustive
46 |
47 | 	public var description: String {
48 | 		switch self {
   |   |- warning: switch must be exhaustive
   |   |- note: add missing case: '.bangla'
   |   |- note: add missing case: '.gujarati'
   |   |- note: add missing case: '.kannada'
   |   |- note: add missing case: '.malayalam'
   |   |- note: add missing case: '.marathi'
   |   |- note: add missing case: '.odia'
   |   |- note: add missing case: '.tamil'
   |   |- note: add missing case: '.telugu'
   |   |- note: add missing case: '.vikram'
   |   |- note: add missing case: '.dangi'
   |   |- note: add missing case: '.vietnamese'
   |   `- note: add missing cases
49 | 		case .gregorian:			return "gregorian"
50 | 		case .buddhist:				return "buddhist"
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive
188 |
189 | 	internal var nsCalendarUnit: NSCalendar.Unit {
190 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   |- note: add missing case: '.isLeapMonth'
    |   |- note: add missing case: '.dayOfYear'
    |   `- note: add missing cases
191 | 		case .era: return NSCalendar.Unit.era
192 | 		case .year: return NSCalendar.Unit.year
[8/39] Compiling SwiftDate Commons.swift
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:48:3: warning: switch must be exhaustive
46 |
47 | 	public var description: String {
48 | 		switch self {
   |   |- warning: switch must be exhaustive
   |   |- note: add missing case: '.bangla'
   |   |- note: add missing case: '.gujarati'
   |   |- note: add missing case: '.kannada'
   |   |- note: add missing case: '.malayalam'
   |   |- note: add missing case: '.marathi'
   |   |- note: add missing case: '.odia'
   |   |- note: add missing case: '.tamil'
   |   |- note: add missing case: '.telugu'
   |   |- note: add missing case: '.vikram'
   |   |- note: add missing case: '.dangi'
   |   |- note: add missing case: '.vietnamese'
   |   `- note: add missing cases
49 | 		case .gregorian:			return "gregorian"
50 | 		case .buddhist:				return "buddhist"
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive
188 |
189 | 	internal var nsCalendarUnit: NSCalendar.Unit {
190 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   |- note: add missing case: '.isLeapMonth'
    |   |- note: add missing case: '.dayOfYear'
    |   `- note: add missing cases
191 | 		case .era: return NSCalendar.Unit.era
192 | 		case .year: return NSCalendar.Unit.year
[9/39] Compiling SwiftDate Locales.swift
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:48:3: warning: switch must be exhaustive
46 |
47 | 	public var description: String {
48 | 		switch self {
   |   |- warning: switch must be exhaustive
   |   |- note: add missing case: '.bangla'
   |   |- note: add missing case: '.gujarati'
   |   |- note: add missing case: '.kannada'
   |   |- note: add missing case: '.malayalam'
   |   |- note: add missing case: '.marathi'
   |   |- note: add missing case: '.odia'
   |   |- note: add missing case: '.tamil'
   |   |- note: add missing case: '.telugu'
   |   |- note: add missing case: '.vikram'
   |   |- note: add missing case: '.dangi'
   |   |- note: add missing case: '.vietnamese'
   |   `- note: add missing cases
49 | 		case .gregorian:			return "gregorian"
50 | 		case .buddhist:				return "buddhist"
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive
188 |
189 | 	internal var nsCalendarUnit: NSCalendar.Unit {
190 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   |- note: add missing case: '.isLeapMonth'
    |   |- note: add missing case: '.dayOfYear'
    |   `- note: add missing cases
191 | 		case .era: return NSCalendar.Unit.era
192 | 		case .year: return NSCalendar.Unit.year
[10/39] Compiling SwiftDate TimeStructures.swift
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:48:3: warning: switch must be exhaustive
46 |
47 | 	public var description: String {
48 | 		switch self {
   |   |- warning: switch must be exhaustive
   |   |- note: add missing case: '.bangla'
   |   |- note: add missing case: '.gujarati'
   |   |- note: add missing case: '.kannada'
   |   |- note: add missing case: '.malayalam'
   |   |- note: add missing case: '.marathi'
   |   |- note: add missing case: '.odia'
   |   |- note: add missing case: '.tamil'
   |   |- note: add missing case: '.telugu'
   |   |- note: add missing case: '.vikram'
   |   |- note: add missing case: '.dangi'
   |   |- note: add missing case: '.vietnamese'
   |   `- note: add missing cases
49 | 		case .gregorian:			return "gregorian"
50 | 		case .buddhist:				return "buddhist"
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Commons.swift:190:3: warning: switch must be exhaustive
188 |
189 | 	internal var nsCalendarUnit: NSCalendar.Unit {
190 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   |- note: add missing case: '.isLeapMonth'
    |   |- note: add missing case: '.dayOfYear'
    |   `- note: add missing cases
191 | 		case .era: return NSCalendar.Unit.era
192 | 		case .year: return NSCalendar.Unit.year
[11/39] Compiling SwiftDate Zones.swift
[12/39] Compiling SwiftDate SwiftDate.swift
[13/39] Compiling SwiftDate TimePeriodChain.swift
[14/39] Compiling SwiftDate TimePeriodCollection.swift
[15/39] Compiling SwiftDate Region.swift
[16/39] Compiling SwiftDate DateRepresentable.swift
[17/39] Compiling SwiftDate DotNetParserFormatter.swift
[18/39] Compiling SwiftDate Formatter+Protocols.swift
[19/39] Compiling SwiftDate ISOFormatter.swift
[20/39] Compiling SwiftDate Date+Compare.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive
141 |
142 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
144 |         case .era:
145 |             return dateComponents.era
[21/39] Compiling SwiftDate Date+Components.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive
141 |
142 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
144 |         case .era:
145 |             return dateComponents.era
[22/39] Compiling SwiftDate Date+Create.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive
141 |
142 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
144 |         case .era:
145 |             return dateComponents.era
[23/39] Compiling SwiftDate Date+Math.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive
141 |
142 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
144 |         case .era:
145 |             return dateComponents.era
[24/39] Compiling SwiftDate Date.swift
/host/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:143:9: warning: switch must be exhaustive
141 |
142 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
143 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
144 |         case .era:
145 |             return dateComponents.era
[25/39] Compiling SwiftDate ISOParser.swift
[26/39] Compiling SwiftDate RelativeFormatter+Style.swift
[27/39] Compiling SwiftDate RelativeFormatter.swift
[28/39] Compiling SwiftDate RelativeFormatterLanguage.swift
[29/39] Compiling SwiftDate DateComponents+Extras.swift
[30/39] Emitting module SwiftDate
/host/spi-builder-workspace/Sources/SwiftDate/Supports/Calendars.swift:45:1: warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
43 | // MARK: - Support for Calendar.Identifier encoding with Codable
44 |
45 | extension Calendar.Identifier: CustomStringConvertible {
   | |- warning: extension declares a conformance of imported type 'Identifier' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
[31/39] Compiling SwiftDate DateInRegion+Compare.swift
[32/39] Compiling SwiftDate DateInRegion+Components.swift
[33/39] Compiling SwiftDate DateInRegion+Create.swift
[34/39] Compiling SwiftDate DateInRegion+Math.swift
[35/39] Compiling SwiftDate DateInRegion.swift
[36/39] Compiling SwiftDate TimePeriodGroup.swift
[37/39] Compiling SwiftDate TimePeriod+Support.swift
[38/39] Compiling SwiftDate TimePeriod.swift
[39/39] Compiling SwiftDate TimePeriodProtocol.swift
Build complete! (43.23s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftDate",
  "name" : "SwiftDate",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftDate",
      "targets" : [
        "SwiftDate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDateTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDateTests",
      "path" : "Tests/SwiftDateTests",
      "sources" : [
        "TestDataStructures.swift",
        "TestDate.swift",
        "TestDateInRegion+Compare.swift",
        "TestDateInRegion+Components.swift",
        "TestDateInRegion+Create.swift",
        "TestDateInRegion+Langs.swift",
        "TestDateInRegion+Math.swift",
        "TestDateInRegion.swift",
        "TestFormatters.swift",
        "TestRegion.swift",
        "TestSwiftDate.swift"
      ],
      "target_dependencies" : [
        "SwiftDate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDate",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDate",
      "path" : "Sources/SwiftDate",
      "product_memberships" : [
        "SwiftDate"
      ],
      "sources" : [
        "Date/Date+Compare.swift",
        "Date/Date+Components.swift",
        "Date/Date+Create.swift",
        "Date/Date+Math.swift",
        "Date/Date.swift",
        "DateInRegion/DateInRegion+Compare.swift",
        "DateInRegion/DateInRegion+Components.swift",
        "DateInRegion/DateInRegion+Create.swift",
        "DateInRegion/DateInRegion+Math.swift",
        "DateInRegion/DateInRegion.swift",
        "DateInRegion/Region.swift",
        "DateRepresentable.swift",
        "Formatters/DotNetParserFormatter.swift",
        "Formatters/Formatter+Protocols.swift",
        "Formatters/ISOFormatter.swift",
        "Formatters/ISOParser.swift",
        "Formatters/RelativeFormatter/RelativeFormatter+Style.swift",
        "Formatters/RelativeFormatter/RelativeFormatter.swift",
        "Formatters/RelativeFormatter/RelativeFormatterLanguage.swift",
        "Foundation+Extras/DateComponents+Extras.swift",
        "Foundation+Extras/Int+DateComponents.swift",
        "Foundation+Extras/String+Parser.swift",
        "Foundation+Extras/TimeInterval+Formatter.swift",
        "Supports/AssociatedValues.swift",
        "Supports/Calendars.swift",
        "Supports/Commons.swift",
        "Supports/Locales.swift",
        "Supports/TimeStructures.swift",
        "Supports/Zones.swift",
        "SwiftDate.swift",
        "TimePeriod/Groups/TimePeriodChain.swift",
        "TimePeriod/Groups/TimePeriodCollection.swift",
        "TimePeriod/Groups/TimePeriodGroup.swift",
        "TimePeriod/TimePeriod+Support.swift",
        "TimePeriod/TimePeriod.swift",
        "TimePeriod/TimePeriodProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.