The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of VDDate, reference main (2155df), with Swift 6.1 for Linux on 29 Apr 2025 08:13:02 UTC.

Swift 6 data race errors: 5

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankinsoid/VDDate.git
https://github.com/dankinsoid/VDDate.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling VDDate ConstantDateStyle.swift
/host/spi-builder-workspace/Sources/VDDate/Format/DateFormat.swift:307:13: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | @available(tvOS, deprecated: 15.0, message: "use Date.FormatString")
  6 | @available(watchOS, deprecated: 8.0, message: "use Date.FormatString")
  7 | public struct DateFormat: ExpressibleByArrayLiteral, ExpressibleByStringInterpolation, Hashable, Codable, CustomStringConvertible {
    |               `- note: consider making struct 'DateFormat' conform to the 'Sendable' protocol
  8 |
  9 | 	public var string: String
    :
305 | public extension DateFormat {
306 |
307 | 	static let iso8601: DateFormat = "\(.yyyy)-\(.MM)-\(.dd)T\(.HH):\(.mm):\(.ss).\(.SSS)\(.ZZZZZ)"
    |             |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 | }
309 |
/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:307:13: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | @available(tvOS, deprecated: 15.0, message: "use Date.FormatString")
  6 | @available(watchOS, deprecated: 8.0, message: "use Date.FormatString")
  7 | public struct DateFormat: ExpressibleByArrayLiteral, ExpressibleByStringInterpolation, Hashable, Codable, CustomStringConvertible {
    |               `- note: consider making struct 'DateFormat' conform to the 'Sendable' protocol
  8 |
  9 | 	public var string: String
    :
305 | public extension DateFormat {
306 |
307 | 	static let iso8601: DateFormat = "\(.yyyy)-\(.MM)-\(.dd)T\(.HH):\(.mm):\(.ss).\(.SSS)\(.ZZZZZ)"
    |             |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 | }
309 |
/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/16] Compiling VDDate DateFormatParser.swift
[6/16] Compiling VDDate RelativeDateFormat.swift
[7/17] Compiling VDDate Locale++.swift
/host/spi-builder-workspace/Sources/VDDate/Locale++.swift:48:16: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | private extension Locale {
47 |
48 |     static var _default: () -> Locale = { .autoupdatingCurrent }
   |                |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
[8/17] Compiling VDDate AnyDateFormatStyle.swift
/host/spi-builder-workspace/Sources/VDDate/Locale++.swift:48:16: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | private extension Locale {
47 |
48 |     static var _default: () -> Locale = { .autoupdatingCurrent }
   |                |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
[9/17] Compiling VDDate DatesCollection.swift
[10/17] Compiling VDDate SearchDirectionSet.swift
[11/17] Compiling VDDate Weekdays.swift
[12/17] Compiling VDDate Calendar++.swift
/host/spi-builder-workspace/Sources/VDDate/Calendar++.swift:72:13: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | private extension Calendar {
71 |
72 | 	static var _default: () -> Calendar = { .autoupdatingCurrent }
   |             |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/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"
[13/17] Compiling VDDate CalendarComponent++.swift
/host/spi-builder-workspace/Sources/VDDate/Calendar++.swift:72:13: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | private extension Calendar {
71 |
72 | 	static var _default: () -> Calendar = { .autoupdatingCurrent }
   |             |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/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"
[14/17] Emitting module VDDate
/host/spi-builder-workspace/Sources/VDDate/Calendar++.swift:72:13: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | private extension Calendar {
71 |
72 | 	static var _default: () -> Calendar = { .autoupdatingCurrent }
   |             |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 |
/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/Date++.swift:604:13: warning: static property 'nowBuilder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
602 | private extension Date {
603 |
604 | 	static var nowBuilder: () -> Date = { Date() }
    |             |- warning: static property 'nowBuilder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'nowBuilder' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'nowBuilder' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 | }
606 |
/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) }
/host/spi-builder-workspace/Sources/VDDate/Format/DateFormat.swift:307:13: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | @available(tvOS, deprecated: 15.0, message: "use Date.FormatString")
  6 | @available(watchOS, deprecated: 8.0, message: "use Date.FormatString")
  7 | public struct DateFormat: ExpressibleByArrayLiteral, ExpressibleByStringInterpolation, Hashable, Codable, CustomStringConvertible {
    |               `- note: consider making struct 'DateFormat' conform to the 'Sendable' protocol
  8 |
  9 | 	public var string: String
    :
305 | public extension DateFormat {
306 |
307 | 	static let iso8601: DateFormat = "\(.yyyy)-\(.MM)-\(.dd)T\(.HH):\(.mm):\(.ss).\(.SSS)\(.ZZZZZ)"
    |             |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateFormat' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'iso8601' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 | }
309 |
/host/spi-builder-workspace/Sources/VDDate/Locale++.swift:48:16: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | private extension Locale {
47 |
48 |     static var _default: () -> Locale = { .autoupdatingCurrent }
   |                |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
/host/spi-builder-workspace/Sources/VDDate/TimeZone++.swift:53:16: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | private extension TimeZone {
52 |
53 |     static var _default: () -> TimeZone = { .autoupdatingCurrent }
   |                |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[15/17] Compiling VDDate Date++.swift
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:604:13: warning: static property 'nowBuilder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
602 | private extension Date {
603 |
604 | 	static var nowBuilder: () -> Date = { Date() }
    |             |- warning: static property 'nowBuilder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'nowBuilder' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'nowBuilder' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 | }
606 |
/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) }
[16/17] Compiling VDDate DateComponents++.swift
/host/spi-builder-workspace/Sources/VDDate/Date++.swift:604:13: warning: static property 'nowBuilder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
602 | private extension Date {
603 |
604 | 	static var nowBuilder: () -> Date = { Date() }
    |             |- warning: static property 'nowBuilder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'nowBuilder' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'nowBuilder' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
605 | }
606 |
/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) }
[17/17] Compiling VDDate TimeZone++.swift
/host/spi-builder-workspace/Sources/VDDate/TimeZone++.swift:53:16: warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | private extension TimeZone {
52 |
53 |     static var _default: () -> TimeZone = { .autoupdatingCurrent }
   |                |- warning: static property '_default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '_default' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property '_default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
Build complete! (8.49s)
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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.