Build Information
Successful build of SwiftKit, reference master (0acd06
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 15:37:22 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[105/123] Compiling SwiftKit StandardDirectoryService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[106/123] Compiling SwiftKit CLLocationCoordinate2D+Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[107/123] Compiling SwiftKit CLLocationCoordinate2D+Map.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[108/123] Compiling SwiftKit CLLocationCoordinate2D+Valid.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[109/123] Compiling SwiftKit WorldCoordinate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[110/123] Compiling SwiftKit KeychainItemAccessibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[111/123] Compiling SwiftKit KeychainReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/CLLocationCoordinate2D+Equatable.swift:11:1: warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
9 | import CoreLocation
10 |
11 | extension CLLocationCoordinate2D: Equatable {
| |- warning: extension declares a conformance of imported type 'CLLocationCoordinate2D' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CoreLocation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | public static func == (lhs: CLLocationCoordinate2D, rhs: CLLocationCoordinate2D) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:40:16: warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | public extension WorldCoordinate {
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
| |- warning: static property 'manhattan' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'manhattan' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'manhattan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:41:16: warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
| |- warning: static property 'newYork' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newYork' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'newYork' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:42:16: warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | static var manhattan: WorldCoordinate = .init(name: "Manhattan", coordinate: CLLocationCoordinate2D(latitude: 40.7590615, longitude: -73.969231))
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
| |- warning: static property 'sanFrancisco' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sanFrancisco' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sanFrancisco' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Geo/WorldCoordinate.swift:43:16: warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | static var newYork: WorldCoordinate = .init(name: "New York", coordinate: CLLocationCoordinate2D(latitude: 40.7033127, longitude: -73.979681))
42 | static var sanFrancisco: WorldCoordinate = .init(name: "San Francisco", coordinate: CLLocationCoordinate2D(latitude: 37.7796828, longitude: -122.4000062))
43 | static var tokyo: WorldCoordinate = .init(name: "Tokyo", coordinate: CLLocationCoordinate2D(latitude: 35.673, longitude: 139.710))
| |- warning: static property 'tokyo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tokyo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tokyo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:62:13: warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
46 | only mean to use when the application is active.
47 | */
48 | public enum KeychainItemAccessibility {
| `- note: consider making enum 'KeychainItemAccessibility' conform to the 'Sendable' protocol
49 |
50 | case afterFirstUnlock
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| `- warning: let 'keychainItemAccessibilityLookup' is not concurrency-safe because non-'Sendable' type '[KeychainItemAccessibility : CFString]' may have shared mutable state; this is an error in the Swift 6 language mode
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Keychain/KeychainItemAccessibility.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | // Copyright © 2016 Jason Rendel. All rights reserved.
11 |
12 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
13 |
14 |
:
60 |
61 |
62 | private let keychainItemAccessibilityLookup: [KeychainItemAccessibility: CFString] = [
| |- note: annotate 'keychainItemAccessibilityLookup' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | .afterFirstUnlock: kSecAttrAccessibleAfterFirstUnlock,
64 | .afterFirstUnlockThisDeviceOnly: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly,
[112/123] Compiling SwiftKit ApiService.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[113/123] Compiling SwiftKit ApiTypes.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[114/123] Compiling SwiftKit HttpMethod.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[115/123] Compiling SwiftKit StandardStoreService.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[116/123] Compiling SwiftKit StoreContext+Products.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[117/123] Compiling SwiftKit StoreContext.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[118/123] Compiling SwiftKit StoreService.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[119/123] Compiling SwiftKit StoreServiceError.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[120/123] Compiling SwiftKit Transaction+Valid.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[121/123] Compiling SwiftKit StandardiCloudDocumenSync.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[122/123] Compiling SwiftKit URL+iCloud.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
[123/123] Compiling SwiftKit iCloudDocumentSync.swift
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:24: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:56:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
54 | let failure = ApiResult<Model.LocalModel>.failure(apiError)
55 | guard error == nil, let response = httpResponse else {
56 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | let statusCode = response.statusCode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:60:46: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
58 | let statusCode = response.statusCode
59 | guard statusCode >= 200, statusCode < 300 else {
60 | return self.completeOnMain { completion(failure) }
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | }
62 | guard let data = data else { return completion(failure) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:67:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
65 | let result = try decoder.decode(Model.self, from: data)
66 | self.completeOnMain {
67 | completion(.success(result.convert()))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | }
69 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:71:21: warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
69 | } catch {
70 | self.completeOnMain {
71 | completion(.failure(ApiError.invalidData(data, response, error)))
| |- warning: capture of 'completion' with non-sendable type 'ApiCompletion<Model.LocalModel>' (aka '(Result<Model.LocalModel, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: capture of 'completion' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/Network/ApiService.swift:105:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
103 | func completeOnMain(_ completion: @escaping () -> Void) {
104 | DispatchQueue.main.async {
105 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:63:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |
62 | func getTransactionListenerTask() -> Task<Void, Error> {
63 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 | for await result in Transaction.updates {
65 | do {
66 | try await self.handleTransaction(result)
| `- note: closure captures 'self' which is accessible to code in the current task
67 | } catch {
68 | print("Transaction listener error: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:82:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 | func handleTransaction(_ result: VerificationResult<Transaction>) async throws {
81 | let transaction = try verifyTransaction(result)
82 | await updateContext(with: transaction)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
83 | await transaction.finish()
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:93:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
91 | }
92 | }
93 | await updateContext(with: transactions)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/_Deprecated/StoreKit/StandardStoreService.swift:53:15: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
51 | public func syncStoreData() async throws {
52 | let products = try await getProducts()
53 | await updateContext(with: products)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateContext(with:)' risks causing data races between main actor-isolated and task-isolated uses
54 | try await restorePurchases()
55 | }
Build complete! (22.79s)
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/danielsaidi/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/danielsaidi/Nimble.git"
},
{
"identity" : "mockingkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/danielsaidi/MockingKit.git"
}
],
"manifest_display_name" : "SwiftKit",
"name" : "SwiftKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftKit",
"targets" : [
"SwiftKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftKitTests",
"path" : "Tests/SwiftKitTests",
"product_dependencies" : [
"Quick",
"Nimble",
"MockingKit"
],
"sources" : [
"AsyncTrigger.swift",
"Coding/Base64StringCoderTests.swift",
"Csv/StandardCsvParserTests.swift",
"Data/FilterTests.swift",
"Data/MimeTypeTests.swift",
"Date/Date+AddRemoveTests.swift",
"Date/Date+CompareTests.swift",
"Date/Date+DifferenceTests.swift",
"Date/Date+InitTests.swift",
"Date/DateDecodersTests.swift",
"Date/DateEncodersTests.swift",
"Date/DateFormatter+InitTests.swift",
"Device/KeychainBasedDeviceIdentifierTests.swift",
"Device/MockDeviceIdentifier.swift",
"Device/UserDefaultsBasedDeviceIdentifierTests.swift",
"Extensions/Bundle+BundleInformationTests.swift",
"Extensions/Collections/Array+RangeTests.swift",
"Extensions/Collections/Collection+ContentTests.swift",
"Extensions/Collections/Collection+DistinctTests.swift",
"Extensions/Collections/Sequence+BatchedTests.swift",
"Extensions/Collections/Sequence+GroupedTests.swift",
"Extensions/Comparable+ClosestTests.swift",
"Extensions/Comparable+LimitTests.swift",
"Extensions/ComparisonResult+ShortcutsTests.swift",
"Extensions/DispatchQueue+AsyncTests.swift",
"Extensions/Optional+IsSetTests.swift",
"Extensions/Result+UtilsTests.swift",
"Extensions/String/String+Base64Tests.swift",
"Extensions/String/String+BoolTests.swift",
"Extensions/String/String+ContainsTests.swift",
"Extensions/String/String+ContentTests.swift",
"Extensions/String/String+ParagraphTests.swift",
"Extensions/String/String+ReplaceTests.swift",
"Extensions/String/String+SplitTests.swift",
"Extensions/String/String+UrlEncodeTests.swift",
"Extensions/Url+GlobalTests.swift",
"Extensions/Url+QueryParametersTests.swift",
"Extensions/UserDefaults+CodableTests.swift",
"Geo/CLLocationCoordinate2D+ValidTests.swift",
"Geo/WorldCoordinateTests.swift",
"Keychain/MockKeychainService.swift",
"Numerics/Decimal+DoubleTests.swift",
"Numerics/Double+RoundedTests.swift",
"Numerics/NumberFormatter+InitTests.swift",
"Numerics/NumberFormatter+UtilTests.swift",
"Numerics/Numeric+ConversionsTests.swift",
"Numerics/Numeric+StringTests.swift",
"Validation/EmailValidatorTests.swift"
],
"target_dependencies" : [
"SwiftKit"
],
"type" : "test"
},
{
"c99name" : "SwiftKit",
"module_type" : "SwiftTarget",
"name" : "SwiftKit",
"path" : "Sources/SwiftKit",
"product_memberships" : [
"SwiftKit"
],
"sources" : [
"Bundle/Bundle+BundleInformation.swift",
"Concurrency/Collection+Async.swift",
"Cvs/CsvParser.swift",
"Cvs/CsvParserError.swift",
"Cvs/StandardCsvParser.swift",
"Data/Base64StringCoder.swift",
"Data/MimeType.swift",
"Data/StringCoder.swift",
"Date/Calendar+Date.swift",
"Date/Date+AddRemove.swift",
"Date/Date+Compare.swift",
"Date/Date+Components.swift",
"Date/Date+Difference.swift",
"Date/Date+Init.swift",
"Date/DateDecoders.swift",
"Date/DateEncoders.swift",
"Date/DateFormatter+Init.swift",
"Device/DeviceIdentifier.swift",
"Device/KeychainBasedDeviceIdentifier.swift",
"Device/UserDefaultsBasedDeviceIdentifier.swift",
"Extensions/Collections/Array+Range.swift",
"Extensions/Collections/Collection+Content.swift",
"Extensions/Collections/Collection+Distinct.swift",
"Extensions/Collections/Sequence+Batched.swift",
"Extensions/Collections/Sequence+Grouped.swift",
"Extensions/Comparable+Closest.swift",
"Extensions/Comparable+Limit.swift",
"Extensions/ComparisonResult+Shortcuts.swift",
"Extensions/DispatchQueue+Async.swift",
"Extensions/DispatchQueue+Throttle.swift",
"Extensions/NSAttributedString/NSAttributedString+Archive.swift",
"Extensions/NSAttributedString/NSAttributedString+Rtf.swift",
"Extensions/NSAttributedString/NSAttributedString+Text.swift",
"Extensions/Optional+IsSet.swift",
"Extensions/String/String+Base64.swift",
"Extensions/String/String+Bool.swift",
"Extensions/String/String+Capitalize.swift",
"Extensions/String/String+Characters.swift",
"Extensions/String/String+Contains.swift",
"Extensions/String/String+Content.swift",
"Extensions/String/String+Dictation.swift",
"Extensions/String/String+Paragraph.swift",
"Extensions/String/String+Replace.swift",
"Extensions/String/String+Split.swift",
"Extensions/String/String+Subscript.swift",
"Extensions/String/String+Trimmed.swift",
"Extensions/String/String+UrlEncode.swift",
"Extensions/Url+Global.swift",
"Extensions/UserDefaults+Codable.swift",
"Files/BundleFileFinder.swift",
"Files/DirectoryService.swift",
"Files/FileFinder.swift",
"Files/FileManager+UniqueFileName.swift",
"Files/StandardDirectoryService.swift",
"Geo/CLLocationCoordinate2D+Equatable.swift",
"Geo/CLLocationCoordinate2D+Map.swift",
"Geo/CLLocationCoordinate2D+Valid.swift",
"Geo/WorldCoordinate.swift",
"Keychain/KeychainItemAccessibility.swift",
"Keychain/KeychainReader.swift",
"Keychain/KeychainService.swift",
"Keychain/KeychainWrapper.swift",
"Keychain/KeychainWriter.swift",
"Keychain/StandardKeychainService.swift",
"Localization/BundleTranslator.swift",
"Localization/LocalizationNotification.swift",
"Localization/LocalizationService.swift",
"Localization/StandardLocalizationService.swift",
"Localization/StandardTranslator.swift",
"Localization/Translator.swift",
"Numerics/Decimal+Double.swift",
"Numerics/Double+Rounded.swift",
"Numerics/NumberFormatter+Init.swift",
"Numerics/NumberFormatter+Util.swift",
"Numerics/Numeric+Conversions.swift",
"Numerics/Numeric+String.swift",
"Services/Decorator.swift",
"Services/MultiProxy.swift",
"Services/Proxy.swift",
"Validation/EmailValidator.swift",
"Validation/Validator.swift",
"_Deprecated/Authentication/Authentication.swift",
"_Deprecated/Authentication/AuthenticationService.swift",
"_Deprecated/Authentication/AuthenticationServiceError.swift",
"_Deprecated/Authentication/BiometricAuthenticationService.swift",
"_Deprecated/Authentication/CachedAuthenticationService.swift",
"_Deprecated/Authentication/CachedAuthenticationServiceProxy.swift",
"_Deprecated/Authentication/LocalAuthenticationService.swift",
"_Deprecated/Bundle/BundleInformation.swift",
"_Deprecated/Data/Filter.swift",
"_Deprecated/Data/Persisted.swift",
"_Deprecated/Extensions/Result+Utils.swift",
"_Deprecated/Extensions/Url+GlobalDeprecated.swift",
"_Deprecated/Extensions/Url+QueryParameters.swift",
"_Deprecated/Files/FileExporter.swift",
"_Deprecated/Files/StandardFileExporter.swift",
"_Deprecated/Geo/AppleMapsService.swift",
"_Deprecated/Geo/ExternalMapService.swift",
"_Deprecated/Geo/GoogleMapsService.swift",
"_Deprecated/IoC/DipIoCContainer.swift",
"_Deprecated/IoC/IoC.swift",
"_Deprecated/IoC/IoCContainer.swift",
"_Deprecated/IoC/SwinjectIoCContainer.swift",
"_Deprecated/Messaging/MFMailComposeViewController+Attachments.swift",
"_Deprecated/Messaging/MSMessageComposeViewController+Attachments.swift",
"_Deprecated/Network/ApiEnvironment.swift",
"_Deprecated/Network/ApiModel.swift",
"_Deprecated/Network/ApiRoute.swift",
"_Deprecated/Network/ApiService.swift",
"_Deprecated/Network/ApiTypes.swift",
"_Deprecated/Network/HttpMethod.swift",
"_Deprecated/StoreKit/StandardStoreService.swift",
"_Deprecated/StoreKit/StoreContext+Products.swift",
"_Deprecated/StoreKit/StoreContext.swift",
"_Deprecated/StoreKit/StoreService.swift",
"_Deprecated/StoreKit/StoreServiceError.swift",
"_Deprecated/StoreKit/Transaction+Valid.swift",
"iCloud/StandardiCloudDocumenSync.swift",
"iCloud/URL+iCloud.swift",
"iCloud/iCloudDocumentSync.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.