Build Information
Successful build of Mockingbird, reference 0.20.0 (6e0d47
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 18:33:04 UTC.
Swift 6 data race errors: 36
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
131 | public static let onlyConsecutiveInvocations = OrderedVerificationOptions(rawValue: 1 << 2)
| |- warning: static property 'onlyConsecutiveInvocations' is not concurrency-safe because non-'Sendable' type 'OrderedVerificationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onlyConsecutiveInvocations' 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
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/OrderedVerification.swift:292:9: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
290 |
291 | let queue = DispatchQueue(label: "co.bird.mockingbird.verify.inOrder")
292 | queue.setSpecific(key: ExpectationGroup.contextKey, value: group)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
293 | queue.sync { scope() }
294 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:11:7: note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:12:14: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private(set) weak var parent: ExpectationGroup?
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:6:8: warning: associated value 'incorrectInvocationCount(invocationCount:invocation:countMatcher:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
4 | /// Internal errors thrown due to a failed test assertion or precondition.
5 | enum TestFailure: Error, CustomStringConvertible {
6 | case incorrectInvocationCount(
| `- warning: associated value 'incorrectInvocationCount(invocationCount:invocation:countMatcher:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
7 | invocationCount: Int,
8 | invocation: Invocation,
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/Invocation.swift:23:10: note: protocol 'Invocation' does not conform to the 'Sendable' protocol
21 |
22 | /// Mocks create invocations when receiving calls to methods or member methods.
23 | protocol Invocation: CustomStringConvertible {
| `- note: protocol 'Invocation' does not conform to the 'Sendable' protocol
24 | var selectorName: String { get }
25 | var selectorType: SelectorType { get }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:6:8: warning: associated value 'incorrectInvocationCount(invocationCount:invocation:countMatcher:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'CountMatcher'; this is an error in the Swift 6 language mode
4 | /// Internal errors thrown due to a failed test assertion or precondition.
5 | enum TestFailure: Error, CustomStringConvertible {
6 | case incorrectInvocationCount(
| `- warning: associated value 'incorrectInvocationCount(invocationCount:invocation:countMatcher:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'CountMatcher'; this is an error in the Swift 6 language mode
7 | invocationCount: Int,
8 | invocation: Invocation,
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/CountMatcher.swift:4:15: note: consider making struct 'CountMatcher' conform to the 'Sendable' protocol
2 |
3 | /// Checks whether a number matches some expected count.
4 | public struct CountMatcher {
| `- note: consider making struct 'CountMatcher' conform to the 'Sendable' protocol
5 | let matcher: (Int) -> Bool
6 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:6:8: warning: associated value 'incorrectInvocationCount(invocationCount:invocation:countMatcher:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
4 | /// Internal errors thrown due to a failed test assertion or precondition.
5 | enum TestFailure: Error, CustomStringConvertible {
6 | case incorrectInvocationCount(
| `- warning: associated value 'incorrectInvocationCount(invocationCount:invocation:countMatcher:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
7 | invocationCount: Int,
8 | invocation: Invocation,
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/Invocation.swift:23:10: note: protocol 'Invocation' does not conform to the 'Sendable' protocol
21 |
22 | /// Mocks create invocations when receiving calls to methods or member methods.
23 | protocol Invocation: CustomStringConvertible {
| `- note: protocol 'Invocation' does not conform to the 'Sendable' protocol
24 | var selectorName: String { get }
25 | var selectorType: SelectorType { get }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:12:8: warning: associated value 'unexpectedInvocations(baseInvocation:unexpectedInvocations:priorToBase:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
10 | allInvocations: [Invocation] // All captured invocations matching the selector.
11 | )
12 | case unexpectedInvocations(
| `- warning: associated value 'unexpectedInvocations(baseInvocation:unexpectedInvocations:priorToBase:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
13 | baseInvocation: Invocation,
14 | unexpectedInvocations: [Invocation],
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/Invocation.swift:23:10: note: protocol 'Invocation' does not conform to the 'Sendable' protocol
21 |
22 | /// Mocks create invocations when receiving calls to methods or member methods.
23 | protocol Invocation: CustomStringConvertible {
| `- note: protocol 'Invocation' does not conform to the 'Sendable' protocol
24 | var selectorName: String { get }
25 | var selectorType: SelectorType { get }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:12:8: warning: associated value 'unexpectedInvocations(baseInvocation:unexpectedInvocations:priorToBase:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
10 | allInvocations: [Invocation] // All captured invocations matching the selector.
11 | )
12 | case unexpectedInvocations(
| `- warning: associated value 'unexpectedInvocations(baseInvocation:unexpectedInvocations:priorToBase:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
13 | baseInvocation: Invocation,
14 | unexpectedInvocations: [Invocation],
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/Invocation.swift:23:10: note: protocol 'Invocation' does not conform to the 'Sendable' protocol
21 |
22 | /// Mocks create invocations when receiving calls to methods or member methods.
23 | protocol Invocation: CustomStringConvertible {
| `- note: protocol 'Invocation' does not conform to the 'Sendable' protocol
24 | var selectorName: String { get }
25 | var selectorType: SelectorType { get }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:17:8: warning: associated value 'unsatisfiableExpectations(capturedExpectations:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'CapturedExpectation'; this is an error in the Swift 6 language mode
15 | priorToBase: Bool // Whether the unexpected invocations happened before the base invocation.
16 | )
17 | case unsatisfiableExpectations(
| `- warning: associated value 'unsatisfiableExpectations(capturedExpectations:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'CapturedExpectation'; this is an error in the Swift 6 language mode
18 | capturedExpectations: [CapturedExpectation],
19 | allInvocations: [Invocation]
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:4:8: note: consider making struct 'CapturedExpectation' conform to the 'Sendable' protocol
2 |
3 | /// A deferred expectation that can be fulfilled when an invocation arrives later.
4 | struct CapturedExpectation {
| `- note: consider making struct 'CapturedExpectation' conform to the 'Sendable' protocol
5 | let mockingContext: MockingContext
6 | let invocation: Invocation
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:17:8: warning: associated value 'unsatisfiableExpectations(capturedExpectations:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
15 | priorToBase: Bool // Whether the unexpected invocations happened before the base invocation.
16 | )
17 | case unsatisfiableExpectations(
| `- warning: associated value 'unsatisfiableExpectations(capturedExpectations:allInvocations:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
18 | capturedExpectations: [CapturedExpectation],
19 | allInvocations: [Invocation]
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/Invocation.swift:23:10: note: protocol 'Invocation' does not conform to the 'Sendable' protocol
21 |
22 | /// Mocks create invocations when receiving calls to methods or member methods.
23 | protocol Invocation: CustomStringConvertible {
| `- note: protocol 'Invocation' does not conform to the 'Sendable' protocol
24 | var selectorName: String { get }
25 | var selectorType: SelectorType { get }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:21:8: warning: associated value 'missingStubbedImplementation(invocation:stubbedSelectorNames:stackTrace:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
19 | allInvocations: [Invocation]
20 | )
21 | case missingStubbedImplementation(
| `- warning: associated value 'missingStubbedImplementation(invocation:stubbedSelectorNames:stackTrace:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'any Invocation'; this is an error in the Swift 6 language mode
22 | invocation: Invocation,
23 | stubbedSelectorNames: [String],
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/Invocation.swift:23:10: note: protocol 'Invocation' does not conform to the 'Sendable' protocol
21 |
22 | /// Mocks create invocations when receiving calls to methods or member methods.
23 | protocol Invocation: CustomStringConvertible {
| `- note: protocol 'Invocation' does not conform to the 'Sendable' protocol
24 | var selectorName: String { get }
25 | var selectorType: SelectorType { get }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/TestFailure.swift:27:8: warning: associated value 'missingExplicitArgumentPosition(matcher:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'ArgumentMatcher'; this is an error in the Swift 6 language mode
25 | )
26 | case unmockableExpression
27 | case missingExplicitArgumentPosition(
| `- warning: associated value 'missingExplicitArgumentPosition(matcher:)' of 'Sendable'-conforming enum 'TestFailure' has non-sendable type 'ArgumentMatcher'; this is an error in the Swift 6 language mode
28 | matcher: ArgumentMatcher?
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentMatcher.swift:4:40: note: class 'ArgumentMatcher' does not conform to the 'Sendable' protocol
2 |
3 | /// Matches argument values with a comparator.
4 | @objc(MKBArgumentMatcher) public class ArgumentMatcher: NSObject {
| `- note: class 'ArgumentMatcher' does not conform to the 'Sendable' protocol
5 | /// Necessary for custom comparators such as `any()` that only work on the lhs.
6 | enum Priority: UInt {
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/XCTFailSwizzler.swift:57:13: warning: var 'testFailer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private var testFailer: TestFailer = StandardTestFailer()
| |- warning: var 'testFailer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testFailer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testFailer' 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
58 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/XCTFailSwizzler.swift:23:31: warning: sending 'testFailer' risks causing data races; this is an error in the Swift 6 language mode
21 | testFailer = newTestFailer
22 | } else {
23 | DispatchQueue.main.sync { testFailer = newTestFailer }
| |- warning: sending 'testFailer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'testFailer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
24 | }
25 | }
[18/88] Compiling Mockingbird Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdCommon/Version.swift:4:12: warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The current version of Mockingbird.
4 | public let mockingbirdVersion = Version(shortString: "0.20.0")
| |- warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mockingbirdVersion' 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 | /// A comparable semantic version.
7 | public struct Version: Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | public let semver: [Int]
9 | public var shortString: String { return semver.map({ "\($0)" }).joined(separator: ".") }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:32:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
30 | /// Creates an argument matcher that can be passed to a mockable declaration.
31 | // The generic constraint shadows the class constraint so the ObjC overload is picked up.
32 | public func any<ParameterType>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return createTypeFacade(self)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:37:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
35 |
36 | /// Creates an argument matcher that can be passed to a mockable declaration.
37 | public func any<ParameterType: NSObjectProtocol>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return createTypeFacade(self)
39 | }
[19/88] Compiling Mockingbird ArgumentCaptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdCommon/Version.swift:4:12: warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The current version of Mockingbird.
4 | public let mockingbirdVersion = Version(shortString: "0.20.0")
| |- warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mockingbirdVersion' 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 | /// A comparable semantic version.
7 | public struct Version: Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | public let semver: [Int]
9 | public var shortString: String { return semver.map({ "\($0)" }).joined(separator: ".") }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:32:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
30 | /// Creates an argument matcher that can be passed to a mockable declaration.
31 | // The generic constraint shadows the class constraint so the ObjC overload is picked up.
32 | public func any<ParameterType>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return createTypeFacade(self)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:37:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
35 |
36 | /// Creates an argument matcher that can be passed to a mockable declaration.
37 | public func any<ParameterType: NSObjectProtocol>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return createTypeFacade(self)
39 | }
[20/88] Compiling Mockingbird ArgumentMatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdCommon/Version.swift:4:12: warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The current version of Mockingbird.
4 | public let mockingbirdVersion = Version(shortString: "0.20.0")
| |- warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mockingbirdVersion' 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 | /// A comparable semantic version.
7 | public struct Version: Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | public let semver: [Int]
9 | public var shortString: String { return semver.map({ "\($0)" }).joined(separator: ".") }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:32:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
30 | /// Creates an argument matcher that can be passed to a mockable declaration.
31 | // The generic constraint shadows the class constraint so the ObjC overload is picked up.
32 | public func any<ParameterType>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return createTypeFacade(self)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:37:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
35 |
36 | /// Creates an argument matcher that can be passed to a mockable declaration.
37 | public func any<ParameterType: NSObjectProtocol>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return createTypeFacade(self)
39 | }
[21/88] Compiling Mockingbird ArgumentPosition.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdCommon/Version.swift:4:12: warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The current version of Mockingbird.
4 | public let mockingbirdVersion = Version(shortString: "0.20.0")
| |- warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mockingbirdVersion' 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 | /// A comparable semantic version.
7 | public struct Version: Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | public let semver: [Int]
9 | public var shortString: String { return semver.map({ "\($0)" }).joined(separator: ".") }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:32:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
30 | /// Creates an argument matcher that can be passed to a mockable declaration.
31 | // The generic constraint shadows the class constraint so the ObjC overload is picked up.
32 | public func any<ParameterType>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return createTypeFacade(self)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:37:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
35 |
36 | /// Creates an argument matcher that can be passed to a mockable declaration.
37 | public func any<ParameterType: NSObjectProtocol>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return createTypeFacade(self)
39 | }
[22/88] Compiling Mockingbird CollectionMatchers.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdCommon/Version.swift:4:12: warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The current version of Mockingbird.
4 | public let mockingbirdVersion = Version(shortString: "0.20.0")
| |- warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mockingbirdVersion' 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 | /// A comparable semantic version.
7 | public struct Version: Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | public let semver: [Int]
9 | public var shortString: String { return semver.map({ "\($0)" }).joined(separator: ".") }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:32:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
30 | /// Creates an argument matcher that can be passed to a mockable declaration.
31 | // The generic constraint shadows the class constraint so the ObjC overload is picked up.
32 | public func any<ParameterType>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return createTypeFacade(self)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:37:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
35 |
36 | /// Creates an argument matcher that can be passed to a mockable declaration.
37 | public func any<ParameterType: NSObjectProtocol>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return createTypeFacade(self)
39 | }
[23/88] Compiling Mockingbird CountMatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdCommon/Version.swift:4:12: warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// The current version of Mockingbird.
4 | public let mockingbirdVersion = Version(shortString: "0.20.0")
| |- warning: let 'mockingbirdVersion' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mockingbirdVersion' 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 | /// A comparable semantic version.
7 | public struct Version: Comparable, CustomStringConvertible {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | public let semver: [Int]
9 | public var shortString: String { return semver.map({ "\($0)" }).joined(separator: ".") }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:32:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
30 | /// Creates an argument matcher that can be passed to a mockable declaration.
31 | // The generic constraint shadows the class constraint so the ObjC overload is picked up.
32 | public func any<ParameterType>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | return createTypeFacade(self)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/ArgumentCaptor.swift:37:19: warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// print(nameCaptor.value) // Prints "Ryan"
15 | /// ```
16 | public class ArgumentCaptor<ParameterType>: ArgumentMatcher {
| `- note: 'ParameterType' previously declared here
17 | final class WeakBox<A: AnyObject> {
18 | weak var value: A?
:
35 |
36 | /// Creates an argument matcher that can be passed to a mockable declaration.
37 | public func any<ParameterType: NSObjectProtocol>() -> ParameterType {
| `- warning: generic parameter 'ParameterType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return createTypeFacade(self)
39 | }
[24/88] Compiling Mockingbird Mock.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ImplementationProvider.swift:45:19: warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 |
3 | /// Provides implementation functions used to stub behavior and return values.
4 | public struct ImplementationProvider<DeclarationType: Declaration, InvocationType, ReturnType> {
| `- note: 'DeclarationType' previously declared here
5 | private let createImplementation: () -> Any?
6 | private let callback: ((StubbingContext.Stub, Context) -> Void)?
:
43 | }
44 |
45 | func didAddStub<DeclarationType: Declaration>(
| `- warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
46 | _ stub: StubbingContext.Stub,
47 | context: Context,
[25/88] Compiling Mockingbird Mocking.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ImplementationProvider.swift:45:19: warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 |
3 | /// Provides implementation functions used to stub behavior and return values.
4 | public struct ImplementationProvider<DeclarationType: Declaration, InvocationType, ReturnType> {
| `- note: 'DeclarationType' previously declared here
5 | private let createImplementation: () -> Any?
6 | private let callback: ((StubbingContext.Stub, Context) -> Void)?
:
43 | }
44 |
45 | func didAddStub<DeclarationType: Declaration>(
| `- warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
46 | _ stub: StubbingContext.Stub,
47 | context: Context,
[26/88] Compiling Mockingbird MockingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ImplementationProvider.swift:45:19: warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 |
3 | /// Provides implementation functions used to stub behavior and return values.
4 | public struct ImplementationProvider<DeclarationType: Declaration, InvocationType, ReturnType> {
| `- note: 'DeclarationType' previously declared here
5 | private let createImplementation: () -> Any?
6 | private let callback: ((StubbingContext.Stub, Context) -> Void)?
:
43 | }
44 |
45 | func didAddStub<DeclarationType: Declaration>(
| `- warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
46 | _ stub: StubbingContext.Stub,
47 | context: Context,
[27/88] Compiling Mockingbird DefaultValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ImplementationProvider.swift:45:19: warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 |
3 | /// Provides implementation functions used to stub behavior and return values.
4 | public struct ImplementationProvider<DeclarationType: Declaration, InvocationType, ReturnType> {
| `- note: 'DeclarationType' previously declared here
5 | private let createImplementation: () -> Any?
6 | private let callback: ((StubbingContext.Stub, Context) -> Void)?
:
43 | }
44 |
45 | func didAddStub<DeclarationType: Declaration>(
| `- warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
46 | _ stub: StubbingContext.Stub,
47 | context: Context,
[28/88] Compiling Mockingbird DynamicStubbingManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ImplementationProvider.swift:45:19: warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 |
3 | /// Provides implementation functions used to stub behavior and return values.
4 | public struct ImplementationProvider<DeclarationType: Declaration, InvocationType, ReturnType> {
| `- note: 'DeclarationType' previously declared here
5 | private let createImplementation: () -> Any?
6 | private let callback: ((StubbingContext.Stub, Context) -> Void)?
:
43 | }
44 |
45 | func didAddStub<DeclarationType: Declaration>(
| `- warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
46 | _ stub: StubbingContext.Stub,
47 | context: Context,
[29/88] Compiling Mockingbird ImplementationProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ImplementationProvider.swift:45:19: warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
2 |
3 | /// Provides implementation functions used to stub behavior and return values.
4 | public struct ImplementationProvider<DeclarationType: Declaration, InvocationType, ReturnType> {
| `- note: 'DeclarationType' previously declared here
5 | private let createImplementation: () -> Any?
6 | private let callback: ((StubbingContext.Stub, Context) -> Void)?
:
43 | }
44 |
45 | func didAddStub<DeclarationType: Declaration>(
| `- warning: generic parameter 'DeclarationType' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
46 | _ stub: StubbingContext.Stub,
47 | context: Context,
[30/88] Compiling Mockingbird NonEscapingType.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:11:16: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let resultSentinel = NSException(
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:12:16: warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
12 | static let resultSentinel = NSException(
| |- warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultSentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
14 | reason: nil,
Foundation.NSException:1:12: note: class 'NSException' does not conform to the 'Sendable' protocol
1 | open class NSException : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSException' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "superseded by import of -[NSException initWithName:reason:userInfo:]")
3 | public /*not inherited*/ init(name: NSExceptionName, reason: String?, userInfo: [AnyHashable : Any]? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:30:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
28 |
29 | static var sharedContext: ResolutionContext? {
30 | return DispatchQueue.getSpecific(key: Constants.contextKey)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:36:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
34 | return Self.sharedQueue.sync {
35 | _ = MKBTryBlock {
36 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: self)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:39:24: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
39 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: nil)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return result.value
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
[31/88] Compiling Mockingbird TypeFacade.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:11:16: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let resultSentinel = NSException(
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:12:16: warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
12 | static let resultSentinel = NSException(
| |- warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultSentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
14 | reason: nil,
Foundation.NSException:1:12: note: class 'NSException' does not conform to the 'Sendable' protocol
1 | open class NSException : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSException' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "superseded by import of -[NSException initWithName:reason:userInfo:]")
3 | public /*not inherited*/ init(name: NSExceptionName, reason: String?, userInfo: [AnyHashable : Any]? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:30:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
28 |
29 | static var sharedContext: ResolutionContext? {
30 | return DispatchQueue.getSpecific(key: Constants.contextKey)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:36:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
34 | return Self.sharedQueue.sync {
35 | _ = MKBTryBlock {
36 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: self)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:39:24: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
39 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: nil)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return result.value
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
[32/88] Compiling Mockingbird WildcardMatchers.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:11:16: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let resultSentinel = NSException(
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:12:16: warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
12 | static let resultSentinel = NSException(
| |- warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultSentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
14 | reason: nil,
Foundation.NSException:1:12: note: class 'NSException' does not conform to the 'Sendable' protocol
1 | open class NSException : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSException' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "superseded by import of -[NSException initWithName:reason:userInfo:]")
3 | public /*not inherited*/ init(name: NSExceptionName, reason: String?, userInfo: [AnyHashable : Any]? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:30:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
28 |
29 | static var sharedContext: ResolutionContext? {
30 | return DispatchQueue.getSpecific(key: Constants.contextKey)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:36:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
34 | return Self.sharedQueue.sync {
35 | _ = MKBTryBlock {
36 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: self)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:39:24: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
39 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: nil)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return result.value
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
[33/88] Compiling Mockingbird Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:11:16: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let resultSentinel = NSException(
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:12:16: warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
12 | static let resultSentinel = NSException(
| |- warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultSentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
14 | reason: nil,
Foundation.NSException:1:12: note: class 'NSException' does not conform to the 'Sendable' protocol
1 | open class NSException : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSException' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "superseded by import of -[NSException initWithName:reason:userInfo:]")
3 | public /*not inherited*/ init(name: NSExceptionName, reason: String?, userInfo: [AnyHashable : Any]? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:30:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
28 |
29 | static var sharedContext: ResolutionContext? {
30 | return DispatchQueue.getSpecific(key: Constants.contextKey)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:36:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
34 | return Self.sharedQueue.sync {
35 | _ = MKBTryBlock {
36 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: self)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:39:24: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
39 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: nil)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return result.value
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
[34/88] Compiling Mockingbird Declaration.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:11:16: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let resultSentinel = NSException(
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:12:16: warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
12 | static let resultSentinel = NSException(
| |- warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultSentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
14 | reason: nil,
Foundation.NSException:1:12: note: class 'NSException' does not conform to the 'Sendable' protocol
1 | open class NSException : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSException' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "superseded by import of -[NSException initWithName:reason:userInfo:]")
3 | public /*not inherited*/ init(name: NSExceptionName, reason: String?, userInfo: [AnyHashable : Any]? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:30:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
28 |
29 | static var sharedContext: ResolutionContext? {
30 | return DispatchQueue.getSpecific(key: Constants.contextKey)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:36:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
34 | return Self.sharedQueue.sync {
35 | _ = MKBTryBlock {
36 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: self)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:39:24: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
39 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: nil)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return result.value
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
[35/88] Compiling Mockingbird GenericStaticMockContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:11:16: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ResolutionContext>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let resultSentinel = NSException(
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:12:16: warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
12 | static let resultSentinel = NSException(
| |- warning: static property 'resultSentinel' is not concurrency-safe because non-'Sendable' type 'NSException' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultSentinel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | name: NSExceptionName(rawValue: "co.bird.mockingbird.ResolutionContext.result"),
14 | reason: nil,
Foundation.NSException:1:12: note: class 'NSException' does not conform to the 'Sendable' protocol
1 | open class NSException : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSException' does not conform to the 'Sendable' protocol
2 | @available(*, unavailable, message: "superseded by import of -[NSException initWithName:reason:userInfo:]")
3 | public /*not inherited*/ init(name: NSExceptionName, reason: String?, userInfo: [AnyHashable : Any]? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:30:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
28 |
29 | static var sharedContext: ResolutionContext? {
30 | return DispatchQueue.getSpecific(key: Constants.contextKey)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:36:26: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
34 | return Self.sharedQueue.sync {
35 | _ = MKBTryBlock {
36 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: self)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Matching/TypeFacade.swift:39:24: warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | ///
8 | /// It goes without saying that this should probably never be done in production.
9 | private class ResolutionContext {
| `- note: class 'ResolutionContext' does not conform to the 'Sendable' protocol
10 | enum Constants {
11 | static let contextKey = DispatchSpecificKey<ResolutionContext>()
:
37 | result.value = block() // Returns the real value if not an argument matcher.
38 | }
39 | Self.sharedQueue.setSpecific(key: Constants.contextKey, value: nil)
| `- warning: type 'ResolutionContext' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return result.value
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
[36/88] Compiling Mockingbird StackTrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/AsyncVerification.swift:98:9: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
96 |
97 | let queue = DispatchQueue(label: "co.bird.mockingbird.verify.eventually")
98 | queue.setSpecific(key: ExpectationGroup.contextKey, value: group)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
99 | queue.sync { scope() }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:11:7: note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:12:14: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private(set) weak var parent: ExpectationGroup?
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:24:9: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
22 | struct Failure: Error {
23 | let error: TestFailure
24 | let sourceLocation: SourceLocation
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Utilities/SourceLocation.swift:4:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
2 |
3 | /// References a line of code in a file.
4 | public struct SourceLocation {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
5 | let file: StaticString
6 | let line: UInt
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:58:26: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
:
56 | extension DispatchQueue {
57 | class var currentExpectationGroup: ExpectationGroup? {
58 | return DispatchQueue.getSpecific(key: ExpectationGroup.contextKey)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 | }
60 | }
[37/88] Compiling Mockingbird String+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/AsyncVerification.swift:98:9: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
96 |
97 | let queue = DispatchQueue(label: "co.bird.mockingbird.verify.eventually")
98 | queue.setSpecific(key: ExpectationGroup.contextKey, value: group)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
99 | queue.sync { scope() }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:11:7: note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:12:14: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private(set) weak var parent: ExpectationGroup?
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:24:9: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
22 | struct Failure: Error {
23 | let error: TestFailure
24 | let sourceLocation: SourceLocation
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Utilities/SourceLocation.swift:4:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
2 |
3 | /// References a line of code in a file.
4 | public struct SourceLocation {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
5 | let file: StaticString
6 | let line: UInt
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:58:26: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
:
56 | extension DispatchQueue {
57 | class var currentExpectationGroup: ExpectationGroup? {
58 | return DispatchQueue.getSpecific(key: ExpectationGroup.contextKey)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 | }
60 | }
[38/88] Compiling Mockingbird AsyncVerification.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/AsyncVerification.swift:98:9: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
96 |
97 | let queue = DispatchQueue(label: "co.bird.mockingbird.verify.eventually")
98 | queue.setSpecific(key: ExpectationGroup.contextKey, value: group)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
99 | queue.sync { scope() }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:11:7: note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:12:14: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private(set) weak var parent: ExpectationGroup?
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:24:9: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
22 | struct Failure: Error {
23 | let error: TestFailure
24 | let sourceLocation: SourceLocation
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Utilities/SourceLocation.swift:4:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
2 |
3 | /// References a line of code in a file.
4 | public struct SourceLocation {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
5 | let file: StaticString
6 | let line: UInt
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:58:26: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
:
56 | extension DispatchQueue {
57 | class var currentExpectationGroup: ExpectationGroup? {
58 | return DispatchQueue.getSpecific(key: ExpectationGroup.contextKey)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 | }
60 | }
[39/88] Compiling Mockingbird ExpectationGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/AsyncVerification.swift:98:9: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
96 |
97 | let queue = DispatchQueue(label: "co.bird.mockingbird.verify.eventually")
98 | queue.setSpecific(key: ExpectationGroup.contextKey, value: group)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
99 | queue.sync { scope() }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:11:7: note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:12:14: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private(set) weak var parent: ExpectationGroup?
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:24:9: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
22 | struct Failure: Error {
23 | let error: TestFailure
24 | let sourceLocation: SourceLocation
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Utilities/SourceLocation.swift:4:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
2 |
3 | /// References a line of code in a file.
4 | public struct SourceLocation {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
5 | let file: StaticString
6 | let line: UInt
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:58:26: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
:
56 | extension DispatchQueue {
57 | class var currentExpectationGroup: ExpectationGroup? {
58 | return DispatchQueue.getSpecific(key: ExpectationGroup.contextKey)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 | }
60 | }
[40/88] Compiling Mockingbird Invocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/AsyncVerification.swift:98:9: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
96 |
97 | let queue = DispatchQueue(label: "co.bird.mockingbird.verify.eventually")
98 | queue.setSpecific(key: ExpectationGroup.contextKey, value: group)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
99 | queue.sync { scope() }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:11:7: note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:12:14: warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
| |- warning: static property 'contextKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<ExpectationGroup>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private(set) weak var parent: ExpectationGroup?
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:24:9: warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
22 | struct Failure: Error {
23 | let error: TestFailure
24 | let sourceLocation: SourceLocation
| `- warning: stored property 'sourceLocation' of 'Sendable'-conforming struct 'Failure' has non-sendable type 'SourceLocation'; this is an error in the Swift 6 language mode
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Utilities/SourceLocation.swift:4:15: note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
2 |
3 | /// References a line of code in a file.
4 | public struct SourceLocation {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
5 | let file: StaticString
6 | let line: UInt
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Verification/ExpectationGroup.swift:58:26: warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
9 |
10 | /// Stores all expectations invoked by verification methods within a scoped context.
11 | class ExpectationGroup {
| `- note: class 'ExpectationGroup' does not conform to the 'Sendable' protocol
12 | static let contextKey = DispatchSpecificKey<ExpectationGroup>()
13 |
:
56 | extension DispatchQueue {
57 | class var currentExpectationGroup: ExpectationGroup? {
58 | return DispatchQueue.getSpecific(key: ExpectationGroup.contextKey)
| `- warning: type 'ExpectationGroup' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
59 | }
60 | }
[41/88] Compiling Mockingbird Stubbing+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:30:27: warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| `- warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
2 |
3 | /// Used to forward errors thrown from stubbed implementations to the Objective-C runtime.
:
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| |- note: annotate 'noImplementation' 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
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:18:13: warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if canImport(ObjectiveC)
18 | private let collectionsProviderNSValues = [
| |- warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProviderNSValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | ObjectIdentifier(NSCountedSet.self): NSCountedSet(),
20 | ObjectIdentifier(NSOrderedSet.self): NSOrderedSet(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[42/88] Compiling Mockingbird Stubbing.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:30:27: warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| `- warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
2 |
3 | /// Used to forward errors thrown from stubbed implementations to the Objective-C runtime.
:
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| |- note: annotate 'noImplementation' 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
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:18:13: warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if canImport(ObjectiveC)
18 | private let collectionsProviderNSValues = [
| |- warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProviderNSValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | ObjectIdentifier(NSCountedSet.self): NSCountedSet(),
20 | ObjectIdentifier(NSOrderedSet.self): NSOrderedSet(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[43/88] Compiling Mockingbird StubbingContext+ObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:30:27: warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| `- warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
2 |
3 | /// Used to forward errors thrown from stubbed implementations to the Objective-C runtime.
:
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| |- note: annotate 'noImplementation' 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
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:18:13: warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if canImport(ObjectiveC)
18 | private let collectionsProviderNSValues = [
| |- warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProviderNSValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | ObjectIdentifier(NSCountedSet.self): NSCountedSet(),
20 | ObjectIdentifier(NSOrderedSet.self): NSOrderedSet(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[44/88] Compiling Mockingbird StubbingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:30:27: warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| `- warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
2 |
3 | /// Used to forward errors thrown from stubbed implementations to the Objective-C runtime.
:
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| |- note: annotate 'noImplementation' 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
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:18:13: warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if canImport(ObjectiveC)
18 | private let collectionsProviderNSValues = [
| |- warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProviderNSValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | ObjectIdentifier(NSCountedSet.self): NSCountedSet(),
20 | ObjectIdentifier(NSOrderedSet.self): NSOrderedSet(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[45/88] Compiling Mockingbird ValueProvider+Collections.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:30:27: warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| `- warning: static property 'noImplementation' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
2 |
3 | /// Used to forward errors thrown from stubbed implementations to the Objective-C runtime.
:
28 | extension StubbingContext {
29 | /// Used to indicate that no implementation exists for a given invocation.
30 | @objc public static let noImplementation = NSObject()
| |- note: annotate 'noImplementation' 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
31 |
32 | /// Apply arguments to a Swift implementation forwarded by the Objective-C runtime.
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:18:13: warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if canImport(ObjectiveC)
18 | private let collectionsProviderNSValues = [
| |- warning: let 'collectionsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProviderNSValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | ObjectIdentifier(NSCountedSet.self): NSCountedSet(),
20 | ObjectIdentifier(NSOrderedSet.self): NSOrderedSet(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[46/88] Compiling Mockingbird Data+SHA1.swift
[47/88] Compiling Mockingbird ProcessInfo+ControlCodes.swift
[48/88] Compiling Mockingbird String+ControlCodes.swift
[49/88] Compiling Mockingbird String+Interpolation.swift
[50/88] Compiling Mockingbird String+Regex.swift
[51/88] Compiling Mockingbird Synchronized.swift
[52/88] Compiling Mockingbird DynamicCast.swift
[53/88] Compiling Mockingbird MockingbirdBridge.swift
[54/88] Compiling Mockingbird ObjCTypeEncodings.swift
[55/88] Compiling Mockingbird Optional+Extensions.swift
[56/88] Compiling Mockingbird SourceLocation.swift
[57/88] Compiling Mockingbird ValueProvider+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:13:14: warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
13 | static let primitivesProvider = ValueProvider(values: [
| |- warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primitivesProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | ObjectIdentifier(Void.self): (),
15 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:47:13: warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | #if canImport(CoreGraphics)
47 | private let basicsProviderCGValues = [
| |- warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProviderCGValues' 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
48 | ObjectIdentifier(CGFloat.self): CGFloat(),
49 | ObjectIdentifier(CGPoint.self): CGPoint(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:60:14: warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
58 | ///
59 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
60 | static let basicsProvider = ValueProvider(
| |- warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProvider' 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
61 | values: [
62 | ObjectIdentifier(Data.self): Data(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:73:13: warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if canImport(ObjectiveC)
73 | private let stringsProviderNSValues = [
| |- warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProviderNSValues' 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
74 | ObjectIdentifier(NSAttributedString.self): NSAttributedString(),
75 | ObjectIdentifier(NSMutableAttributedString.self): NSMutableAttributedString(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:84:14: warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
82 | ///
83 | /// https://developer.apple.com/documentation/foundation/strings_and_text
84 | static let stringsProvider = ValueProvider(values: [
| |- warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProvider' 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
85 | ObjectIdentifier(String.self): String(),
86 | ObjectIdentifier(Character.self): "",
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:92:13: warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if canImport(ObjectiveC)
92 | private let datesProviderNSValues = [
| |- warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProviderNSValues' 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
93 | ObjectIdentifier(NSDate.self): NSDate(),
94 | ] as [ObjectIdentifier: Any]
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:102:14: warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
100 | ///
101 | /// https://developer.apple.com/documentation/foundation/dates_and_times
102 | static let datesProvider = ValueProvider(values: [
| |- warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProvider' 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
103 | ObjectIdentifier(Date.self): Date(),
104 | ObjectIdentifier(TimeInterval.self): TimeInterval(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:74:14: warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// Enables all mocks to handle methods that return `Void`.
74 | static let baseValues: [ObjectIdentifier: Any] = [ObjectIdentifier(Void.self): ()]
| |- warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baseValues' 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
75 |
76 | init(values: [ObjectIdentifier: Any] = [:], identifiers: Set<String> = []) {
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[58/88] Compiling Mockingbird ValueProvider+Tuples.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:13:14: warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
13 | static let primitivesProvider = ValueProvider(values: [
| |- warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primitivesProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | ObjectIdentifier(Void.self): (),
15 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:47:13: warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | #if canImport(CoreGraphics)
47 | private let basicsProviderCGValues = [
| |- warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProviderCGValues' 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
48 | ObjectIdentifier(CGFloat.self): CGFloat(),
49 | ObjectIdentifier(CGPoint.self): CGPoint(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:60:14: warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
58 | ///
59 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
60 | static let basicsProvider = ValueProvider(
| |- warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProvider' 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
61 | values: [
62 | ObjectIdentifier(Data.self): Data(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:73:13: warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if canImport(ObjectiveC)
73 | private let stringsProviderNSValues = [
| |- warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProviderNSValues' 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
74 | ObjectIdentifier(NSAttributedString.self): NSAttributedString(),
75 | ObjectIdentifier(NSMutableAttributedString.self): NSMutableAttributedString(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:84:14: warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
82 | ///
83 | /// https://developer.apple.com/documentation/foundation/strings_and_text
84 | static let stringsProvider = ValueProvider(values: [
| |- warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProvider' 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
85 | ObjectIdentifier(String.self): String(),
86 | ObjectIdentifier(Character.self): "",
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:92:13: warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if canImport(ObjectiveC)
92 | private let datesProviderNSValues = [
| |- warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProviderNSValues' 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
93 | ObjectIdentifier(NSDate.self): NSDate(),
94 | ] as [ObjectIdentifier: Any]
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:102:14: warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
100 | ///
101 | /// https://developer.apple.com/documentation/foundation/dates_and_times
102 | static let datesProvider = ValueProvider(values: [
| |- warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProvider' 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
103 | ObjectIdentifier(Date.self): Date(),
104 | ObjectIdentifier(TimeInterval.self): TimeInterval(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:74:14: warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// Enables all mocks to handle methods that return `Void`.
74 | static let baseValues: [ObjectIdentifier: Any] = [ObjectIdentifier(Void.self): ()]
| |- warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baseValues' 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
75 |
76 | init(values: [ObjectIdentifier: Any] = [:], identifiers: Set<String> = []) {
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[59/88] Compiling Mockingbird ValueProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:13:14: warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
13 | static let primitivesProvider = ValueProvider(values: [
| |- warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primitivesProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | ObjectIdentifier(Void.self): (),
15 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:47:13: warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | #if canImport(CoreGraphics)
47 | private let basicsProviderCGValues = [
| |- warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProviderCGValues' 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
48 | ObjectIdentifier(CGFloat.self): CGFloat(),
49 | ObjectIdentifier(CGPoint.self): CGPoint(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:60:14: warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
58 | ///
59 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
60 | static let basicsProvider = ValueProvider(
| |- warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProvider' 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
61 | values: [
62 | ObjectIdentifier(Data.self): Data(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:73:13: warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if canImport(ObjectiveC)
73 | private let stringsProviderNSValues = [
| |- warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProviderNSValues' 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
74 | ObjectIdentifier(NSAttributedString.self): NSAttributedString(),
75 | ObjectIdentifier(NSMutableAttributedString.self): NSMutableAttributedString(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:84:14: warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
82 | ///
83 | /// https://developer.apple.com/documentation/foundation/strings_and_text
84 | static let stringsProvider = ValueProvider(values: [
| |- warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProvider' 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
85 | ObjectIdentifier(String.self): String(),
86 | ObjectIdentifier(Character.self): "",
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:92:13: warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if canImport(ObjectiveC)
92 | private let datesProviderNSValues = [
| |- warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProviderNSValues' 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
93 | ObjectIdentifier(NSDate.self): NSDate(),
94 | ] as [ObjectIdentifier: Any]
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:102:14: warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
100 | ///
101 | /// https://developer.apple.com/documentation/foundation/dates_and_times
102 | static let datesProvider = ValueProvider(values: [
| |- warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProvider' 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
103 | ObjectIdentifier(Date.self): Date(),
104 | ObjectIdentifier(TimeInterval.self): TimeInterval(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:74:14: warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// Enables all mocks to handle methods that return `Void`.
74 | static let baseValues: [ObjectIdentifier: Any] = [ObjectIdentifier(Void.self): ()]
| |- warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baseValues' 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
75 |
76 | init(values: [ObjectIdentifier: Any] = [:], identifiers: Set<String> = []) {
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[60/88] Compiling Mockingbird Array+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:13:14: warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
13 | static let primitivesProvider = ValueProvider(values: [
| |- warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primitivesProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | ObjectIdentifier(Void.self): (),
15 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:47:13: warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | #if canImport(CoreGraphics)
47 | private let basicsProviderCGValues = [
| |- warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProviderCGValues' 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
48 | ObjectIdentifier(CGFloat.self): CGFloat(),
49 | ObjectIdentifier(CGPoint.self): CGPoint(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:60:14: warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
58 | ///
59 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
60 | static let basicsProvider = ValueProvider(
| |- warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProvider' 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
61 | values: [
62 | ObjectIdentifier(Data.self): Data(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:73:13: warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if canImport(ObjectiveC)
73 | private let stringsProviderNSValues = [
| |- warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProviderNSValues' 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
74 | ObjectIdentifier(NSAttributedString.self): NSAttributedString(),
75 | ObjectIdentifier(NSMutableAttributedString.self): NSMutableAttributedString(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:84:14: warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
82 | ///
83 | /// https://developer.apple.com/documentation/foundation/strings_and_text
84 | static let stringsProvider = ValueProvider(values: [
| |- warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProvider' 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
85 | ObjectIdentifier(String.self): String(),
86 | ObjectIdentifier(Character.self): "",
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:92:13: warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if canImport(ObjectiveC)
92 | private let datesProviderNSValues = [
| |- warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProviderNSValues' 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
93 | ObjectIdentifier(NSDate.self): NSDate(),
94 | ] as [ObjectIdentifier: Any]
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:102:14: warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
100 | ///
101 | /// https://developer.apple.com/documentation/foundation/dates_and_times
102 | static let datesProvider = ValueProvider(values: [
| |- warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProvider' 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
103 | ObjectIdentifier(Date.self): Date(),
104 | ObjectIdentifier(TimeInterval.self): TimeInterval(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:74:14: warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// Enables all mocks to handle methods that return `Void`.
74 | static let baseValues: [ObjectIdentifier: Any] = [ObjectIdentifier(Void.self): ()]
| |- warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baseValues' 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
75 |
76 | init(values: [ObjectIdentifier: Any] = [:], identifiers: Set<String> = []) {
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[61/88] Compiling Mockingbird CwlDemangle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:13:14: warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
11 | ///
12 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
13 | static let primitivesProvider = ValueProvider(values: [
| |- warning: static property 'primitivesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'primitivesProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | ObjectIdentifier(Void.self): (),
15 |
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:47:13: warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | #if canImport(CoreGraphics)
47 | private let basicsProviderCGValues = [
| |- warning: let 'basicsProviderCGValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProviderCGValues' 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
48 | ObjectIdentifier(CGFloat.self): CGFloat(),
49 | ObjectIdentifier(CGPoint.self): CGPoint(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:60:14: warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
58 | ///
59 | /// https://developer.apple.com/documentation/foundation/numbers_data_and_basic_values
60 | static let basicsProvider = ValueProvider(
| |- warning: static property 'basicsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basicsProvider' 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
61 | values: [
62 | ObjectIdentifier(Data.self): Data(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:73:13: warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if canImport(ObjectiveC)
73 | private let stringsProviderNSValues = [
| |- warning: let 'stringsProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProviderNSValues' 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
74 | ObjectIdentifier(NSAttributedString.self): NSAttributedString(),
75 | ObjectIdentifier(NSMutableAttributedString.self): NSMutableAttributedString(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:84:14: warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
82 | ///
83 | /// https://developer.apple.com/documentation/foundation/strings_and_text
84 | static let stringsProvider = ValueProvider(values: [
| |- warning: static property 'stringsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringsProvider' 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
85 | ObjectIdentifier(String.self): String(),
86 | ObjectIdentifier(Character.self): "",
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:92:13: warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | #if canImport(ObjectiveC)
92 | private let datesProviderNSValues = [
| |- warning: let 'datesProviderNSValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProviderNSValues' 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
93 | ObjectIdentifier(NSDate.self): NSDate(),
94 | ] as [ObjectIdentifier: Any]
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift:102:14: warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
100 | ///
101 | /// https://developer.apple.com/documentation/foundation/dates_and_times
102 | static let datesProvider = ValueProvider(values: [
| |- warning: static property 'datesProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datesProvider' 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
103 | ObjectIdentifier(Date.self): Date(),
104 | ObjectIdentifier(TimeInterval.self): TimeInterval(),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:74:14: warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | /// Enables all mocks to handle methods that return `Void`.
74 | static let baseValues: [ObjectIdentifier: Any] = [ObjectIdentifier(Void.self): ()]
| |- warning: static property 'baseValues' is not concurrency-safe because non-'Sendable' type '[ObjectIdentifier : Any]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baseValues' 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
75 |
76 | init(values: [ObjectIdentifier: Any] = [:], identifiers: Set<String> = []) {
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:247:21: warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
:
245 |
246 | /// All preset value providers.
247 | public static let standardProvider = ValueProvider() +
| |- warning: static property 'standardProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardProvider' 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
248 | .collectionsProvider +
249 | .primitivesProvider +
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider+Collections.swift:32:14: warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 | ///
31 | /// https://developer.apple.com/documentation/foundation/collections
32 | static let collectionsProvider = ValueProvider(
| |- warning: static property 'collectionsProvider' is not concurrency-safe because non-'Sendable' type 'ValueProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collectionsProvider' 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
33 | values: collectionsProviderNSValues,
34 | identifiers: [
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/ValueProvider.swift:69:15: note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
67 | /// print(bird.name) // Prints "Ryan"
68 | /// ```
69 | public struct ValueProvider {
| `- note: consider making struct 'ValueProvider' conform to the 'Sendable' protocol
70 | var storedValues = [ObjectIdentifier: Any]()
71 | var enabledIdentifiers = Set<String>()
[61/88] Compiling NSInvocation+MKBErrorObjectType.m
[62/88] Compiling MockingbirdObjC MKBClassMock.m
[63/88] Compiling MockingbirdObjC MKBProtocolMock.m
[64/88] Compiling MockingbirdObjC MKBProperty.m
[65/88] Compiling MKBUnsignedIntInvocationHandler.m
[66/88] Compiling MKBUnsignedShortInvocationHandler.m
[67/88] Compiling MKBUnsignedLongInvocationHandler.m
[68/88] Compiling MKBUnsignedLongLongInvocationHandler.m
[69/88] Compiling MKBUnsignedCharInvocationHandler.m
[70/88] Compiling MKBStructInvocationHandler.m
[71/88] Compiling MKBShortInvocationHandler.m
[72/88] Compiling MKBPointerInvocationHandler.m
[72/88] Compiling MKBSelectorInvocationHandler.m
[74/88] Compiling MockingbirdObjC MKBConcreteMock.m
[75/88] Compiling MKBLongLongInvocationHandler.m
[76/88] Compiling MKBLongInvocationHandler.m
[77/88] Compiling MKBInvocationHandlerChain.m
[78/88] Compiling MKBIntInvocationHandler.m
[79/88] Compiling MKBInvocationHandler.m
[80/88] Compiling MKBFloatInvocationHandler.m
[81/88] Compiling MKBComparator.m
[82/88] Compiling MKBDoubleInvocationHandler.m
[83/88] Compiling MKBClassInvocationHandler.m
[84/88] Compiling MKBCharInvocationHandler.m
[85/88] Compiling MKBCStringInvocationHandler.m
[86/88] Compiling MKBBoolInvocationHandler.m
[87/88] Compiling MKBObjectInvocationHandler.m
Build complete! (29.03s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Mockingbird",
"name" : "Mockingbird",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "7.4"
}
],
"products" : [
{
"name" : "Mockingbird",
"targets" : [
"Mockingbird",
"MockingbirdObjC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MockingbirdObjC",
"module_type" : "ClangTarget",
"name" : "MockingbirdObjC",
"path" : "Sources/MockingbirdFramework/Objective-C",
"product_memberships" : [
"Mockingbird"
],
"sources" : [
"InvocationHandlers/MKBBoolInvocationHandler.m",
"InvocationHandlers/MKBCStringInvocationHandler.m",
"InvocationHandlers/MKBCharInvocationHandler.m",
"InvocationHandlers/MKBClassInvocationHandler.m",
"InvocationHandlers/MKBComparator.m",
"InvocationHandlers/MKBDoubleInvocationHandler.m",
"InvocationHandlers/MKBFloatInvocationHandler.m",
"InvocationHandlers/MKBIntInvocationHandler.m",
"InvocationHandlers/MKBInvocationHandler.m",
"InvocationHandlers/MKBInvocationHandlerChain.m",
"InvocationHandlers/MKBLongInvocationHandler.m",
"InvocationHandlers/MKBLongLongInvocationHandler.m",
"InvocationHandlers/MKBObjectInvocationHandler.m",
"InvocationHandlers/MKBPointerInvocationHandler.m",
"InvocationHandlers/MKBSelectorInvocationHandler.m",
"InvocationHandlers/MKBShortInvocationHandler.m",
"InvocationHandlers/MKBStructInvocationHandler.m",
"InvocationHandlers/MKBUnsignedCharInvocationHandler.m",
"InvocationHandlers/MKBUnsignedIntInvocationHandler.m",
"InvocationHandlers/MKBUnsignedLongInvocationHandler.m",
"InvocationHandlers/MKBUnsignedLongLongInvocationHandler.m",
"InvocationHandlers/MKBUnsignedShortInvocationHandler.m",
"InvocationHandlers/NSInvocation+MKBErrorObjectType.m",
"MKBClassMock.m",
"MKBConcreteMock.m",
"MKBProperty.m",
"MKBProtocolMock.m"
],
"target_dependencies" : [
"Mockingbird",
"MockingbirdBridge"
],
"type" : "library"
},
{
"c99name" : "MockingbirdBridge",
"module_type" : "ClangTarget",
"name" : "MockingbirdBridge",
"path" : "Sources/MockingbirdFramework/Objective-C/Bridge",
"product_memberships" : [
"Mockingbird"
],
"sources" : [
"sources/MKBMocking.m",
"sources/MKBTestExpectation.m",
"sources/MKBTestUtils.m",
"sources/MKBTypeFacade.m"
],
"type" : "library"
},
{
"c99name" : "Mockingbird",
"module_type" : "SwiftTarget",
"name" : "Mockingbird",
"path" : "Sources",
"product_memberships" : [
"Mockingbird"
],
"sources" : [
"MockingbirdCommon/Data+SHA1.swift",
"MockingbirdCommon/ProcessInfo+ControlCodes.swift",
"MockingbirdCommon/String+ControlCodes.swift",
"MockingbirdCommon/String+Interpolation.swift",
"MockingbirdCommon/String+Regex.swift",
"MockingbirdCommon/Synchronized.swift",
"MockingbirdCommon/Version.swift",
"MockingbirdFramework/Matching/ArgumentCaptor.swift",
"MockingbirdFramework/Matching/ArgumentMatcher.swift",
"MockingbirdFramework/Matching/ArgumentPosition.swift",
"MockingbirdFramework/Matching/CollectionMatchers.swift",
"MockingbirdFramework/Matching/CountMatcher.swift",
"MockingbirdFramework/Matching/NonEscapingType.swift",
"MockingbirdFramework/Matching/TypeFacade.swift",
"MockingbirdFramework/Matching/WildcardMatchers.swift",
"MockingbirdFramework/Mocking/Context.swift",
"MockingbirdFramework/Mocking/Declaration.swift",
"MockingbirdFramework/Mocking/GenericStaticMockContext.swift",
"MockingbirdFramework/Mocking/Mock.swift",
"MockingbirdFramework/Mocking/Mocking.swift",
"MockingbirdFramework/Mocking/MockingContext.swift",
"MockingbirdFramework/Stubbing/DefaultValues.swift",
"MockingbirdFramework/Stubbing/DynamicStubbingManager.swift",
"MockingbirdFramework/Stubbing/ImplementationProvider.swift",
"MockingbirdFramework/Stubbing/InvocationForwarding.swift",
"MockingbirdFramework/Stubbing/InvocationRecorder.swift",
"MockingbirdFramework/Stubbing/PropertyProviders.swift",
"MockingbirdFramework/Stubbing/ProxyContext.swift",
"MockingbirdFramework/Stubbing/SequenceProviders.swift",
"MockingbirdFramework/Stubbing/Stubbing+ObjC.swift",
"MockingbirdFramework/Stubbing/Stubbing.swift",
"MockingbirdFramework/Stubbing/StubbingContext+ObjC.swift",
"MockingbirdFramework/Stubbing/StubbingContext.swift",
"MockingbirdFramework/Stubbing/ValueProvider+Collections.swift",
"MockingbirdFramework/Stubbing/ValueProvider+Foundation.swift",
"MockingbirdFramework/Stubbing/ValueProvider+Tuples.swift",
"MockingbirdFramework/Stubbing/ValueProvider.swift",
"MockingbirdFramework/Utilities/Array+Extensions.swift",
"MockingbirdFramework/Utilities/CwlDemangle.swift",
"MockingbirdFramework/Utilities/DynamicCast.swift",
"MockingbirdFramework/Utilities/MockingbirdBridge.swift",
"MockingbirdFramework/Utilities/ObjCTypeEncodings.swift",
"MockingbirdFramework/Utilities/Optional+Extensions.swift",
"MockingbirdFramework/Utilities/SourceLocation.swift",
"MockingbirdFramework/Utilities/StackTrace.swift",
"MockingbirdFramework/Utilities/String+Extensions.swift",
"MockingbirdFramework/Verification/AsyncVerification.swift",
"MockingbirdFramework/Verification/ExpectationGroup.swift",
"MockingbirdFramework/Verification/Invocation.swift",
"MockingbirdFramework/Verification/MonotonicIncreasingIndex.swift",
"MockingbirdFramework/Verification/OrderedVerification.swift",
"MockingbirdFramework/Verification/TestFailure.swift",
"MockingbirdFramework/Verification/Verification.swift",
"MockingbirdFramework/Verification/XCTFailSwizzler.swift"
],
"target_dependencies" : [
"MockingbirdBridge"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.