The Swift Package Index logo.Swift Package Index

Build Information

Successful build of VDDate, reference main (2155df), with Swift 6.2 for Android on 22 Jun 2025 01:28:48 UTC.

Swift 6 data race errors: 0

Build Command

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

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 /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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dankinsoid/VDDate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/16] Compiling VDDate ConstantDateStyle.swift
/host/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 {
[4/16] Compiling VDDate DateFormat.swift
/host/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 {
[5/17] Emitting module VDDate
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public typealias AllCases = Set<Calendar.Component>
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
123 |
124 | 	public var rawValue: String {
/host/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 'FoundationEssentials' 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 'FoundationEssentials' 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) }
[6/17] Compiling VDDate DatesCollection.swift
[7/17] Compiling VDDate SearchDirectionSet.swift
[8/17] Compiling VDDate Weekdays.swift
[9/17] Compiling VDDate Date++.swift
/host/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)
/host/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)
/host/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 'FoundationEssentials' 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 'FoundationEssentials' 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
/host/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)
/host/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)
/host/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 'FoundationEssentials' 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 'FoundationEssentials' 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 DateFormatParser.swift
[12/17] Compiling VDDate RelativeDateFormat.swift
[13/17] Compiling VDDate Locale++.swift
[14/17] Compiling VDDate AnyDateFormatStyle.swift
[15/17] Compiling VDDate Calendar++.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public typealias AllCases = Set<Calendar.Component>
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
123 |
124 | 	public var rawValue: String {
/host/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
/host/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
/host/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 }
/host/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"
[16/17] Compiling VDDate CalendarComponent++.swift
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
  4 |
  5 | 	public typealias AllCases = Set<Calendar.Component>
/host/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 'FoundationEssentials' 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 'FoundationEssentials' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
123 |
124 | 	public var rawValue: String {
/host/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
/host/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
/host/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 }
/host/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"
[17/17] Compiling VDDate TimeZone++.swift
Build complete! (18.33s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VDDate",
  "name" : "VDDate",
  "path" : "/host/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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.