Build Information
Successful build of Mockingbird, reference 0.20.0 (6e0d47
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 22:33:27 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- 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>()
[22/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>()
[23/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>()
[24/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 +
[25/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 +
[26/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 +
[27/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 +
[28/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 +
[29/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 +
[30/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,
[31/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,
[32/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,
[33/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,
[34/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,
[35/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,
[36/88] Compiling Mockingbird InvocationForwarding.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:19:16: warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
17 |
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
| |- warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recorderKey' 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
20 | static let resultSentinel = NSException(
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:20: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
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
20 | 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
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
22 | 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/Stubbing/InvocationRecorder.swift:52:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
50 | Self.sharedQueue.sync {
51 | _ = MKBTryBlock {
52 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: self)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | block()
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:55:24: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
53 | block()
54 | }
55 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: nil)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | }
57 | return self
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:105:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
103 | /// The global invocation recorder instance.
104 | @objc public static var sharedRecorder: InvocationRecorder? {
105 | return DispatchQueue.getSpecific(key: Constants.recorderKey)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | }
107 | }
[37/88] Compiling Mockingbird InvocationRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:19:16: warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
17 |
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
| |- warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recorderKey' 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
20 | static let resultSentinel = NSException(
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:20: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
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
20 | 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
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
22 | 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/Stubbing/InvocationRecorder.swift:52:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
50 | Self.sharedQueue.sync {
51 | _ = MKBTryBlock {
52 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: self)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | block()
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:55:24: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
53 | block()
54 | }
55 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: nil)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | }
57 | return self
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:105:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
103 | /// The global invocation recorder instance.
104 | @objc public static var sharedRecorder: InvocationRecorder? {
105 | return DispatchQueue.getSpecific(key: Constants.recorderKey)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | }
107 | }
[38/88] Compiling Mockingbird PropertyProviders.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:19:16: warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
17 |
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
| |- warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recorderKey' 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
20 | static let resultSentinel = NSException(
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:20: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
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
20 | 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
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
22 | 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/Stubbing/InvocationRecorder.swift:52:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
50 | Self.sharedQueue.sync {
51 | _ = MKBTryBlock {
52 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: self)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | block()
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:55:24: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
53 | block()
54 | }
55 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: nil)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | }
57 | return self
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:105:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
103 | /// The global invocation recorder instance.
104 | @objc public static var sharedRecorder: InvocationRecorder? {
105 | return DispatchQueue.getSpecific(key: Constants.recorderKey)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | }
107 | }
[39/88] Compiling Mockingbird ProxyContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:19:16: warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
17 |
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
| |- warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recorderKey' 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
20 | static let resultSentinel = NSException(
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:20: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
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
20 | 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
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
22 | 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/Stubbing/InvocationRecorder.swift:52:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
50 | Self.sharedQueue.sync {
51 | _ = MKBTryBlock {
52 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: self)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | block()
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:55:24: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
53 | block()
54 | }
55 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: nil)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | }
57 | return self
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:105:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
103 | /// The global invocation recorder instance.
104 | @objc public static var sharedRecorder: InvocationRecorder? {
105 | return DispatchQueue.getSpecific(key: Constants.recorderKey)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | }
107 | }
[40/88] Compiling Mockingbird SequenceProviders.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:19:16: warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
17 |
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
| |- warning: static property 'recorderKey' is not concurrency-safe because non-'Sendable' type 'DispatchSpecificKey<InvocationRecorder>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recorderKey' 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
20 | static let resultSentinel = NSException(
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:20: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
18 | enum Constants {
19 | static let recorderKey = DispatchSpecificKey<InvocationRecorder>()
20 | 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
21 | name: NSExceptionName(rawValue: "co.bird.mockingbird.InvocationRecorder.result"),
22 | 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/Stubbing/InvocationRecorder.swift:52:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
50 | Self.sharedQueue.sync {
51 | _ = MKBTryBlock {
52 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: self)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | block()
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:55:24: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
53 | block()
54 | }
55 | Self.sharedQueue.setSpecific(key: Constants.recorderKey, value: nil)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | }
57 | return self
/Users/admin/builder/spi-builder-workspace/Sources/MockingbirdFramework/Stubbing/InvocationRecorder.swift:105:26: warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 |
8 | /// Records invocations for stubbing and verification.
9 | @objc(MKBInvocationRecorder) public class InvocationRecorder: NSObject {
| `- note: class 'InvocationRecorder' does not conform to the 'Sendable' protocol
10 |
11 | /// Used to attribute declarations to stubbing and verification calls in tests.
:
103 | /// The global invocation recorder instance.
104 | @objc public static var sharedRecorder: InvocationRecorder? {
105 | return DispatchQueue.getSpecific(key: Constants.recorderKey)
| `- warning: type 'InvocationRecorder' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
106 | }
107 | }
[41/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 | }
[42/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 | }
[43/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 | }
[44/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 | }
[45/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 | }
[46/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 | }
[47/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 | }
[48/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 | }
[49/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 | }
[50/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 | }
[51/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 | }
[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 MockingbirdObjC MKBProperty.m
[62/88] Compiling MockingbirdObjC MKBProtocolMock.m
[63/88] Compiling NSInvocation+MKBErrorObjectType.m
[64/88] Compiling MockingbirdObjC MKBClassMock.m
[65/88] Compiling MKBUnsignedIntInvocationHandler.m
[66/88] Compiling MKBUnsignedLongLongInvocationHandler.m
[67/88] Compiling MKBUnsignedLongInvocationHandler.m
[68/88] Compiling MKBUnsignedCharInvocationHandler.m
[69/88] Compiling MockingbirdObjC MKBConcreteMock.m
[70/88] Compiling MKBStructInvocationHandler.m
[71/88] Compiling MKBShortInvocationHandler.m
[72/88] Compiling MKBUnsignedShortInvocationHandler.m
[73/88] Compiling MKBSelectorInvocationHandler.m
[74/88] Compiling MKBPointerInvocationHandler.m
[75/88] Compiling MKBLongInvocationHandler.m
[76/88] Compiling MKBLongLongInvocationHandler.m
[77/88] Compiling MKBInvocationHandler.m
[78/88] Compiling MKBInvocationHandlerChain.m
[79/88] Compiling MKBIntInvocationHandler.m
[80/88] Compiling MKBDoubleInvocationHandler.m
[81/88] Compiling MKBComparator.m
[82/88] Compiling MKBClassInvocationHandler.m
[83/88] Compiling MKBFloatInvocationHandler.m
[84/88] Compiling MKBCStringInvocationHandler.m
[85/88] Compiling MKBCharInvocationHandler.m
[86/88] Compiling MKBBoolInvocationHandler.m
[87/88] Compiling MKBObjectInvocationHandler.m
Build complete! (24.73s)
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.