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 TaskKit, reference master (ff9074), with Swift 6.1 for Linux on 26 Apr 2025 00:22:20 UTC.

Swift 6 data race errors: 23

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ponyboy47/TaskKit.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/Ponyboy47/TaskKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ff9074b Simplified TaskStates, improved Hashable conformance, removed non-swifty helper functions, other bug fixes or improvements
Cloned https://github.com/Ponyboy47/TaskKit.git
Revision (git rev-parse @):
ff9074bcc6375da6bbf82027d23d60482b120d04
SUCCESS checkout https://github.com/Ponyboy47/TaskKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Ponyboy47/TaskKit.git
https://github.com/Ponyboy47/TaskKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TaskKit",
  "name" : "TaskKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TaskKit",
      "targets" : [
        "TaskKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TaskKitTests",
      "module_type" : "SwiftTarget",
      "name" : "TaskKitTests",
      "path" : "Tests/TaskKitTests",
      "sources" : [
        "TaskKitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TaskKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TaskKit",
      "module_type" : "SwiftTarget",
      "name" : "TaskKit",
      "path" : "Sources/TaskKit",
      "product_memberships" : [
        "TaskKit"
      ],
      "sources" : [
        "Task.swift",
        "TaskPriority.swift",
        "TaskQueue+Linked.swift",
        "TaskQueue.swift",
        "TaskState.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling TaskKit TaskState.swift
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:9:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
  7 |     let id: UUID = UUID()
  8 |
  9 |     public static let ready: TaskState       = 0b0000_00000_0000001
    |                       |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ready' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:10:16: warning: static property 'prepare' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
  8 |
  9 |     public static let ready: TaskState       = 0b0000_00000_0000001
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
    |                |- warning: static property 'prepare' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'prepare' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:11:16: warning: static property 'configure' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
  9 |     public static let ready: TaskState       = 0b0000_00000_0000001
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
    |                |- warning: static property 'configure' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'configure' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:12:16: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
    |                |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'execute' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:13:16: warning: static property 'pause' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
    |                |- warning: static property 'pause' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'pause' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:14:16: warning: static property 'cancel' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
    |                |- warning: static property 'cancel' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'cancel' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:15:16: warning: static property 'resume' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
    |                |- warning: static property 'resume' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'resume' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
 17 |
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:16:24: warning: static property 'mask' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
    |                        |- warning: static property 'mask' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     static let start: TaskState              = 0b0000_00001_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:18:16: warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
 17 |
 18 |     static let start: TaskState              = 0b0000_00001_0000000
    |                |- warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
 20 |     static let done: TaskState               = 0b0000_00100_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:19:16: warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 17 |
 18 |     static let start: TaskState              = 0b0000_00001_0000000
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
    |                |- warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'fail' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     static let done: TaskState               = 0b0000_00100_0000000
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:20:16: warning: static property 'done' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 18 |     static let start: TaskState              = 0b0000_00001_0000000
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
 20 |     static let done: TaskState               = 0b0000_00100_0000000
    |                |- warning: static property 'done' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'done' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:21:16: warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
 20 |     static let done: TaskState               = 0b0000_00100_0000000
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
    |                |- warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'wait' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
 23 |
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:22:16: warning: static property 'dependency' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 20 |     static let done: TaskState               = 0b0000_00100_0000000
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
    |                |- warning: static property 'dependency' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'dependency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     public static let succeeded = TaskState(rawValue: .done | .execute)
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:24:23: warning: static property 'succeeded' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
 23 |
 24 |     public static let succeeded = TaskState(rawValue: .done | .execute)
    |                       |- warning: static property 'succeeded' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'succeeded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static let waited = TaskState(rawValue: .done | .wait)
 26 |
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:25:16: warning: static property 'waited' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 23 |
 24 |     public static let succeeded = TaskState(rawValue: .done | .execute)
 25 |     static let waited = TaskState(rawValue: .done | .wait)
    |                |- warning: static property 'waited' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'waited' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |     public var isReady: Bool {
[4/8] Compiling TaskKit Task.swift
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:24:5: warning: 'public' modifier is redundant for property declared in a public extension
 22 |
 23 | public extension Task {
 24 |     public var isReady: Bool { return state.isReady }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 25 |     public var isExecuting: Bool { return state.isExecuting }
 26 |     public var isWaiting: Bool { return state.isWaiting }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:25:5: warning: 'public' modifier is redundant for property declared in a public extension
 23 | public extension Task {
 24 |     public var isReady: Bool { return state.isReady }
 25 |     public var isExecuting: Bool { return state.isExecuting }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 26 |     public var isWaiting: Bool { return state.isWaiting }
 27 |     public var isPaused: Bool { return state.isPaused }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
 24 |     public var isReady: Bool { return state.isReady }
 25 |     public var isExecuting: Bool { return state.isExecuting }
 26 |     public var isWaiting: Bool { return state.isWaiting }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 27 |     public var isPaused: Bool { return state.isPaused }
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:27:5: warning: 'public' modifier is redundant for property declared in a public extension
 25 |     public var isExecuting: Bool { return state.isExecuting }
 26 |     public var isWaiting: Bool { return state.isWaiting }
 27 |     public var isPaused: Bool { return state.isPaused }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
 29 |     public var didSucceed: Bool { return state.didSucceed }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:28:5: warning: 'public' modifier is redundant for property declared in a public extension
 26 |     public var isWaiting: Bool { return state.isWaiting }
 27 |     public var isPaused: Bool { return state.isPaused }
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 29 |     public var didSucceed: Bool { return state.didSucceed }
 30 |     public var didFail: Bool { return state.didFail }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:29:5: warning: 'public' modifier is redundant for property declared in a public extension
 27 |     public var isPaused: Bool { return state.isPaused }
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
 29 |     public var didSucceed: Bool { return state.didSucceed }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 30 |     public var didFail: Bool { return state.didFail }
 31 |
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
 29 |     public var didSucceed: Bool { return state.didSucceed }
 30 |     public var didFail: Bool { return state.didFail }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 31 |
 32 |     var id: UUID { return state.id }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:84:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 82 |
 83 | public extension DependentTask {
 84 |     public func add(dependency task: Task) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 85 |         dependencies.append(task)
 86 |     }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:103:23: warning: static property 'increaseDependencyPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public struct DependentTaskOption: OptionSet {
    |               `- note: consider making struct 'DependentTaskOption' conform to the 'Sendable' protocol
101 |     public let rawValue: UInt8
102 |
103 |     public static let increaseDependencyPriority = DependentTaskOption(rawValue: 1 << 0)
    |                       |- warning: static property 'increaseDependencyPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'increaseDependencyPriority' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |     public static let decreaseDependentTaskPriority = DependentTaskOption(rawValue: 1 << 1)
105 |
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:104:23: warning: static property 'decreaseDependentTaskPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public struct DependentTaskOption: OptionSet {
    |               `- note: consider making struct 'DependentTaskOption' conform to the 'Sendable' protocol
101 |     public let rawValue: UInt8
102 |
103 |     public static let increaseDependencyPriority = DependentTaskOption(rawValue: 1 << 0)
104 |     public static let decreaseDependentTaskPriority = DependentTaskOption(rawValue: 1 << 1)
    |                       |- warning: static property 'decreaseDependentTaskPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'decreaseDependentTaskPriority' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     public init(rawValue: UInt8) {
[5/8] Compiling TaskKit TaskQueue.swift
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:41:24: warning: static property 'beginningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 39 |     }
 40 |
 41 |     private static let beginningStates: [TaskState] = {
    |                        |- warning: static property 'beginningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'beginningStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |         let waiting: [TaskState] = [TaskState(rawValue: .wait | .execute)]
 43 |         let active: [TaskState] = [.prepare, .configure].map { TaskState(rawValue: $0 | TaskState.start) }
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:56:24: warning: static property 'runningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |     }
 55 |
 56 |     private static let runningStates: [TaskState] = {
    |                        |- warning: static property 'runningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'runningStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |         return [.execute, .pause, .cancel].map { TaskState(rawValue: $0 | TaskState.start) }
 58 |     }()
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:99:16: warning: static property '_activeStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |
 99 |     static let _activeStates: [TaskState] = {
    |                |- warning: static property '_activeStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property '_activeStates' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |         return TaskQueue.beginningStates + TaskQueue.runningStates
101 |     }()
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:163:25: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
161 |                 _getNextQueue.sync {
162 |                     __getNextQueue.async(flags: .barrier) {
163 |                         self.__getNext = newValue
    |                         `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
164 |                     }
165 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:168:29: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
166 |                     if upNext != nil {
167 |                         queue.async(qos: .userInteractive) {
168 |                             self.startNext()
    |                             `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
169 |                             self._getNext = false
170 |                         }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:173:29: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
171 |                     } else {
172 |                         __getNextQueue.async(flags: .barrier) {
173 |                             self.__getNext = false
    |                             `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
174 |                         }
175 |                     }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:181:21: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
179 |             } else {
180 |                 __getNextQueue.async(flags: .barrier) {
181 |                     self.__getNext = false
    |                     `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
182 |                 }
183 |             }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:265:28: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
263 |     public func add(task: Task) {
264 |         _tasksQueue.async(flags: .barrier) {
265 |             if let index = self.insertIndex(of: task) {
    |                            `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
266 |                 self.tasks.insert(task, at: index)
267 |             } else {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:265:49: warning: capture of 'task' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
263 |     public func add(task: Task) {
264 |         _tasksQueue.async(flags: .barrier) {
265 |             if let index = self.insertIndex(of: task) {
    |                                                 `- warning: capture of 'task' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
266 |                 self.tasks.insert(task, at: index)
267 |             } else {
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:4:17: note: protocol 'Task' does not conform to the 'Sendable' protocol
  2 | import Foundation
  3 |
  4 | public protocol Task: class {
    |                 `- note: protocol 'Task' does not conform to the 'Sendable' protocol
  5 |     var state: TaskState { get set }
  6 |     /// How important is it that this task be run sooner rather than later (Tasks with higher priority are executed first)
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:271:20: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
269 |             }
270 |             self.queue.async(qos: .userInteractive) {
271 |                 if self._isActive && !self._getNext && self._active < self.maxSimultaneous {
    |                    `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
272 |                     self._getNext = true
273 |                 }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:271:39: warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
269 |             }
270 |             self.queue.async(qos: .userInteractive) {
271 |                 if self._isActive && !self._getNext && self._active < self.maxSimultaneous {
    |                                       `- warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
272 |                     self._getNext = true
273 |                 }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:271:56: warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
269 |             }
270 |             self.queue.async(qos: .userInteractive) {
271 |                 if self._isActive && !self._getNext && self._active < self.maxSimultaneous {
    |                                                        `- warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
272 |                     self._getNext = true
273 |                 }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:285:13: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
283 |     public func add(tasks: [Task]) {
284 |         _tasksQueue.async(flags: .barrier) {
285 |             self.tasks += tasks
    |             `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
286 |             type(of: self).sort(&self.tasks)
287 |             self.queue.async(qos: .userInteractive) {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:285:27: warning: capture of 'tasks' with non-sendable type '[any Task]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
283 |     public func add(tasks: [Task]) {
284 |         _tasksQueue.async(flags: .barrier) {
285 |             self.tasks += tasks
    |                           `- warning: capture of 'tasks' with non-sendable type '[any Task]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
286 |             type(of: self).sort(&self.tasks)
287 |             self.queue.async(qos: .userInteractive) {
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:4:17: note: protocol 'Task' does not conform to the 'Sendable' protocol
  2 | import Foundation
  3 |
  4 | public protocol Task: class {
    |                 `- note: protocol 'Task' does not conform to the 'Sendable' protocol
  5 |     var state: TaskState { get set }
  6 |     /// How important is it that this task be run sooner rather than later (Tasks with higher priority are executed first)
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:288:20: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
286 |             type(of: self).sort(&self.tasks)
287 |             self.queue.async(qos: .userInteractive) {
288 |                 if self._isActive && !self._getNext && self._active < self.maxSimultaneous {
    |                    `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
289 |                     self._getNext = true
290 |                 }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:288:39: warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
286 |             type(of: self).sort(&self.tasks)
287 |             self.queue.async(qos: .userInteractive) {
288 |                 if self._isActive && !self._getNext && self._active < self.maxSimultaneous {
    |                                       `- warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
289 |                     self._getNext = true
290 |                 }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:288:56: warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
286 |             type(of: self).sort(&self.tasks)
287 |             self.queue.async(qos: .userInteractive) {
288 |                 if self._isActive && !self._getNext && self._active < self.maxSimultaneous {
    |                                                        `- warning: implicit capture of 'self' requires that 'TaskQueue' conforms to 'Sendable'; this is an error in the Swift 6 language mode
289 |                     self._getNext = true
290 |                 }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:417:13: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
415 |
416 |         _groupsQueue.async(flags: .barrier) {
417 |             self._groups[task.id] = group
    |             `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
418 |         }
419 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:417:26: warning: capture of 'task' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
415 |
416 |         _groupsQueue.async(flags: .barrier) {
417 |             self._groups[task.id] = group
    |                          `- warning: capture of 'task' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
418 |         }
419 |
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:4:17: note: protocol 'Task' does not conform to the 'Sendable' protocol
  2 | import Foundation
  3 |
  4 | public protocol Task: class {
    |                 `- note: protocol 'Task' does not conform to the 'Sendable' protocol
  5 |     var state: TaskState { get set }
  6 |     /// How important is it that this task be run sooner rather than later (Tasks with higher priority are executed first)
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:422:27: warning: capture of 'task' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
420 |         queue.async(group: group, qos: task.qos) {
421 |             var _task: Task?
422 |             if let task = task as? DependentTask {
    |                           `- warning: capture of 'task' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
423 |                 _task = self.prepare(task)
424 |             } else {
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:4:17: note: protocol 'Task' does not conform to the 'Sendable' protocol
  2 | import Foundation
  3 |
  4 | public protocol Task: class {
    |                 `- note: protocol 'Task' does not conform to the 'Sendable' protocol
  5 |     var state: TaskState { get set }
  6 |     /// How important is it that this task be run sooner rather than later (Tasks with higher priority are executed first)
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:423:25: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
421 |             var _task: Task?
422 |             if let task = task as? DependentTask {
423 |                 _task = self.prepare(task)
    |                         `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
424 |             } else {
425 |                 _task = task
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:455:17: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
453 |             }
454 |             self._groupsQueue.async(flags: .barrier) {
455 |                 self._groups.removeValue(forKey: uniqueKey)
    |                 `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 |             }
457 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:557:17: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
555 | 		if let (key, group) = _groupsQueue.sync(execute: { return _groups.first }) {
556 |             _groupsQueue.async(flags: .barrier) {
557 |                 self._groups.removeValue(forKey: key)
    |                 `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
558 |             }
559 |             group.wait()
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:612:13: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
610 |         let group = DispatchGroup()
611 |         queue.async(group: group, qos: qos) {
612 |             self.wait()
    |             `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
613 |         }
614 |         group.notify(qos: qos, flags: flags, queue: queue, execute: work)
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:635:13: warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  6 | // swiftlint:disable type_body_length
  7 |
  8 | open class TaskQueue: Hashable {
    |            `- note: class 'TaskQueue' does not conform to the 'Sendable' protocol
  9 |     /// The name of the TaskQueue
 10 |     public private(set) var name: String
    :
633 |         let group = DispatchGroup()
634 |         queue.async(group: group) {
635 |             self.wait()
    |             `- warning: capture of 'self' with non-sendable type 'TaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
636 |         }
637 |         group.notify(queue: queue, work: work)
[6/8] Compiling TaskKit TaskPriority.swift
[7/8] Emitting module TaskKit
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:24:5: warning: 'public' modifier is redundant for property declared in a public extension
 22 |
 23 | public extension Task {
 24 |     public var isReady: Bool { return state.isReady }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 25 |     public var isExecuting: Bool { return state.isExecuting }
 26 |     public var isWaiting: Bool { return state.isWaiting }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:25:5: warning: 'public' modifier is redundant for property declared in a public extension
 23 | public extension Task {
 24 |     public var isReady: Bool { return state.isReady }
 25 |     public var isExecuting: Bool { return state.isExecuting }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 26 |     public var isWaiting: Bool { return state.isWaiting }
 27 |     public var isPaused: Bool { return state.isPaused }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
 24 |     public var isReady: Bool { return state.isReady }
 25 |     public var isExecuting: Bool { return state.isExecuting }
 26 |     public var isWaiting: Bool { return state.isWaiting }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 27 |     public var isPaused: Bool { return state.isPaused }
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:27:5: warning: 'public' modifier is redundant for property declared in a public extension
 25 |     public var isExecuting: Bool { return state.isExecuting }
 26 |     public var isWaiting: Bool { return state.isWaiting }
 27 |     public var isPaused: Bool { return state.isPaused }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
 29 |     public var didSucceed: Bool { return state.didSucceed }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:28:5: warning: 'public' modifier is redundant for property declared in a public extension
 26 |     public var isWaiting: Bool { return state.isWaiting }
 27 |     public var isPaused: Bool { return state.isPaused }
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 29 |     public var didSucceed: Bool { return state.didSucceed }
 30 |     public var didFail: Bool { return state.didFail }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:29:5: warning: 'public' modifier is redundant for property declared in a public extension
 27 |     public var isPaused: Bool { return state.isPaused }
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
 29 |     public var didSucceed: Bool { return state.didSucceed }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 30 |     public var didFail: Bool { return state.didFail }
 31 |
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:30:5: warning: 'public' modifier is redundant for property declared in a public extension
 28 |     public var wasCancelled: Bool { return state.wasCancelled }
 29 |     public var didSucceed: Bool { return state.didSucceed }
 30 |     public var didFail: Bool { return state.didFail }
    |     `- warning: 'public' modifier is redundant for property declared in a public extension
 31 |
 32 |     var id: UUID { return state.id }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:84:5: warning: 'public' modifier is redundant for instance method declared in a public extension
 82 |
 83 | public extension DependentTask {
 84 |     public func add(dependency task: Task) {
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
 85 |         dependencies.append(task)
 86 |     }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:103:23: warning: static property 'increaseDependencyPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public struct DependentTaskOption: OptionSet {
    |               `- note: consider making struct 'DependentTaskOption' conform to the 'Sendable' protocol
101 |     public let rawValue: UInt8
102 |
103 |     public static let increaseDependencyPriority = DependentTaskOption(rawValue: 1 << 0)
    |                       |- warning: static property 'increaseDependencyPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'increaseDependencyPriority' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |     public static let decreaseDependentTaskPriority = DependentTaskOption(rawValue: 1 << 1)
105 |
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:104:23: warning: static property 'decreaseDependentTaskPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | }
 99 |
100 | public struct DependentTaskOption: OptionSet {
    |               `- note: consider making struct 'DependentTaskOption' conform to the 'Sendable' protocol
101 |     public let rawValue: UInt8
102 |
103 |     public static let increaseDependencyPriority = DependentTaskOption(rawValue: 1 << 0)
104 |     public static let decreaseDependentTaskPriority = DependentTaskOption(rawValue: 1 << 1)
    |                       |- warning: static property 'decreaseDependentTaskPriority' is not concurrency-safe because non-'Sendable' type 'DependentTaskOption' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'decreaseDependentTaskPriority' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     public init(rawValue: UInt8) {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:14:24: warning: static property '_waitingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |     private var _waitingForDependencyQueue = DispatchQueue(label: "com.TaskKit.waiting", qos: .userInitiated, attributes: .concurrent)
 13 |
 14 |     private static let _waitingStates: [TaskState] = [.ready, TaskState(rawValue: .execute | .wait)]
    |                        |- warning: static property '_waitingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property '_waitingStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     override public var waiting: [Task] {
 16 |         return _tasksQueue.sync {
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:38:24: warning: static property '_linkedActiveStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 36 |     }
 37 |
 38 |     private static let _linkedActiveStates: [TaskState] = {
    |                        |- warning: static property '_linkedActiveStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property '_linkedActiveStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |         var states = LinkedTaskQueue._activeStates
 40 |         states.append(.waited)
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:183:24: warning: static property 'failingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
181 |     }
182 |
183 |     private static let failingStates: [TaskState] = {
    |                        |- warning: static property 'failingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'failingStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |         return [.start, .done].map { TaskState(rawValue: $0 | .cancel) }
185 |     }()
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:41:24: warning: static property 'beginningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 39 |     }
 40 |
 41 |     private static let beginningStates: [TaskState] = {
    |                        |- warning: static property 'beginningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'beginningStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |         let waiting: [TaskState] = [TaskState(rawValue: .wait | .execute)]
 43 |         let active: [TaskState] = [.prepare, .configure].map { TaskState(rawValue: $0 | TaskState.start) }
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:56:24: warning: static property 'runningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |     }
 55 |
 56 |     private static let runningStates: [TaskState] = {
    |                        |- warning: static property 'runningStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'runningStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |         return [.execute, .pause, .cancel].map { TaskState(rawValue: $0 | TaskState.start) }
 58 |     }()
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue.swift:99:16: warning: static property '_activeStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 97 |     }
 98 |
 99 |     static let _activeStates: [TaskState] = {
    |                |- warning: static property '_activeStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property '_activeStates' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |         return TaskQueue.beginningStates + TaskQueue.runningStates
101 |     }()
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:9:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
  7 |     let id: UUID = UUID()
  8 |
  9 |     public static let ready: TaskState       = 0b0000_00000_0000001
    |                       |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ready' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:10:16: warning: static property 'prepare' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
  8 |
  9 |     public static let ready: TaskState       = 0b0000_00000_0000001
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
    |                |- warning: static property 'prepare' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'prepare' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:11:16: warning: static property 'configure' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
  9 |     public static let ready: TaskState       = 0b0000_00000_0000001
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
    |                |- warning: static property 'configure' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'configure' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:12:16: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 10 |     static let prepare: TaskState            = 0b0000_00000_0000010
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
    |                |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'execute' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:13:16: warning: static property 'pause' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 11 |     static let configure: TaskState          = 0b0000_00000_0000100
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
    |                |- warning: static property 'pause' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'pause' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:14:16: warning: static property 'cancel' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 12 |     static let execute: TaskState            = 0b0000_00000_0001000
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
    |                |- warning: static property 'cancel' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'cancel' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:15:16: warning: static property 'resume' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 13 |     static let pause: TaskState              = 0b0000_00000_0010000
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
    |                |- warning: static property 'resume' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'resume' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
 17 |
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:16:24: warning: static property 'mask' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 14 |     static let cancel: TaskState             = 0b0000_00000_0100000
 15 |     static let resume: TaskState             = 0b0000_00000_1000000
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
    |                        |- warning: static property 'mask' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'mask' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     static let start: TaskState              = 0b0000_00001_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:18:16: warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 16 |     private static let mask: TaskState       = 0b0000_00000_1111111
 17 |
 18 |     static let start: TaskState              = 0b0000_00001_0000000
    |                |- warning: static property 'start' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
 20 |     static let done: TaskState               = 0b0000_00100_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:19:16: warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 17 |
 18 |     static let start: TaskState              = 0b0000_00001_0000000
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
    |                |- warning: static property 'fail' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'fail' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     static let done: TaskState               = 0b0000_00100_0000000
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:20:16: warning: static property 'done' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 18 |     static let start: TaskState              = 0b0000_00001_0000000
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
 20 |     static let done: TaskState               = 0b0000_00100_0000000
    |                |- warning: static property 'done' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'done' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:21:16: warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 19 |     static let fail: TaskState               = 0b0000_00010_0000000
 20 |     static let done: TaskState               = 0b0000_00100_0000000
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
    |                |- warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'wait' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
 23 |
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:22:16: warning: static property 'dependency' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 20 |     static let done: TaskState               = 0b0000_00100_0000000
 21 |     static let wait: TaskState               = 0b0000_01000_0000000
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
    |                |- warning: static property 'dependency' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'dependency' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     public static let succeeded = TaskState(rawValue: .done | .execute)
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:24:23: warning: static property 'succeeded' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 22 |     static let dependency: TaskState         = 0b0000_11000_0000000
 23 |
 24 |     public static let succeeded = TaskState(rawValue: .done | .execute)
    |                       |- warning: static property 'succeeded' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'succeeded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static let waited = TaskState(rawValue: .done | .wait)
 26 |
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:25:16: warning: static property 'waited' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
    :
 23 |
 24 |     public static let succeeded = TaskState(rawValue: .done | .execute)
 25 |     static let waited = TaskState(rawValue: .done | .wait)
    |                |- warning: static property 'waited' is not concurrency-safe because non-'Sendable' type 'TaskState' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'waited' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |     public var isReady: Bool {
[8/8] Compiling TaskKit TaskQueue+Linked.swift
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:14:24: warning: static property '_waitingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |     private var _waitingForDependencyQueue = DispatchQueue(label: "com.TaskKit.waiting", qos: .userInitiated, attributes: .concurrent)
 13 |
 14 |     private static let _waitingStates: [TaskState] = [.ready, TaskState(rawValue: .execute | .wait)]
    |                        |- warning: static property '_waitingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property '_waitingStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     override public var waiting: [Task] {
 16 |         return _tasksQueue.sync {
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:38:24: warning: static property '_linkedActiveStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
 36 |     }
 37 |
 38 |     private static let _linkedActiveStates: [TaskState] = {
    |                        |- warning: static property '_linkedActiveStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property '_linkedActiveStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |         var states = LinkedTaskQueue._activeStates
 40 |         states.append(.waited)
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:183:24: warning: static property 'failingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
181 |     }
182 |
183 |     private static let failingStates: [TaskState] = {
    |                        |- warning: static property 'failingStates' is not concurrency-safe because non-'Sendable' type '[TaskState]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'failingStates' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |         return [.start, .done].map { TaskState(rawValue: $0 | .cancel) }
185 |     }()
/host/spi-builder-workspace/Sources/TaskKit/TaskState.swift:3:15: note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  1 | import Foundation
  2 |
  3 | public struct TaskState: RawRepresentable, ExpressibleByIntegerLiteral, Equatable {
    |               `- note: consider making struct 'TaskState' conform to the 'Sendable' protocol
  4 |     public typealias IntegerLiteralType = UInt16
  5 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:91:13: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
 89 |     public func link(to queue: LinkedTaskQueue) {
 90 |         _linkedQueuesQueue.async(flags: .barrier) {
 91 |             self.linkedQueues.insert(queue)
    |             `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 92 |
 93 |             let hasLink: Bool = queue._linkedQueuesQueue.sync {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:91:38: warning: capture of 'queue' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
 89 |     public func link(to queue: LinkedTaskQueue) {
 90 |         _linkedQueuesQueue.async(flags: .barrier) {
 91 |             self.linkedQueues.insert(queue)
    |                                      `- warning: capture of 'queue' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 92 |
 93 |             let hasLink: Bool = queue._linkedQueuesQueue.sync {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:94:24: warning: capture of 'queue' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
 92 |
 93 |             let hasLink: Bool = queue._linkedQueuesQueue.sync {
 94 |                 return queue.linkedQueues.contains(self)
    |                        `- warning: capture of 'queue' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
 95 |             }
 96 |             if !hasLink {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:94:52: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
 92 |
 93 |             let hasLink: Bool = queue._linkedQueuesQueue.sync {
 94 |                 return queue.linkedQueues.contains(self)
    |                                                    `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
 95 |             }
 96 |             if !hasLink {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:104:13: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
102 |     public func link(to queues: Set<LinkedTaskQueue>) {
103 |         _linkedQueuesQueue.async(flags: .barrier) {
104 |             self.linkedQueues.formUnion(queues)
    |             `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |
106 |             queues.forEach { queue in
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:104:41: warning: capture of 'queues' with non-sendable type 'Set<LinkedTaskQueue>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
102 |     public func link(to queues: Set<LinkedTaskQueue>) {
103 |         _linkedQueuesQueue.async(flags: .barrier) {
104 |             self.linkedQueues.formUnion(queues)
    |                                         `- warning: capture of 'queues' with non-sendable type 'Set<LinkedTaskQueue>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |
106 |             queues.forEach { queue in
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:108:56: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
106 |             queues.forEach { queue in
107 |                 let hasLink: Bool = queue._linkedQueuesQueue.sync {
108 |                     return queue.linkedQueues.contains(self)
    |                                                        `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
109 |                 }
110 |                 if !hasLink {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:108:56: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
106 |             queues.forEach { queue in
107 |                 let hasLink: Bool = queue._linkedQueuesQueue.sync {
108 |                     return queue.linkedQueues.contains(self)
    |                                                        `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in an isolated closure; this is an error in the Swift 6 language mode
109 |                 }
110 |                 if !hasLink {
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:209:38: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
207 |                     if changed {
208 |                         linkedQueues[index]._tasksQueue.async(flags: .barrier) {
209 |                             type(of: self).sort(&self.linkedQueues[index].tasks)
    |                                      `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
210 |                         }
211 |                     }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:209:68: warning: capture of 'index' with non-sendable type 'SetIndex<LinkedTaskQueue>' (aka 'Set<LinkedTaskQueue>.Index') in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
207 |                     if changed {
208 |                         linkedQueues[index]._tasksQueue.async(flags: .barrier) {
209 |                             type(of: self).sort(&self.linkedQueues[index].tasks)
    |                                                                    `- warning: capture of 'index' with non-sendable type 'SetIndex<LinkedTaskQueue>' (aka 'Set<LinkedTaskQueue>.Index') in a '@Sendable' closure; this is an error in the Swift 6 language mode
210 |                         }
211 |                     }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:219:38: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
217 |                     if changed {
218 |                         _tasksQueue.async(flags: .barrier) {
219 |                             type(of: self).sort(&self.tasks)
    |                                      `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
220 |                         }
221 |                     }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:231:17: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
229 |             task.state.wait(to: .execute)
230 |             _waitingForDependencyQueue.async(flags: .barrier) {
231 |                 self._waitingForDependency[task.id] = groups
    |                 `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
232 |             }
233 |             self._getNext = true
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:231:44: warning: capture of 'task' with non-sendable type 'any DependentTask' in a '@Sendable' closure; this is an error in the Swift 6 language mode
229 |             task.state.wait(to: .execute)
230 |             _waitingForDependencyQueue.async(flags: .barrier) {
231 |                 self._waitingForDependency[task.id] = groups
    |                                            `- warning: capture of 'task' with non-sendable type 'any DependentTask' in a '@Sendable' closure; this is an error in the Swift 6 language mode
232 |             }
233 |             self._getNext = true
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:75:17: note: protocol 'DependentTask' does not conform to the 'Sendable' protocol
 73 | }
 74 |
 75 | public protocol DependentTask: Task {
    |                 `- note: protocol 'DependentTask' does not conform to the 'Sendable' protocol
 76 |     /// The tasks that must complete successfully before this task can run
 77 |     var dependencies: [Task] { get set }
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:231:55: warning: reference to captured var 'groups' in concurrently-executing code; this is an error in the Swift 6 language mode
229 |             task.state.wait(to: .execute)
230 |             _waitingForDependencyQueue.async(flags: .barrier) {
231 |                 self._waitingForDependency[task.id] = groups
    |                                                       `- warning: reference to captured var 'groups' in concurrently-executing code; this is an error in the Swift 6 language mode
232 |             }
233 |             self._getNext = true
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:257:17: warning: capture of 'upNext' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
255 |                     group.wait()
256 |                 }
257 |                 upNext.state.finish()
    |                 `- warning: capture of 'upNext' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
258 |                 self._getNext = true
259 |             }
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:4:17: note: protocol 'Task' does not conform to the 'Sendable' protocol
  2 | import Foundation
  3 |
  4 | public protocol Task: class {
    |                 `- note: protocol 'Task' does not conform to the 'Sendable' protocol
  5 |     var state: TaskState { get set }
  6 |     /// How important is it that this task be run sooner rather than later (Tasks with higher priority are executed first)
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:258:17: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
256 |                 }
257 |                 upNext.state.finish()
258 |                 self._getNext = true
    |                 `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
259 |             }
260 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:262:17: warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class very similar to a TaskQueue, except this queue makes the assumption that any dependent tasks are added to either this queue or one of the linked queues
  5 | open class LinkedTaskQueue: TaskQueue {
    |            `- note: class 'LinkedTaskQueue' does not conform to the 'Sendable' protocol
  6 |     public private(set) var linkedQueues: Set<LinkedTaskQueue> = Set()
  7 |     private let _linkedQueuesQueue = DispatchQueue(label: "com.TaskKit.linked", qos: .userInitiated, attributes: .concurrent)
    :
260 |
261 |             _waitingForDependencyQueue.async(flags: .barrier) {
262 |                 self._waitingForDependency.removeValue(forKey: upNext.id)
    |                 `- warning: capture of 'self' with non-sendable type 'LinkedTaskQueue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
263 |             }
264 |
/host/spi-builder-workspace/Sources/TaskKit/TaskQueue+Linked.swift:262:64: warning: capture of 'upNext' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
260 |
261 |             _waitingForDependencyQueue.async(flags: .barrier) {
262 |                 self._waitingForDependency.removeValue(forKey: upNext.id)
    |                                                                `- warning: capture of 'upNext' with non-sendable type 'any Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
263 |             }
264 |
/host/spi-builder-workspace/Sources/TaskKit/Task.swift:4:17: note: protocol 'Task' does not conform to the 'Sendable' protocol
  2 | import Foundation
  3 |
  4 | public protocol Task: class {
    |                 `- note: protocol 'Task' does not conform to the 'Sendable' protocol
  5 |     var state: TaskState { get set }
  6 |     /// How important is it that this task be run sooner rather than later (Tasks with higher priority are executed first)
Build complete! (8.36s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TaskKit",
  "name" : "TaskKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TaskKit",
      "targets" : [
        "TaskKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TaskKitTests",
      "module_type" : "SwiftTarget",
      "name" : "TaskKitTests",
      "path" : "Tests/TaskKitTests",
      "sources" : [
        "TaskKitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TaskKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TaskKit",
      "module_type" : "SwiftTarget",
      "name" : "TaskKit",
      "path" : "Sources/TaskKit",
      "product_memberships" : [
        "TaskKit"
      ],
      "sources" : [
        "Task.swift",
        "TaskPriority.swift",
        "TaskQueue+Linked.swift",
        "TaskQueue.swift",
        "TaskState.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.