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

The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of Elapse with Swift 6.0 for Linux.

Swift 6 data race errors: 9

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yshrkt/Elapse.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/yshrkt/Elapse
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/yshrkt/Elapse.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/7] Emitting module Elapse
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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]
/host/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 |
/host/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 {
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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/7] Compiling Elapse Elapse.swift
/host/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)
/host/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)
/host/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)
/host/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 |
/host/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]
/host/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]
/host/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]
/host/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 |
/host/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 {
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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
[5/8] Wrapping AST for Elapse for debugging
[6/8] Write Objects.LinkFileList
[7/8] Linking libElapse.so
Build complete! (11.27s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Elapse",
  "name" : "Elapse",
  "path" : "/host/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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.