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

Swift 6 data race errors: 6

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/DiceKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/DiceKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5e29f59 Update README since roll(times:_:) is now throwing
Cloned https://github.com/Samasaur1/DiceKit.git
Revision (git rev-parse @):
5e29f5959818b3322f1905ad7b86c1d887d6b21b
SUCCESS checkout https://github.com/Samasaur1/DiceKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Samasaur1/DiceKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/15] Compiling DiceKit Die.swift
[4/15] Compiling DiceKit Typealiases.swift
[5/15] Compiling DiceKit Enums.swift
[6/15] Compiling DiceKit DieSide.swift
[7/15] Compiling DiceKit Rollable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
[8/15] Compiling DiceKit Describable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:284:28: warning: static property '__cache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
282 |     }
283 |
284 |     fileprivate static var __cache: [Dice: Chances]? = [:]
    |                            |- warning: static property '__cache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert '__cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate '__cache' 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
285 |
286 |     /// Whether or not `Dice` should cache the results of probability computations across objects.
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
292 |     ///
293 |     /// - Since: 0.22.0
294 |     public static var enableCaching = true {
    |                       |- warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enableCaching' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'enableCaching' 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
295 |         didSet {
296 |             if enableCaching == false {
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:116:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
114 |     public static let zero = try! Chance(0, outOf: 1)
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
    |                       |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'one' 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
117 |     //swiftlint:enable force_try
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
[9/15] Compiling DiceKit Dice.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:284:28: warning: static property '__cache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
282 |     }
283 |
284 |     fileprivate static var __cache: [Dice: Chances]? = [:]
    |                            |- warning: static property '__cache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert '__cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate '__cache' 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
285 |
286 |     /// Whether or not `Dice` should cache the results of probability computations across objects.
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
292 |     ///
293 |     /// - Since: 0.22.0
294 |     public static var enableCaching = true {
    |                       |- warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enableCaching' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'enableCaching' 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
295 |         didSet {
296 |             if enableCaching == false {
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:116:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
114 |     public static let zero = try! Chance(0, outOf: 1)
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
    |                       |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'one' 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
117 |     //swiftlint:enable force_try
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
[10/15] Compiling DiceKit Chances.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
[11/15] Compiling DiceKit CustomDie.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
[12/15] Emitting module DiceKit
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:116:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
114 |     public static let zero = try! Chance(0, outOf: 1)
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
    |                       |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'one' 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
117 |     //swiftlint:enable force_try
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:284:28: warning: static property '__cache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
282 |     }
283 |
284 |     fileprivate static var __cache: [Dice: Chances]? = [:]
    |                            |- warning: static property '__cache' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert '__cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate '__cache' 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
285 |
286 |     /// Whether or not `Dice` should cache the results of probability computations across objects.
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
292 |     ///
293 |     /// - Since: 0.22.0
294 |     public static var enableCaching = true {
    |                       |- warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enableCaching' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'enableCaching' 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
295 |         didSet {
296 |             if enableCaching == false {
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Utilities.swift:61:14: warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
59 |     }
60 | }
61 | internal var STDERR = FileHandleOutputStream(.standardError)
   |              |- warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'STDERR' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'STDERR' 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
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Utilities.swift:62:14: warning: var 'STDOUT' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | internal var STDERR = FileHandleOutputStream(.standardError)
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
   |              |- warning: var 'STDOUT' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'STDOUT' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'STDOUT' 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
63 |
64 | private enum LazyValue<Input, Value> {
[13/15] Compiling DiceKit Caching.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
292 |     ///
293 |     /// - Since: 0.22.0
294 |     public static var enableCaching = true {
    |                       |- warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enableCaching' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'enableCaching' 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
295 |         didSet {
296 |             if enableCaching == false {
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:116:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
114 |     public static let zero = try! Chance(0, outOf: 1)
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
    |                       |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'one' 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
117 |     //swiftlint:enable force_try
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Utilities.swift:61:14: warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
59 |     }
60 | }
61 | internal var STDERR = FileHandleOutputStream(.standardError)
   |              |- warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'STDERR' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'STDERR' 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
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
63 |
[14/15] Compiling DiceKit Chance.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
292 |     ///
293 |     /// - Since: 0.22.0
294 |     public static var enableCaching = true {
    |                       |- warning: static property 'enableCaching' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'enableCaching' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'enableCaching' 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
295 |         didSet {
296 |             if enableCaching == false {
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:114:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
112 |     //swiftlint:disable force_try
113 |     /// A `Chance` of zero.
114 |     public static let zero = try! Chance(0, outOf: 1)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'zero' 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
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Chance.swift:116:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
  5 | /// - Since: 0.16.0
  6 | /// - Author: Samasaur
  7 | public struct Chance {
    |               `- note: consider making struct 'Chance' conform to the 'Sendable' protocol
  8 |     /// The numerator of the fraction
  9 |     public let n: Int
    :
114 |     public static let zero = try! Chance(0, outOf: 1)
115 |     /// A `Chance` of one.
116 |     public static let one = try! Chance(1, outOf: 1)
    |                       |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Chance' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'one' 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
117 |     //swiftlint:enable force_try
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Utilities.swift:61:14: warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
59 |     }
60 | }
61 | internal var STDERR = FileHandleOutputStream(.standardError)
   |              |- warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'STDERR' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'STDERR' 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
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
63 |
[15/15] Compiling DiceKit Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Utilities.swift:61:14: warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
59 |     }
60 | }
61 | internal var STDERR = FileHandleOutputStream(.standardError)
   |              |- warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'STDERR' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'STDERR' 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
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Utilities.swift:62:14: warning: var 'STDOUT' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | internal var STDERR = FileHandleOutputStream(.standardError)
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
   |              |- warning: var 'STDOUT' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'STDOUT' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'STDOUT' 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
63 |
64 | private enum LazyValue<Input, Value> {
[16/16] Compiling DiceKit WeightedDie.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiceKit/Utilities.swift:61:14: warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
59 |     }
60 | }
61 | internal var STDERR = FileHandleOutputStream(.standardError)
   |              |- warning: var 'STDERR' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'STDERR' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'STDERR' 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
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
63 |
Build complete! (19.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DiceKit",
  "name" : "DiceKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "DiceKit",
      "targets" : [
        "DiceKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "DiceKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DiceKitTests",
      "path" : "Tests/DiceKitTests",
      "sources" : [
        "ChanceTests.swift",
        "ChancesTests.swift",
        "CustomDieTests.swift",
        "DiceKitTests.swift",
        "DiceTests.swift",
        "DieSideTests.swift",
        "DieTests.swift",
        "RollableTests.swift",
        "WeightedDieTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DiceKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiceKit",
      "module_type" : "SwiftTarget",
      "name" : "DiceKit",
      "path" : "Sources/DiceKit",
      "product_memberships" : [
        "DiceKit"
      ],
      "sources" : [
        "Caching.swift",
        "Chance.swift",
        "Chances.swift",
        "CustomDie.swift",
        "Describable.swift",
        "Dice.swift",
        "Die.swift",
        "DieSide.swift",
        "Enums.swift",
        "Rollable.swift",
        "Typealiases.swift",
        "Utilities.swift",
        "WeightedDie.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.