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 7.0.0 (5d9432), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 17:43:46 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/malcommac/SwiftDate.git
Reference: 7.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/malcommac/SwiftDate
 * tag               7.0.0      -> FETCH_HEAD
HEAD is now at 5d94322 Bump 7.0.0
Cloned https://github.com/malcommac/SwiftDate.git
Revision (git rev-parse @):
5d943224c3bb173e6ecf27295611615eba90c80e
SUCCESS checkout https://github.com/malcommac/SwiftDate.git at 7.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/malcommac/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/33] 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 {
[4/36] Compiling SwiftDate TimePeriod+Support.swift
[5/36] Compiling SwiftDate TimePeriod.swift
[6/36] Compiling SwiftDate TimePeriodProtocol.swift
[7/36] Compiling SwiftDate DateInRegion+Math.swift
[8/36] Compiling SwiftDate DateInRegion.swift
[9/36] Compiling SwiftDate Region.swift
[10/36] Compiling SwiftDate DateRepresentable.swift
[11/36] Compiling SwiftDate Date+Compare.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive
151 |
152 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
154 |         case .era:
155 |             return dateComponents.era
[12/36] Compiling SwiftDate Date+Components.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive
151 |
152 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
154 |         case .era:
155 |             return dateComponents.era
[13/36] Compiling SwiftDate Date+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive
151 |
152 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
154 |         case .era:
155 |             return dateComponents.era
[14/36] Compiling SwiftDate Date+Math.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDate/Date/Date+Compare.swift:153:9: warning: switch must be exhaustive
151 |
152 |     private func getValue(of component: Calendar.Component, from dateComponents: DateComponents) -> Int? {
153 |         switch component {
    |         |- warning: switch must be exhaustive
    |         |- note: add missing case: '.isLeapMonth'
    |         |- note: add missing case: '.dayOfYear'
    |         `- note: add missing cases
154 |         case .era:
155 |             return dateComponents.era
[15/36] Compiling SwiftDate String+Parser.swift
[16/36] Compiling SwiftDate TimeInterval+Formatter.swift
[17/36] Compiling SwiftDate AssociatedValues.swift
[18/36] Compiling SwiftDate DotNetParserFormatter.swift
[19/36] Compiling SwiftDate Formatter+Protocols.swift
[20/36] Compiling SwiftDate ISOFormatter.swift
[21/36] Compiling SwiftDate ISOParser.swift
[22/36] Compiling SwiftDate DateComponents+Extras.swift
[23/36] Compiling SwiftDate Int+DateComponents.swift
[24/36] Compiling SwiftDate Date.swift
[25/36] Compiling SwiftDate DateInRegion+Compare.swift
[26/36] Compiling SwiftDate DateInRegion+Components.swift
[27/36] Compiling SwiftDate DateInRegion+Create.swift
[28/36] Compiling SwiftDate TimePeriodChain.swift
[29/36] Compiling SwiftDate TimePeriodCollection.swift
[30/36] Compiling SwiftDate TimePeriodGroup.swift
[31/36] Compiling SwiftDate TimeStructures.swift
[32/36] Compiling SwiftDate Zones.swift
[33/36] Compiling SwiftDate SwiftDate.swift
[34/36] 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:213:3: warning: switch must be exhaustive
211 |
212 | 	internal var nsCalendarUnit: NSCalendar.Unit {
213 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   |- note: add missing case: '.isLeapMonth'
    |   |- note: add missing case: '.dayOfYear'
    |   `- note: add missing cases
214 | 		case .era: return NSCalendar.Unit.era
215 | 		case .year: return NSCalendar.Unit.year
[35/36] 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:213:3: warning: switch must be exhaustive
211 |
212 | 	internal var nsCalendarUnit: NSCalendar.Unit {
213 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   |- note: add missing case: '.isLeapMonth'
    |   |- note: add missing case: '.dayOfYear'
    |   `- note: add missing cases
214 | 		case .era: return NSCalendar.Unit.era
215 | 		case .year: return NSCalendar.Unit.year
[36/36] 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:213:3: warning: switch must be exhaustive
211 |
212 | 	internal var nsCalendarUnit: NSCalendar.Unit {
213 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   |- note: add missing case: '.isLeapMonth'
    |   |- note: add missing case: '.dayOfYear'
    |   `- note: add missing cases
214 | 		case .era: return NSCalendar.Unit.era
215 | 		case .year: return NSCalendar.Unit.year
Build complete! (4.97s)
warning: 'spi-builder-workspace': Invalid Resource 'Formatters/RelativeFormatter/langs': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
Build complete.
{
  "default_localization" : "it",
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftDate",
  "name" : "SwiftDate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "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+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",
        "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" : "5.5"
}
warning: 'spi-builder-workspace': Invalid Resource 'Formatters/RelativeFormatter/langs': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
Done.