Build Information
Successful build of Harmony, reference master (a00a49
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 02:02:14 UTC.
Swift 6 data race errors: 62
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
187 | return self.deleteAll(query, operation: retryOp.next())
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:193:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
191 | }
192 | default:
193 | return repository.deleteAll(query, operation: RetryOperation(operation, retryRule))
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:112:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
110 | @discardableResult
111 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
112 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:166:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
164 | @discardableResult
165 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
166 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
167 | }
168 | }
[98/113] Compiling Harmony RepositoryAssembler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/AnyRepository.swift:119:21: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
117 |
118 | override func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
119 | return base.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:264:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
262 | return deleteAll(query, operation: MainSyncOperation())
263 | case is MainOperation:
264 | return main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:266:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
264 | return main.deleteAll(query)
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:268:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
266 | return cache.deleteAll(query)
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
269 | return self.cache.deleteAll(query)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:269:35: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
269 | return self.cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:272:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
273 | return self.main.deleteAll(query)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:273:34: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
273 | return self.main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
274 | }
275 | default:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryAssembler.swift:64:33: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
62 | @discardableResult
63 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
64 | return deleteRepository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryMapper.swift:167:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
165 | @discardableResult
166 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
167 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:185:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
183 | switch operation {
184 | case let retryOp as RetryOperation:
185 | return repository.deleteAll(query, operation: retryOp.operation).recover { error in
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
186 | if retryOp.canRetry(error) {
187 | return self.deleteAll(query, operation: retryOp.next())
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:193:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
191 | }
192 | default:
193 | return repository.deleteAll(query, operation: RetryOperation(operation, retryRule))
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:112:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
110 | @discardableResult
111 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
112 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:166:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
164 | @discardableResult
165 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
166 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
167 | }
168 | }
[99/113] Compiling Harmony RepositoryMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/AnyRepository.swift:119:21: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
117 |
118 | override func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
119 | return base.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:264:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
262 | return deleteAll(query, operation: MainSyncOperation())
263 | case is MainOperation:
264 | return main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:266:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
264 | return main.deleteAll(query)
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:268:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
266 | return cache.deleteAll(query)
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
269 | return self.cache.deleteAll(query)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:269:35: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
269 | return self.cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:272:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
273 | return self.main.deleteAll(query)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:273:34: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
273 | return self.main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
274 | }
275 | default:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryAssembler.swift:64:33: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
62 | @discardableResult
63 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
64 | return deleteRepository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryMapper.swift:167:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
165 | @discardableResult
166 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
167 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:185:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
183 | switch operation {
184 | case let retryOp as RetryOperation:
185 | return repository.deleteAll(query, operation: retryOp.operation).recover { error in
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
186 | if retryOp.canRetry(error) {
187 | return self.deleteAll(query, operation: retryOp.next())
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:193:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
191 | }
192 | default:
193 | return repository.deleteAll(query, operation: RetryOperation(operation, retryRule))
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:112:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
110 | @discardableResult
111 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
112 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:166:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
164 | @discardableResult
165 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
166 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
167 | }
168 | }
[100/113] Compiling Harmony RetryRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/AnyRepository.swift:119:21: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
117 |
118 | override func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
119 | return base.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:264:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
262 | return deleteAll(query, operation: MainSyncOperation())
263 | case is MainOperation:
264 | return main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:266:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
264 | return main.deleteAll(query)
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:268:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
266 | return cache.deleteAll(query)
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
269 | return self.cache.deleteAll(query)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:269:35: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
269 | return self.cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:272:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
273 | return self.main.deleteAll(query)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:273:34: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
273 | return self.main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
274 | }
275 | default:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryAssembler.swift:64:33: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
62 | @discardableResult
63 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
64 | return deleteRepository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryMapper.swift:167:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
165 | @discardableResult
166 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
167 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:185:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
183 | switch operation {
184 | case let retryOp as RetryOperation:
185 | return repository.deleteAll(query, operation: retryOp.operation).recover { error in
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
186 | if retryOp.canRetry(error) {
187 | return self.deleteAll(query, operation: retryOp.next())
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:193:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
191 | }
192 | default:
193 | return repository.deleteAll(query, operation: RetryOperation(operation, retryRule))
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:112:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
110 | @discardableResult
111 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
112 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:166:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
164 | @discardableResult
165 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
166 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
167 | }
168 | }
[101/113] Compiling Harmony SingleDataSourceRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/AnyRepository.swift:119:21: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
117 |
118 | override func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
119 | return base.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:264:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
262 | return deleteAll(query, operation: MainSyncOperation())
263 | case is MainOperation:
264 | return main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:266:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
264 | return main.deleteAll(query)
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:268:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
266 | return cache.deleteAll(query)
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
269 | return self.cache.deleteAll(query)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:269:35: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
269 | return self.cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:272:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
273 | return self.main.deleteAll(query)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:273:34: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
273 | return self.main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
274 | }
275 | default:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryAssembler.swift:64:33: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
62 | @discardableResult
63 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
64 | return deleteRepository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryMapper.swift:167:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
165 | @discardableResult
166 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
167 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:185:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
183 | switch operation {
184 | case let retryOp as RetryOperation:
185 | return repository.deleteAll(query, operation: retryOp.operation).recover { error in
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
186 | if retryOp.canRetry(error) {
187 | return self.deleteAll(query, operation: retryOp.next())
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:193:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
191 | }
192 | default:
193 | return repository.deleteAll(query, operation: RetryOperation(operation, retryRule))
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:112:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
110 | @discardableResult
111 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
112 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:166:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
164 | @discardableResult
165 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
166 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
167 | }
168 | }
[102/113] Compiling Harmony VoidRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/AnyRepository.swift:119:21: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
117 |
118 | override func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
119 | return base.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:264:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
262 | return deleteAll(query, operation: MainSyncOperation())
263 | case is MainOperation:
264 | return main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:266:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
264 | return main.deleteAll(query)
265 | case is CacheOperation:
266 | return cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:268:25: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
266 | return cache.deleteAll(query)
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
269 | return self.cache.deleteAll(query)
270 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:269:35: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
267 | case is MainSyncOperation:
268 | return main.deleteAll(query).flatMap {
269 | return self.cache.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:272:26: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
270 | }
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
273 | return self.main.deleteAll(query)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/CacheRepository.swift:273:34: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
271 | case is CacheSyncOperation:
272 | return cache.deleteAll(query).flatMap {
273 | return self.main.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
274 | }
275 | default:
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryAssembler.swift:64:33: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
62 | @discardableResult
63 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
64 | return deleteRepository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
65 | }
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RepositoryMapper.swift:167:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
165 | @discardableResult
166 | public func deleteAll(_ query: Query, operation: Operation) -> Future<Void> {
167 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
168 | }
169 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:185:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
183 | switch operation {
184 | case let retryOp as RetryOperation:
185 | return repository.deleteAll(query, operation: retryOp.operation).recover { error in
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
186 | if retryOp.canRetry(error) {
187 | return self.deleteAll(query, operation: retryOp.next())
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/RetryRepository.swift:193:31: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
191 | }
192 | default:
193 | return repository.deleteAll(query, operation: RetryOperation(operation, retryRule))
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:112:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
110 | @discardableResult
111 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
112 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Data/Repository/Future/SingleDataSourceRepository.swift:166:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
164 | @discardableResult
165 | public func deleteAll(_ query: Query, operation: Operation = DefaultOperation()) -> Future<Void> {
166 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
167 | }
168 | }
[103/113] Compiling Harmony Executor+Future.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[104/113] Compiling Harmony Future+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[105/113] Compiling Harmony Future+Batch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[106/113] Compiling Harmony Future+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[107/113] Compiling Harmony Future+Functional.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[108/113] Compiling Harmony Future+Operators.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[109/113] Compiling Harmony Future+Optionals.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[110/113] Compiling Harmony Future+Time.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[111/113] Compiling Harmony Future.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[112/113] Compiling Harmony Observable+Batch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[113/113] Compiling Harmony Observable+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Optionals.swift:20:14: warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 | /// Future can't unrwap because value is nil error
20 | public class NilValueError: Error { public init() {} }
| `- warning: non-final class 'NilValueError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |
22 | public extension Future {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:33:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | return Future { resolver in
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:34:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
32 | queue.asyncAfter(deadline: .now() + interval) {
33 | self.resolve(success: { value in
34 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
35 | }, failure: { error in
36 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:36:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
34 | resolver.set(value)
35 | }, failure: { error in
36 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
37 | })
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:71:17: warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | return Future { resolver in
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
| `- warning: capture of 'self' with non-sendable type 'Future<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:82:14: note: generic class 'Future' does not conform to the 'Sendable' protocol
80 | /// Future class. Wrapper of a future value of generic type T or an error.
81 | ///
82 | public class Future<T> {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
83 | /// Future states
84 | public enum State {
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:72:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
70 | queue.asyncAfter(deadline: deadline) {
71 | self.resolve(success: { value in
72 | resolver.set(value)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
73 | }, failure: { error in
74 | resolver.set(error)
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Time.swift:74:21: warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
72 | resolver.set(value)
73 | }, failure: { error in
74 | resolver.set(error)
| `- warning: capture of 'resolver' with non-sendable type 'FutureResolver<T>' in an isolated closure; this is an error in the Swift 6 language mode
75 | })
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future.swift:40:15: note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
38 | /// A FutureResolver resolves a Future.
39 | ///
40 | public struct FutureResolver<T> {
| `- note: consider making generic struct 'FutureResolver' conform to the 'Sendable' protocol
41 | private var future: Future<T>
42 |
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:25:38: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
23 | func async() async throws -> T {
24 | try await withCheckedThrowingContinuation { continuation in
25 | self.then { continuation.resume(returning: $0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
26 | .fail { continuation.resume(throwing: $0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Harmony/Future/Future/Future+Async.swift:37:14: 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
35 | public func withFuture<T>(body: @escaping () async throws -> T) -> Future<T> {
36 | return Future { r in
37 | Task {
| `- 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
38 | let value = try await body()
| `- note: closure captures 'body' which is accessible to code in the current task
39 | r.set(value)
40 | }
[114/130] Compiling HarmonyTesting UUIDObjectMother.swift
[115/131] Compiling HarmonyTesting IntegerObjectModel.swift
[116/131] Compiling HarmonyTesting StringObjectMother.swift
[117/131] Compiling HarmonyTesting EntityObjectMother.swift
[118/131] Compiling HarmonyTesting ErrorObjectMother.swift
[119/131] Compiling HarmonyTesting BoolObjectMother.swift
[120/131] Compiling HarmonyTesting DoubleObjectMother.swift
[121/131] Compiling HarmonyTesting TestUtils.swift
[122/131] Compiling HarmonyTesting URLObjectMother.swift
[123/131] Compiling HarmonyTesting RepositorySpy.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/RepositorySpy.swift:82:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
80 | public func deleteAll(_ query: Query, operation: Harmony.Operation) -> Future<Void> {
81 | deleteAllCalls.append((query, operation))
82 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/RepositorySpy.swift:130:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
128 | public func deleteAll(_ query: Query, operation: Harmony.Operation) -> Future<Void> {
129 | deleteAllCalls.append((query, operation))
130 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
131 | }
132 | }
[124/131] Compiling HarmonyTesting MockInteractorDelete.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/RepositorySpy.swift:82:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
80 | public func deleteAll(_ query: Query, operation: Harmony.Operation) -> Future<Void> {
81 | deleteAllCalls.append((query, operation))
82 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/RepositorySpy.swift:130:27: warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
128 | public func deleteAll(_ query: Query, operation: Harmony.Operation) -> Future<Void> {
129 | deleteAllCalls.append((query, operation))
130 | return repository.deleteAll(query, operation: operation)
| `- warning: 'deleteAll(_:operation:)' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
131 | }
132 | }
[125/131] Compiling HarmonyTesting CodableEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/DataSourceSpy.swift:82:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
80 | public func deleteAll(_ query: Query) -> Future<Void> {
81 | deleteAllCalls.append(query)
82 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/DataSourceSpy.swift:130:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
128 | public func deleteAll(_ query: Query) -> Future<Void> {
129 | deleteAllCalls.append(query)
130 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
131 | }
132 | }
[126/131] Compiling HarmonyTesting DataSourceSpy.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/DataSourceSpy.swift:82:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
80 | public func deleteAll(_ query: Query) -> Future<Void> {
81 | deleteAllCalls.append(query)
82 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/DataSourceSpy.swift:130:27: warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
128 | public func deleteAll(_ query: Query) -> Future<Void> {
129 | deleteAllCalls.append(query)
130 | return dataSource.deleteAll(query)
| `- warning: 'deleteAll' is deprecated: Use delete with AllObjectsQuery to remove all entries or with any other Query to remove one or more entries
131 | }
132 | }
[127/131] Emitting module HarmonyTesting
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockObjectValidation.swift:25:31: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// Mock ObjectValidation implementation with custom return definition.
12 | public struct MockObjectValidation<T>: ObjectValidation {
| `- note: 'T' previously declared here
13 | public let objectValid: Bool
14 | public let arrayValid: Bool
:
23 | }
24 |
25 | public func isObjectValid<T>(_ object: T) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | return objectValid
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockObjectValidation.swift:29:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// Mock ObjectValidation implementation with custom return definition.
12 | public struct MockObjectValidation<T>: ObjectValidation {
| `- note: 'T' previously declared here
13 | public let objectValid: Bool
14 | public let arrayValid: Bool
:
27 | }
28 |
29 | public func isArrayValid<T>(_ objects: [T]) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | return arrayValid
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:9:23: warning: static property 'mockedRequest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | class MockUrlProtocol: URLProtocol {
9 | public static var mockedRequest: URLRequest?
| |- warning: static property 'mockedRequest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedRequest' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedRequest' 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 | public static var mockedResponse: URLResponse?
11 | public static var mockedData: Data?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:10:23: warning: static property 'mockedResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | class MockUrlProtocol: URLProtocol {
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
| |- warning: static property 'mockedResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedResponse' 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
11 | public static var mockedData: Data?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:11:23: warning: static property 'mockedData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
11 | public static var mockedData: Data?
| |- warning: static property 'mockedData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | private weak var activeTask: URLSessionTask?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:8:7: warning: non-final class 'MockUrlProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Harmony
7 |
8 | class MockUrlProtocol: URLProtocol {
| `- warning: non-final class 'MockUrlProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:8:7: warning: 'Sendable' class 'MockUrlProtocol' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
6 | import Harmony
7 |
8 | class MockUrlProtocol: URLProtocol {
| `- warning: 'Sendable' class 'MockUrlProtocol' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:13:22: warning: stored property 'activeTask' of 'Sendable'-conforming class 'MockUrlProtocol' is mutable; this is an error in the Swift 6 language mode
11 | public static var mockedData: Data?
12 |
13 | private weak var activeTask: URLSessionTask?
| `- warning: stored property 'activeTask' of 'Sendable'-conforming class 'MockUrlProtocol' is mutable; this is an error in the Swift 6 language mode
14 |
15 | override public class func canInit(with request: URLRequest) -> Bool {
[128/131] Compiling HarmonyTesting MockObjectValidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockObjectValidation.swift:25:31: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// Mock ObjectValidation implementation with custom return definition.
12 | public struct MockObjectValidation<T>: ObjectValidation {
| `- note: 'T' previously declared here
13 | public let objectValid: Bool
14 | public let arrayValid: Bool
:
23 | }
24 |
25 | public func isObjectValid<T>(_ object: T) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | return objectValid
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockObjectValidation.swift:29:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// Mock ObjectValidation implementation with custom return definition.
12 | public struct MockObjectValidation<T>: ObjectValidation {
| `- note: 'T' previously declared here
13 | public let objectValid: Bool
14 | public let arrayValid: Bool
:
27 | }
28 |
29 | public func isArrayValid<T>(_ objects: [T]) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | return arrayValid
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:9:23: warning: static property 'mockedRequest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | class MockUrlProtocol: URLProtocol {
9 | public static var mockedRequest: URLRequest?
| |- warning: static property 'mockedRequest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedRequest' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedRequest' 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 | public static var mockedResponse: URLResponse?
11 | public static var mockedData: Data?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:10:23: warning: static property 'mockedResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | class MockUrlProtocol: URLProtocol {
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
| |- warning: static property 'mockedResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedResponse' 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
11 | public static var mockedData: Data?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:11:23: warning: static property 'mockedData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
11 | public static var mockedData: Data?
| |- warning: static property 'mockedData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | private weak var activeTask: URLSessionTask?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:8:7: warning: non-final class 'MockUrlProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Harmony
7 |
8 | class MockUrlProtocol: URLProtocol {
| `- warning: non-final class 'MockUrlProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:8:7: warning: 'Sendable' class 'MockUrlProtocol' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
6 | import Harmony
7 |
8 | class MockUrlProtocol: URLProtocol {
| `- warning: 'Sendable' class 'MockUrlProtocol' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:13:22: warning: stored property 'activeTask' of 'Sendable'-conforming class 'MockUrlProtocol' is mutable; this is an error in the Swift 6 language mode
11 | public static var mockedData: Data?
12 |
13 | private weak var activeTask: URLSessionTask?
| `- warning: stored property 'activeTask' of 'Sendable'-conforming class 'MockUrlProtocol' is mutable; this is an error in the Swift 6 language mode
14 |
15 | override public class func canInit(with request: URLRequest) -> Bool {
[129/131] Compiling HarmonyTesting MockUrlProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockObjectValidation.swift:25:31: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// Mock ObjectValidation implementation with custom return definition.
12 | public struct MockObjectValidation<T>: ObjectValidation {
| `- note: 'T' previously declared here
13 | public let objectValid: Bool
14 | public let arrayValid: Bool
:
23 | }
24 |
25 | public func isObjectValid<T>(_ object: T) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
26 | return objectValid
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockObjectValidation.swift:29:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 |
11 | /// Mock ObjectValidation implementation with custom return definition.
12 | public struct MockObjectValidation<T>: ObjectValidation {
| `- note: 'T' previously declared here
13 | public let objectValid: Bool
14 | public let arrayValid: Bool
:
27 | }
28 |
29 | public func isArrayValid<T>(_ objects: [T]) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | return arrayValid
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:9:23: warning: static property 'mockedRequest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | class MockUrlProtocol: URLProtocol {
9 | public static var mockedRequest: URLRequest?
| |- warning: static property 'mockedRequest' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedRequest' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedRequest' 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 | public static var mockedResponse: URLResponse?
11 | public static var mockedData: Data?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:10:23: warning: static property 'mockedResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | class MockUrlProtocol: URLProtocol {
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
| |- warning: static property 'mockedResponse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedResponse' 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
11 | public static var mockedData: Data?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:11:23: warning: static property 'mockedData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
11 | public static var mockedData: Data?
| |- warning: static property 'mockedData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | private weak var activeTask: URLSessionTask?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:8:7: warning: non-final class 'MockUrlProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Harmony
7 |
8 | class MockUrlProtocol: URLProtocol {
| `- warning: non-final class 'MockUrlProtocol' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:8:7: warning: 'Sendable' class 'MockUrlProtocol' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
6 | import Harmony
7 |
8 | class MockUrlProtocol: URLProtocol {
| `- warning: 'Sendable' class 'MockUrlProtocol' cannot inherit from another class other than 'NSObject'; this is an error in the Swift 6 language mode
9 | public static var mockedRequest: URLRequest?
10 | public static var mockedResponse: URLResponse?
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/MockUrlProtocol.swift:13:22: warning: stored property 'activeTask' of 'Sendable'-conforming class 'MockUrlProtocol' is mutable; this is an error in the Swift 6 language mode
11 | public static var mockedData: Data?
12 |
13 | private weak var activeTask: URLSessionTask?
| `- warning: stored property 'activeTask' of 'Sendable'-conforming class 'MockUrlProtocol' is mutable; this is an error in the Swift 6 language mode
14 |
15 | override public class func canInit(with request: URLRequest) -> Bool {
[130/131] Compiling HarmonyTesting MockInteractorGet.swift
[131/131] Compiling HarmonyTesting MockInteractorPut.swift
Build complete! (17.87s)
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/Entity.json
/Users/admin/builder/spi-builder-workspace/Sources/HarmonyTesting/Data/EntityList.json
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Harmony",
"name" : "Harmony",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Harmony",
"targets" : [
"Harmony"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HarmonyTesting",
"targets" : [
"HarmonyTesting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HarmonyTests",
"module_type" : "SwiftTarget",
"name" : "HarmonyTests",
"path" : "Tests/HarmonyTests",
"sources" : [
"AsyncExecutorTests.swift",
"AsyncInMemoryDataSourceTests.swift",
"CacheRepositoryTests.swift",
"DelayedMainQueueExecutorTests.swift",
"DeleteNetworkDataSourceTests.swift",
"DeviceStorageDataSourcePrefixTests.swift",
"DeviceStorageDataSourceRegularTests.swift",
"DeviceStorageDataSourceRootKeyTests.swift",
"DeviceStorageDataSourceTester.swift",
"FileSystemStorageDataSourceTests.swift",
"FutureTests.swift",
"GenericNetworkDataSourceUtils.swift",
"GetNetworkDataSourceTests.swift",
"InMemoryDataSourceTests.swift",
"NetworkQueryTests.swift",
"PutNetworkDataSourceTests.swift",
"TimedCacheDataSourceTests.swift"
],
"target_dependencies" : [
"Harmony"
],
"type" : "test"
},
{
"c99name" : "HarmonyTesting",
"module_type" : "SwiftTarget",
"name" : "HarmonyTesting",
"path" : "Sources/HarmonyTesting",
"product_memberships" : [
"HarmonyTesting"
],
"sources" : [
"Data/CodableEntity.swift",
"Data/DataSourceSpy.swift",
"Data/MockObjectValidation.swift",
"Data/MockUrlProtocol.swift",
"Data/RepositorySpy.swift",
"Interactor/MockInteractorDelete.swift",
"Interactor/MockInteractorGet.swift",
"Interactor/MockInteractorPut.swift",
"ObjectMother/BoolObjectMother.swift",
"ObjectMother/DoubleObjectMother.swift",
"ObjectMother/EntityObjectMother.swift",
"ObjectMother/ErrorObjectMother.swift",
"ObjectMother/IntegerObjectModel.swift",
"ObjectMother/StringObjectMother.swift",
"ObjectMother/URLObjectMother.swift",
"ObjectMother/UUIDObjectMother.swift",
"TestUtils.swift"
],
"target_dependencies" : [
"Harmony"
],
"type" : "library"
},
{
"c99name" : "Harmony",
"module_type" : "SwiftTarget",
"name" : "Harmony",
"path" : "Sources/Harmony",
"product_memberships" : [
"Harmony",
"HarmonyTesting"
],
"sources" : [
"Common/Error/ClassError.swift",
"Common/Error/CoreError.swift",
"Common/Error/ErrorHelper.swift",
"Common/Extensions/Data+Extensions.swift",
"Common/Extensions/JSONDecoding.swift",
"Common/Extensions/Number+Extensions.swift",
"Common/Extensions/String+Extensions.swift",
"Common/JSON/CodingKeyStrategies.swift",
"Common/JSON/MutableCodingKey.swift",
"Common/KeyValueObserver.swift",
"Common/LinkRecognizer.swift",
"Common/Logger/DeviceConsoleLogger.swift",
"Common/Logger/Logger.swift",
"Common/Network/URL+URLRequest.swift",
"Common/Network/URLSession+ResponseValidation.swift",
"Common/ScopeLock/ScopeLock.swift",
"Common/ScopeLock/ScopeLockFuture.swift",
"Data/DataSource/Async/AsyncAnyGetDataSource.swift",
"Data/DataSource/Async/AsyncAnyPutDataSource.swift",
"Data/DataSource/Async/AsyncDataSource.swift",
"Data/DataSource/Async/AsyncDataSourceAssembler.swift",
"Data/DataSource/Async/AsyncDataSourceMapper.swift",
"Data/DataSource/Async/AsyncDataSourceWrapper.swift",
"Data/DataSource/Async/AsyncInMemoryDataSource.swift",
"Data/DataSource/Async/AsyncVoidDataSource.swift",
"Data/DataSource/Future/AnyDataSource.swift",
"Data/DataSource/Future/AnyGetDataSource.swift",
"Data/DataSource/Future/AnyPutDataSource.swift",
"Data/DataSource/Future/DataSource.swift",
"Data/DataSource/Future/DataSourceAssembler.swift",
"Data/DataSource/Future/DataSourceMapper.swift",
"Data/DataSource/Future/DataSourceValidator.swift",
"Data/DataSource/Future/DebugDataSource.swift",
"Data/DataSource/Future/DeleteNetworkDataSource.swift",
"Data/DataSource/Future/DeviceStorageDataSource.swift",
"Data/DataSource/Future/FileSystemStorageDataSource.swift",
"Data/DataSource/Future/GetNetworkDataSource.swift",
"Data/DataSource/Future/InMemoryDataSource.swift",
"Data/DataSource/Future/PutNetworkDataSource.swift",
"Data/DataSource/Future/RetryDataSource.swift",
"Data/DataSource/Future/TimedCacheDataSource.swift",
"Data/DataSource/Future/VoidDataSource.swift",
"Data/Mapper/Mapper+Codable.swift",
"Data/Mapper/Mapper+NSCoding.swift",
"Data/Mapper/Mapper.swift",
"Data/Operation/Operation.swift",
"Data/Query/NetworkQuery.swift",
"Data/Query/Query.swift",
"Data/Repository/Async/AsyncAnyGetRepository.swift",
"Data/Repository/Async/AsyncAnyPutRepository.swift",
"Data/Repository/Async/AsyncRepository.swift",
"Data/Repository/Async/AsyncRepositoryAssembler.swift",
"Data/Repository/Async/AsyncRepositoryMapper.swift",
"Data/Repository/Async/AsyncRepositoryWrapper.swift",
"Data/Repository/Async/AsyncSingleDataSourceRepository.swift",
"Data/Repository/Async/AsyncVoidRepository.swift",
"Data/Repository/Future/AnyGetRepository.swift",
"Data/Repository/Future/AnyPutRepository.swift",
"Data/Repository/Future/AnyRepository.swift",
"Data/Repository/Future/CacheRepository.swift",
"Data/Repository/Future/Repository.swift",
"Data/Repository/Future/RepositoryAssembler.swift",
"Data/Repository/Future/RepositoryMapper.swift",
"Data/Repository/Future/RetryRepository.swift",
"Data/Repository/Future/SingleDataSourceRepository.swift",
"Data/Repository/Future/VoidRepository.swift",
"Data/Validator/ObjectValidation.swift",
"Data/Validator/VastraInvalidationStrategy.swift",
"Data/Validator/VastraReachabilityStrategy.swift",
"Data/Validator/VastraService.swift",
"Data/Validator/VastraStrategy.swift",
"Data/Validator/VastraTimestampStrategy.swift",
"Data/Validator/VastraValidationStrategy.swift",
"Domain/Async/AsyncDeleteInteractor.swift",
"Domain/Async/AsyncExecutor.swift",
"Domain/Async/AsyncGetInteractor.swift",
"Domain/Async/AsyncInteractor.swift",
"Domain/Async/AsyncPutInteractor.swift",
"Domain/Future/Interactor.swift",
"Domain/Future/InteractorDelete.swift",
"Domain/Future/InteractorGet.swift",
"Domain/Future/InteractorPut.swift",
"Future/Executor/Collections+Executor.swift",
"Future/Executor/DirectExecutor.swift",
"Future/Executor/DispatchQueueExecutor.swift",
"Future/Executor/Executor.swift",
"Future/Executor/ExecutorFactory.swift",
"Future/Executor/OperationQueueExecutor.swift",
"Future/Future/Executor+Future.swift",
"Future/Future/Future+Async.swift",
"Future/Future/Future+Batch.swift",
"Future/Future/Future+Extensions.swift",
"Future/Future/Future+Functional.swift",
"Future/Future/Future+Operators.swift",
"Future/Future/Future+Optionals.swift",
"Future/Future/Future+Time.swift",
"Future/Future/Future.swift",
"Future/Observable/Observable+Batch.swift",
"Future/Observable/Observable+Extensions.swift",
"Future/Observable/Observable+Functional.swift",
"Future/Observable/Observable+Optionals.swift",
"Future/Observable/Observable+Time.swift",
"Future/Observable/Observable.swift",
"Future/Observable/ObservableHub.swift",
"Security/KeychainDataSource.swift",
"Security/KeychainGetInteractor.swift",
"Security/KeychainService.swift",
"Security/KeychainSetInteractor.swift",
"Security/SecureKey.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.