This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 DateBuilder with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 15

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/DateBuilder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/DateBuilder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 374ca55 add `weekday` to `dateComponents` resolved from a `Date`
Cloned https://github.com/dreymonde/DateBuilder.git
Revision (git rev-parse @):
374ca554ed132f84bc97158901e6208c9608a6bc
SUCCESS checkout https://github.com/dreymonde/DateBuilder.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dreymonde/DateBuilder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Compiling DateBuilder DateBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:4:24: warning: static property '_calendar' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public enum DateBuilder {
  4 |     private static var _calendar = { Calendar.current }
    |                        |- warning: static property '_calendar' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate '_calendar' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 |     public static var calendar: Calendar {
  6 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:322:23: warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
320 |     public let delayForNumber: (_ number: Int, _ totalCount: Int) -> Int
321 |
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
    |                       |- warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'normal' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:324:23: warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
    |                       |- warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'optimized' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |         let breakpoint = totalCount / 2
326 |         if number <= breakpoint {
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:397:31: warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
    |                               |- warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'sunday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:398:31: warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
    |                               |- warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'monday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:399:31: warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
    |                               |- warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'tuesday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:400:31: warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
    |                               |- warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'wednesday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:401:31: warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
    |                               |- warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'thursday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:402:31: warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
    |                               |- warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'friday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 |             public static let saturday: GregorianWeekday = 7
404 |
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:403:31: warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
    |                               |- warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'saturday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
404 |
405 |             public typealias IntegerLiteralType = Int
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:582:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
    |                           |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'first' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:583:27: warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
    |                           |- warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'second' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:584:27: warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
    |                           |- warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'third' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:585:27: warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
    |                           |- warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fourth' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
586 |         public static let fifth = Ordinal(rawValue: 5)
587 |
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:586:27: warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
    |                           |- warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fifth' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
587 |
588 |         public init(rawValue: Int) {
[4/4] Emitting module DateBuilder
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:4:24: warning: static property '_calendar' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public enum DateBuilder {
  4 |     private static var _calendar = { Calendar.current }
    |                        |- warning: static property '_calendar' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate '_calendar' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 |     public static var calendar: Calendar {
  6 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:322:23: warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
320 |     public let delayForNumber: (_ number: Int, _ totalCount: Int) -> Int
321 |
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
    |                       |- warning: static property 'normal' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'normal' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:324:23: warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
313 | }
314 |
315 | public struct DelayDistribution {
    |               `- note: consider making struct 'DelayDistribution' conform to the 'Sendable' protocol
316 |     public init(delayForNumber: @escaping (_ number: Int, _ totalCount: Int) -> Int) {
317 |         self.delayForNumber = delayForNumber
    :
322 |     public static let normal = DelayDistribution(delayForNumber: { number, _ in number })
323 |
324 |     public static let optimized = DelayDistribution { number, totalCount in
    |                       |- warning: static property 'optimized' is not concurrency-safe because non-'Sendable' type 'DelayDistribution' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'optimized' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |         let breakpoint = totalCount / 2
326 |         if number <= breakpoint {
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:397:31: warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
    |                               |- warning: static property 'sunday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'sunday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:398:31: warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
    |                               |- warning: static property 'monday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'monday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:399:31: warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
397 |             public static let sunday: GregorianWeekday = 1
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
    |                               |- warning: static property 'tuesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'tuesday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:400:31: warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
398 |             public static let monday: GregorianWeekday = 2
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
    |                               |- warning: static property 'wednesday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'wednesday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:401:31: warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
399 |             public static let tuesday: GregorianWeekday = 3
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
    |                               |- warning: static property 'thursday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'thursday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:402:31: warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
400 |             public static let wednesday: GregorianWeekday = 4
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
    |                               |- warning: static property 'friday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'friday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 |             public static let saturday: GregorianWeekday = 7
404 |
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:403:31: warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
392 |         }
393 |
394 |         public struct GregorianWeekday: ExpressibleByIntegerLiteral {
    |                       `- note: consider making struct 'GregorianWeekday' conform to the 'Sendable' protocol
395 |             public var rawValue: Int
396 |
    :
401 |             public static let thursday: GregorianWeekday = 5
402 |             public static let friday: GregorianWeekday = 6
403 |             public static let saturday: GregorianWeekday = 7
    |                               |- warning: static property 'saturday' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Week.GregorianWeekday' may have shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: annotate 'saturday' with '@MainActor' if property should only be accessed from the main actor
    |                               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
404 |
405 |             public typealias IntegerLiteralType = Int
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:582:27: warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
    |                           |- warning: static property 'first' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'first' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:583:27: warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
    |                           |- warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'second' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:584:27: warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
582 |         public static let first = Ordinal(rawValue: 1)
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
    |                           |- warning: static property 'third' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'third' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:585:27: warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
583 |         public static let second = Ordinal(rawValue: 2)
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
    |                           |- warning: static property 'fourth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fourth' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
586 |         public static let fifth = Ordinal(rawValue: 5)
587 |
/Users/admin/builder/spi-builder-workspace/Sources/DateBuilder/DateBuilder.swift:586:27: warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
577 |     }
578 |
579 |     public struct Ordinal {
    |                   `- note: consider making struct 'Ordinal' conform to the 'Sendable' protocol
580 |         public var rawValue: Int
581 |
    :
584 |         public static let third = Ordinal(rawValue: 3)
585 |         public static let fourth = Ordinal(rawValue: 4)
586 |         public static let fifth = Ordinal(rawValue: 5)
    |                           |- warning: static property 'fifth' is not concurrency-safe because non-'Sendable' type 'DateBuilder.Ordinal' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'fifth' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
587 |
588 |         public init(rawValue: Int) {
Build complete! (16.90s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DateBuilder",
  "name" : "DateBuilder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "DateBuilder",
      "targets" : [
        "DateBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DateBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "DateBuilderTests",
      "path" : "Tests/DateBuilderTests",
      "sources" : [
        "DateBuilderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DateBuilder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DateBuilder",
      "module_type" : "SwiftTarget",
      "name" : "DateBuilder",
      "path" : "Sources/DateBuilder",
      "product_memberships" : [
        "DateBuilder"
      ],
      "sources" : [
        "DateBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.