The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DiceKit, reference v0.26.0 (b91141), with Swift 6.1 for Wasm on 28 May 2025 07:37:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/DiceKit.git
Reference: v0.26.0
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/Samasaur1/DiceKit
 * tag               v0.26.0    -> FETCH_HEAD
HEAD is now at b91141b Version 0.26.0: Fix Automatic Deployment
Cloned https://github.com/Samasaur1/DiceKit.git
Revision (git rev-parse @):
b91141b2b5bc254e98011a52c027fac8ac1199be
SUCCESS checkout https://github.com/Samasaur1/DiceKit.git at v0.26.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Samasaur1/DiceKit.git
https://github.com/Samasaur1/DiceKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DiceKit",
  "name" : "DiceKit",
  "path" : "/host/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",
        "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] Compiling DiceKit Chances.swift
[4/15] Compiling DiceKit CustomDie.swift
[5/15] Compiling DiceKit Caching.swift
/host/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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- 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)
/host/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: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |     //swiftlint:enable force_try
118 | }
[6/15] Compiling DiceKit Chance.swift
/host/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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- 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)
/host/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: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |     //swiftlint:enable force_try
118 | }
[7/15] Compiling DiceKit Enums.swift
[8/15] Compiling DiceKit Rollable.swift
[9/15] Emitting module DiceKit
/host/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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- 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)
/host/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: add '@MainActor' to make static property 'one' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |     //swiftlint:enable force_try
118 | }
/host/spi-builder-workspace/Sources/DiceKit/Dice.swift:284:28: warning: static property '__cache' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property '__cache' part of global actor 'MainActor'
    |                            `- 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.
/host/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'enableCaching' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 |         didSet {
296 |             if enableCaching == false {
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:61:14: warning: var 'STDERR' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'STDERR' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
63 |
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:62:14: warning: var 'STDOUT' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'STDOUT' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | private enum LazyValue<Input, Value> {
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[10/15] Compiling DiceKit Describable.swift
/host/spi-builder-workspace/Sources/DiceKit/Dice.swift:284:28: warning: static property '__cache' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property '__cache' part of global actor 'MainActor'
    |                            `- 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.
/host/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'enableCaching' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 |         didSet {
296 |             if enableCaching == false {
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[11/15] Compiling DiceKit Dice.swift
/host/spi-builder-workspace/Sources/DiceKit/Dice.swift:284:28: warning: static property '__cache' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property '__cache' part of global actor 'MainActor'
    |                            `- 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.
/host/spi-builder-workspace/Sources/DiceKit/Dice.swift:294:23: warning: static property 'enableCaching' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'enableCaching' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 |         didSet {
296 |             if enableCaching == false {
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[12/15] Compiling DiceKit Die.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[13/15] Compiling DiceKit DieSide.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[14/16] Compiling DiceKit Typealiases.swift
[15/16] Compiling DiceKit Utilities.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:61:14: warning: var 'STDERR' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'STDERR' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | internal var STDOUT = FileHandleOutputStream(.standardOutput)
63 |
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:62:14: warning: var 'STDOUT' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make var 'STDOUT' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | private enum LazyValue<Input, Value> {
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[16/16] Compiling DiceKit WeightedDie.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling DiceKit Typealiases.swift
[3/14] Compiling DiceKit Utilities.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[4/15] Compiling DiceKit Enums.swift
[5/15] Compiling DiceKit Rollable.swift
[6/15] Compiling DiceKit Die.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[7/15] Compiling DiceKit DieSide.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Compiling DiceKit Caching.swift
[9/15] Compiling DiceKit Chance.swift
[10/15] Emitting module DiceKit
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[11/15] Compiling DiceKit WeightedDie.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[12/15] Compiling DiceKit Chances.swift
[13/15] Compiling DiceKit CustomDie.swift
[14/15] Compiling DiceKit Describable.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
[15/15] Compiling DiceKit Dice.swift
/host/spi-builder-workspace/Sources/DiceKit/Utilities.swift:77:25: error: cannot find 'DispatchQueue' in scope
75 |     /// All reads and writes of `_value` must
76 |     /// happen on this queue.
77 |     private let queue = DispatchQueue(label: "LazyBox._value")
   |                         `- error: cannot find 'DispatchQueue' in scope
78 |
79 |     func value(input: Input) -> Result {
BUILD FAILURE 6.1 wasm