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, reference main (374ca5), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 14:17:20 UTC.

Swift 6 data race errors: 15

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "datebuilder",
      "name": "DateBuilder",
      "url": "https://github.com/dreymonde/DateBuilder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DateBuilder",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dreymonde/DateBuilder.git
[1/148] Fetching datebuilder
Fetched https://github.com/dreymonde/DateBuilder.git from cache (0.76s)
Creating working copy for https://github.com/dreymonde/DateBuilder.git
Working copy of https://github.com/dreymonde/DateBuilder.git resolved at main (374ca55)
warning: '.resolve-product-dependencies': dependency 'datebuilder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dreymonde/DateBuilder.git
https://github.com/dreymonde/DateBuilder.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_calendar' part of global actor 'MainActor'
    |                        `- 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: add '@MainActor' to make static property 'normal' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'optimized' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'sunday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'monday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'tuesday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'wednesday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'thursday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'friday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'saturday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'second' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'third' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'fourth' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'fifth' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
587 |
588 |         public init(rawValue: Int) {
[4/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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property '_calendar' part of global actor 'MainActor'
    |                        `- 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: add '@MainActor' to make static property 'normal' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'optimized' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'sunday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'monday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'tuesday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'wednesday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'thursday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'friday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'saturday' part of global actor 'MainActor'
    |                               `- 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: add '@MainActor' to make static property 'first' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'second' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'third' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'fourth' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'fifth' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
587 |
588 |         public init(rawValue: Int) {
Build complete! (5.07s)
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.