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 PositionalDateComponentsFormatter, reference v1.0.1 (99e406), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:34:09 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MrAsterisco/PositionalDateComponentsFormatter
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 99e406c Merge pull request #2 from MrAsterisco/1-infinite-recursion-when-invoking-stringfor-with-a-timeinterval
Cloned https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git
Revision (git rev-parse @):
99e406cadb1f05775455cac5d0dd73857035ac19
SUCCESS checkout https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git at v1.0.1
========================================
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": "positionaldatecomponentsformatter",
      "name": "PositionalDateComponentsFormatter",
      "url": "https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PositionalDateComponentsFormatter",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git
[1/43] Fetching positionaldatecomponentsformatter
Fetched https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git from cache (0.66s)
Creating working copy for https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git
Working copy of https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git resolved at v1.0.1 (99e406c)
warning: '.resolve-product-dependencies': dependency 'positionaldatecomponentsformatter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MrAsterisco/PositionalDateComponentsFormatter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/9] Compiling PositionalDateComponentsFormatter PositionalDateComponentsFormatter+Date.swift
[4/9] Compiling PositionalDateComponentsFormatter PositionalDateComponentsFormatter+Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:13:23: warning: static property 'dropLeading' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 11 |     /// All units that are zero will be dropped starting from the left until one
 12 |     /// with a value higher than zero is found.
 13 |     public static let dropLeading = Self(rawValue: 1 << 1)
    |                       |- warning: static property 'dropLeading' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropLeading' 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
 14 |
 15 |     /// The drop trailing zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:22:23: warning: static property 'dropAll' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 20 |     /// The drop all zeroes formatting behavior.
 21 |     /// All units whose value is zero will be dropped.
 22 |     public static let dropAll = Self(rawValue: 1 << 3)
    |                       |- warning: static property 'dropAll' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropAll' 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
 23 |
 24 |     /// The drop no zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
  8 |     public static let `default` = Self(rawValue: 1 << 0)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
  9 |
 10 |     /// The drop leading zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:18:23: warning: static property 'dropTrailing' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 16 |     /// All units that are zero will be dropped starting from the right until
 17 |     /// one with a value higher than zero is found.
 18 |     public static let dropTrailing = Self(rawValue: 1 << 2)
    |                       |- warning: static property 'dropTrailing' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropTrailing' 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
 19 |
 20 |     /// The drop all zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:32:23: warning: static property 'pad' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 30 |     /// having at least 2 digits. For example, if the unit is `3`, it will be padded to
 31 |     /// `03`, but if the unit is `35`, it will remain as such.
 32 |     public static let pad = Self(rawValue: 1 << 5)
    |                       |- warning: static property 'pad' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'pad' 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
 33 |
 34 |     public var rawValue: Int
[5/9] Emitting module PositionalDateComponentsFormatter
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
  8 |     public static let `default` = Self(rawValue: 1 << 0)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
  9 |
 10 |     /// The drop leading zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:13:23: warning: static property 'dropLeading' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 11 |     /// All units that are zero will be dropped starting from the left until one
 12 |     /// with a value higher than zero is found.
 13 |     public static let dropLeading = Self(rawValue: 1 << 1)
    |                       |- warning: static property 'dropLeading' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropLeading' 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
 14 |
 15 |     /// The drop trailing zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:18:23: warning: static property 'dropTrailing' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 16 |     /// All units that are zero will be dropped starting from the right until
 17 |     /// one with a value higher than zero is found.
 18 |     public static let dropTrailing = Self(rawValue: 1 << 2)
    |                       |- warning: static property 'dropTrailing' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropTrailing' 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
 19 |
 20 |     /// The drop all zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:22:23: warning: static property 'dropAll' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 20 |     /// The drop all zeroes formatting behavior.
 21 |     /// All units whose value is zero will be dropped.
 22 |     public static let dropAll = Self(rawValue: 1 << 3)
    |                       |- warning: static property 'dropAll' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropAll' 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
 23 |
 24 |     /// The drop no zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:26:23: warning: static property 'dropNone' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 24 |     /// The drop no zeroes formatting behavior.
 25 |     /// Units whose value is zero will be kept.
 26 |     public static let dropNone = Self(rawValue: 1 << 4)
    |                       |- warning: static property 'dropNone' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropNone' 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
 27 |
 28 |     /// The add padding zeroes behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:32:23: warning: static property 'pad' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 30 |     /// having at least 2 digits. For example, if the unit is `3`, it will be padded to
 31 |     /// `03`, but if the unit is `35`, it will remain as such.
 32 |     public static let pad = Self(rawValue: 1 << 5)
    |                       |- warning: static property 'pad' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'pad' 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
 33 |
 34 |     public var rawValue: Int
[6/9] Compiling PositionalDateComponentsFormatter PositionalDateComponentsFormatter+DateComponents.swift
[7/9] Compiling PositionalDateComponentsFormatter PositionalDateComponentsFormatter+Measurement.swift
[8/9] Compiling PositionalDateComponentsFormatter PositionalDateComponentsFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
  8 |     public static let `default` = Self(rawValue: 1 << 0)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
  9 |
 10 |     /// The drop leading zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:13:23: warning: static property 'dropLeading' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 11 |     /// All units that are zero will be dropped starting from the left until one
 12 |     /// with a value higher than zero is found.
 13 |     public static let dropLeading = Self(rawValue: 1 << 1)
    |                       |- warning: static property 'dropLeading' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropLeading' 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
 14 |
 15 |     /// The drop trailing zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:18:23: warning: static property 'dropTrailing' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 16 |     /// All units that are zero will be dropped starting from the right until
 17 |     /// one with a value higher than zero is found.
 18 |     public static let dropTrailing = Self(rawValue: 1 << 2)
    |                       |- warning: static property 'dropTrailing' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropTrailing' 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
 19 |
 20 |     /// The drop all zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:22:23: warning: static property 'dropAll' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 20 |     /// The drop all zeroes formatting behavior.
 21 |     /// All units whose value is zero will be dropped.
 22 |     public static let dropAll = Self(rawValue: 1 << 3)
    |                       |- warning: static property 'dropAll' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropAll' 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
 23 |
 24 |     /// The drop no zeroes formatting behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:26:23: warning: static property 'dropNone' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 24 |     /// The drop no zeroes formatting behavior.
 25 |     /// Units whose value is zero will be kept.
 26 |     public static let dropNone = Self(rawValue: 1 << 4)
    |                       |- warning: static property 'dropNone' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'dropNone' 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
 27 |
 28 |     /// The add padding zeroes behavior.
/Users/admin/builder/spi-builder-workspace/Sources/PositionalDateComponentsFormatter/PositionalDateComponentsFormatter.swift:32:23: warning: static property 'pad' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public extension PositionalDateComponentsFormatter {
  4 |   /// Formatting constants for when values contain zeroes.
  5 |   struct ZeroFormattingBehavior: OptionSet {
    |          `- note: consider making struct 'ZeroFormattingBehavior' conform to the 'Sendable' protocol
  6 |     /// The default formatting behavior.
  7 |     /// This option corresponds to setting `dropLeading` and `pad`.
    :
 30 |     /// having at least 2 digits. For example, if the unit is `3`, it will be padded to
 31 |     /// `03`, but if the unit is `35`, it will remain as such.
 32 |     public static let pad = Self(rawValue: 1 << 5)
    |                       |- warning: static property 'pad' is not concurrency-safe because non-'Sendable' type 'PositionalDateComponentsFormatter.ZeroFormattingBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'pad' 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
 33 |
 34 |     public var rawValue: Int
[9/9] Compiling PositionalDateComponentsFormatter PositionalDateComponentsFormatter+TimeInterval.swift
Build complete! (9.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PositionalDateComponentsFormatter",
  "name" : "PositionalDateComponentsFormatter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "PositionalDateComponentsFormatter",
      "targets" : [
        "PositionalDateComponentsFormatter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PositionalDateComponentsFormatterTests",
      "module_type" : "SwiftTarget",
      "name" : "PositionalDateComponentsFormatterTests",
      "path" : "Tests/PositionalDateComponentsFormatterTests",
      "sources" : [
        "DateComponentsTests.swift",
        "DateTests.swift",
        "MeasurementTests.swift",
        "TimeIntervalTests.swift",
        "TypeDeciderTests.swift"
      ],
      "target_dependencies" : [
        "PositionalDateComponentsFormatter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PositionalDateComponentsFormatter",
      "module_type" : "SwiftTarget",
      "name" : "PositionalDateComponentsFormatter",
      "path" : "Sources/PositionalDateComponentsFormatter",
      "product_memberships" : [
        "PositionalDateComponentsFormatter"
      ],
      "sources" : [
        "PositionalDateComponentsFormatter+Date.swift",
        "PositionalDateComponentsFormatter+DateComponents.swift",
        "PositionalDateComponentsFormatter+Measurement.swift",
        "PositionalDateComponentsFormatter+Output.swift",
        "PositionalDateComponentsFormatter+TimeInterval.swift",
        "PositionalDateComponentsFormatter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.