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 Elapse, reference 1.1.0 (8584c7), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 12:52:52 UTC.

Swift 6 data race errors: 9

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yshrkt/Elapse.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yshrkt/Elapse
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 8584c70 Fixes podspec
Cloned https://github.com/yshrkt/Elapse.git
Revision (git rev-parse @):
8584c70cac421b946a6670489ca263d5ee27b118
SUCCESS checkout https://github.com/yshrkt/Elapse.git at 1.1.0
========================================
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": "elapse",
      "name": "Elapse",
      "url": "https://github.com/yshrkt/Elapse.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Elapse",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yshrkt/Elapse.git
[1/88] Fetching elapse
Fetched https://github.com/yshrkt/Elapse.git from cache (0.70s)
Creating working copy for https://github.com/yshrkt/Elapse.git
Working copy of https://github.com/yshrkt/Elapse.git resolved at 1.1.0 (8584c70)
warning: '.resolve-product-dependencies': dependency 'elapse' 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/yshrkt/Elapse.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
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling Elapse Elapse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:9:27: warning: static property 'millisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
  8 |
  9 |         public static let millisecond = Units(rawValue: 1 << 0)
    |                           |- warning: static property 'millisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'millisecond' 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
 10 |         public static let second      = Units(rawValue: 1 << 1)
 11 |         public static let minute      = Units(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:10:27: warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
  8 |
  9 |         public static let millisecond = Units(rawValue: 1 << 0)
 10 |         public static let second      = Units(rawValue: 1 << 1)
    |                           |- warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' 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
 11 |         public static let minute      = Units(rawValue: 1 << 2)
 12 |         public static let hour        = Units(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:11:27: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
  9 |         public static let millisecond = Units(rawValue: 1 << 0)
 10 |         public static let second      = Units(rawValue: 1 << 1)
 11 |         public static let minute      = Units(rawValue: 1 << 2)
    |                           |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'minute' 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
 12 |         public static let hour        = Units(rawValue: 1 << 3)
 13 |         public static let day         = Units(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:12:27: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 10 |         public static let second      = Units(rawValue: 1 << 1)
 11 |         public static let minute      = Units(rawValue: 1 << 2)
 12 |         public static let hour        = Units(rawValue: 1 << 3)
    |                           |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'hour' 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
 13 |         public static let day         = Units(rawValue: 1 << 4)
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:13:27: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 11 |         public static let minute      = Units(rawValue: 1 << 2)
 12 |         public static let hour        = Units(rawValue: 1 << 3)
 13 |         public static let day         = Units(rawValue: 1 << 4)
    |                           |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'day' 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 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:15:27: warning: static property 'secondAndMillisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 13 |         public static let day         = Units(rawValue: 1 << 4)
 14 |
 15 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
    |                           |- warning: static property 'secondAndMillisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'secondAndMillisecond' 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
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:16:27: warning: static property 'minuteAndSecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 14 |
 15 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
    |                           |- warning: static property 'minuteAndSecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'minuteAndSecond' 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
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
 18 |         public static let all: Units = [.day, .hour, .minute, second, millisecond]
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:17:27: warning: static property 'hourAndMinute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 15 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
    |                           |- warning: static property 'hourAndMinute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'hourAndMinute' 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
 18 |         public static let all: Units = [.day, .hour, .minute, second, millisecond]
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:18:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
 18 |         public static let all: Units = [.day, .hour, .minute, second, millisecond]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' 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 |         var highest: Units {
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:91:5: warning: 'public' modifier is redundant for property declared in a public extension
 89 |
 90 | public extension Int {
 91 |     public var days: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 92 |         return Elapse.Metric.day.convert(Int64(self))
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
 93 |     }
 94 |
 95 |     public var hours: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 96 |         return Elapse.Metric.hour.convert(Int64(self))
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:99:5: warning: 'public' modifier is redundant for property declared in a public extension
 97 |     }
 98 |
 99 |     public var minutes: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
100 |         return Elapse.Metric.minute.convert(Int64(self))
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:103:5: warning: 'public' modifier is redundant for property declared in a public extension
101 |     }
102 |
103 |     public var seconds: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
104 |         return Elapse.Metric.second.convert(Int64(self))
105 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:107:5: warning: 'public' modifier is redundant for property declared in a public extension
105 |     }
106 |
107 |     public var milliseconds: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
108 |         return Elapse.Metric.millisecond.convert(Int64(self))
109 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:115:5: warning: 'public' modifier is redundant for instance method declared in a public extension
113 | public extension TimeInterval {
114 |
115 |     public func components(of units: Elapse.Units,
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
116 |                            roundingMode: Elapse.RoundingMode = .floor) -> Elapse.Components {
117 |         let time = { (time: TimeInterval) -> TimeInterval in
[4/6] Emitting module Elapse
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:9:27: warning: static property 'millisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
  8 |
  9 |         public static let millisecond = Units(rawValue: 1 << 0)
    |                           |- warning: static property 'millisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'millisecond' 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
 10 |         public static let second      = Units(rawValue: 1 << 1)
 11 |         public static let minute      = Units(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:10:27: warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
  8 |
  9 |         public static let millisecond = Units(rawValue: 1 << 0)
 10 |         public static let second      = Units(rawValue: 1 << 1)
    |                           |- warning: static property 'second' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' 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
 11 |         public static let minute      = Units(rawValue: 1 << 2)
 12 |         public static let hour        = Units(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:11:27: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
  9 |         public static let millisecond = Units(rawValue: 1 << 0)
 10 |         public static let second      = Units(rawValue: 1 << 1)
 11 |         public static let minute      = Units(rawValue: 1 << 2)
    |                           |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'minute' 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
 12 |         public static let hour        = Units(rawValue: 1 << 3)
 13 |         public static let day         = Units(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:12:27: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 10 |         public static let second      = Units(rawValue: 1 << 1)
 11 |         public static let minute      = Units(rawValue: 1 << 2)
 12 |         public static let hour        = Units(rawValue: 1 << 3)
    |                           |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'hour' 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
 13 |         public static let day         = Units(rawValue: 1 << 4)
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:13:27: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 11 |         public static let minute      = Units(rawValue: 1 << 2)
 12 |         public static let hour        = Units(rawValue: 1 << 3)
 13 |         public static let day         = Units(rawValue: 1 << 4)
    |                           |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'day' 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 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:15:27: warning: static property 'secondAndMillisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 13 |         public static let day         = Units(rawValue: 1 << 4)
 14 |
 15 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
    |                           |- warning: static property 'secondAndMillisecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'secondAndMillisecond' 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
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:16:27: warning: static property 'minuteAndSecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 14 |
 15 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
    |                           |- warning: static property 'minuteAndSecond' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'minuteAndSecond' 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
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
 18 |         public static let all: Units = [.day, .hour, .minute, second, millisecond]
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:17:27: warning: static property 'hourAndMinute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 15 |         public static let secondAndMillisecond: Units = [.second, .millisecond]
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
    |                           |- warning: static property 'hourAndMinute' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'hourAndMinute' 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
 18 |         public static let all: Units = [.day, .hour, .minute, second, millisecond]
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:18:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
  3 | public struct Elapse {
  4 |
  5 |     public struct Units: OptionSet {
    |                   `- note: consider making struct 'Units' conform to the 'Sendable' protocol
  6 |         public let rawValue: UInt8
  7 |         public init(rawValue: UInt8) { self.rawValue = rawValue }
    :
 16 |         public static let minuteAndSecond: Units = [.minute, .second]
 17 |         public static let hourAndMinute: Units = [.hour, .minute]
 18 |         public static let all: Units = [.day, .hour, .minute, second, millisecond]
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Elapse.Units' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'all' 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 |         var highest: Units {
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:91:5: warning: 'public' modifier is redundant for property declared in a public extension
 89 |
 90 | public extension Int {
 91 |     public var days: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 92 |         return Elapse.Metric.day.convert(Int64(self))
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:95:5: warning: 'public' modifier is redundant for property declared in a public extension
 93 |     }
 94 |
 95 |     public var hours: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 96 |         return Elapse.Metric.hour.convert(Int64(self))
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:99:5: warning: 'public' modifier is redundant for property declared in a public extension
 97 |     }
 98 |
 99 |     public var minutes: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
100 |         return Elapse.Metric.minute.convert(Int64(self))
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:103:5: warning: 'public' modifier is redundant for property declared in a public extension
101 |     }
102 |
103 |     public var seconds: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
104 |         return Elapse.Metric.second.convert(Int64(self))
105 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:107:5: warning: 'public' modifier is redundant for property declared in a public extension
105 |     }
106 |
107 |     public var milliseconds: TimeInterval {
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
108 |         return Elapse.Metric.millisecond.convert(Int64(self))
109 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Elapse.swift:115:5: warning: 'public' modifier is redundant for instance method declared in a public extension
113 | public extension TimeInterval {
114 |
115 |     public func components(of units: Elapse.Units,
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
116 |                            roundingMode: Elapse.RoundingMode = .floor) -> Elapse.Components {
117 |         let time = { (time: TimeInterval) -> TimeInterval in
[4/6] Write Objects.LinkFileList
[5/6] Linking libElapse.dylib
Build complete! (6.57s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Elapse",
  "name" : "Elapse",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Elapse",
      "targets" : [
        "Elapse"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "ElapseTests",
      "module_type" : "SwiftTarget",
      "name" : "ElapseTests",
      "path" : "Tests",
      "sources" : [
        "ElapseTests/ElapseTests.swift",
        "LinuxMain.swift"
      ],
      "target_dependencies" : [
        "Elapse"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Elapse",
      "module_type" : "SwiftTarget",
      "name" : "Elapse",
      "path" : "Sources",
      "product_memberships" : [
        "Elapse"
      ],
      "sources" : [
        "Elapse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.