Build Information
Failed to build CombineX, reference 0.4.0 (98096c
), with Swift 6.0 for Linux on 28 Nov 2024 03:41:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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
35 |
36 | /// Limits the maximum number of values.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
[219/252] Compiling CombineX SwitchToLatest.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
[220/252] Compiling CombineX Throttle.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
[221/252] Compiling CombineX Timeout.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
[222/252] Compiling CombineX PrefixWhile.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[223/252] Compiling CombineX Reduce.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[224/252] Compiling CombineX RemoveDuplicates.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[225/252] Compiling CombineX Retry.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[226/252] Compiling CombineX Scan.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[227/252] Compiling CombineX TryCombineLatest+.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[228/252] Compiling CombineX TryComparison.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[229/252] Compiling CombineX TryContainsWhere.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[230/252] Compiling CombineX TryFilter.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[231/252] Compiling CombineX TryFirstWhere.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[232/252] Compiling CombineX TryLastWhere.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[233/252] Compiling CombineX TryMap.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[234/252] Compiling CombineX Zip+.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[235/252] Compiling CombineX Concatenate.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[236/252] Compiling CombineX Deferred.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[237/252] Compiling CombineX Delay.swift
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[238/252] Compiling CombineX Scheduler.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[239/252] Compiling CombineX SchedulerTimeIntervalConvertible.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[240/252] Compiling CombineX ImmediateScheduler.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[241/252] Compiling CombineX Subject.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[242/252] Compiling CombineX CurrentValueSubject.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[243/252] Compiling CombineX PassthroughSubject.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[244/252] Compiling CombineX Subscriber.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[245/252] Compiling CombineX Assign.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[246/252] Compiling CombineX Completion.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[247/252] Compiling CombineX Demand.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[248/252] Compiling CombineX Sink.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[249/252] Compiling CombineX Subscribers.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[250/252] Compiling CombineX Subscription.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[251/252] Compiling CombineX EmptySubscription.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[252/252] Compiling CombineX Subscriptions.swift
/host/spi-builder-workspace/Sources/CombineX/Schedulers/ImmediateScheduler.swift:104:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
4 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
5 |
6 | /// The time type used by the immediate scheduler.
:
102 | ///
103 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
104 | public static let shared: ImmediateScheduler = ImmediateScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/host/spi-builder-workspace/Sources/CombineX/Subscriptions/EmptySubscription.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// Use the empty subscription when you need a `Subscription` that ignores requests and cancellation.
6 | public static let empty: Subscription = EmptySubscription()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'any Subscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/host/spi-builder-workspace/Sources/CombineX/Subscription.swift:10:17: note: protocol 'Subscription' does not conform to the 'Sendable' protocol
8 | ///
9 | /// Canceling a subscription frees up any resources previously allocated by attaching the `Subscriber`.
10 | public protocol Subscription: Cancellable, CustomCombineIdentifierConvertible {
| `- note: protocol 'Subscription' does not conform to the 'Sendable' protocol
11 |
12 | /// Tells a publisher that it may send more values to the subscriber.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:29:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
27 |
28 | /// Requests as many values as the `Publisher` can produce.
29 | public static let unlimited = Demand(Demand._unlimited)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// A demand for no items.
/host/spi-builder-workspace/Sources/CombineX/Subscribers/Demand.swift:34:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// - unlimited: A request for an unlimited number of items.
6 | /// - max: A request for a maximum number of items.
7 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
8 |
9 | @usableFromInline
:
32 | ///
33 | /// This is equivalent to `Demand.max(0)`.
34 | public static let none = Demand(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Limits the maximum number of values.
[254/266] Compiling CXFoundation RunLoop.swift
[255/266] Compiling CXFoundation PropertyListEncoder.swift
[256/266] Compiling CXFoundation Publishers+KeyValueObserving.swift
[257/266] Compiling CXFoundation Timer.swift
[258/267] Emitting module CXFoundation
/host/spi-builder-workspace/Sources/CXFoundation/JSONDecoder.swift:21:1: warning: extension declares a conformance of imported type 'JSONDecoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
19 | }
20 |
21 | extension JSONDecoder: CXWrapping {
| |- warning: extension declares a conformance of imported type 'JSONDecoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 |
23 | public typealias CX = CXWrappers.JSONDecoder
/host/spi-builder-workspace/Sources/CXFoundation/JSONEncoder.swift:21:1: warning: extension declares a conformance of imported type 'JSONEncoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
19 | }
20 |
21 | extension JSONEncoder: CXWrapping {
| |- warning: extension declares a conformance of imported type 'JSONEncoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 |
23 | public typealias CX = CXWrappers.JSONEncoder
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:166:20: warning: static property 'readySchedulingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 |
165 | private final class DelayReadyOperation: Operation, Cancellable {
166 | static var readySchedulingQueue: DispatchQueue = {
| |- warning: static property 'readySchedulingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readySchedulingQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'readySchedulingQueue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | return DispatchQueue(label: "DelayReadyOperation")
168 | }()
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:165:25: warning: class 'DelayReadyOperation' must restate inherited '@unchecked Sendable' conformance
163 | public struct SchedulerOptions { }
164 |
165 | private final class DelayReadyOperation: Operation, Cancellable {
| `- warning: class 'DelayReadyOperation' must restate inherited '@unchecked Sendable' conformance
166 | static var readySchedulingQueue: DispatchQueue = {
167 | return DispatchQueue(label: "DelayReadyOperation")
[259/267] Compiling CXFoundation NSObject.swift
/host/spi-builder-workspace/Sources/CXFoundation/NotificationCenter.swift:160:34: warning: capture of 'self' with non-sendable type 'Notification.Subscription<S>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 | private extension Notification {
117 |
118 | final class Subscription<S: Subscriber>: CombineX.Subscription, CustomStringConvertible, CustomReflectable, CustomPlaygroundDisplayConvertible
| `- note: generic class 'Subscription' does not conform to the 'Sendable' protocol
119 | where
120 | S.Input == Notification
:
158 | queue: nil
159 | ) { [weak self] note in
160 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'Notification.Subscription<S>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |
162 | self.lock.lock()
/host/spi-builder-workspace/Sources/CXFoundation/NotificationCenter.swift:176:44: warning: capture of 'next' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 | private extension Notification {
117 |
118 | final class Subscription<S: Subscriber>: CombineX.Subscription, CustomStringConvertible, CustomReflectable, CustomPlaygroundDisplayConvertible
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
119 | where
120 | S.Input == Notification
:
174 | if demand > 0 {
175 | self.downstreamLock.lock()
176 | let additionalDemand = next.receive(note)
| `- warning: capture of 'next' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 | self.downstreamLock.unlock()
178 |
[260/267] Compiling CXFoundation NotificationCenter.swift
/host/spi-builder-workspace/Sources/CXFoundation/NotificationCenter.swift:160:34: warning: capture of 'self' with non-sendable type 'Notification.Subscription<S>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 | private extension Notification {
117 |
118 | final class Subscription<S: Subscriber>: CombineX.Subscription, CustomStringConvertible, CustomReflectable, CustomPlaygroundDisplayConvertible
| `- note: generic class 'Subscription' does not conform to the 'Sendable' protocol
119 | where
120 | S.Input == Notification
:
158 | queue: nil
159 | ) { [weak self] note in
160 | guard let self = self else { return }
| `- warning: capture of 'self' with non-sendable type 'Notification.Subscription<S>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
161 |
162 | self.lock.lock()
/host/spi-builder-workspace/Sources/CXFoundation/NotificationCenter.swift:176:44: warning: capture of 'next' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 | private extension Notification {
117 |
118 | final class Subscription<S: Subscriber>: CombineX.Subscription, CustomStringConvertible, CustomReflectable, CustomPlaygroundDisplayConvertible
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
119 | where
120 | S.Input == Notification
:
174 | if demand > 0 {
175 | self.downstreamLock.lock()
176 | let additionalDemand = next.receive(note)
| `- warning: capture of 'next' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
177 | self.downstreamLock.unlock()
178 |
[261/267] Compiling CXFoundation JSONDecoder.swift
/host/spi-builder-workspace/Sources/CXFoundation/JSONDecoder.swift:21:1: warning: extension declares a conformance of imported type 'JSONDecoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
19 | }
20 |
21 | extension JSONDecoder: CXWrapping {
| |- warning: extension declares a conformance of imported type 'JSONDecoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 |
23 | public typealias CX = CXWrappers.JSONDecoder
/host/spi-builder-workspace/Sources/CXFoundation/JSONEncoder.swift:21:1: warning: extension declares a conformance of imported type 'JSONEncoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
19 | }
20 |
21 | extension JSONEncoder: CXWrapping {
| |- warning: extension declares a conformance of imported type 'JSONEncoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 |
23 | public typealias CX = CXWrappers.JSONEncoder
[262/267] Compiling CXFoundation JSONEncoder.swift
/host/spi-builder-workspace/Sources/CXFoundation/JSONDecoder.swift:21:1: warning: extension declares a conformance of imported type 'JSONDecoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
19 | }
20 |
21 | extension JSONDecoder: CXWrapping {
| |- warning: extension declares a conformance of imported type 'JSONDecoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 |
23 | public typealias CX = CXWrappers.JSONDecoder
/host/spi-builder-workspace/Sources/CXFoundation/JSONEncoder.swift:21:1: warning: extension declares a conformance of imported type 'JSONEncoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
19 | }
20 |
21 | extension JSONEncoder: CXWrapping {
| |- warning: extension declares a conformance of imported type 'JSONEncoder' to imported protocol 'CXWrapping'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 |
23 | public typealias CX = CXWrappers.JSONEncoder
[263/267] Compiling CXFoundation OperationQueue.swift
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:166:20: warning: static property 'readySchedulingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 |
165 | private final class DelayReadyOperation: Operation, Cancellable {
166 | static var readySchedulingQueue: DispatchQueue = {
| |- warning: static property 'readySchedulingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readySchedulingQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'readySchedulingQueue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | return DispatchQueue(label: "DelayReadyOperation")
168 | }()
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:165:25: warning: class 'DelayReadyOperation' must restate inherited '@unchecked Sendable' conformance
163 | public struct SchedulerOptions { }
164 |
165 | private final class DelayReadyOperation: Operation, Cancellable {
| `- warning: class 'DelayReadyOperation' must restate inherited '@unchecked Sendable' conformance
166 | static var readySchedulingQueue: DispatchQueue = {
167 | return DispatchQueue(label: "DelayReadyOperation")
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:201:40: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
198 |
199 | public func schedule(options: SchedulerOptions?,
200 | _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
201 | let op = BlockOperation(block: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
202 | base.addOperation(op)
203 | }
[264/267] Compiling CXFoundation PropertyListDecoder.swift
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:166:20: warning: static property 'readySchedulingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
164 |
165 | private final class DelayReadyOperation: Operation, Cancellable {
166 | static var readySchedulingQueue: DispatchQueue = {
| |- warning: static property 'readySchedulingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'readySchedulingQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'readySchedulingQueue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | return DispatchQueue(label: "DelayReadyOperation")
168 | }()
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:165:25: warning: class 'DelayReadyOperation' must restate inherited '@unchecked Sendable' conformance
163 | public struct SchedulerOptions { }
164 |
165 | private final class DelayReadyOperation: Operation, Cancellable {
| `- warning: class 'DelayReadyOperation' must restate inherited '@unchecked Sendable' conformance
166 | static var readySchedulingQueue: DispatchQueue = {
167 | return DispatchQueue(label: "DelayReadyOperation")
/host/spi-builder-workspace/Sources/CXFoundation/OperationQueue.swift:201:40: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
198 |
199 | public func schedule(options: SchedulerOptions?,
200 | _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
201 | let op = BlockOperation(block: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
202 | base.addOperation(op)
203 | }
[265/267] Compiling CXFoundation DispatchQueue.swift
/host/spi-builder-workspace/Sources/CXFoundation/DispatchQueue.swift:284:76: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
276 | }
277 |
278 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
279 | let qos = options?.qos ?? .unspecified
280 | let flags = options?.flags ?? []
:
282 | if let group = options?.group {
283 | // Distinguish on the group because it appears to not be a call-through like the others. This may need to be adjusted.
284 | self.base.async(group: group, qos: qos, flags: flags, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
285 | } else {
286 | self.base.async(qos: qos, flags: flags, execute: action)
/host/spi-builder-workspace/Sources/CXFoundation/DispatchQueue.swift:286:62: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
276 | }
277 |
278 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
279 | let qos = options?.qos ?? .unspecified
280 | let flags = options?.flags ?? []
:
284 | self.base.async(group: group, qos: qos, flags: flags, execute: action)
285 | } else {
286 | self.base.async(qos: qos, flags: flags, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
287 | }
288 | }
/host/spi-builder-workspace/Sources/CXFoundation/DispatchQueue.swift:298:92: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
291 | tolerance: SchedulerTimeType.Stride,
292 | options: SchedulerOptions?,
293 | _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
294 | // TODO: Tolerance ignored
295 | let qos = options?.qos ?? .unspecified
296 | let flags = options?.flags ?? []
297 |
298 | self.base.asyncAfter(deadline: date.dispatchTime, qos: qos, flags: flags, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
299 | }
300 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:11:71: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
3 | extension Timer {
4 |
5 | class func cx_init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping (Timer) -> Void) -> Timer {
| `- note: parameter 'block' is implicitly non-sendable
6 | #if canImport(ObjectiveC)
7 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
9 | }
10 | #endif
11 | return Timer(timeInterval: interval, repeats: repeats, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
12 | }
13 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:20:79: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
12 | }
13 |
14 | class func cx_init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping (Timer) -> Void) -> Timer {
| `- note: parameter 'block' is implicitly non-sendable
15 | #if canImport(ObjectiveC)
16 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
18 | }
19 | #endif
20 | return Timer(fire: date, interval: interval, repeats: repeats, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
21 | }
22 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:29:89: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
21 | }
22 |
23 | @discardableResult class func cx_scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping (Timer) -> Void) -> Timer {
| `- note: parameter 'block' is implicitly non-sendable
24 | #if canImport(ObjectiveC)
25 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
27 | }
28 | #endif
29 | return self.scheduledTimer(withTimeInterval: interval, repeats: repeats, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
30 | }
31 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:51:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
42 | extension RunLoop {
43 |
44 | func cx_perform(inModes modes: [RunLoop.Mode], block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
45 | #if canImport(ObjectiveC)
46 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
49 | }
50 | #endif
51 | self.perform(inModes: modes, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
52 | }
53 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:61:22: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
52 | }
53 |
54 | func cx_perform(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
55 | #if canImport(ObjectiveC)
56 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
59 | }
60 | #endif
61 | self.perform(block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
62 | }
63 |
[266/267] Compiling CXFoundation Polyfill.swift
/host/spi-builder-workspace/Sources/CXFoundation/DispatchQueue.swift:284:76: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
276 | }
277 |
278 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
279 | let qos = options?.qos ?? .unspecified
280 | let flags = options?.flags ?? []
:
282 | if let group = options?.group {
283 | // Distinguish on the group because it appears to not be a call-through like the others. This may need to be adjusted.
284 | self.base.async(group: group, qos: qos, flags: flags, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
285 | } else {
286 | self.base.async(qos: qos, flags: flags, execute: action)
/host/spi-builder-workspace/Sources/CXFoundation/DispatchQueue.swift:286:62: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
276 | }
277 |
278 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
279 | let qos = options?.qos ?? .unspecified
280 | let flags = options?.flags ?? []
:
284 | self.base.async(group: group, qos: qos, flags: flags, execute: action)
285 | } else {
286 | self.base.async(qos: qos, flags: flags, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
287 | }
288 | }
/host/spi-builder-workspace/Sources/CXFoundation/DispatchQueue.swift:298:92: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
291 | tolerance: SchedulerTimeType.Stride,
292 | options: SchedulerOptions?,
293 | _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
294 | // TODO: Tolerance ignored
295 | let qos = options?.qos ?? .unspecified
296 | let flags = options?.flags ?? []
297 |
298 | self.base.asyncAfter(deadline: date.dispatchTime, qos: qos, flags: flags, execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
299 | }
300 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:11:71: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
3 | extension Timer {
4 |
5 | class func cx_init(timeInterval interval: TimeInterval, repeats: Bool, block: @escaping (Timer) -> Void) -> Timer {
| `- note: parameter 'block' is implicitly non-sendable
6 | #if canImport(ObjectiveC)
7 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
9 | }
10 | #endif
11 | return Timer(timeInterval: interval, repeats: repeats, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
12 | }
13 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:20:79: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
12 | }
13 |
14 | class func cx_init(fire date: Date, interval: TimeInterval, repeats: Bool, block: @escaping (Timer) -> Void) -> Timer {
| `- note: parameter 'block' is implicitly non-sendable
15 | #if canImport(ObjectiveC)
16 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
18 | }
19 | #endif
20 | return Timer(fire: date, interval: interval, repeats: repeats, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
21 | }
22 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:29:89: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
21 | }
22 |
23 | @discardableResult class func cx_scheduledTimer(withTimeInterval interval: TimeInterval, repeats: Bool, block: @escaping (Timer) -> Void) -> Timer {
| `- note: parameter 'block' is implicitly non-sendable
24 | #if canImport(ObjectiveC)
25 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
27 | }
28 | #endif
29 | return self.scheduledTimer(withTimeInterval: interval, repeats: repeats, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
30 | }
31 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:51:45: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
42 | extension RunLoop {
43 |
44 | func cx_perform(inModes modes: [RunLoop.Mode], block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
45 | #if canImport(ObjectiveC)
46 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
49 | }
50 | #endif
51 | self.perform(inModes: modes, block: block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
52 | }
53 |
/host/spi-builder-workspace/Sources/CXFoundation/Internal/Polyfill.swift:61:22: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
52 | }
53 |
54 | func cx_perform(_ block: @escaping () -> Void) {
| `- note: parameter 'block' is implicitly non-sendable
55 | #if canImport(ObjectiveC)
56 | guard #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) else {
:
59 | }
60 | #endif
61 | self.perform(block)
| `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
62 | }
63 |
[267/267] Compiling CXFoundation URLSession.swift
/host/spi-builder-workspace/Sources/CXFoundation/URLSession.swift:141:44: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
139 | let task = p.session.dataTask(
140 | with: p.request,
141 | completionHandler: handleResponse(data:response:error:)
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
142 | )
143 | self.task = task
[269/270] Emitting module _CXShim
[270/270] Compiling _CXShim @_exported.swift
[272/282] Compiling _CXTest TransparentPublisher.swift
[273/283] Compiling _CXTest Math.swift
[274/283] Compiling _CXTest CompletionExtensions.swift
[275/283] Compiling _CXTest TracingSubscriber.swift
[276/283] Compiling _CXTest TracingSubscription.swift
[277/283] Compiling _CXTest VirtualTime.swift
/host/spi-builder-workspace/Sources/_CXTest/VirtualTime.swift:101:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VirtualTime' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public struct VirtualTime: Strideable, Hashable, Comparable {
| `- note: consider making struct 'VirtualTime' conform to the 'Sendable' protocol
8 |
9 | public struct Stride: ExpressibleByFloatLiteral, Comparable, SignedNumeric, SchedulerTimeIntervalConvertible {
:
99 | }
100 |
101 | public static let zero = VirtualTime(nanoseconds: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VirtualTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | }
103 |
[278/283] Compiling _CXTest GlobalCounter.swift
/host/spi-builder-workspace/Sources/_CXTest/Common/GlobalCounter.swift:3:24: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Lock' may have shared mutable state; this is an error in the Swift 6 language mode
1 | enum GlobalCounter {
2 |
3 | private static let lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Lock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | private static var count = 0
5 |
/host/spi-builder-workspace/Sources/_CXTest/Common/Locking.swift:40:17: note: consider making struct 'Lock' conform to the 'Sendable' protocol
38 | // MARK: - Lock
39 |
40 | internal struct Lock: Locking {
| `- note: consider making struct 'Lock' conform to the 'Sendable' protocol
41 |
42 | private let _lock: UnsafeMutableRawPointer
/host/spi-builder-workspace/Sources/_CXTest/Common/GlobalCounter.swift:4:24: warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | private static let lock = Lock()
4 | private static var count = 0
| |- warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'count' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func next() -> Int {
[279/283] Compiling _CXTest Locking.swift
/host/spi-builder-workspace/Sources/_CXTest/Common/GlobalCounter.swift:3:24: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Lock' may have shared mutable state; this is an error in the Swift 6 language mode
1 | enum GlobalCounter {
2 |
3 | private static let lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Lock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | private static var count = 0
5 |
/host/spi-builder-workspace/Sources/_CXTest/Common/Locking.swift:40:17: note: consider making struct 'Lock' conform to the 'Sendable' protocol
38 | // MARK: - Lock
39 |
40 | internal struct Lock: Locking {
| `- note: consider making struct 'Lock' conform to the 'Sendable' protocol
41 |
42 | private let _lock: UnsafeMutableRawPointer
/host/spi-builder-workspace/Sources/_CXTest/Common/GlobalCounter.swift:4:24: warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | private static let lock = Lock()
4 | private static var count = 0
| |- warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'count' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func next() -> Int {
[280/283] Compiling _CXTest BinaryHeap.swift
[281/283] Compiling _CXTest Const.swift
[282/283] Emitting module _CXTest
/host/spi-builder-workspace/Sources/_CXTest/Common/GlobalCounter.swift:3:24: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Lock' may have shared mutable state; this is an error in the Swift 6 language mode
1 | enum GlobalCounter {
2 |
3 | private static let lock = Lock()
| |- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Lock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lock' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | private static var count = 0
5 |
/host/spi-builder-workspace/Sources/_CXTest/Common/Locking.swift:40:17: note: consider making struct 'Lock' conform to the 'Sendable' protocol
38 | // MARK: - Lock
39 |
40 | internal struct Lock: Locking {
| `- note: consider making struct 'Lock' conform to the 'Sendable' protocol
41 |
42 | private let _lock: UnsafeMutableRawPointer
/host/spi-builder-workspace/Sources/_CXTest/Common/GlobalCounter.swift:4:24: warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | private static let lock = Lock()
4 | private static var count = 0
| |- warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'count' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func next() -> Int {
/host/spi-builder-workspace/Sources/_CXTest/VirtualTime.swift:101:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VirtualTime' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public struct VirtualTime: Strideable, Hashable, Comparable {
| `- note: consider making struct 'VirtualTime' conform to the 'Sendable' protocol
8 |
9 | public struct Stride: ExpressibleByFloatLiteral, Comparable, SignedNumeric, SchedulerTimeIntervalConvertible {
:
99 | }
100 |
101 | public static let zero = VirtualTime(nanoseconds: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VirtualTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | }
103 |
[283/283] Compiling _CXTest VirtualTimeScheduler.swift
/host/spi-builder-workspace/Sources/_CXTest/VirtualTime.swift:101:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VirtualTime' may have shared mutable state; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public struct VirtualTime: Strideable, Hashable, Comparable {
| `- note: consider making struct 'VirtualTime' conform to the 'Sendable' protocol
8 |
9 | public struct Stride: ExpressibleByFloatLiteral, Comparable, SignedNumeric, SchedulerTimeIntervalConvertible {
:
99 | }
100 |
101 | public static let zero = VirtualTime(nanoseconds: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'VirtualTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | }
103 |
[285/297] Compiling CXTestUtility Sequence+scan.swift
[286/297] Compiling CXTestUtility Subject+send.swift
[287/298] Compiling CXTestUtility TestTimeline.swift
[288/298] Compiling CXTestUtility TestError.swift
[289/298] Compiling CXTestUtility TracingSubscriber+extensions.swift
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:6:30: error: 'Predicate' is ambiguous for type lookup in this context
4 | public extension Expectation {
5 |
6 | func toFail(_ predicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
7 | #if USE_COMBINE
8 | to(predicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:14:29: error: 'Predicate' is ambiguous for type lookup in this context
12 | }
13 |
14 | func toFix(_ predicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
15 | #if USE_COMBINE
16 | toNot(predicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:22:45: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | func toBranch(combine combinePredicate: Predicate<T>, cx cxPredicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | #if USE_COMBINE
24 | to(combinePredicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:22:75: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | func toBranch(combine combinePredicate: Predicate<T>, cx cxPredicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | #if USE_COMBINE
24 | to(combinePredicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:8:26: error: 'Predicate' is ambiguous for type lookup in this context
6 | public extension Expectation {
7 |
8 | func to(_ predicate: Predicate<T>, minimalVersion: XcodeVersion, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
9 | toVersioning([minimalVersion: predicate], description: description)
10 | }
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[290/298] Compiling CXTestUtility BranchExpectation.swift
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:6:30: error: 'Predicate' is ambiguous for type lookup in this context
4 | public extension Expectation {
5 |
6 | func toFail(_ predicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
7 | #if USE_COMBINE
8 | to(predicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:14:29: error: 'Predicate' is ambiguous for type lookup in this context
12 | }
13 |
14 | func toFix(_ predicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
15 | #if USE_COMBINE
16 | toNot(predicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:22:45: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | func toBranch(combine combinePredicate: Predicate<T>, cx cxPredicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | #if USE_COMBINE
24 | to(combinePredicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:22:75: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | func toBranch(combine combinePredicate: Predicate<T>, cx cxPredicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | #if USE_COMBINE
24 | to(combinePredicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:8:26: error: 'Predicate' is ambiguous for type lookup in this context
6 | public extension Expectation {
7 |
8 | func to(_ predicate: Predicate<T>, minimalVersion: XcodeVersion, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
9 | toVersioning([minimalVersion: predicate], description: description)
10 | }
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[291/298] Compiling CXTestUtility VersioningExpectation.swift
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:8:26: error: 'Predicate' is ambiguous for type lookup in this context
6 | public extension Expectation {
7 |
8 | func to(_ predicate: Predicate<T>, minimalVersion: XcodeVersion, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
9 | toVersioning([minimalVersion: predicate], description: description)
10 | }
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:12:52: error: 'Predicate' is ambiguous for type lookup in this context
10 | }
11 |
12 | func toVersioning(_ predicates: [XcodeVersion: Predicate<T>], description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
13 | precondition(!predicates.isEmpty)
14 | let versions = predicates.keys.sorted(by: >)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:55:23: warning: static property 'v12_0' is not concurrency-safe because non-'Sendable' type 'XcodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | // assume combine change its behaviour with xcode release, along with system update.
44 | public enum XcodeVersion: Equatable, Hashable, Comparable {
| `- note: consider making enum 'XcodeVersion' conform to the 'Sendable' protocol
45 |
46 | case v11_0
:
53 | case v11_7
54 | // let‘s forget about the chaotic period of Xcode 12.0 and skip to Xcode 12.2
55 | public static let v12_0 = XcodeVersion.v12_2
| |- warning: static property 'v12_0' is not concurrency-safe because non-'Sendable' type 'XcodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v12_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | case v12_2
57 |
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:4:56: error: 'Predicate' is ambiguous for type lookup in this context
2 | import Nimble
3 |
4 | public func beAllEqual<S: Sequence, T: Equatable>() -> Predicate<S>
| `- error: 'Predicate' is ambiguous for type lookup in this context
5 | where S.Iterator.Element == T {
6 | return Predicate.simple("element be all equal") { actualExpression in
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:22:30: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | public func beNotNil<T>() -> Predicate<T> {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | return Predicate.simpleNilable("be not nil") { actualExpression in
24 | let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:29:51: error: 'Predicate' is ambiguous for type lookup in this context
27 | }
28 |
29 | public func beNotIdenticalTo(_ expected: Any?) -> Predicate<Any> {
| `- error: 'Predicate' is ambiguous for type lookup in this context
30 | return Predicate.define { actualExpression in
31 | let actual = try actualExpression.evaluate() as AnyObject?
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[292/298] Compiling CXTestUtility Predicate.swift
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:8:26: error: 'Predicate' is ambiguous for type lookup in this context
6 | public extension Expectation {
7 |
8 | func to(_ predicate: Predicate<T>, minimalVersion: XcodeVersion, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
9 | toVersioning([minimalVersion: predicate], description: description)
10 | }
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:12:52: error: 'Predicate' is ambiguous for type lookup in this context
10 | }
11 |
12 | func toVersioning(_ predicates: [XcodeVersion: Predicate<T>], description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
13 | precondition(!predicates.isEmpty)
14 | let versions = predicates.keys.sorted(by: >)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:55:23: warning: static property 'v12_0' is not concurrency-safe because non-'Sendable' type 'XcodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | // assume combine change its behaviour with xcode release, along with system update.
44 | public enum XcodeVersion: Equatable, Hashable, Comparable {
| `- note: consider making enum 'XcodeVersion' conform to the 'Sendable' protocol
45 |
46 | case v11_0
:
53 | case v11_7
54 | // let‘s forget about the chaotic period of Xcode 12.0 and skip to Xcode 12.2
55 | public static let v12_0 = XcodeVersion.v12_2
| |- warning: static property 'v12_0' is not concurrency-safe because non-'Sendable' type 'XcodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v12_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | case v12_2
57 |
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:4:56: error: 'Predicate' is ambiguous for type lookup in this context
2 | import Nimble
3 |
4 | public func beAllEqual<S: Sequence, T: Equatable>() -> Predicate<S>
| `- error: 'Predicate' is ambiguous for type lookup in this context
5 | where S.Iterator.Element == T {
6 | return Predicate.simple("element be all equal") { actualExpression in
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:22:30: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | public func beNotNil<T>() -> Predicate<T> {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | return Predicate.simpleNilable("be not nil") { actualExpression in
24 | let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:29:51: error: 'Predicate' is ambiguous for type lookup in this context
27 | }
28 |
29 | public func beNotIdenticalTo(_ expected: Any?) -> Predicate<Any> {
| `- error: 'Predicate' is ambiguous for type lookup in this context
30 | return Predicate.define { actualExpression in
31 | let actual = try actualExpression.evaluate() as AnyObject?
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[293/298] Compiling CXTestUtility @_exported.swift
[294/298] Compiling CXTestUtility Common.swift
[295/298] Compiling CXTestUtility DispatchQueue+extensions.swift
/host/spi-builder-workspace/Sources/CXTestUtility/Extensions/DispatchQueue+extensions.swift:12:21: warning: capture of 'w' with non-sendable type '(Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | for i in 0..<iterations {
11 | async(group: g) {
12 | w(i)
| |- warning: capture of 'w' with non-sendable type '(Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | }
14 | }
[296/298] Compiling CXTestUtility Int+loop.swift
/host/spi-builder-workspace/Sources/CXTestUtility/Extensions/DispatchQueue+extensions.swift:12:21: warning: capture of 'w' with non-sendable type '(Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | for i in 0..<iterations {
11 | async(group: g) {
12 | w(i)
| |- warning: capture of 'w' with non-sendable type '(Int) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
13 | }
14 | }
[297/298] Emitting module CXTestUtility
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:6:30: error: 'Predicate' is ambiguous for type lookup in this context
4 | public extension Expectation {
5 |
6 | func toFail(_ predicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
7 | #if USE_COMBINE
8 | to(predicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:14:29: error: 'Predicate' is ambiguous for type lookup in this context
12 | }
13 |
14 | func toFix(_ predicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
15 | #if USE_COMBINE
16 | toNot(predicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:22:45: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | func toBranch(combine combinePredicate: Predicate<T>, cx cxPredicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | #if USE_COMBINE
24 | to(combinePredicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/BranchExpectation.swift:22:75: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | func toBranch(combine combinePredicate: Predicate<T>, cx cxPredicate: Predicate<T>, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | #if USE_COMBINE
24 | to(combinePredicate, description: description)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:8:26: error: 'Predicate' is ambiguous for type lookup in this context
6 | public extension Expectation {
7 |
8 | func to(_ predicate: Predicate<T>, minimalVersion: XcodeVersion, description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
9 | toVersioning([minimalVersion: predicate], description: description)
10 | }
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:12:52: error: 'Predicate' is ambiguous for type lookup in this context
10 | }
11 |
12 | func toVersioning(_ predicates: [XcodeVersion: Predicate<T>], description: String? = nil) {
| `- error: 'Predicate' is ambiguous for type lookup in this context
13 | precondition(!predicates.isEmpty)
14 | let versions = predicates.keys.sorted(by: >)
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Inconsistent/VersioningExpectation.swift:55:23: warning: static property 'v12_0' is not concurrency-safe because non-'Sendable' type 'XcodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | // assume combine change its behaviour with xcode release, along with system update.
44 | public enum XcodeVersion: Equatable, Hashable, Comparable {
| `- note: consider making enum 'XcodeVersion' conform to the 'Sendable' protocol
45 |
46 | case v11_0
:
53 | case v11_7
54 | // let‘s forget about the chaotic period of Xcode 12.0 and skip to Xcode 12.2
55 | public static let v12_0 = XcodeVersion.v12_2
| |- warning: static property 'v12_0' is not concurrency-safe because non-'Sendable' type 'XcodeVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'v12_0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | case v12_2
57 |
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:4:56: error: 'Predicate' is ambiguous for type lookup in this context
2 | import Nimble
3 |
4 | public func beAllEqual<S: Sequence, T: Equatable>() -> Predicate<S>
| `- error: 'Predicate' is ambiguous for type lookup in this context
5 | where S.Iterator.Element == T {
6 | return Predicate.simple("element be all equal") { actualExpression in
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:22:30: error: 'Predicate' is ambiguous for type lookup in this context
20 | }
21 |
22 | public func beNotNil<T>() -> Predicate<T> {
| `- error: 'Predicate' is ambiguous for type lookup in this context
23 | return Predicate.simpleNilable("be not nil") { actualExpression in
24 | let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/CXTestUtility/Predicate.swift:29:51: error: 'Predicate' is ambiguous for type lookup in this context
27 | }
28 |
29 | public func beNotIdenticalTo(_ expected: Any?) -> Predicate<Any> {
| `- error: 'Predicate' is ambiguous for type lookup in this context
30 | return Predicate.define { actualExpression in
31 | let actual = try actualExpression.evaluate() as AnyObject?
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:19:15: note: found this candidate
17 | /// predicates are simple wrappers around closures to provide static type information and
18 | /// allow composition and wrapping of existing behaviors.
19 | public struct Predicate<T> {
| `- note: found this candidate
20 | fileprivate var matcher: (Expression<T>) throws -> PredicateResult
21 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Bool>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[298/298] Compiling CXTestUtility TracingSubject.swift
BUILD FAILURE 6.0 linux