Build Information
Successful build of swift-standard-clients, reference 0.1.1 (397f90
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 03:59:41 UTC.
Swift 6 data race errors: 17
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
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/capturecontext/swift-standard-clients.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/capturecontext/swift-standard-clients
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 397f905 feat: StandardClients(+Live) products
Cloned https://github.com/capturecontext/swift-standard-clients.git
Revision (git rev-parse @):
397f90502948a0acb2d0442ec4c70fec5f87a677
SUCCESS checkout https://github.com/capturecontext/swift-standard-clients.git at 0.1.1
Fetching https://github.com/capturecontext/swift-prelude.git
[1/1959] Fetching swift-prelude
Fetched https://github.com/capturecontext/swift-prelude.git from cache (1.01s)
Computing version for https://github.com/capturecontext/swift-prelude.git
Computed https://github.com/capturecontext/swift-prelude.git at 0.0.3 (0.68s)
Creating working copy for https://github.com/capturecontext/swift-prelude.git
Working copy of https://github.com/capturecontext/swift-prelude.git resolved at 0.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-standard-clients",
"name": "swift-standard-clients",
"url": "https://github.com/capturecontext/swift-standard-clients.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-standard-clients",
"dependencies": [
{
"identity": "swift-prelude",
"name": "swift-prelude",
"url": "https://github.com/capturecontext/swift-prelude.git",
"version": "0.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-prelude",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/capturecontext/swift-standard-clients.git
[1/124] Fetching swift-standard-clients
Fetched https://github.com/capturecontext/swift-standard-clients.git from cache (0.68s)
Fetching https://github.com/capturecontext/swift-prelude.git from cache
Fetched https://github.com/capturecontext/swift-prelude.git from cache (0.50s)
Computing version for https://github.com/capturecontext/swift-prelude.git
Computed https://github.com/capturecontext/swift-prelude.git at 0.0.3 (0.02s)
Creating working copy for https://github.com/capturecontext/swift-standard-clients.git
Working copy of https://github.com/capturecontext/swift-standard-clients.git resolved at 0.1.1 (397f905)
Creating working copy for https://github.com/capturecontext/swift-prelude.git
Working copy of https://github.com/capturecontext/swift-prelude.git resolved at 0.0.3
warning: '.resolve-product-dependencies': dependency 'swift-standard-clients' is not used by any target
Found 1 product dependencies
- swift-prelude
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/capturecontext/swift-standard-clients.git
Running build ...
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
Building for debugging...
[0/47] Write sources
[16/47] Write swift-version--7754E27361AE5C74.txt
[18/94] Emitting module Prelude
[19/98] Compiling Prelude Sequence.swift
[20/98] Compiling Prelude Set.swift
[21/98] Compiling Prelude String.swift
[22/98] Compiling Prelude Pack.swift
[23/98] Compiling Prelude Scope.swift
[24/98] Compiling Prelude Equatable.swift
[25/98] Compiling Prelude Filterable.swift
[26/98] Compiling Prelude Endo.swift
[27/98] Compiling Prelude Func.swift
[28/98] Compiling Prelude Function.swift
[29/98] Compiling Prelude Collection.swift
[30/98] Compiling Prelude Comparable.swift
[31/98] Compiling Prelude Comparator.swift
[32/98] Compiling Prelude Const.swift
[33/98] Compiling Prelude Curry.swift
[34/98] Compiling Prelude Tuple.swift
[35/98] Compiling Prelude Unit.swift
[36/98] Compiling Prelude Alt.swift
[37/98] Compiling Prelude Array.swift
[38/98] Compiling Prelude CommutativeRing.swift
[39/98] Compiling Prelude Plus.swift
[40/98] Compiling Prelude Ring.swift
[41/98] Compiling Prelude Semigroup.swift
[42/98] Compiling Prelude Semiring.swift
[43/98] Compiling Prelude Operators+Impl.swift
[44/98] Compiling Prelude Operators.swift
[45/98] Compiling Prelude PrecedenceGroups.swift
[46/98] Compiling Prelude Optional.swift
[47/98] Compiling Prelude Parallel.swift
[48/98] Compiling Prelude Compose.swift
[49/98] Compiling Prelude Pipe.swift
[50/98] Compiling Prelude KeyPath.swift
[51/98] Compiling Prelude Match.swift
[52/98] Compiling Prelude Never.swift
[53/98] Compiling Prelude And.swift
[54/98] Compiling Prelude Equal.swift
[55/98] Compiling Prelude Or.swift
[56/98] Compiling Prelude Xor.swift
[57/98] Compiling Prelude Cast.swift
[58/98] Compiling Prelude Hole.swift
[59/98] Compiling Prelude IO.swift
[60/98] Compiling Prelude Monoid.swift
[61/98] Compiling Prelude NearSemiring.swift
[62/98] Compiling Prelude EuclideanRing.swift
[63/98] Compiling Prelude Field.swift
[64/98] Compiling Prelude FreeNearSemiring.swift
[65/98] Compiling Prelude HeytingAlgebra.swift
[66/98] Compiling DataRepresentable AnyDataRepresenable.swift
[67/98] Emitting module DataRepresentable
[68/98] Compiling DataRepresentable DataRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataRepresentable/DataRepresentable.swift:50:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
48 | public var dataRepresentation: Data {
49 | var value = self
50 | return Data(bytes: &value, count: MemoryLayout<Self>.size)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
51 | }
52 |
[68/98] Write Objects.LinkFileList
[69/98] Archiving libDataRepresentable.a
[71/117] Compiling NotificationsPermissionsClient NotificationsPermissionsClientOperations.swift
[72/117] Compiling IDFAPermissionsClient IDFAPermissionsClientOperations.swift
[73/117] Compiling IDFAPermissionsClient IDFAPermissionsClient.swift
[74/117] Emitting module IDFAPermissionsClient
[74/117] Write Objects.LinkFileList
[76/117] Compiling HapticEngineClient HapticFeedback.swift
[76/117] Archiving libIDFAPermissionsClient.a
[78/117] Compiling NotificationsPermissionsClient NotificationsPermissionsClient.swift
[79/117] Emitting module NotificationsPermissionsClient
[79/117] Write Objects.LinkFileList
[80/117] Archiving libNotificationsPermissionsClient.a
[82/117] Compiling HapticEngineClient HapticEngineClient.swift
[83/117] Emitting module HapticEngineClient
[84/117] Compiling HapticEngineClient HapticEngineClientOperations.swift
[84/117] Write Objects.LinkFileList
[86/117] Compiling CacheClient CacheClientOperations.swift
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:9:22: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 |
8 | extension CacheClient.Operations {
9 | public struct Save<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | public typealias Input = (Key, Value, Int?)
11 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:9:37: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 |
8 | extension CacheClient.Operations {
9 | public struct Save<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | public typealias Input = (Key, Value, Int?)
11 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:23:22: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct Load<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | public typealias Input = Key
25 | public typealias Output = Value?
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:23:37: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct Load<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | public typealias Input = Key
25 | public typealias Output = Value?
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:37:24: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct Remove<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | public typealias Input = Key
39 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:37:39: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct Remove<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | public typealias Input = Key
39 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:51:33: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct RemoveAllValues<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 | public typealias Input = Void
53 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:51:48: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct RemoveAllValues<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 | public typealias Input = Void
53 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
[87/117] Emitting module CacheClient
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:9:22: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 |
8 | extension CacheClient.Operations {
9 | public struct Save<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | public typealias Input = (Key, Value, Int?)
11 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:9:37: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
7 |
8 | extension CacheClient.Operations {
9 | public struct Save<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | public typealias Input = (Key, Value, Int?)
11 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:23:22: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct Load<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | public typealias Input = Key
25 | public typealias Output = Value?
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:23:37: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct Load<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
24 | public typealias Input = Key
25 | public typealias Output = Value?
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:37:24: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct Remove<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | public typealias Input = Key
39 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:37:39: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct Remove<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | public typealias Input = Key
39 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:51:33: warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct RemoveAllValues<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Key' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 | public typealias Input = Void
53 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:27: note: 'Key' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Key' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClientOperations.swift:51:48: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct RemoveAllValues<Key: Hashable, Value>: Function {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
52 | public typealias Input = Void
53 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/CacheClient/CacheClient.swift:3:42: note: 'Value' previously declared here
1 | import Foundation
2 |
3 | public struct CacheClient<Key: Hashable, Value> {
| `- note: 'Value' previously declared here
4 | public init(
5 | saveValue: Operations.Save<Key, Value>,
[88/117] Compiling CacheClient CacheClient.swift
[89/117] Compiling UserDefaultsClient UserDefaultsClient.swift
[90/117] Emitting module UserDefaultsClient
[91/117] Compiling UserDefaultsClient UserDefaultsClientOperations.swift
[91/117] Archiving libHapticEngineClient.a
[92/117] Write Objects.LinkFileList
[94/121] Archiving libCacheClient.a
[95/121] Archiving libUserDefaultsClient.a
[97/121] Compiling KeychainClient KeychainClient.swift
[98/121] Emitting module KeychainClient
[99/121] Compiling KeychainClient KeychainClientOperations.swift
[99/126] Write Objects.LinkFileList
[100/126] Archiving libKeychainClient.a
[102/149] Compiling HapticEngineClientLive HapticFeedback.swift
[103/149] Compiling HapticEngineClientLive HapticEngineClientLive.swift
[104/149] Compiling HapticEngineClientLive Exports.swift
[105/149] Emitting module HapticEngineClientLive
[105/149] Write Objects.LinkFileList
[107/149] Compiling StandardClients Exports.swift
[108/149] Emitting module StandardClients
[108/149] Write Objects.LinkFileList
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'HapticFeedback.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/HapticEngineClient.build/HapticFeedback.swift.o(HapticFeedback.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/HapticEngineClientLive.build/HapticFeedback.swift.o(HapticFeedback.swift.o)'
[109/149] Archiving libHapticEngineClientLive.a
[110/149] Archiving libStandardClients.a
[112/149] Emitting module UserDefaultsClientLive
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsClientLive/UserDefaultsClientLive.swift:6:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'UserDefaultsClient' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension UserDefaultsClient {
6 | public static let standard: UserDefaultsClient = .live(for: .standard)
| `- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'UserDefaultsClient' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public static func live(for userDefaults: UserDefaults) -> UserDefaultsClient {
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsClient/UserDefaultsClient.swift:3:15: note: struct 'UserDefaultsClient' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct UserDefaultsClient {
| `- note: struct 'UserDefaultsClient' does not conform to the 'Sendable' protocol
4 | public init(
5 | saveValue: Operations.Save,
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsClientLive/UserDefaultsClientLive.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserDefaultsClient'
1 | import UserDefaultsClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserDefaultsClient'
2 | import DataRepresentable
3 | import Foundation
4 |
5 | extension UserDefaultsClient {
6 | public static let standard: UserDefaultsClient = .live(for: .standard)
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public static func live(for userDefaults: UserDefaults) -> UserDefaultsClient {
[113/149] Compiling UserDefaultsClientLive Exports.swift
[114/149] Compiling UserDefaultsClientLive UserDefaultsClientLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsClientLive/UserDefaultsClientLive.swift:6:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'UserDefaultsClient' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension UserDefaultsClient {
6 | public static let standard: UserDefaultsClient = .live(for: .standard)
| `- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'UserDefaultsClient' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public static func live(for userDefaults: UserDefaults) -> UserDefaultsClient {
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsClient/UserDefaultsClient.swift:3:15: note: struct 'UserDefaultsClient' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct UserDefaultsClient {
| `- note: struct 'UserDefaultsClient' does not conform to the 'Sendable' protocol
4 | public init(
5 | saveValue: Operations.Save,
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultsClientLive/UserDefaultsClientLive.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserDefaultsClient'
1 | import UserDefaultsClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserDefaultsClient'
2 | import DataRepresentable
3 | import Foundation
4 |
5 | extension UserDefaultsClient {
6 | public static let standard: UserDefaultsClient = .live(for: .standard)
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public static func live(for userDefaults: UserDefaults) -> UserDefaultsClient {
[114/149] Write Objects.LinkFileList
[115/149] Archiving libUserDefaultsClientLive.a
[117/149] Compiling IDFAPermissionsClientLive IDFAPermissionsClientLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/IDFAPermissionsClientLive/IDFAPermissionsClientLive.swift:9:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'IDFAPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension IDFAPermissionsClient {
9 | public static let live = IDFAPermissionsClient(
| `- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'IDFAPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
10 | requestAuthorizationStatus: .live,
11 | requestAuthorization: .live,
/Users/admin/builder/spi-builder-workspace/Sources/IDFAPermissionsClient/IDFAPermissionsClient.swift:1:15: note: struct 'IDFAPermissionsClient' does not conform to the 'Sendable' protocol
1 | public struct IDFAPermissionsClient {
| `- note: struct 'IDFAPermissionsClient' does not conform to the 'Sendable' protocol
2 | public init(
3 | requestAuthorizationStatus: Operations.RequestAuthorizationStatus,
/Users/admin/builder/spi-builder-workspace/Sources/IDFAPermissionsClientLive/IDFAPermissionsClientLive.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'IDFAPermissionsClient'
1 | import Combine
2 | import IDFAPermissionsClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'IDFAPermissionsClient'
3 |
4 | #if !os(watchOS)
:
7 |
8 | extension IDFAPermissionsClient {
9 | public static let live = IDFAPermissionsClient(
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | requestAuthorizationStatus: .live,
11 | requestAuthorization: .live,
[118/149] Compiling IDFAPermissionsClientLive Exports.swift
[119/149] Emitting module IDFAPermissionsClientLive
/Users/admin/builder/spi-builder-workspace/Sources/IDFAPermissionsClientLive/IDFAPermissionsClientLive.swift:9:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'IDFAPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | extension IDFAPermissionsClient {
9 | public static let live = IDFAPermissionsClient(
| `- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'IDFAPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
10 | requestAuthorizationStatus: .live,
11 | requestAuthorization: .live,
/Users/admin/builder/spi-builder-workspace/Sources/IDFAPermissionsClient/IDFAPermissionsClient.swift:1:15: note: struct 'IDFAPermissionsClient' does not conform to the 'Sendable' protocol
1 | public struct IDFAPermissionsClient {
| `- note: struct 'IDFAPermissionsClient' does not conform to the 'Sendable' protocol
2 | public init(
3 | requestAuthorizationStatus: Operations.RequestAuthorizationStatus,
/Users/admin/builder/spi-builder-workspace/Sources/IDFAPermissionsClientLive/IDFAPermissionsClientLive.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'IDFAPermissionsClient'
1 | import Combine
2 | import IDFAPermissionsClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'IDFAPermissionsClient'
3 |
4 | #if !os(watchOS)
:
7 |
8 | extension IDFAPermissionsClient {
9 | public static let live = IDFAPermissionsClient(
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | requestAuthorizationStatus: .live,
11 | requestAuthorization: .live,
[120/149] Compiling IDFAPermissionsClientLive AuthorizationStatus.swift
[120/149] Write Objects.LinkFileList
[121/149] Archiving libIDFAPermissionsClientLive.a
[123/149] Compiling KeychainClientLive KeychainClientAccessPolicy.swift
[124/149] Compiling KeychainClientLive Keychain+Constants.swift
[125/149] Compiling KeychainClientLive Keychain+OperationResult.swift
[126/149] Compiling KeychainClientLive Keychain+Error.swift
[127/149] Compiling KeychainClientLive Keychain+AccessOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/Keychain/Keychain+AccessOptions.swift:87:16: warning: 'kSecAttrAccessibleAlways' was deprecated in macOS 10.14: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
85 | return kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
86 | case .accessibleAlways:
87 | return kSecAttrAccessibleAlways
| `- warning: 'kSecAttrAccessibleAlways' was deprecated in macOS 10.14: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
88 | case .accessibleAlwaysThisDeviceOnly:
89 | return kSecAttrAccessibleAlwaysThisDeviceOnly
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/Keychain/Keychain+AccessOptions.swift:89:16: warning: 'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in macOS 10.14: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
87 | return kSecAttrAccessibleAlways
88 | case .accessibleAlwaysThisDeviceOnly:
89 | return kSecAttrAccessibleAlwaysThisDeviceOnly
| `- warning: 'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in macOS 10.14: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
90 | }
91 | }
[128/149] Compiling KeychainClientLive NSLocking+.swift
[129/149] Emitting module KeychainClientLive
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/Keychain/Keychain.swift:32:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public final class Keychain {
| `- note: class 'Keychain' does not conform to the 'Sendable' protocol
25 | typealias Query = [String: Any]
26 | typealias Attribute = Query.Element
:
30 | private let lock = NSLock()
31 |
32 | public static let `default`: Keychain = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | let prefix = Bundle.main.bundleIdentifier.map { $0.appending(".") } ?? ""
34 | return Keychain(keyPrefix: prefix, accessGroup: Bundle.main.bundleIdentifier)
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/KeychainClientLive.swift:8:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'KeychainClient' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension KeychainClient {
8 | public static let live: KeychainClient = .default()
| `- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'KeychainClient' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public static func `default`(
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClient/KeychainClient.swift:3:15: note: struct 'KeychainClient' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct KeychainClient {
| `- note: struct 'KeychainClient' does not conform to the 'Sendable' protocol
4 | public init(
5 | saveValue: Operations.Save,
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/KeychainClientLive.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'KeychainClient'
1 | import KeychainClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'KeychainClient'
2 | import Foundation
3 |
:
6 |
7 | extension KeychainClient {
8 | public static let live: KeychainClient = .default()
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public static func `default`(
[130/149] Compiling KeychainClientLive Exports.swift
[131/149] Compiling KeychainClientLive Keychain.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/Keychain/Keychain.swift:32:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public final class Keychain {
| `- note: class 'Keychain' does not conform to the 'Sendable' protocol
25 | typealias Query = [String: Any]
26 | typealias Attribute = Query.Element
:
30 | private let lock = NSLock()
31 |
32 | public static let `default`: Keychain = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | let prefix = Bundle.main.bundleIdentifier.map { $0.appending(".") } ?? ""
34 | return Keychain(keyPrefix: prefix, accessGroup: Bundle.main.bundleIdentifier)
[132/149] Compiling KeychainClientLive CoreFoundation+.swift
[133/150] Compiling MemoryCacheClient MemoryCacheClient.swift
[134/150] Emitting module MemoryCacheClient
[135/150] Compiling MemoryCacheClient Exports.swift
[136/150] Compiling MemoryCacheClient MemoryCache.swift
[136/150] Write Objects.LinkFileList
[138/150] Compiling KeychainClientLive KeychainClientLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/KeychainClientLive.swift:8:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'KeychainClient' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension KeychainClient {
8 | public static let live: KeychainClient = .default()
| `- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'KeychainClient' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public static func `default`(
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClient/KeychainClient.swift:3:15: note: struct 'KeychainClient' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct KeychainClient {
| `- note: struct 'KeychainClient' does not conform to the 'Sendable' protocol
4 | public init(
5 | saveValue: Operations.Save,
/Users/admin/builder/spi-builder-workspace/Sources/KeychainClientLive/KeychainClientLive.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'KeychainClient'
1 | import KeychainClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'KeychainClient'
2 | import Foundation
3 |
:
6 |
7 | extension KeychainClient {
8 | public static let live: KeychainClient = .default()
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public static func `default`(
[138/150] Write Objects.LinkFileList
[139/150] Archiving libMemoryCacheClient.a
[140/150] Archiving libKeychainClientLive.a
[142/150] Compiling NotificationsPermissionsClientLive AuthorizationOptions.swift
[143/150] Compiling NotificationsPermissionsClientLive Exports.swift
[144/150] Compiling NotificationsPermissionsClientLive AuthorizationStatus.swift
[145/150] Emitting module NotificationsPermissionsClientLive
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:14:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | extension NotificationsPermissionsClient {
14 | public static let live = NotificationsPermissionsClient(
| `- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 | requestAuthorizationStatus: .live,
16 | requestAuthorization: .live,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClient.swift:1:15: note: struct 'NotificationsPermissionsClient' does not conform to the 'Sendable' protocol
1 | public struct NotificationsPermissionsClient {
| `- note: struct 'NotificationsPermissionsClient' does not conform to the 'Sendable' protocol
2 | public init(
3 | requestAuthorizationStatus: Operations.RequestAuthorizationStatus,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NotificationsPermissionsClient'
1 | import NotificationsPermissionsClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NotificationsPermissionsClient'
2 | import UserNotifications
3 | import Combine
:
12 |
13 | extension NotificationsPermissionsClient {
14 | public static let live = NotificationsPermissionsClient(
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | requestAuthorizationStatus: .live,
16 | requestAuthorization: .live,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:22:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorizationStatus' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | extension NotificationsPermissionsClient.Operations.RequestAuthorizationStatus {
22 | public static let live = NotificationsPermissionsClient.Operations.RequestAuthorizationStatus {
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorizationStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | Deferred {
24 | Future { promise in
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClientOperations.swift:9:17: note: struct 'RequestAuthorizationStatus' does not conform to the 'Sendable' protocol
7 |
8 | extension NotificationsPermissionsClient.Operations {
9 | public struct RequestAuthorizationStatus: Function {
| `- note: struct 'RequestAuthorizationStatus' does not conform to the 'Sendable' protocol
10 | public typealias Input = Void
11 | public typealias Output = AnyPublisher<NotificationsPermissionsClient.AuthorizationStatus, Never>
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:35:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorization' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | extension NotificationsPermissionsClient.Operations.RequestAuthorization {
35 | public static let live = NotificationsPermissionsClient.Operations.RequestAuthorization { params in
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorization' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | Deferred {
37 | Future { promise in
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClientOperations.swift:20:17: note: struct 'RequestAuthorization' does not conform to the 'Sendable' protocol
18 | }
19 |
20 | public struct RequestAuthorization: Function {
| `- note: struct 'RequestAuthorization' does not conform to the 'Sendable' protocol
21 | public typealias Input = NotificationsPermissionsClient.AuthorizationOptions
22 | public typealias Output = AnyPublisher<NotificationsPermissionsClient.AuthorizationStatus, Never>
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:50:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications {
50 | public static let live = NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications { action in
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | #if os(macOS)
52 | let application = NSApplication.shared
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClientOperations.swift:35:17: note: struct 'ConfigureRemoteNotifications' does not conform to the 'Sendable' protocol
33 | }
34 |
35 | public struct ConfigureRemoteNotifications: Function {
| `- note: struct 'ConfigureRemoteNotifications' does not conform to the 'Sendable' protocol
36 | public enum Input { case register, unregister }
37 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:50:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | extension NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications {
50 | public static let live = NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications { action in
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
51 | #if os(macOS)
52 | let application = NSApplication.shared
[146/150] Compiling NotificationsPermissionsClientLive NotificationsPermissionsClientLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:14:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | extension NotificationsPermissionsClient {
14 | public static let live = NotificationsPermissionsClient(
| `- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 | requestAuthorizationStatus: .live,
16 | requestAuthorization: .live,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClient.swift:1:15: note: struct 'NotificationsPermissionsClient' does not conform to the 'Sendable' protocol
1 | public struct NotificationsPermissionsClient {
| `- note: struct 'NotificationsPermissionsClient' does not conform to the 'Sendable' protocol
2 | public init(
3 | requestAuthorizationStatus: Operations.RequestAuthorizationStatus,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NotificationsPermissionsClient'
1 | import NotificationsPermissionsClient
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NotificationsPermissionsClient'
2 | import UserNotifications
3 | import Combine
:
12 |
13 | extension NotificationsPermissionsClient {
14 | public static let live = NotificationsPermissionsClient(
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | requestAuthorizationStatus: .live,
16 | requestAuthorization: .live,
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:22:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorizationStatus' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | extension NotificationsPermissionsClient.Operations.RequestAuthorizationStatus {
22 | public static let live = NotificationsPermissionsClient.Operations.RequestAuthorizationStatus {
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorizationStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | Deferred {
24 | Future { promise in
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClientOperations.swift:9:17: note: struct 'RequestAuthorizationStatus' does not conform to the 'Sendable' protocol
7 |
8 | extension NotificationsPermissionsClient.Operations {
9 | public struct RequestAuthorizationStatus: Function {
| `- note: struct 'RequestAuthorizationStatus' does not conform to the 'Sendable' protocol
10 | public typealias Input = Void
11 | public typealias Output = AnyPublisher<NotificationsPermissionsClient.AuthorizationStatus, Never>
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:35:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorization' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | extension NotificationsPermissionsClient.Operations.RequestAuthorization {
35 | public static let live = NotificationsPermissionsClient.Operations.RequestAuthorization { params in
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.RequestAuthorization' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | Deferred {
37 | Future { promise in
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClientOperations.swift:20:17: note: struct 'RequestAuthorization' does not conform to the 'Sendable' protocol
18 | }
19 |
20 | public struct RequestAuthorization: Function {
| `- note: struct 'RequestAuthorization' does not conform to the 'Sendable' protocol
21 | public typealias Input = NotificationsPermissionsClient.AuthorizationOptions
22 | public typealias Output = AnyPublisher<NotificationsPermissionsClient.AuthorizationStatus, Never>
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:50:21: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications {
50 | public static let live = NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications { action in
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | #if os(macOS)
52 | let application = NSApplication.shared
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClient/NotificationsPermissionsClientOperations.swift:35:17: note: struct 'ConfigureRemoteNotifications' does not conform to the 'Sendable' protocol
33 | }
34 |
35 | public struct ConfigureRemoteNotifications: Function {
| `- note: struct 'ConfigureRemoteNotifications' does not conform to the 'Sendable' protocol
36 | public enum Input { case register, unregister }
37 | public typealias Output = Void
/Users/admin/builder/spi-builder-workspace/Sources/NotificationsPermissionsClientLive/NotificationsPermissionsClientLive.swift:50:21: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | extension NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications {
50 | public static let live = NotificationsPermissionsClient.Operations.ConfigureRemoteNotifications { action in
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
51 | #if os(macOS)
52 | let application = NSApplication.shared
[146/150] Write Objects.LinkFileList
[147/150] Archiving libNotificationsPermissionsClientLive.a
[149/152] Compiling StandardClientsLive Exports.swift
[150/152] Emitting module StandardClientsLive
[150/152] Write Objects.LinkFileList
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'AuthorizationStatus.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/NotificationsPermissionsClientLive.build/AuthorizationStatus.swift.o(AuthorizationStatus.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/IDFAPermissionsClientLive.build/AuthorizationStatus.swift.o(AuthorizationStatus.swift.o)'
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/MemoryCacheClient.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/HapticEngineClientLive.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/HapticEngineClientLive.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/IDFAPermissionsClientLive.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/IDFAPermissionsClientLive.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/UserDefaultsClientLive.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/UserDefaultsClientLive.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StandardClientsLive.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StandardClientsLive.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/KeychainClientLive.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Exports.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/KeychainClientLive.build/Exports.swift.o(Exports.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/NotificationsPermissionsClientLive.build/Exports.swift.o(Exports.swift.o)'
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'HapticFeedback.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/HapticEngineClient.build/HapticFeedback.swift.o(HapticFeedback.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/HapticEngineClientLive.build/HapticFeedback.swift.o(HapticFeedback.swift.o)'
[151/152] Archiving libStandardClientsLive.a
Build complete! (22.76s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-prelude",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-prelude.git"
}
],
"manifest_display_name" : "swift-standard-clients",
"name" : "swift-standard-clients",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "StandardClients",
"targets" : [
"StandardClients"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "StandardClientsLive",
"targets" : [
"StandardClientsLive"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "CacheClient",
"targets" : [
"CacheClient"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "MemoryCacheClient",
"targets" : [
"MemoryCacheClient"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DataRepresentable",
"targets" : [
"DataRepresentable"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "HapticEngineClient",
"targets" : [
"HapticEngineClient"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "HapticEngineClientLive",
"targets" : [
"HapticEngineClientLive"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "IDFAPermissionsClient",
"targets" : [
"IDFAPermissionsClient"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "IDFAPermissionsClientLive",
"targets" : [
"IDFAPermissionsClientLive"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "KeychainClient",
"targets" : [
"KeychainClient"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "KeychainClientLive",
"targets" : [
"KeychainClientLive"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "NotificationsPermissionsClient",
"targets" : [
"NotificationsPermissionsClient"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "NotificationsPermissionsClientLive",
"targets" : [
"NotificationsPermissionsClientLive"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "UserDefaultsClient",
"targets" : [
"UserDefaultsClient"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "UserDefaultsClientLive",
"targets" : [
"UserDefaultsClientLive"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "UserDefaultsClientLive",
"module_type" : "SwiftTarget",
"name" : "UserDefaultsClientLive",
"path" : "Sources/UserDefaultsClientLive",
"product_memberships" : [
"StandardClientsLive",
"UserDefaultsClientLive"
],
"sources" : [
"Exports.swift",
"UserDefaultsClientLive.swift"
],
"target_dependencies" : [
"UserDefaultsClient"
],
"type" : "library"
},
{
"c99name" : "UserDefaultsClient",
"module_type" : "SwiftTarget",
"name" : "UserDefaultsClient",
"path" : "Sources/UserDefaultsClient",
"product_dependencies" : [
"Prelude"
],
"product_memberships" : [
"StandardClients",
"StandardClientsLive",
"UserDefaultsClient",
"UserDefaultsClientLive"
],
"sources" : [
"UserDefaultsClient.swift",
"UserDefaultsClientOperations.swift"
],
"target_dependencies" : [
"DataRepresentable"
],
"type" : "library"
},
{
"c99name" : "StandardClientsLive",
"module_type" : "SwiftTarget",
"name" : "StandardClientsLive",
"path" : "Sources/StandardClientsLive",
"product_memberships" : [
"StandardClientsLive"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"MemoryCacheClient",
"HapticEngineClientLive",
"IDFAPermissionsClientLive",
"KeychainClientLive",
"NotificationsPermissionsClientLive",
"UserDefaultsClientLive"
],
"type" : "library"
},
{
"c99name" : "StandardClients",
"module_type" : "SwiftTarget",
"name" : "StandardClients",
"path" : "Sources/StandardClients",
"product_memberships" : [
"StandardClients"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"CacheClient",
"HapticEngineClient",
"IDFAPermissionsClient",
"KeychainClient",
"NotificationsPermissionsClient",
"UserDefaultsClient"
],
"type" : "library"
},
{
"c99name" : "NotificationsPermissionsClientLive",
"module_type" : "SwiftTarget",
"name" : "NotificationsPermissionsClientLive",
"path" : "Sources/NotificationsPermissionsClientLive",
"product_memberships" : [
"StandardClientsLive",
"NotificationsPermissionsClientLive"
],
"sources" : [
"AuthorizationOptions.swift",
"AuthorizationStatus.swift",
"Exports.swift",
"NotificationsPermissionsClientLive.swift"
],
"target_dependencies" : [
"NotificationsPermissionsClient"
],
"type" : "library"
},
{
"c99name" : "NotificationsPermissionsClient",
"module_type" : "SwiftTarget",
"name" : "NotificationsPermissionsClient",
"path" : "Sources/NotificationsPermissionsClient",
"product_dependencies" : [
"Prelude"
],
"product_memberships" : [
"StandardClients",
"StandardClientsLive",
"NotificationsPermissionsClient",
"NotificationsPermissionsClientLive"
],
"sources" : [
"NotificationsPermissionsClient.swift",
"NotificationsPermissionsClientOperations.swift"
],
"type" : "library"
},
{
"c99name" : "MemoryCacheClient",
"module_type" : "SwiftTarget",
"name" : "MemoryCacheClient",
"path" : "Sources/MemoryCacheClient",
"product_memberships" : [
"StandardClientsLive",
"MemoryCacheClient"
],
"sources" : [
"Exports.swift",
"MemoryCache.swift",
"MemoryCacheClient.swift"
],
"target_dependencies" : [
"CacheClient"
],
"type" : "library"
},
{
"c99name" : "KeychainClientLive",
"module_type" : "SwiftTarget",
"name" : "KeychainClientLive",
"path" : "Sources/KeychainClientLive",
"product_memberships" : [
"StandardClientsLive",
"KeychainClientLive"
],
"sources" : [
"Exports.swift",
"Keychain/CoreFoundation+.swift",
"Keychain/Keychain+AccessOptions.swift",
"Keychain/Keychain+Constants.swift",
"Keychain/Keychain+Error.swift",
"Keychain/Keychain+OperationResult.swift",
"Keychain/Keychain.swift",
"Keychain/NSLocking+.swift",
"KeychainClientAccessPolicy.swift",
"KeychainClientLive.swift"
],
"target_dependencies" : [
"KeychainClient"
],
"type" : "library"
},
{
"c99name" : "KeychainClient",
"module_type" : "SwiftTarget",
"name" : "KeychainClient",
"path" : "Sources/KeychainClient",
"product_dependencies" : [
"Prelude"
],
"product_memberships" : [
"StandardClients",
"StandardClientsLive",
"KeychainClient",
"KeychainClientLive"
],
"sources" : [
"KeychainClient.swift",
"KeychainClientOperations.swift"
],
"target_dependencies" : [
"DataRepresentable"
],
"type" : "library"
},
{
"c99name" : "IDFAPermissionsClientLive",
"module_type" : "SwiftTarget",
"name" : "IDFAPermissionsClientLive",
"path" : "Sources/IDFAPermissionsClientLive",
"product_memberships" : [
"StandardClientsLive",
"IDFAPermissionsClientLive"
],
"sources" : [
"AuthorizationStatus.swift",
"Exports.swift",
"IDFAPermissionsClientLive.swift"
],
"target_dependencies" : [
"IDFAPermissionsClient"
],
"type" : "library"
},
{
"c99name" : "IDFAPermissionsClient",
"module_type" : "SwiftTarget",
"name" : "IDFAPermissionsClient",
"path" : "Sources/IDFAPermissionsClient",
"product_dependencies" : [
"Prelude"
],
"product_memberships" : [
"StandardClients",
"StandardClientsLive",
"IDFAPermissionsClient",
"IDFAPermissionsClientLive"
],
"sources" : [
"IDFAPermissionsClient.swift",
"IDFAPermissionsClientOperations.swift"
],
"type" : "library"
},
{
"c99name" : "HapticEngineClientLive",
"module_type" : "SwiftTarget",
"name" : "HapticEngineClientLive",
"path" : "Sources/HapticEngineClientLive",
"product_memberships" : [
"StandardClientsLive",
"HapticEngineClientLive"
],
"sources" : [
"Exports.swift",
"HapticEngineClientLive.swift",
"HapticFeedback.swift"
],
"target_dependencies" : [
"HapticEngineClient"
],
"type" : "library"
},
{
"c99name" : "HapticEngineClient",
"module_type" : "SwiftTarget",
"name" : "HapticEngineClient",
"path" : "Sources/HapticEngineClient",
"product_dependencies" : [
"Prelude"
],
"product_memberships" : [
"StandardClients",
"StandardClientsLive",
"HapticEngineClient",
"HapticEngineClientLive"
],
"sources" : [
"HapticEngineClient.swift",
"HapticEngineClientOperations.swift",
"HapticFeedback.swift"
],
"type" : "library"
},
{
"c99name" : "DataRepresentableTests",
"module_type" : "SwiftTarget",
"name" : "DataRepresentableTests",
"path" : "Tests/DataRepresentableTests",
"sources" : [
"DataRepresentableTests.swift"
],
"target_dependencies" : [
"DataRepresentable"
],
"type" : "test"
},
{
"c99name" : "DataRepresentable",
"module_type" : "SwiftTarget",
"name" : "DataRepresentable",
"path" : "Sources/DataRepresentable",
"product_memberships" : [
"StandardClients",
"StandardClientsLive",
"CacheClient",
"MemoryCacheClient",
"DataRepresentable",
"KeychainClient",
"KeychainClientLive",
"UserDefaultsClient",
"UserDefaultsClientLive"
],
"sources" : [
"AnyDataRepresenable.swift",
"DataRepresentable.swift"
],
"type" : "library"
},
{
"c99name" : "CacheClient",
"module_type" : "SwiftTarget",
"name" : "CacheClient",
"path" : "Sources/CacheClient",
"product_dependencies" : [
"Prelude"
],
"product_memberships" : [
"StandardClients",
"StandardClientsLive",
"CacheClient",
"MemoryCacheClient"
],
"sources" : [
"CacheClient.swift",
"CacheClientOperations.swift"
],
"target_dependencies" : [
"DataRepresentable"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.