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 master (d436a2), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 23:33:31 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/SwiftDate.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/drewag/SwiftDate
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/drewag/SwiftDate.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/36] Compiling SwiftDate Date+Compare.swift
/Users/admin/builder/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
[4/36] Compiling SwiftDate Date+Components.swift
/Users/admin/builder/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
[5/36] Compiling SwiftDate Date+Create.swift
/Users/admin/builder/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
[6/36] Compiling SwiftDate Date+Math.swift
/Users/admin/builder/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
[7/36] Emitting module SwiftDate
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
[8/39] Compiling SwiftDate Calendars.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
/Users/admin/builder/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"
/Users/admin/builder/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 Commons.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
/Users/admin/builder/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"
/Users/admin/builder/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 Locales.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
46 |
47 | 	public var description: String {
/Users/admin/builder/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"
/Users/admin/builder/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 DotNetParserFormatter.swift
[12/39] Compiling SwiftDate Formatter+Protocols.swift
[13/39] Compiling SwiftDate ISOFormatter.swift
[14/39] Compiling SwiftDate ISOParser.swift
[15/39] Compiling SwiftDate Int+DateComponents.swift
[16/39] Compiling SwiftDate String+Parser.swift
[17/39] Compiling SwiftDate TimeInterval+Formatter.swift
[18/39] Compiling SwiftDate AssociatedValues.swift
[19/39] Compiling SwiftDate Date.swift
[20/39] Compiling SwiftDate DateInRegion+Compare.swift
[21/39] Compiling SwiftDate DateInRegion+Components.swift
[22/39] Compiling SwiftDate DateInRegion+Create.swift
[23/39] Compiling SwiftDate TimeStructures.swift
[24/39] Compiling SwiftDate Zones.swift
[25/39] Compiling SwiftDate SwiftDate.swift
[26/39] Compiling SwiftDate TimePeriodChain.swift
[27/39] Compiling SwiftDate TimePeriodCollection.swift
[28/39] Compiling SwiftDate TimePeriodGroup.swift
[29/39] Compiling SwiftDate RelativeFormatter+Style.swift
[30/39] Compiling SwiftDate RelativeFormatter.swift
[31/39] Compiling SwiftDate RelativeFormatterLanguage.swift
[32/39] Compiling SwiftDate DateComponents+Extras.swift
[33/39] Compiling SwiftDate DateInRegion+Math.swift
[34/39] Compiling SwiftDate DateInRegion.swift
[35/39] Compiling SwiftDate Region.swift
[36/39] Compiling SwiftDate DateRepresentable.swift
[37/39] Compiling SwiftDate TimePeriod+Support.swift
[38/39] Compiling SwiftDate TimePeriod.swift
[39/39] Compiling SwiftDate TimePeriodProtocol.swift
Build complete! (4.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftDate",
  "name" : "SwiftDate",
  "path" : "/Users/admin/builder/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"
}
Done.