Build Information
Successful build of SpotifyAPI, reference master (29329b
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 05:15:02 UTC.
Swift 6 data race errors: 129
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
16 | authorizationManager: ClientCredentialsFlowManager(
17 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/ClientCredentialsFlowExtensions.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
7 | import OpenCombineFoundation
8 | #endif
9 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
10 |
11 | // MARK: Client
:
13 |
14 | /// A shared instance used for testing purposes.
15 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | authorizationManager: ClientCredentialsFlowManager(
17 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/ClientCredentialsFlowExtensions.swift:30:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<ClientCredentialsFlowBackendManager<ClientCredentialsFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A shared instance used for testing purposes.
30 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<ClientCredentialsFlowBackendManager<ClientCredentialsFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | authorizationManager: ClientCredentialsFlowBackendManager(
32 | backend: ClientCredentialsFlowProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:25:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | {
24 |
25 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | SpotifyAPI<ClientCredentialsFlowManager>.sharedTest
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:28:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | SpotifyAPI<ClientCredentialsFlowManager>.sharedTest
27 |
28 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:75:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | {
74 |
75 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | SpotifyAPI<AuthorizationCodeFlowManager>.sharedTest
77 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:78:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | SpotifyAPI<AuthorizationCodeFlowManager>.sharedTest
77 |
78 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:131:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 | {
130 |
131 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | SpotifyAPI<AuthorizationCodeFlowPKCEManager>.sharedTest
133 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:134:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 | SpotifyAPI<AuthorizationCodeFlowPKCEManager>.sharedTest
133 |
134 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// If you only need to setup the authorization, override
[842/857] Compiling SpotifyAPITestUtilities SpotifyAPITests.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:12:23: warning: static property 'isRegisteredAsObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class SpotifyTestObserver: NSObject, XCTestObservation {
11 |
12 | public static var isRegisteredAsObserver = false
| |- warning: static property 'isRegisteredAsObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegisteredAsObserver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegisteredAsObserver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func testBundleWillStart(_ testBundle: Bundle) {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:130:23: warning: static property 'failingTests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | open class SpotifyAPITestCase: XCTestCase {
129 |
130 | public static var failingTests: [String] = []
| |- warning: static property 'failingTests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failingTests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failingTests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | /// The file that issues will be logged to during tests.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:134:46: warning: reference to static property 'dataDumpFolder' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | /// The file that issues will be logged to during tests.
133 | public static let logFile: URL? = {
134 | if let folder = SpotifyDecodingError.dataDumpFolder {
| `- warning: reference to static property 'dataDumpFolder' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | let dateString = DateFormatter
136 | .millisecondsTime.string(from: Date())
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/Errors/SpotifyDecodingError.swift:35:23: note: static property declared here
33 | [1]: https://jsoneditoronline.org
34 | */
35 | public static var dataDumpFolder: URL? = {
| `- note: static property declared here
36 |
37 | let environment = ProcessInfo.processInfo.environment
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:151:24: warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
149 | "URLSession.__defaultNetworkAdaptor"
150 | )
151 | URLSession._defaultNetworkAdaptor = URLSession.__defaultNetworkAdaptor
| `- warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | else {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/URLExtensions/URLSessionWrappers.swift:41:16: note: class property declared here
39 | /// networking client during testing. Other than in the test targets, it
40 | /// will not be modified.
41 | static var _defaultNetworkAdaptor: (
| `- note: class property declared here
42 | URLRequest
43 | ) -> AnyPublisher<(data: Data, response: HTTPURLResponse), Error> = { request in
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:158:24: warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 | ".shared.networkAdaptor(request:)"
157 | )
158 | URLSession._defaultNetworkAdaptor = NetworkAdaptorManager
| `- warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 | .shared.networkAdaptor(request:)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/URLExtensions/URLSessionWrappers.swift:41:16: note: class property declared here
39 | /// networking client during testing. Other than in the test targets, it
40 | /// will not be modified.
41 | static var _defaultNetworkAdaptor: (
| `- note: class property declared here
42 | URLRequest
43 | ) -> AnyPublisher<(data: Data, response: HTTPURLResponse), Error> = { request in
[843/857] Compiling SpotifyAPITestUtilities SpotifyAPITestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:12:23: warning: static property 'isRegisteredAsObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class SpotifyTestObserver: NSObject, XCTestObservation {
11 |
12 | public static var isRegisteredAsObserver = false
| |- warning: static property 'isRegisteredAsObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegisteredAsObserver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegisteredAsObserver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func testBundleWillStart(_ testBundle: Bundle) {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:130:23: warning: static property 'failingTests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | open class SpotifyAPITestCase: XCTestCase {
129 |
130 | public static var failingTests: [String] = []
| |- warning: static property 'failingTests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failingTests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failingTests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | /// The file that issues will be logged to during tests.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:134:46: warning: reference to static property 'dataDumpFolder' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | /// The file that issues will be logged to during tests.
133 | public static let logFile: URL? = {
134 | if let folder = SpotifyDecodingError.dataDumpFolder {
| `- warning: reference to static property 'dataDumpFolder' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | let dateString = DateFormatter
136 | .millisecondsTime.string(from: Date())
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/Errors/SpotifyDecodingError.swift:35:23: note: static property declared here
33 | [1]: https://jsoneditoronline.org
34 | */
35 | public static var dataDumpFolder: URL? = {
| `- note: static property declared here
36 |
37 | let environment = ProcessInfo.processInfo.environment
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:151:24: warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
149 | "URLSession.__defaultNetworkAdaptor"
150 | )
151 | URLSession._defaultNetworkAdaptor = URLSession.__defaultNetworkAdaptor
| `- warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | else {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/URLExtensions/URLSessionWrappers.swift:41:16: note: class property declared here
39 | /// networking client during testing. Other than in the test targets, it
40 | /// will not be modified.
41 | static var _defaultNetworkAdaptor: (
| `- note: class property declared here
42 | URLRequest
43 | ) -> AnyPublisher<(data: Data, response: HTTPURLResponse), Error> = { request in
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:158:24: warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 | ".shared.networkAdaptor(request:)"
157 | )
158 | URLSession._defaultNetworkAdaptor = NetworkAdaptorManager
| `- warning: reference to class property '_defaultNetworkAdaptor' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 | .shared.networkAdaptor(request:)
160 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/URLExtensions/URLSessionWrappers.swift:41:16: note: class property declared here
39 | /// networking client during testing. Other than in the test targets, it
40 | /// will not be modified.
41 | static var _defaultNetworkAdaptor: (
| `- note: class property declared here
42 | URLRequest
43 | ) -> AnyPublisher<(data: Data, response: HTTPURLResponse), Error> = { request in
[844/857] Compiling SpotifyAPITestUtilities AuthorizationCodeFlowExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:16:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| `- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | authorizationManager: AuthorizationCodeFlowManager(
18 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
8 | import OpenCombineFoundation
9 | #endif
10 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
11 |
12 | // MARK: Client
:
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | authorizationManager: AuthorizationCodeFlowManager(
18 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:31:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// A shared instance used for testing purposes.
31 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | authorizationManager: AuthorizationCodeFlowBackendManager(
33 | backend: AuthorizationCodeFlowProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:16:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEManager>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| `- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEManager>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | authorizationManager: AuthorizationCodeFlowPKCEManager(
18 | clientId: spotifyCredentials.clientId
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
8 | import OpenCombineFoundation
9 | #endif
10 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
11 |
12 | // MARK: Client
:
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | authorizationManager: AuthorizationCodeFlowPKCEManager(
18 | clientId: spotifyCredentials.clientId
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:30:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A shared instance used for testing purposes.
30 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | authorizationManager: AuthorizationCodeFlowPKCEBackendManager(
32 | backend: AuthorizationCodeFlowPKCEProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
[845/857] Compiling SpotifyAPITestUtilities AuthorizationCodeFlowPKCEExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:16:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| `- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | authorizationManager: AuthorizationCodeFlowManager(
18 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
8 | import OpenCombineFoundation
9 | #endif
10 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
11 |
12 | // MARK: Client
:
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | authorizationManager: AuthorizationCodeFlowManager(
18 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:31:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// A shared instance used for testing purposes.
31 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | authorizationManager: AuthorizationCodeFlowBackendManager(
33 | backend: AuthorizationCodeFlowProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:16:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEManager>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| `- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEManager>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | authorizationManager: AuthorizationCodeFlowPKCEManager(
18 | clientId: spotifyCredentials.clientId
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
8 | import OpenCombineFoundation
9 | #endif
10 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
11 |
12 | // MARK: Client
:
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | authorizationManager: AuthorizationCodeFlowPKCEManager(
18 | clientId: spotifyCredentials.clientId
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:30:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A shared instance used for testing purposes.
30 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | authorizationManager: AuthorizationCodeFlowPKCEBackendManager(
32 | backend: AuthorizationCodeFlowPKCEProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
[846/857] Compiling SpotifyAPITestUtilities openAuthorizationURL.swift
[847/857] Compiling SpotifyAPITestUtilities CodingExtensions.swift
[848/857] Compiling SpotifyAPITestUtilities CombineTestUtilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:61:24: warning: static property 'allLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | private static var allLocks: [Self] = []
| |- warning: static property 'allLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allLocks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allLocks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | private static let lockDirectory: String? = {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:69:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
67 | // MARK: - Locks -
68 |
69 | public static let general = Self(name: "general")
| |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:70:23: warning: static property 'player' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
68 |
69 | public static let general = Self(name: "general")
70 | public static let player = Self(name: "player")
| |- warning: static property 'player' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'player' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:71:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
69 | public static let general = Self(name: "general")
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:72:23: warning: static property 'follow' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
| |- warning: static property 'follow' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'follow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
74 | public static let redirectListener = Self(name: "redirectListener")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:73:23: warning: static property 'rateLimitedError' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
| |- warning: static property 'rateLimitedError' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rateLimitedError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let redirectListener = Self(name: "redirectListener")
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:74:23: warning: static property 'redirectListener' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
74 | public static let redirectListener = Self(name: "redirectListener")
| |- warning: static property 'redirectListener' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redirectListener' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | // MARK: - Instance Members -
[849/857] Compiling SpotifyAPITestUtilities DistributedLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:61:24: warning: static property 'allLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | private static var allLocks: [Self] = []
| |- warning: static property 'allLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allLocks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allLocks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | private static let lockDirectory: String? = {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:69:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
67 | // MARK: - Locks -
68 |
69 | public static let general = Self(name: "general")
| |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:70:23: warning: static property 'player' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
68 |
69 | public static let general = Self(name: "general")
70 | public static let player = Self(name: "player")
| |- warning: static property 'player' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'player' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:71:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
69 | public static let general = Self(name: "general")
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:72:23: warning: static property 'follow' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
| |- warning: static property 'follow' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'follow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
74 | public static let redirectListener = Self(name: "redirectListener")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:73:23: warning: static property 'rateLimitedError' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
| |- warning: static property 'rateLimitedError' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rateLimitedError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let redirectListener = Self(name: "redirectListener")
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:74:23: warning: static property 'redirectListener' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
74 | public static let redirectListener = Self(name: "redirectListener")
| |- warning: static property 'redirectListener' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redirectListener' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | // MARK: - Instance Members -
[850/857] Compiling SpotifyAPITestUtilities MiscellaneousUtilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:72:16: warning: static property 'playlistScopes' is not concurrency-safe because non-'Sendable' type 'Set<Scope>' may have shared mutable state; this is an error in the Swift 6 language mode
70 | * `Scope.ugcImageUpload` (required for uploading an image to a playlist)
71 | */
72 | static let playlistScopes: Set<Scope> = [
| `- warning: static property 'playlistScopes' is not concurrency-safe because non-'Sendable' type 'Set<Scope>' may have shared mutable state; this is an error in the Swift 6 language mode
73 | .playlistReadCollaborative,
74 | .playlistModifyPublic,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/Authorization/AuthorizationScopes.swift:12:13: note: enum 'Scope' does not conform to the 'Sendable' protocol
10 | [1]: https://developer.spotify.com/documentation/general/guides/authorization/scopes/
11 | */
12 | public enum Scope: String, Codable, Hashable {
| `- note: enum 'Scope' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: Images
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:12:11: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
10 |
11 | import XCTest
12 | @testable import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
13 |
14 | #if canImport(AppKit)
:
70 | * `Scope.ugcImageUpload` (required for uploading an image to a playlist)
71 | */
72 | static let playlistScopes: Set<Scope> = [
| |- note: add '@MainActor' to make static property 'playlistScopes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | .playlistReadCollaborative,
74 | .playlistModifyPublic,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:112:16: warning: static property '__defaultNetworkAdaptor' is not concurrency-safe because non-'Sendable' type '(URLRequest) -> AnyPublisher<(data: Data, response: HTTPURLResponse), any Error>' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 |
112 | static let __defaultNetworkAdaptor: (
| |- warning: static property '__defaultNetworkAdaptor' is not concurrency-safe because non-'Sendable' type '(URLRequest) -> AnyPublisher<(data: Data, response: HTTPURLResponse), any Error>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '__defaultNetworkAdaptor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | URLRequest
114 | ) -> AnyPublisher<(data: Data, response: HTTPURLResponse), Error> = { request in
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/NetworkAdaptor.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkAdaptorManager' may have shared mutable state; this is an error in the Swift 6 language mode
19 | @testable import SpotifyWebAPI
20 |
21 | public final class NetworkAdaptorManager {
| `- note: class 'NetworkAdaptorManager' does not conform to the 'Sendable' protocol
22 |
23 | public static let shared = NetworkAdaptorManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkAdaptorManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | #if TEST
[851/857] Compiling SpotifyAPITestUtilities NetworkAdaptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:72:16: warning: static property 'playlistScopes' is not concurrency-safe because non-'Sendable' type 'Set<Scope>' may have shared mutable state; this is an error in the Swift 6 language mode
70 | * `Scope.ugcImageUpload` (required for uploading an image to a playlist)
71 | */
72 | static let playlistScopes: Set<Scope> = [
| `- warning: static property 'playlistScopes' is not concurrency-safe because non-'Sendable' type 'Set<Scope>' may have shared mutable state; this is an error in the Swift 6 language mode
73 | .playlistReadCollaborative,
74 | .playlistModifyPublic,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/Authorization/AuthorizationScopes.swift:12:13: note: enum 'Scope' does not conform to the 'Sendable' protocol
10 | [1]: https://developer.spotify.com/documentation/general/guides/authorization/scopes/
11 | */
12 | public enum Scope: String, Codable, Hashable {
| `- note: enum 'Scope' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: Images
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:12:11: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
10 |
11 | import XCTest
12 | @testable import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
13 |
14 | #if canImport(AppKit)
:
70 | * `Scope.ugcImageUpload` (required for uploading an image to a playlist)
71 | */
72 | static let playlistScopes: Set<Scope> = [
| |- note: add '@MainActor' to make static property 'playlistScopes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | .playlistReadCollaborative,
74 | .playlistModifyPublic,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:112:16: warning: static property '__defaultNetworkAdaptor' is not concurrency-safe because non-'Sendable' type '(URLRequest) -> AnyPublisher<(data: Data, response: HTTPURLResponse), any Error>' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 |
112 | static let __defaultNetworkAdaptor: (
| |- warning: static property '__defaultNetworkAdaptor' is not concurrency-safe because non-'Sendable' type '(URLRequest) -> AnyPublisher<(data: Data, response: HTTPURLResponse), any Error>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '__defaultNetworkAdaptor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | URLRequest
114 | ) -> AnyPublisher<(data: Data, response: HTTPURLResponse), Error> = { request in
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/NetworkAdaptor.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkAdaptorManager' may have shared mutable state; this is an error in the Swift 6 language mode
19 | @testable import SpotifyWebAPI
20 |
21 | public final class NetworkAdaptorManager {
| `- note: class 'NetworkAdaptorManager' does not conform to the 'Sendable' protocol
22 |
23 | public static let shared = NetworkAdaptorManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkAdaptorManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | #if TEST
[852/857] Compiling SpotifyAPITestUtilities resource_bundle_accessor.swift
[853/857] Compiling SpotifyAPITestUtilities AuthorizationConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/AuthorizationConstants.swift:30:12: warning: let 'spotifyCredentials' is not concurrency-safe because non-'Sendable' type 'SpotifyCredentials' may have shared mutable state; this is an error in the Swift 6 language mode
28 | If none of these values are populated, then a fatal error is thrown.
29 | */
30 | public let spotifyCredentials: SpotifyCredentials = {
| |- warning: let 'spotifyCredentials' is not concurrency-safe because non-'Sendable' type 'SpotifyCredentials' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'spotifyCredentials' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | // these properties can be populated by the "set_credentials" script
:
186 | ```
187 | */
188 | public struct SpotifyCredentials: Codable {
| `- note: consider making struct 'SpotifyCredentials' conform to the 'Sendable' protocol
189 |
190 | /// The client id for the application.
[854/857] Compiling SpotifyAPITestUtilities RedirectListener.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/AuthorizationConstants.swift:30:12: warning: let 'spotifyCredentials' is not concurrency-safe because non-'Sendable' type 'SpotifyCredentials' may have shared mutable state; this is an error in the Swift 6 language mode
28 | If none of these values are populated, then a fatal error is thrown.
29 | */
30 | public let spotifyCredentials: SpotifyCredentials = {
| |- warning: let 'spotifyCredentials' is not concurrency-safe because non-'Sendable' type 'SpotifyCredentials' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'spotifyCredentials' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | // these properties can be populated by the "set_credentials" script
:
186 | ```
187 | */
188 | public struct SpotifyCredentials: Codable {
| `- note: consider making struct 'SpotifyCredentials' conform to the 'Sendable' protocol
189 |
190 | /// The client id for the application.
[855/857] Emitting module SpotifyAPITestUtilities
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/AuthorizationConstants.swift:30:12: warning: let 'spotifyCredentials' is not concurrency-safe because non-'Sendable' type 'SpotifyCredentials' may have shared mutable state; this is an error in the Swift 6 language mode
28 | If none of these values are populated, then a fatal error is thrown.
29 | */
30 | public let spotifyCredentials: SpotifyCredentials = {
| |- warning: let 'spotifyCredentials' is not concurrency-safe because non-'Sendable' type 'SpotifyCredentials' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'spotifyCredentials' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | // these properties can be populated by the "set_credentials" script
:
186 | ```
187 | */
188 | public struct SpotifyCredentials: Codable {
| `- note: consider making struct 'SpotifyCredentials' conform to the 'Sendable' protocol
189 |
190 | /// The client id for the application.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:208:17: warning: instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' of protocol 'WKNavigationDelegate'
206 |
207 | // MARK: Request
208 | public func webView(
| |- warning: instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' of protocol 'WKNavigationDelegate'
| |- note: candidate has non-matching type '(WKWebView, WKNavigationAction, WKWebpagePreferences, @escaping (WKNavigationActionPolicy, WKWebpagePreferences) -> Void) -> ()'
| `- note: move 'webView(_:decidePolicyFor:preferences:decisionHandler:)' to another extension to silence this warning
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.15, *)
3 | @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, preferences: WKWebpagePreferences, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy, WKWebpagePreferences) -> Void)}
| `- note: requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:240:17: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
238 |
239 | // MARK: Response
240 | public func webView(
| |- warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
| |- note: candidate has non-matching type '(WKWebView, WKNavigationResponse, @escaping (WKNavigationResponsePolicy) -> Void) -> ()'
| `- note: move 'webView(_:decidePolicyFor:decisionHandler:)' to another extension to silence this warning
241 | _ webView: WKWebView,
242 | decidePolicyFor navigationResponse: WKNavigationResponse,
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
| `- note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:61:24: warning: static property 'allLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | private static var allLocks: [Self] = []
| |- warning: static property 'allLocks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allLocks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allLocks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | private static let lockDirectory: String? = {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:69:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
67 | // MARK: - Locks -
68 |
69 | public static let general = Self(name: "general")
| |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:70:23: warning: static property 'player' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
68 |
69 | public static let general = Self(name: "general")
70 | public static let player = Self(name: "player")
| |- warning: static property 'player' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'player' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:71:23: warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
69 | public static let general = Self(name: "general")
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
| |- warning: static property 'library' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'library' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:72:23: warning: static property 'follow' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
70 | public static let player = Self(name: "player")
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
| |- warning: static property 'follow' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'follow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
74 | public static let redirectListener = Self(name: "redirectListener")
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:73:23: warning: static property 'rateLimitedError' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
71 | public static let library = Self(name: "library")
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
| |- warning: static property 'rateLimitedError' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rateLimitedError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let redirectListener = Self(name: "redirectListener")
75 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/DistributedLock.swift:74:23: warning: static property 'redirectListener' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #endif
19 |
20 | public struct DistributedLock {
| `- note: consider making struct 'DistributedLock' conform to the 'Sendable' protocol
21 |
22 | /// Releases all distributed locks by deleting the files that they are
:
72 | public static let follow = Self(name: "follow")
73 | public static let rateLimitedError = Self(name: "rateLimitedError")
74 | public static let redirectListener = Self(name: "redirectListener")
| |- warning: static property 'redirectListener' is not concurrency-safe because non-'Sendable' type 'DistributedLock' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'redirectListener' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | // MARK: - Instance Members -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:72:16: warning: static property 'playlistScopes' is not concurrency-safe because non-'Sendable' type 'Set<Scope>' may have shared mutable state; this is an error in the Swift 6 language mode
70 | * `Scope.ugcImageUpload` (required for uploading an image to a playlist)
71 | */
72 | static let playlistScopes: Set<Scope> = [
| `- warning: static property 'playlistScopes' is not concurrency-safe because non-'Sendable' type 'Set<Scope>' may have shared mutable state; this is an error in the Swift 6 language mode
73 | .playlistReadCollaborative,
74 | .playlistModifyPublic,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/Authorization/AuthorizationScopes.swift:12:13: note: enum 'Scope' does not conform to the 'Sendable' protocol
10 | [1]: https://developer.spotify.com/documentation/general/guides/authorization/scopes/
11 | */
12 | public enum Scope: String, Codable, Hashable {
| `- note: enum 'Scope' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: Images
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:12:11: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
10 |
11 | import XCTest
12 | @testable import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
13 |
14 | #if canImport(AppKit)
:
70 | * `Scope.ugcImageUpload` (required for uploading an image to a playlist)
71 | */
72 | static let playlistScopes: Set<Scope> = [
| |- note: add '@MainActor' to make static property 'playlistScopes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | .playlistReadCollaborative,
74 | .playlistModifyPublic,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/MiscellaneousUtilities.swift:112:16: warning: static property '__defaultNetworkAdaptor' is not concurrency-safe because non-'Sendable' type '(URLRequest) -> AnyPublisher<(data: Data, response: HTTPURLResponse), any Error>' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 |
112 | static let __defaultNetworkAdaptor: (
| |- warning: static property '__defaultNetworkAdaptor' is not concurrency-safe because non-'Sendable' type '(URLRequest) -> AnyPublisher<(data: Data, response: HTTPURLResponse), any Error>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '__defaultNetworkAdaptor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | URLRequest
114 | ) -> AnyPublisher<(data: Data, response: HTTPURLResponse), Error> = { request in
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/NetworkAdaptor.swift:23:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkAdaptorManager' may have shared mutable state; this is an error in the Swift 6 language mode
19 | @testable import SpotifyWebAPI
20 |
21 | public final class NetworkAdaptorManager {
| `- note: class 'NetworkAdaptorManager' does not conform to the 'Sendable' protocol
22 |
23 | public static let shared = NetworkAdaptorManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkAdaptorManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | #if TEST
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:16:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| `- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | authorizationManager: AuthorizationCodeFlowManager(
18 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
8 | import OpenCombineFoundation
9 | #endif
10 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
11 |
12 | // MARK: Client
:
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | authorizationManager: AuthorizationCodeFlowManager(
18 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift:31:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// A shared instance used for testing purposes.
31 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | authorizationManager: AuthorizationCodeFlowBackendManager(
33 | backend: AuthorizationCodeFlowProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:16:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEManager>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| `- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEManager>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | authorizationManager: AuthorizationCodeFlowPKCEManager(
18 | clientId: spotifyCredentials.clientId
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
8 | import OpenCombineFoundation
9 | #endif
10 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
11 |
12 | // MARK: Client
:
14 |
15 | /// A shared instance used for testing purposes.
16 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | authorizationManager: AuthorizationCodeFlowPKCEManager(
18 | clientId: spotifyCredentials.clientId
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift:30:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A shared instance used for testing purposes.
30 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | authorizationManager: AuthorizationCodeFlowPKCEBackendManager(
32 | backend: AuthorizationCodeFlowPKCEProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/ClientCredentialsFlowExtensions.swift:15:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<ClientCredentialsFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// A shared instance used for testing purposes.
15 | static let sharedTest = SpotifyAPI(
| `- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<ClientCredentialsFlowManager>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | authorizationManager: ClientCredentialsFlowManager(
17 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/ClientCredentialsFlowExtensions.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
7 | import OpenCombineFoundation
8 | #endif
9 | import SpotifyWebAPI
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SpotifyWebAPI'
10 |
11 | // MARK: Client
:
13 |
14 | /// A shared instance used for testing purposes.
15 | static let sharedTest = SpotifyAPI(
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | authorizationManager: ClientCredentialsFlowManager(
17 | clientId: spotifyCredentials.clientId,
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/ClientCredentialsFlowExtensions.swift:30:16: warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<ClientCredentialsFlowBackendManager<ClientCredentialsFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// A shared instance used for testing purposes.
30 | static let sharedTest = SpotifyAPI(
| |- warning: static property 'sharedTest' is not concurrency-safe because non-'Sendable' type 'SpotifyAPI<ClientCredentialsFlowBackendManager<ClientCredentialsFlowProxyBackend>>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedTest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | authorizationManager: ClientCredentialsFlowBackendManager(
32 | backend: ClientCredentialsFlowProxyBackend(
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/API/SpotifyAPI.swift:37:14: note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
35 | [1]: https://developer.spotify.com/documentation/web-api/reference/
36 | */
37 | public class SpotifyAPI<AuthorizationManager: SpotifyAuthorizationManager>: Codable {
| `- note: generic class 'SpotifyAPI' does not conform to the 'Sendable' protocol
38 |
39 | // MARK: - Authorization -
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:25:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | {
24 |
25 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | SpotifyAPI<ClientCredentialsFlowManager>.sharedTest
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:28:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | SpotifyAPI<ClientCredentialsFlowManager>.sharedTest
27 |
28 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:75:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | {
74 |
75 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | SpotifyAPI<AuthorizationCodeFlowManager>.sharedTest
77 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:78:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | SpotifyAPI<AuthorizationCodeFlowManager>.sharedTest
77 |
78 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:131:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
129 | {
130 |
131 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | SpotifyAPI<AuthorizationCodeFlowPKCEManager>.sharedTest
133 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift:134:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 | SpotifyAPI<AuthorizationCodeFlowPKCEManager>.sharedTest
133 |
134 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIProxyBaseTestClasses.swift:26:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | {
25 |
26 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | SpotifyAPI<ClientCredentialsFlowBackendManager<ClientCredentialsFlowProxyBackend>>.sharedTest
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIProxyBaseTestClasses.swift:29:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | SpotifyAPI<ClientCredentialsFlowBackendManager<ClientCredentialsFlowProxyBackend>>.sharedTest
28 |
29 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIProxyBaseTestClasses.swift:77:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 | {
76 |
77 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>.sharedTest
79 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIProxyBaseTestClasses.swift:80:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | SpotifyAPI<AuthorizationCodeFlowBackendManager<AuthorizationCodeFlowProxyBackend>>.sharedTest
79 |
80 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIProxyBaseTestClasses.swift:134:23: warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 | SpotifyAPITestCase, SpotifyAPITests
133 | {
134 | public static var spotify =
| |- warning: static property 'spotify' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'spotify' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'spotify' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>.sharedTest
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPI Utilities/SpotifyAPIProxyBaseTestClasses.swift:137:23: warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 | SpotifyAPI<AuthorizationCodeFlowPKCEBackendManager<AuthorizationCodeFlowPKCEProxyBackend>>.sharedTest
136 |
137 | public static var cancellables: Set<AnyCancellable> = []
| |- warning: static property 'cancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cancellables' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | /// If you only need to setup the authorization, override
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:12:23: warning: static property 'isRegisteredAsObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public class SpotifyTestObserver: NSObject, XCTestObservation {
11 |
12 | public static var isRegisteredAsObserver = false
| |- warning: static property 'isRegisteredAsObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isRegisteredAsObserver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isRegisteredAsObserver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func testBundleWillStart(_ testBundle: Bundle) {
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:130:23: warning: static property 'failingTests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 | open class SpotifyAPITestCase: XCTestCase {
129 |
130 | public static var failingTests: [String] = []
| |- warning: static property 'failingTests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failingTests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failingTests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |
132 | /// The file that issues will be logged to during tests.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/SpotifyAPITestCase.swift:134:46: warning: reference to static property 'dataDumpFolder' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | /// The file that issues will be logged to during tests.
133 | public static let logFile: URL? = {
134 | if let folder = SpotifyDecodingError.dataDumpFolder {
| `- warning: reference to static property 'dataDumpFolder' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | let dateString = DateFormatter
136 | .millisecondsTime.string(from: Date())
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyWebAPI/Errors/SpotifyDecodingError.swift:35:23: note: static property declared here
33 | [1]: https://jsoneditoronline.org
34 | */
35 | public static var dataDumpFolder: URL? = {
| `- note: static property declared here
36 |
37 | let environment = ProcessInfo.processInfo.environment
[856/857] Compiling SpotifyAPITestUtilities SeleniumBrowserAuthorizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:208:17: warning: instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' of protocol 'WKNavigationDelegate'
206 |
207 | // MARK: Request
208 | public func webView(
| |- warning: instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' of protocol 'WKNavigationDelegate'
| |- note: candidate has non-matching type '(WKWebView, WKNavigationAction, WKWebpagePreferences, @escaping (WKNavigationActionPolicy, WKWebpagePreferences) -> Void) -> ()'
| `- note: move 'webView(_:decidePolicyFor:preferences:decisionHandler:)' to another extension to silence this warning
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.15, *)
3 | @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, preferences: WKWebpagePreferences, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy, WKWebpagePreferences) -> Void)}
| `- note: requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:240:17: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
238 |
239 | // MARK: Response
240 | public func webView(
| |- warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
| |- note: candidate has non-matching type '(WKWebView, WKNavigationResponse, @escaping (WKNavigationResponsePolicy) -> Void) -> ()'
| `- note: move 'webView(_:decidePolicyFor:decisionHandler:)' to another extension to silence this warning
241 | _ webView: WKWebView,
242 | decidePolicyFor navigationResponse: WKNavigationResponse,
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
| `- note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:35:29: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | ) {
34 |
35 | let configuration = WKWebViewConfiguration()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |
65 | + (void)initialize;
66 | - (instancetype)init
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
68 | NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:36:23: warning: main actor-isolated property 'websiteDataStore' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 |
35 | let configuration = WKWebViewConfiguration()
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
| `- warning: main actor-isolated property 'websiteDataStore' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
38 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:126:51: note: mutation of this property is only permitted within the actor
124 | /*! @abstract The website data store to be used by the web view.
125 | */
126 | @property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore API_AVAILABLE(macos(10.11), ios(9.0));
| `- note: mutation of this property is only permitted within the actor
127 |
128 | /*! @abstract A Boolean value indicating whether the web view suppresses
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:36:61: warning: call to main actor-isolated class method 'nonPersistent()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |
35 | let configuration = WKWebViewConfiguration()
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
| `- warning: call to main actor-isolated class method 'nonPersistent()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
38 |
WebKit.WKWebsiteDataStore.nonPersistent:2:28: note: calls to class method 'nonPersistent()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func nonPersistent() -> WKWebsiteDataStore}
| `- note: calls to class method 'nonPersistent()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:37:24: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | let configuration = WKWebViewConfiguration()
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 |
39 | self.button = button
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:114:1: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
112 | on the web view.
113 | */
114 | - (instancetype)initWithFrame:(CGRect)frame configuration:(WKWebViewConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
| `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
115 |
116 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:43:22: warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
41 | self.authorizationURL = authorizationURL
42 | super.init()
43 | self.webView.navigationDelegate = self
| `- warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:94:65: note: mutation of this property is only permitted within the actor
92 |
93 | /*! @abstract The web view's navigation delegate. */
94 | @property (nullable, nonatomic, weak) id <WKNavigationDelegate> navigationDelegate;
| `- note: mutation of this property is only permitted within the actor
95 |
96 | /*! @abstract The web view's user interface delegate. */
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:74:14: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
72 |
73 | let wkCookieJar = self.webView.configuration.websiteDataStore
74 | .httpCookieStore
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 |
76 | self.setCookieDispatchGroup.enter()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:73:54: warning: main actor-isolated property 'websiteDataStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
71 | }
72 |
73 | let wkCookieJar = self.webView.configuration.websiteDataStore
| `- warning: main actor-isolated property 'websiteDataStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | .httpCookieStore
75 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:126:51: note: property declared here
124 | /*! @abstract The website data store to be used by the web view.
125 | */
126 | @property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore API_AVAILABLE(macos(10.11), ios(9.0));
| `- note: property declared here
127 |
128 | /*! @abstract A Boolean value indicating whether the web view suppresses
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:73:40: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
71 | }
72 |
73 | let wkCookieJar = self.webView.configuration.websiteDataStore
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | .httpCookieStore
75 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
89 | /*! @abstract A copy of the configuration with which the web view was
90 | initialized. */
91 | @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
| `- note: property declared here
92 |
93 | /*! @abstract The web view's navigation delegate. */
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:77:21: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
75 |
76 | self.setCookieDispatchGroup.enter()
77 | wkCookieJar.setCookie(cookie) {
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | print("wkCookieJar did set cookie: \(cookie.name)")
79 | wkCookieJar.getAllCookies { cookies in
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:116:22: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 |
110 | func loadAuthorizationURL() {
| `- note: add '@MainActor' to make instance method 'loadAuthorizationURL()' part of global actor 'MainActor'
111 |
112 | self.didReceiveRedirect = false
:
114 | // ensure the cookie is set before loading the authorization URL
115 | let request = URLRequest(url: self.authorizationURL)
116 | self.webView.load(request)
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | print(
118 | """
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:215:36: warning: main actor-isolated property 'request' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | // MARK: Request
208 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' part of global actor 'MainActor'
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
:
213 | ) {
214 |
215 | let url = navigationAction.request.url!
| `- warning: main actor-isolated property 'request' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
216 |
217 | print("preference navigationAction request: \(url)")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationAction.h:78:53: note: property declared here
76 | /*! @abstract The navigation's request.
77 | */
78 | @property (nonatomic, readonly, copy) NSURLRequest *request;
| `- note: property declared here
79 |
80 | /*! @abstract A value indicating whether the web content used a download attribute to indicate that this should be downloaded.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:230:39: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | // MARK: Request
208 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' part of global actor 'MainActor'
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
:
228 | self.didReceiveRedirect = true
229 | self.redirectURIWithQuery = url
230 | decisionHandler(.cancel, .init())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
231 | CFRunLoopStop(CFRunLoopGetMain())
232 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |
65 | + (void)initialize;
66 | - (instancetype)init
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
68 | NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:234:38: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | // MARK: Request
208 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' part of global actor 'MainActor'
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
:
232 | }
233 | else {
234 | decisionHandler(.allow, .init())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
235 | }
236 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |
65 | + (void)initialize;
66 | - (instancetype)init
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
68 | NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:246:46: warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | // MARK: Response
240 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:decisionHandler:)' part of global actor 'MainActor'
241 | _ webView: WKWebView,
242 | decidePolicyFor navigationResponse: WKNavigationResponse,
:
244 | ) {
245 |
246 | let statusCode = (navigationResponse.response as! HTTPURLResponse)
| `- warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 | .statusCode
248 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h:46:54: note: property declared here
44 | /*! @abstract The frame's response.
45 | */
46 | @property (nonatomic, readonly, copy) NSURLResponse *response;
| `- note: property declared here
47 |
48 | /*! @abstract A Boolean value indicating whether WebKit can display the response's MIME type natively.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:249:38: warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | // MARK: Response
240 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:decisionHandler:)' part of global actor 'MainActor'
241 | _ webView: WKWebView,
242 | decidePolicyFor navigationResponse: WKNavigationResponse,
:
247 | .statusCode
248 |
249 | let url = navigationResponse.response.url?.absoluteString ?? "nil"
| `- warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
250 | print(
251 | """
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h:46:54: note: property declared here
44 | /*! @abstract The frame's response.
45 | */
46 | @property (nonatomic, readonly, copy) NSURLResponse *response;
| `- note: property declared here
47 |
48 | /*! @abstract A Boolean value indicating whether WebKit can display the response's MIME type natively.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:85:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
83 | }
84 | print("--------------------------------------\n")
85 | self.setCookieDispatchGroup.leave()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 | }
87 | }
[857/857] Compiling SpotifyAPITestUtilities WebKitBrowserAuthorizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:208:17: warning: instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' of protocol 'WKNavigationDelegate'
206 |
207 | // MARK: Request
208 | public func webView(
| |- warning: instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' of protocol 'WKNavigationDelegate'
| |- note: candidate has non-matching type '(WKWebView, WKNavigationAction, WKWebpagePreferences, @escaping (WKNavigationActionPolicy, WKWebpagePreferences) -> Void) -> ()'
| `- note: move 'webView(_:decidePolicyFor:preferences:decisionHandler:)' to another extension to silence this warning
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.15, *)
3 | @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, preferences: WKWebpagePreferences, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy, WKWebpagePreferences) -> Void)}
| `- note: requirement 'webView(_:decidePolicyFor:preferences:decisionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:240:17: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
238 |
239 | // MARK: Response
240 | public func webView(
| |- warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
| |- note: candidate has non-matching type '(WKWebView, WKNavigationResponse, @escaping (WKNavigationResponsePolicy) -> Void) -> ()'
| `- note: move 'webView(_:decidePolicyFor:decisionHandler:)' to another extension to silence this warning
241 | _ webView: WKWebView,
242 | decidePolicyFor navigationResponse: WKNavigationResponse,
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
| `- note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:35:29: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | ) {
34 |
35 | let configuration = WKWebViewConfiguration()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |
65 | + (void)initialize;
66 | - (instancetype)init
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
68 | NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:36:23: warning: main actor-isolated property 'websiteDataStore' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 |
35 | let configuration = WKWebViewConfiguration()
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
| `- warning: main actor-isolated property 'websiteDataStore' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
38 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:126:51: note: mutation of this property is only permitted within the actor
124 | /*! @abstract The website data store to be used by the web view.
125 | */
126 | @property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore API_AVAILABLE(macos(10.11), ios(9.0));
| `- note: mutation of this property is only permitted within the actor
127 |
128 | /*! @abstract A Boolean value indicating whether the web view suppresses
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:36:61: warning: call to main actor-isolated class method 'nonPersistent()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |
35 | let configuration = WKWebViewConfiguration()
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
| `- warning: call to main actor-isolated class method 'nonPersistent()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
38 |
WebKit.WKWebsiteDataStore.nonPersistent:2:28: note: calls to class method 'nonPersistent()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func nonPersistent() -> WKWebsiteDataStore}
| `- note: calls to class method 'nonPersistent()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:37:24: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | let configuration = WKWebViewConfiguration()
36 | configuration.websiteDataStore = WKWebsiteDataStore.nonPersistent()
37 | self.webView = WKWebView(frame: .zero, configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 |
39 | self.button = button
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:114:1: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
112 | on the web view.
113 | */
114 | - (instancetype)initWithFrame:(CGRect)frame configuration:(WKWebViewConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
| `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
115 |
116 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:43:22: warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
41 | self.authorizationURL = authorizationURL
42 | super.init()
43 | self.webView.navigationDelegate = self
| `- warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:94:65: note: mutation of this property is only permitted within the actor
92 |
93 | /*! @abstract The web view's navigation delegate. */
94 | @property (nullable, nonatomic, weak) id <WKNavigationDelegate> navigationDelegate;
| `- note: mutation of this property is only permitted within the actor
95 |
96 | /*! @abstract The web view's user interface delegate. */
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:74:14: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
72 |
73 | let wkCookieJar = self.webView.configuration.websiteDataStore
74 | .httpCookieStore
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 |
76 | self.setCookieDispatchGroup.enter()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:73:54: warning: main actor-isolated property 'websiteDataStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
71 | }
72 |
73 | let wkCookieJar = self.webView.configuration.websiteDataStore
| `- warning: main actor-isolated property 'websiteDataStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | .httpCookieStore
75 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:126:51: note: property declared here
124 | /*! @abstract The website data store to be used by the web view.
125 | */
126 | @property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore API_AVAILABLE(macos(10.11), ios(9.0));
| `- note: property declared here
127 |
128 | /*! @abstract A Boolean value indicating whether the web view suppresses
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:73:40: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
71 | }
72 |
73 | let wkCookieJar = self.webView.configuration.websiteDataStore
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | .httpCookieStore
75 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
89 | /*! @abstract A copy of the configuration with which the web view was
90 | initialized. */
91 | @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
| `- note: property declared here
92 |
93 | /*! @abstract The web view's navigation delegate. */
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:77:21: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | /// Returns `true` if the "SPOTIFY_DC" environment variable exists and the
48 | /// cookie can be created from it. Else, `false`.
49 | func configureCookies() -> Bool {
| `- note: add '@MainActor' to make instance method 'configureCookies()' part of global actor 'MainActor'
50 |
51 | guard let spotifyDCCookie = spotifyDCCookieValue else {
:
75 |
76 | self.setCookieDispatchGroup.enter()
77 | wkCookieJar.setCookie(cookie) {
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | print("wkCookieJar did set cookie: \(cookie.name)")
79 | wkCookieJar.getAllCookies { cookies in
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:116:22: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 | }
109 |
110 | func loadAuthorizationURL() {
| `- note: add '@MainActor' to make instance method 'loadAuthorizationURL()' part of global actor 'MainActor'
111 |
112 | self.didReceiveRedirect = false
:
114 | // ensure the cookie is set before loading the authorization URL
115 | let request = URLRequest(url: self.authorizationURL)
116 | self.webView.load(request)
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | print(
118 | """
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:215:36: warning: main actor-isolated property 'request' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | // MARK: Request
208 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' part of global actor 'MainActor'
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
:
213 | ) {
214 |
215 | let url = navigationAction.request.url!
| `- warning: main actor-isolated property 'request' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
216 |
217 | print("preference navigationAction request: \(url)")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationAction.h:78:53: note: property declared here
76 | /*! @abstract The navigation's request.
77 | */
78 | @property (nonatomic, readonly, copy) NSURLRequest *request;
| `- note: property declared here
79 |
80 | /*! @abstract A value indicating whether the web content used a download attribute to indicate that this should be downloaded.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:230:39: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | // MARK: Request
208 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' part of global actor 'MainActor'
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
:
228 | self.didReceiveRedirect = true
229 | self.redirectURIWithQuery = url
230 | decisionHandler(.cancel, .init())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
231 | CFRunLoopStop(CFRunLoopGetMain())
232 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |
65 | + (void)initialize;
66 | - (instancetype)init
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
68 | NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:234:38: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
206 |
207 | // MARK: Request
208 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:preferences:decisionHandler:)' part of global actor 'MainActor'
209 | _ webView: WKWebView,
210 | decidePolicyFor navigationAction: WKNavigationAction,
:
232 | }
233 | else {
234 | decisionHandler(.allow, .init())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
235 | }
236 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |
65 | + (void)initialize;
66 | - (instancetype)init
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
68 | NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:246:46: warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | // MARK: Response
240 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:decisionHandler:)' part of global actor 'MainActor'
241 | _ webView: WKWebView,
242 | decidePolicyFor navigationResponse: WKNavigationResponse,
:
244 | ) {
245 |
246 | let statusCode = (navigationResponse.response as! HTTPURLResponse)
| `- warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 | .statusCode
248 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h:46:54: note: property declared here
44 | /*! @abstract The frame's response.
45 | */
46 | @property (nonatomic, readonly, copy) NSURLResponse *response;
| `- note: property declared here
47 |
48 | /*! @abstract A Boolean value indicating whether WebKit can display the response's MIME type natively.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:249:38: warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 |
239 | // MARK: Response
240 | public func webView(
| `- note: add '@MainActor' to make instance method 'webView(_:decidePolicyFor:decisionHandler:)' part of global actor 'MainActor'
241 | _ webView: WKWebView,
242 | decidePolicyFor navigationResponse: WKNavigationResponse,
:
247 | .statusCode
248 |
249 | let url = navigationResponse.response.url?.absoluteString ?? "nil"
| `- warning: main actor-isolated property 'response' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
250 | print(
251 | """
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h:46:54: note: property declared here
44 | /*! @abstract The frame's response.
45 | */
46 | @property (nonatomic, readonly, copy) NSURLResponse *response;
| `- note: property declared here
47 |
48 | /*! @abstract A Boolean value indicating whether WebKit can display the response's MIME type natively.
/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Authorization/WebKitBrowserAuthorizer.swift:85:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
83 | }
84 | print("--------------------------------------\n")
85 | self.setCookieDispatchGroup.leave()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
86 | }
87 | }
Build complete! (43.65s)
Fetching https://github.com/OpenCombine/OpenCombine.git
Fetching https://github.com/Peter-Schorn/RegularExpressions.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-crypto.git from cache
Fetching https://github.com/apple/swift-log.git from cache
[1/733] Fetching regularexpressions
[82/9013] Fetching regularexpressions, opencombine
[186/11062] Fetching regularexpressions, opencombine, swift-docc-plugin
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (1.13s)
[1000/2782] Fetching regularexpressions, swift-docc-plugin
Fetched https://github.com/Peter-Schorn/RegularExpressions.git from cache (1.22s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.22s)
Fetched https://github.com/apple/swift-log.git from cache (1.22s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.22s)
Computing version for https://github.com/Peter-Schorn/RegularExpressions.git
Computed https://github.com/Peter-Schorn/RegularExpressions.git at 2.2.0 (1.80s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.57s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.52s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/Peter-Schorn/RegularExpressions.git
Working copy of https://github.com/Peter-Schorn/RegularExpressions.git resolved at 2.2.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "regularexpressions",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Peter-Schorn/RegularExpressions.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "opencombine",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OpenCombine/OpenCombine.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SpotifyAPI",
"name" : "SpotifyAPI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SpotifyAPI",
"targets" : [
"SpotifyWebAPI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpotifyExampleContent",
"targets" : [
"SpotifyExampleContent"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_SpotifyAPITestUtilities",
"targets" : [
"SpotifyAPITestUtilities"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpotifyWebAPI",
"module_type" : "SwiftTarget",
"name" : "SpotifyWebAPI",
"path" : "Sources/SpotifyWebAPI",
"product_dependencies" : [
"RegularExpressions",
"Logging",
"Crypto",
"OpenCombine",
"OpenCombineDispatch",
"OpenCombineFoundation"
],
"product_memberships" : [
"SpotifyAPI",
"SpotifyExampleContent",
"_SpotifyAPITestUtilities"
],
"sources" : [
"API/SpotifyAPI+Albums.swift",
"API/SpotifyAPI+Artists.swift",
"API/SpotifyAPI+Audiobooks.swift",
"API/SpotifyAPI+Browse.swift",
"API/SpotifyAPI+Episodes.swift",
"API/SpotifyAPI+Follow.swift",
"API/SpotifyAPI+Library.swift",
"API/SpotifyAPI+Markets.swift",
"API/SpotifyAPI+Personalization.swift",
"API/SpotifyAPI+Player.swift",
"API/SpotifyAPI+Playlists.swift",
"API/SpotifyAPI+Search.swift",
"API/SpotifyAPI+Shows.swift",
"API/SpotifyAPI+Tracks.swift",
"API/SpotifyAPI+UserProfile.swift",
"API/SpotifyAPI+Utilities.swift",
"API/SpotifyAPI+Wrappers.swift",
"API/SpotifyAPI.swift",
"Authorization/AuthorizationCodeFlowManager.swift",
"Authorization/AuthorizationCodeFlowManagerBase.swift",
"Authorization/AuthorizationCodeFlowPKCEManager.swift",
"Authorization/AuthorizationScopes.swift",
"Authorization/Backends/AuthorizationBackends.swift",
"Authorization/Backends/AuthorizationCodeFlowClientBackend.swift",
"Authorization/Backends/AuthorizationCodeFlowPKCEClientBackend.swift",
"Authorization/Backends/AuthorizationCodeFlowPKCEProxyBackend.swift",
"Authorization/Backends/AuthorizationCodeFlowProxyBackend.swift",
"Authorization/Backends/ClientCredentialsFlowClientBackend.swift",
"Authorization/Backends/ClientCredentialsFlowProxyBackend.swift",
"Authorization/ClientCredentialsFlowManager.swift",
"Authorization/SpotifyAuthorizationManager.swift",
"Authorization/SpotifyScopeAuthorizationManager.swift",
"Errors/RateLimitedError.swift",
"Errors/SpotifyAuthenticationError.swift",
"Errors/SpotifyAuthorizationError.swift",
"Errors/SpotifyDecodingError.swift",
"Errors/SpotifyError.swift",
"Errors/SpotifyGeneralError.swift",
"Errors/SpotifyPlayerError.swift",
"Object Model/Audio Analysis Objects/AudioAnalysis.swift",
"Object Model/Audio Analysis Objects/AudioFeatures.swift",
"Object Model/Audio Analysis Objects/Section.swift",
"Object Model/Audio Analysis Objects/Segment.swift",
"Object Model/Audio Analysis Objects/SpotifyTimeInterval.swift",
"Object Model/Audiobook Objects/Audiobook.swift",
"Object Model/Audiobook Objects/AudiobookAuthor.swift",
"Object Model/Audiobook Objects/AudiobookChapter.swift",
"Object Model/Authorization Objects/AuthInfo.swift",
"Object Model/Authorization Objects/ClientCredentialsTokensRequest.swift",
"Object Model/Authorization Objects/PKCERefreshTokensRequest.swift",
"Object Model/Authorization Objects/PKCETokensRequest.swift",
"Object Model/Authorization Objects/ProxyPKCERefreshTokensRequest.swift",
"Object Model/Authorization Objects/ProxyPKCETokensRequest.swift",
"Object Model/Authorization Objects/ProxyTokensRequest.swift",
"Object Model/Authorization Objects/RefreshTokensRequest.swift",
"Object Model/Authorization Objects/TokensRequest.swift",
"Object Model/Browse Objects/RecommendationSeed.swift",
"Object Model/Browse Objects/RecommendationsResponse.swift",
"Object Model/Music Objects/Album.swift",
"Object Model/Music Objects/Artist.swift",
"Object Model/Music Objects/Track.swift",
"Object Model/Other Spotify Objects/AlbumType.swift",
"Object Model/Other Spotify Objects/Copyright.swift",
"Object Model/Other Spotify Objects/CursorPagingObject.swift",
"Object Model/Other Spotify Objects/FeaturedPlaylists.swift",
"Object Model/Other Spotify Objects/Followers.swift",
"Object Model/Other Spotify Objects/NewAlbumReleases.swift",
"Object Model/Other Spotify Objects/PagingObject.swift",
"Object Model/Other Spotify Objects/SavedItem.swift",
"Object Model/Other Spotify Objects/SearchResult.swift",
"Object Model/Other Spotify Objects/SpotifyCategory.swift",
"Object Model/Other Spotify Objects/SpotifyCursor.swift",
"Object Model/Other Spotify Objects/SpotifyImage.swift",
"Object Model/Other Spotify Objects/SpotifyUser.swift",
"Object Model/Other Spotify Objects/TrackLink.swift",
"Object Model/Player Objects/CurrentlyPlayingContext.swift",
"Object Model/Player Objects/Device.swift",
"Object Model/Player Objects/DeviceType.swift",
"Object Model/Player Objects/PlayHistory.swift",
"Object Model/Player Objects/PlaybackActions.swift",
"Object Model/Player Objects/RepeatMode.swift",
"Object Model/Player Objects/ResumePoint.swift",
"Object Model/Player Objects/SpotifyContext.swift",
"Object Model/Player Objects/SpotifyQueue.swift",
"Object Model/Playlist Objects/Playlist.swift",
"Object Model/Playlist Objects/PlaylistItem.swift",
"Object Model/Playlist Objects/PlaylistItemContainer.swift",
"Object Model/Playlist Objects/PlaylistItemsReference.swift",
"Object Model/Podcast Objects/Episode.swift",
"Object Model/Podcast Objects/Show.swift",
"Object Model/Post Request Objects/Other Objects/AttributeRange.swift",
"Object Model/Post Request Objects/Other Objects/TimeRange.swift",
"Object Model/Post Request Objects/Other Objects/TrackAttributes.swift",
"Object Model/Post Request Objects/Player Objects/PlaybackRequest+Context.swift",
"Object Model/Post Request Objects/Player Objects/PlaybackRequest+Offset.swift",
"Object Model/Post Request Objects/Player Objects/PlaybackRequest.swift",
"Object Model/Post Request Objects/Player Objects/TimeReference.swift",
"Object Model/Post Request Objects/Player Objects/TransferPlaybackRequest.swift",
"Object Model/Post Request Objects/Playlist Objects/PlaylistDetails.swift",
"Object Model/Post Request Objects/Playlist Objects/ReorderPlaylistItems.swift",
"Object Model/Post Request Objects/Playlist Objects/URIsContainer.swift",
"Object Model/Post Request Objects/Playlist Objects/URIsDictWithInsertionIndex.swift",
"Object Model/TypeAliases.swift",
"Other/ApproximateEquality.swift",
"Other/ApproximatelyEquatable.swift",
"Other/AuthorizationManagerLoggers.swift",
"Other/CodingExtensions.swift",
"Other/DataExtensions.swift",
"Other/DateExtensions.swift",
"Other/DateFormatterExtensions.swift",
"Other/DebugHooks.swift",
"Other/Endpoints.swift",
"Other/Headers.swift",
"Other/IDCategory.swift",
"Other/LogHandler.swift",
"Other/MiscellaneousUtilities.swift",
"Other/Paginated.swift",
"Other/SpotifyIdentifier.swift",
"Other/SpotifyURIConvertible.swift",
"Other/StringExtensions.swift",
"Publisher Extensions/DelayedConditionalRetryPublisher.swift",
"Publisher Extensions/OtherPublisherExtensions.swift",
"Publisher Extensions/SpotifyObjectDecoding.swift",
"URLExtensions/URLComponentsExtensions.swift",
"URLExtensions/URLExtensions.swift",
"URLExtensions/URLQueryItemExtensions.swift",
"URLExtensions/URLSessionWrappers.swift"
],
"type" : "library"
},
{
"c99name" : "SpotifyExampleContent",
"module_type" : "SwiftTarget",
"name" : "SpotifyExampleContent",
"path" : "Sources/SpotifyExampleContent",
"product_memberships" : [
"SpotifyExampleContent",
"_SpotifyAPITestUtilities"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Albums/Abbey Road - Album.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Albums/Dark Side Of The Moon - Album.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Albums/In Rainbows - Album.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Albums/Jinx - Album.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Albums/Jinx - PagingObject<Track>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Albums/Meddle - Album.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Albums/Skiptracing - Album.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Artists/Crumb - Artist.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Artists/Levitation Room - Artist.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Artists/Pink Floyd - Artist.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Artists/Radiohead - Artist.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Artists/Skinshape - Artist.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Artists/The Beatles - Artist.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audiobooks/Enlightenment Now - Audiobook.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audiobooks/Enlightenment Now Chapter 3 - AudiobookChapter.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audiobooks/Free Will - Audiobook.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audiobooks/Free Will Chapter 1 - AudiobookChapter.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audiobooks/Harry Potter and the Sorcerer's Stone - Audiobook.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audiobooks/Steve Jobs Chapter 1 - AudiobookChapter.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audo Analysis/Any Colour You Like - AudioAnalysis.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Audo Analysis/Fearless - AudioFeatures.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Browse/Category Playlists - PagingObject<Playlist<PlaylistItemsReference>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Browse/Featured Playlists - FeaturedPlaylists.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Browse/categories - SpotifyCategory.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Episodes/Sam Harris 213 - Episode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Episodes/Sam Harris 214 - Episode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Episodes/Sam Harris 215 - Episode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Episodes/Sean Carroll 111 - Episode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Episodes/Sean Carroll 112 - Episode.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Images/Annabelle Compressed.jpeg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Images/Annabelle Large.jpeg",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Library/Current User Saved Albums - PagingObject<SavedItem<Album>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Player/Current Playback - CurrentlyPlayingContext.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Player/Queue - SpotifyQueue.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Player/Recently Played - CursorPagingObject<PlayHistory>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/PlaylistItems/#1536 - Edward Snowden - PlaylistItem.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/PlaylistItems/#1537 - Lex Fridman - PlaylistItem.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/PlaylistItems/#216 — September 3, 2020 - PlaylistItem.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/PlaylistItems/#217 — The New Religion of Anti-Racism - PlaylistItem.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/PlaylistItems/Echoes - Acoustic Version - PlaylistItem.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/PlaylistItems/Hans Zimmer & Radiohead - Ocean Bloom (full song HQ) - PlaylistItem.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/PlaylistItems/Killshot - PlaylistItem.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/Blues Classics - PagingObject<PlaylistItemContainer<Track>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/Crumb - Playlist<PagingObject<PlaylistItemContainer<PlaylistItem>>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/Local Songs - Playlist<PagingObject<PlaylistItemContainer<PlaylistItem>>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/Lucy in the sky with diamonds - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/Men I Trust - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/Modern Psychedelia - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/Rock Classics - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This Is King Gizzard & The Lizard Wizard - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This Is MF DOOM - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This Is Mild High Club - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This Is Radiohead - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This Is Sonic Youth - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This Is Spoon - PagingObject<PlaylistItemContainer<Track>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This is Jimi Hendrix - PagingObject<PlaylistItemContainer<Track>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This is Mac DeMarco - PagingObject<PlaylistItemContainer<Track>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This is Pink Floyd - PagingObject<PlaylistItemContainer<Track>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This is Skinshape - Playlist<PlaylistItemsReference>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Playlists/This is Stevie Ray Vaughan - PagingObject<PlaylistItemContainer<PlaylistItem>>.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Search/Search for 'Crumb' - SearchResult.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Shows/Joe Rogan - Show.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Shows/Sam Harris - Show.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Shows/Sean Carroll - Show.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/Because - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/Come Together - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/Faces - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/Ill Wind - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/Ode To Viceroy - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/Reckoner - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/The End - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/Tracks/Time - Track.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyExampleContent/Resources/User Profile/Current User Profile - SpotifyUser.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ExampleAlbums.swift",
"ExampleArtists.swift",
"ExampleAudioAnalysis.swift",
"ExampleAudioFeatures.swift",
"ExampleAudiobooks.swift",
"ExampleBrowse.swift",
"ExampleEpisodes.swift",
"ExampleLibrary.swift",
"ExamplePlayer.swift",
"ExamplePlaylistItems.swift",
"ExamplePlaylists.swift",
"ExampleSearch.swift",
"ExampleShows.swift",
"ExampleTracks.swift",
"ExampleUserProfile.swift",
"ImageAssets.swift",
"URIs.swift",
"Utilities.swift"
],
"target_dependencies" : [
"SpotifyWebAPI"
],
"type" : "library"
},
{
"c99name" : "SpotifyAPITestUtilities",
"module_type" : "SwiftTarget",
"name" : "SpotifyAPITestUtilities",
"path" : "Sources/SpotifyAPITestUtilities",
"product_dependencies" : [
"RegularExpressions",
"OpenCombine",
"OpenCombineDispatch",
"OpenCombineFoundation"
],
"product_memberships" : [
"_SpotifyAPITestUtilities"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Resources/requirements.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SpotifyAPITestUtilities/Resources/spotify_api_authorizer.py",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Authorization/AuthorizationConstants.swift",
"Authorization/RedirectListener.swift",
"Authorization/SeleniumBrowserAuthorizer.swift",
"Authorization/WebKitBrowserAuthorizer.swift",
"Authorization/openAuthorizationURL.swift",
"CodingExtensions.swift",
"CombineTestUtilities.swift",
"DistributedLock.swift",
"MiscellaneousUtilities.swift",
"NetworkAdaptor.swift",
"SpotifyAPI Utilities/AuthorizationCodeFlowExtensions.swift",
"SpotifyAPI Utilities/AuthorizationCodeFlowPKCEExtensions.swift",
"SpotifyAPI Utilities/ClientCredentialsFlowExtensions.swift",
"SpotifyAPI Utilities/SpotifyAPIClientBaseTestClasses.swift",
"SpotifyAPI Utilities/SpotifyAPIExtensions.swift",
"SpotifyAPI Utilities/SpotifyAPIProxyBaseTestClasses.swift",
"SpotifyAPI Utilities/SpotifyAPITests.swift",
"SpotifyAPITestCase.swift"
],
"target_dependencies" : [
"SpotifyWebAPI",
"SpotifyExampleContent"
],
"type" : "library"
},
{
"c99name" : "SpotifyAPIMainTests",
"module_type" : "SwiftTarget",
"name" : "SpotifyAPIMainTests",
"path" : "Tests/SpotifyAPIMainTests",
"product_dependencies" : [
"RegularExpressions"
],
"sources" : [
"API Tests/SpoifyAPIArtistTests.swift",
"API Tests/SpotifyAPIAlbumsTests.swift",
"API Tests/SpotifyAPIAudiobookTests.swift",
"API Tests/SpotifyAPIBrowseTests.swift",
"API Tests/SpotifyAPIEpisodeTests.swift",
"API Tests/SpotifyAPIErrorTests.swift",
"API Tests/SpotifyAPIFollowTests.swift",
"API Tests/SpotifyAPILibraryTests.swift",
"API Tests/SpotifyAPIMarketTests.swift",
"API Tests/SpotifyAPIPersonalizationTests.swift",
"API Tests/SpotifyAPIPlayerTests.swift",
"API Tests/SpotifyAPIPlaylistsTests.swift",
"API Tests/SpotifyAPISearchTests.swift",
"API Tests/SpotifyAPIShowTests.swift",
"API Tests/SpotifyAPITrackTests.swift",
"API Tests/SpotifyAPIUserProfileTests.swift",
"Authorization Tests/SpotifyAPIAuthorizationCodeFlowAuthorizationTests.swift",
"Authorization Tests/SpotifyAPIAuthorizationCodeFlowPKCEAuthorizationTests.swift",
"Authorization Tests/SpotifyAPIAuthorizationTests.swift",
"Authorization Tests/SpotifyAPIClientCredentialsFlowAuthorizationTests.swift",
"Authorization Tests/SpotifyAPIInsufficientScopeTests.swift",
"Authorization Tests/SpotifyAPIRefreshTokensConcurrentTests.swift",
"Coding Tests/Authorization Objects/CodingAuthInfoTests.swift",
"Coding Tests/Authorization Objects/CodingAuthorizationCodeFlowManagerTests.swift",
"Coding Tests/Authorization Objects/CodingAuthorizationCodeFlowPKCEManagerTests.swift",
"Coding Tests/Authorization Objects/CodingClientCredentialsFlowManagerTests.swift",
"Coding Tests/CodingCurrentlyPlayingContextTests.swift",
"Coding Tests/CodingPlaybackRequestTests.swift",
"Coding Tests/CodingSpotifyUserTests.swift",
"Coding Tests/CodingTimeReferenceTests.swift",
"Coding Tests/CodingTrackAttributesTests.swift",
"Coding Tests/CursorPagingObjectPlayHistoryCodingTests.swift",
"Coding Tests/SpotifyPlayerErrorCodingTests.swift",
"Documentation Tests/GetAvailableDeviceThenPlayDocumentationTest.swift",
"Documentation Tests/MiscellaneousDocumentationTests.swift",
"Documentation Tests/PaginationArticleCompilationTests.swift",
"Documentation Tests/PlaylistMappingDocumentationCompilationTests.swift",
"Documentation Tests/READMEExamplesCompilationTests.swift",
"Documentation Tests/SpotifyObservableCompilationTests.swift",
"Other Tests/AuthorizationScopesTests.swift",
"Other Tests/ExampleContentTests.swift",
"Other Tests/RepeatModeTests.swift",
"Other Tests/SpotifyIdentifierTests.swift",
"Test Utilities/FilteredPlaylist.swift",
"Test Utilities/FilteredPlaylistItems.swift"
],
"target_dependencies" : [
"SpotifyWebAPI",
"SpotifyExampleContent",
"SpotifyAPITestUtilities"
],
"type" : "test"
}
],
"tools_version" : "5.6"
}
Done.