The Swift Package Index logo.Swift Package Index

Build Information

Successful build of VDDate, reference main (2155df), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 01:19:48 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/dankinsoid/VDDate.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dankinsoid/VDDate.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/16] Compiling VDDate SearchDirectionSet.swift
[4/16] Compiling VDDate Weekdays.swift
[5/17] Compiling VDDate Locale++.swift
[6/17] Compiling VDDate AnyDateFormatStyle.swift
[7/17] Compiling VDDate DateFormatParser.swift
[8/17] Compiling VDDate RelativeDateFormat.swift
[9/17] Compiling VDDate Date++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/Date++.swift:404:3: warning: switch must be exhaustive
402 | 		timeZone: TimeZone = .default
403 | 	) -> String {
404 | 		switch component {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
405 | 		case .era: return string("GGGG", locale: locale, timeZone: timeZone)
406 | 		case .year: return string("yyyy", locale: locale, timeZone: timeZone)
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/Date++.swift:470:3: warning: switch must be exhaustive
468 |
469 | 	func setting(_ component: Calendar.Component, _ value: Int, calendar: Calendar = .default) -> Date? {
470 | 		switch component {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
471 | 		case .nanosecond, .second, .minute, .hour:
472 | 			var comps = components(calendar: calendar)
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/DateComponents++.swift:3:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  1 | import Foundation
  2 |
  3 | extension DateComponents: RawRepresentable, ExpressibleByDictionaryLiteral {
    | |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public static func era(_ value: Int) -> DateComponents { .current(era: value) }
[10/17] Compiling VDDate DateComponents++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/Date++.swift:404:3: warning: switch must be exhaustive
402 | 		timeZone: TimeZone = .default
403 | 	) -> String {
404 | 		switch component {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
405 | 		case .era: return string("GGGG", locale: locale, timeZone: timeZone)
406 | 		case .year: return string("yyyy", locale: locale, timeZone: timeZone)
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/Date++.swift:470:3: warning: switch must be exhaustive
468 |
469 | 	func setting(_ component: Calendar.Component, _ value: Int, calendar: Calendar = .default) -> Date? {
470 | 		switch component {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
471 | 		case .nanosecond, .second, .minute, .hour:
472 | 			var comps = components(calendar: calendar)
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/DateComponents++.swift:3:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  1 | import Foundation
  2 |
  3 | extension DateComponents: RawRepresentable, ExpressibleByDictionaryLiteral {
    | |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public static func era(_ value: Int) -> DateComponents { .current(era: value) }
[11/17] Compiling VDDate ConstantDateStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/Format/DateFormat.swift:220:3: warning: switch must be exhaustive
218 |
219 | 	static func calendarComponent(_ component: Calendar.Component, style: Style) -> DateFormat.Component {
220 | 		switch component {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
221 | 		case .era:
222 | 			switch style {
[12/17] Compiling VDDate DateFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/Format/DateFormat.swift:220:3: warning: switch must be exhaustive
218 |
219 | 	static func calendarComponent(_ component: Calendar.Component, style: Style) -> DateFormat.Component {
220 | 		switch component {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
221 | 		case .era:
222 | 			switch style {
[13/17] Compiling VDDate Calendar++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:3:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  1 | import Foundation
  2 |
  3 | extension Calendar.Component: CaseIterable, Comparable {
    | |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public typealias AllCases = Set<Calendar.Component>
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:122:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
120 | }
121 |
122 | extension Calendar.Component: Codable, RawRepresentable, CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
123 |
124 | 	public var rawValue: String {
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:33:3: warning: switch must be exhaustive
 31 |
 32 | 	public var smaller: Calendar.Component? {
 33 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
 34 | 		case .era: return .year
 35 | 		case .year: return .month
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:66:3: warning: switch must be exhaustive
 64 |
 65 | 	public var larger: Calendar.Component? {
 66 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
 67 | 		case .era: return nil
 68 | 		case .year: return .era
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:89:3: warning: switch must be exhaustive
 87 |
 88 | 	var inSeconds: TimeInterval? {
 89 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
 90 | 		case .era: return nil
 91 | 		case .year, .yearForWeekOfYear: return Calendar.Component.day.inSeconds.map { 365.2425 * $0 }
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:125:3: warning: switch must be exhaustive
123 |
124 | 	public var rawValue: String {
125 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
126 | 		case .era: return "era"
127 | 		case .year: return "year"
[14/17] Compiling VDDate CalendarComponent++.swift
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:3:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  1 | import Foundation
  2 |
  3 | extension Calendar.Component: CaseIterable, Comparable {
    | |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public typealias AllCases = Set<Calendar.Component>
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:122:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
120 | }
121 |
122 | extension Calendar.Component: Codable, RawRepresentable, CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
123 |
124 | 	public var rawValue: String {
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:33:3: warning: switch must be exhaustive
 31 |
 32 | 	public var smaller: Calendar.Component? {
 33 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
 34 | 		case .era: return .year
 35 | 		case .year: return .month
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:66:3: warning: switch must be exhaustive
 64 |
 65 | 	public var larger: Calendar.Component? {
 66 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
 67 | 		case .era: return nil
 68 | 		case .year: return .era
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:89:3: warning: switch must be exhaustive
 87 |
 88 | 	var inSeconds: TimeInterval? {
 89 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
 90 | 		case .era: return nil
 91 | 		case .year, .yearForWeekOfYear: return Calendar.Component.day.inSeconds.map { 365.2425 * $0 }
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:125:3: warning: switch must be exhaustive
123 |
124 | 	public var rawValue: String {
125 | 		switch self {
    |   |- warning: switch must be exhaustive
    |   `- note: add missing case: '.dayOfYear'
126 | 		case .era: return "era"
127 | 		case .year: return "year"
[15/17] Emitting module VDDate
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:3:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  1 | import Foundation
  2 |
  3 | extension Calendar.Component: CaseIterable, Comparable {
    | |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'CaseIterable', 'Comparable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public typealias AllCases = Set<Calendar.Component>
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/CalendarComponent++.swift:122:1: warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
120 | }
121 |
122 | extension Calendar.Component: Codable, RawRepresentable, CustomStringConvertible {
    | |- warning: extension declares a conformance of imported type 'Component' to imported protocols 'RawRepresentable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
123 |
124 | 	public var rawValue: String {
/Users/admin/builder/spi-builder-workspace/Sources/VDDate/DateComponents++.swift:3:1: warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
  1 | import Foundation
  2 |
  3 | extension DateComponents: RawRepresentable, ExpressibleByDictionaryLiteral {
    | |- warning: extension declares a conformance of imported type 'DateComponents' to imported protocols 'RawRepresentable', 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public static func era(_ value: Int) -> DateComponents { .current(era: value) }
[16/17] Compiling VDDate DatesCollection.swift
[17/17] Compiling VDDate TimeZone++.swift
Build complete! (4.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VDDate",
  "name" : "VDDate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VDDate",
      "targets" : [
        "VDDate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VDDateTests",
      "module_type" : "SwiftTarget",
      "name" : "VDDateTests",
      "path" : "Tests/VDDateTests",
      "sources" : [
        "DateTests.swift"
      ],
      "target_dependencies" : [
        "VDDate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VDDate",
      "module_type" : "SwiftTarget",
      "name" : "VDDate",
      "path" : "Sources/VDDate",
      "product_memberships" : [
        "VDDate"
      ],
      "sources" : [
        "Calendar++.swift",
        "CalendarComponent++.swift",
        "Date++.swift",
        "DateComponents++.swift",
        "Format/ConstantDateStyle.swift",
        "Format/DateFormat.swift",
        "Format/DateFormatParser.swift",
        "Format/RelativeDateFormat.swift",
        "Locale++.swift",
        "Models/AnyDateFormatStyle.swift",
        "Models/DatesCollection.swift",
        "Models/SearchDirectionSet.swift",
        "Models/Weekdays.swift",
        "TimeZone++.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.