Build Information
Successful build of swift-composable-analytics, reference main (2603c3
), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 21:06:57 UTC.
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/oliverfoggin/swift-composable-analytics.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/oliverfoggin/swift-composable-analytics
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2603c32 Merge pull request #8 from ZevEisenberg/patch-1
Cloned https://github.com/oliverfoggin/swift-composable-analytics.git
Revision (git rev-parse @):
2603c320ae042851e7c3f48d369f87afa1c01fb5
SUCCESS checkout https://github.com/oliverfoggin/swift-composable-analytics.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/oliverfoggin/swift-composable-analytics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/13] Write sources
[12/13] Write swift-version-117DEE11B69C53C9.txt
[14/76] Compiling OrderedCollections OrderedSet+Codable.swift
[15/76] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[16/76] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[17/76] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[18/76] Compiling OrderedCollections OrderedSet+Diffing.swift
[19/81] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[20/81] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[21/81] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[22/81] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[23/81] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[24/81] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[25/81] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[26/81] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[27/81] Compiling OrderedCollections OrderedSet+SubSequence.swift
[28/81] Compiling OrderedCollections OrderedSet+Testing.swift
[29/81] Compiling OrderedCollections _HashTable+Bucket.swift
[30/81] Compiling OrderedCollections _HashTable+BucketIterator.swift
[31/81] Compiling OrderedCollections _HashTable+Constants.swift
[32/81] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[33/81] Compiling OrderedCollections _HashTable+Testing.swift
[34/81] Emitting module OrderedCollections
[35/81] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[36/81] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[37/81] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[38/81] Compiling OrderedCollections OrderedDictionary+Values.swift
[39/81] Compiling OrderedCollections OrderedDictionary.swift
[40/81] Compiling OrderedCollections OrderedSet+Equatable.swift
[41/81] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[42/81] Compiling OrderedCollections OrderedSet+Hashable.swift
[43/81] Compiling OrderedCollections OrderedSet+Initializers.swift
[44/81] Compiling OrderedCollections OrderedSet+Insertions.swift
[45/81] Compiling OrderedCollections OrderedSet+Invariants.swift
[46/81] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[47/81] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[48/81] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[49/81] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[50/81] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[51/81] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[52/81] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[53/81] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[54/81] Compiling OrderedCollections OrderedDictionary+Elements.swift
[55/81] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[56/81] Compiling OrderedCollections _HashTable.swift
[57/81] Compiling OrderedCollections _Hashtable+Header.swift
[58/81] Compiling OrderedCollections OrderedDictionary+Codable.swift
[59/81] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[60/81] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[61/81] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[62/81] Compiling OrderedCollections OrderedSet.swift
[63/81] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[64/81] Compiling OrderedCollections _UnsafeBitset.swift
[65/98] Compiling IdentifiedCollections IdentifiedArray+MutableCollection.swift
[66/98] Compiling IdentifiedCollections IdentifiedArray+RandomAccessCollection.swift
[67/99] Compiling IdentifiedCollections IdentifiedArray+Sendable.swift
[68/99] Compiling IdentifiedCollections IdentifiedArray+RangeReplaceableCollection.swift
[69/99] Compiling IdentifiedCollections IdentifiedArray+Initializers.swift
[70/99] Compiling IdentifiedCollections IdentifiedArray+Insertions.swift
[71/99] Compiling IdentifiedCollections IdentifiedArray+ExpressibleByArrayLiteral.swift
[72/99] Compiling IdentifiedCollections IdentifiedArray+Hashable.swift
[73/99] Compiling IdentifiedCollections IdentifiedArray.swift
[74/99] Compiling ConcurrencyExtras MainSerialExecutor.swift
[75/99] Compiling ConcurrencyExtras UncheckedSendable.swift
[76/99] Compiling ConcurrencyExtras Task.swift
[77/99] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[78/99] Compiling ConcurrencyExtras AsyncStream.swift
[79/99] Compiling ConcurrencyExtras ActorIsolated.swift
[80/99] Emitting module ConcurrencyExtras
[81/99] Compiling ConcurrencyExtras LockIsolated.swift
[82/99] Compiling IdentifiedCollections IdentifiedArray+CustomStringConvertible.swift
[83/99] Compiling IdentifiedCollections IdentifiedArray+Equatable.swift
[84/99] Compiling IdentifiedCollections Identified.swift
[85/99] Compiling IdentifiedCollections IdentifiedArray+Codable.swift
[86/99] Compiling IdentifiedCollections IdentifiedArray+CustomDebugStringConvertible.swift
[87/99] Compiling IdentifiedCollections IdentifiedArray+CustomReflectable.swift
[88/99] Emitting module IdentifiedCollections
[89/99] Compiling IdentifiedCollections IdentifiedArray+Collection.swift
[90/99] Compiling IdentifiedCollections IdentifiedArray+CollectionAlgorithms.swift
[91/99] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[92/99] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[93/99] Compiling XCTestDynamicOverlay XCTFail.swift
[94/99] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[95/99] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[96/99] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[97/99] Compiling XCTestDynamicOverlay Deprecations.swift
[98/99] Compiling XCTestDynamicOverlay Unimplemented.swift
[99/99] Emitting module XCTestDynamicOverlay
[100/154] Compiling CasePaths Operators.swift
[101/154] Compiling CasePaths XCTUnwrap.swift
[102/154] Compiling CasePaths TypeName.swift
[103/154] Compiling CasePaths OpenExistential.swift
[104/154] Compiling CasePaths CasePath.swift
[105/154] Compiling CasePaths CasePaths.swift
[106/154] Compiling CasePaths EnumReflection.swift
[107/154] Emitting module CasePaths
[108/154] Compiling CombineSchedulers UIKit.swift
[109/154] Compiling CombineSchedulers UIScheduler.swift
[110/155] Compiling Clocks UnimplementedClock.swift
[111/155] Compiling Clocks Timer.swift
[112/155] Compiling Clocks ImmediateClock.swift
[113/155] Emitting module Clocks
[114/155] Emitting module CombineSchedulers
[115/155] Compiling CombineSchedulers TestScheduler.swift
[116/155] Compiling CombineSchedulers Timer.swift
[117/155] Compiling CombineSchedulers UnimplementedScheduler.swift
[118/155] Compiling CustomDump Mirror.swift
[119/155] Compiling CustomDump String.swift
[120/157] Compiling CustomDump Box.swift
[121/157] Compiling CustomDump CollectionDifference.swift
[122/157] Compiling CustomDump Unordered.swift
[123/157] Compiling CustomDump XCTAssertNoDifference.swift
[124/157] Compiling CustomDump Dump.swift
[125/157] Compiling CustomDump AnyType.swift
[126/157] Emitting module CustomDump
[127/157] Compiling CustomDump UserNotifications.swift
[128/157] Compiling CustomDump UserNotificationsUI.swift
[129/157] Compiling CustomDump CustomDumpReflectable.swift
[130/157] Compiling CustomDump Photos.swift
[131/157] Compiling CustomDump Speech.swift
[132/157] Compiling CustomDump StoreKit.swift
[133/157] Compiling CustomDump Foundation.swift
[134/157] Compiling CustomDump GameKit.swift
[135/157] Compiling CustomDump KeyPath.swift
[136/157] Compiling CustomDump CustomDumpRepresentable.swift
[137/157] Compiling CustomDump CustomDumpStringConvertible.swift
[138/157] Compiling CustomDump Diff.swift
[139/157] Compiling CombineSchedulers NSRecursiveLock.swift
[140/157] Compiling CombineSchedulers Lock.swift
[141/157] Compiling CustomDump CoreMotion.swift
[142/157] Compiling CustomDump Swift.swift
[143/157] Compiling CustomDump CoreImage.swift
[144/157] Compiling CustomDump CoreLocation.swift
[145/157] Compiling CombineSchedulers SwiftUI.swift
[146/157] Compiling Clocks Shims.swift
[147/157] Compiling Clocks AnyClock.swift
[148/157] Compiling Clocks Lock.swift
[149/157] Compiling Clocks _AsyncTimerSequence.swift
[150/157] Compiling Clocks TestClock.swift
[151/157] Compiling Clocks SwiftUI.swift
[152/179] Compiling Dependencies MainRunLoop.swift
[153/179] Compiling Dependencies OpenURL.swift
[154/179] Compiling Dependencies Dependency.swift
[155/179] Compiling Dependencies DependencyContext.swift
[156/179] Compiling Dependencies DependencyKey.swift
[157/179] Compiling Dependencies Context.swift
[158/188] Emitting module Dependencies
[159/190] Compiling Dependencies OpenExistential.swift
[160/190] Compiling Dependencies RuntimeWarnings.swift
[161/190] Compiling Dependencies UUID.swift
[162/190] Compiling Dependencies WithRandomNumberGenerator.swift
[163/190] Compiling Dependencies Locale.swift
[164/190] Compiling Dependencies MainQueue.swift
[165/190] Compiling Dependencies TimeZone.swift
[166/190] Compiling Dependencies URLSession.swift
[167/190] Compiling Dependencies Deprecations.swift
[168/190] Compiling Dependencies Exports.swift
[170/190] Compiling Dependencies Date.swift
[171/190] Compiling Dependencies FireAndForget.swift
[175/190] Compiling Dependencies DependencyValues.swift
[176/190] Compiling Dependencies Calendar.swift
[177/190] Compiling Dependencies Clocks.swift
[180/190] Compiling Dependencies TypeName.swift
[181/190] Compiling Dependencies WithDependencies.swift
[182/190] Compiling SwiftUINavigationCore RuntimeWarnings.swift
[183/190] Compiling SwiftUINavigationCore Deprecations.swift
[184/190] Compiling SwiftUINavigationCore ConfirmationDialogState.swift
[185/190] Compiling SwiftUINavigationCore ButtonState.swift
[186/190] Emitting module SwiftUINavigationCore
[187/190] Compiling SwiftUINavigationCore ButtonStateBuilder.swift
[188/190] Compiling SwiftUINavigationCore AlertState.swift
[189/190] Compiling SwiftUINavigationCore Bind.swift
[190/190] Compiling SwiftUINavigationCore TextState.swift
[191/250] Compiling ComposableArchitecture OpenExistential.swift
[192/250] Compiling ComposableArchitecture PresentationID.swift
[193/250] Compiling ComposableArchitecture ReturningLastNonNilValue.swift
[194/250] Compiling ComposableArchitecture RuntimeWarnings.swift
[195/250] Compiling ComposableArchitecture StackIDGenerator.swift
[196/250] Compiling ComposableArchitecture TypeName.swift
[197/250] Compiling ComposableArchitecture Reducer.swift
[198/256] Compiling ComposableArchitecture CurrentValueRelay.swift
[199/256] Compiling ComposableArchitecture Debug.swift
[200/256] Compiling ComposableArchitecture Deprecations.swift
[201/256] Compiling ComposableArchitecture EphemeralState.swift
[202/256] Compiling ComposableArchitecture Exports.swift
[203/256] Compiling ComposableArchitecture Locking.swift
[204/256] Compiling ComposableArchitecture NavigationID.swift
[205/256] Compiling ComposableArchitecture ReducerBuilder.swift
[206/256] Compiling ComposableArchitecture BindingReducer.swift
[207/256] Compiling ComposableArchitecture CombineReducers.swift
[208/256] Compiling ComposableArchitecture DebugReducer.swift
[209/256] Compiling ComposableArchitecture DependencyKeyWritingReducer.swift
[210/256] Compiling ComposableArchitecture EmptyReducer.swift
[211/256] Compiling ComposableArchitecture ForEachReducer.swift
[212/256] Compiling ComposableArchitecture Publisher.swift
[213/256] Compiling ComposableArchitecture TaskResult.swift
[214/256] Compiling ComposableArchitecture Throttle.swift
[215/256] Compiling ComposableArchitecture AreOrderedSetsDuplicates.swift
[216/256] Compiling ComposableArchitecture Binding+IsPresent.swift
[217/256] Compiling ComposableArchitecture Box.swift
[218/256] Compiling ComposableArchitecture Create.swift
[219/256] Emitting module ComposableArchitecture
[220/256] Compiling ComposableArchitecture Dismiss.swift
[221/256] Compiling ComposableArchitecture IsPresented.swift
[222/256] Compiling ComposableArchitecture Effect.swift
[223/256] Compiling ComposableArchitecture Animation.swift
[224/256] Compiling ComposableArchitecture Cancellation.swift
[225/256] Compiling ComposableArchitecture Debounce.swift
[226/256] Compiling ComposableArchitecture EffectActions.swift
[227/256] Compiling ComposableArchitecture IfLetStore.swift
[228/256] Compiling ComposableArchitecture NavigationDestination.swift
[229/256] Compiling ComposableArchitecture NavigationStackStore.swift
[230/256] Compiling ComposableArchitecture Popover.swift
[231/256] Compiling ComposableArchitecture PresentationModifier.swift
[232/256] Compiling ComposableArchitecture Sheet.swift
[233/256] Compiling ComposableArchitecture IfCaseLetReducer.swift
[234/256] Compiling ComposableArchitecture IfLetReducer.swift
[235/256] Compiling ComposableArchitecture OnChange.swift
[236/256] Compiling ComposableArchitecture Optional.swift
[237/256] Compiling ComposableArchitecture PresentationReducer.swift
[238/256] Compiling ComposableArchitecture Reduce.swift
[239/256] Compiling ComposableArchitecture ConfirmationDialog.swift
[240/256] Compiling ComposableArchitecture ActionSheet.swift
[241/256] Compiling ComposableArchitecture LegacyAlert.swift
[242/256] Compiling ComposableArchitecture NavigationLinkStore.swift
[243/256] Compiling ComposableArchitecture ForEachStore.swift
[244/256] Compiling ComposableArchitecture FullScreenCover.swift
[245/256] Compiling ComposableArchitecture Scope.swift
[246/256] Compiling ComposableArchitecture SignpostReducer.swift
[247/256] Compiling ComposableArchitecture StackReducer.swift
[248/256] Compiling ComposableArchitecture Store.swift
[249/256] Compiling ComposableArchitecture Alert.swift
[250/256] Compiling ComposableArchitecture Binding.swift
[251/256] Compiling ComposableArchitecture SwitchStore.swift
[252/256] Compiling ComposableArchitecture WithViewStore.swift
[253/256] Compiling ComposableArchitecture TestStore.swift
[254/256] Compiling ComposableArchitecture AlertStateUIKit.swift
[255/256] Compiling ComposableArchitecture IfLetUIKit.swift
[256/256] Compiling ComposableArchitecture ViewStore.swift
[257/265] Compiling ComposableAnalytics AnalyticsReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsReducer.swift:28:4: warning: capture of 'self' with non-sendable type 'AnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import ComposableArchitecture
3 |
4 | public struct AnalyticsReducer<State, Action>: Reducer {
| `- note: consider making generic struct 'AnalyticsReducer' conform to the 'Sendable' protocol
5 | @usableFromInline
6 | let toAnalyticsData: (State, Action) -> AnalyticsData?
:
26 |
27 | return .run { _ in
28 | analyticsClient.sendAnalytics(analyticsData)
| `- warning: capture of 'self' with non-sendable type 'AnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsReducer.swift:28:34: warning: capture of 'analyticsData' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | return .run { _ in
28 | analyticsClient.sendAnalytics(analyticsData)
| `- warning: capture of 'analyticsData' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsData.swift:1:13: note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
1 | public enum AnalyticsData: Equatable {
| `- note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
2 | case event(name: String, properties: [String: String] = [:])
3 | case screen(name: String)
[258/265] Compiling ComposableAnalytics AnalyticsDependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:4:20: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension AnalyticsClient: DependencyKey {
4 | public static let liveValue: AnalyticsClient = .unimplemented
| |- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'liveValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static let testValue: AnalyticsClient = .unimplemented
6 | public static let previewValue: AnalyticsClient = .consoleLogger
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:21:13: warning: static property 'unimplemented' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | extension AnalyticsClient {
21 | static var unimplemented: Self = Self(
| |- warning: static property 'unimplemented' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unimplemented' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unimplemented' 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
22 | sendAnalytics: XCTUnimplemented("\(Self.self).sendAnalytics")
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:5:20: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension AnalyticsClient: DependencyKey {
4 | public static let liveValue: AnalyticsClient = .unimplemented
5 | public static let testValue: AnalyticsClient = .unimplemented
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'testValue' 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
6 | public static let previewValue: AnalyticsClient = .consoleLogger
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:6:20: warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public static let liveValue: AnalyticsClient = .unimplemented
5 | public static let testValue: AnalyticsClient = .unimplemented
6 | public static let previewValue: AnalyticsClient = .consoleLogger
| |- warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'previewValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:25:20: warning: static property 'consoleLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | )
24 |
25 | public static var consoleLogger: Self = .init(
| |- warning: static property 'consoleLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleLogger' 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
26 | sendAnalytics: { analytics in
27 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:3:1: warning: type 'AnalyticsClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import ComposableArchitecture
2 |
3 | extension AnalyticsClient: DependencyKey {
| `- warning: type 'AnalyticsClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
4 | public static let liveValue: AnalyticsClient = .unimplemented
5 | public static let testValue: AnalyticsClient = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
[259/265] Compiling ComposableAnalytics AnalyticsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:21:13: warning: static property 'unimplemented' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | extension AnalyticsClient {
21 | static var unimplemented: Self = Self(
| |- warning: static property 'unimplemented' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unimplemented' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unimplemented' 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
22 | sendAnalytics: XCTUnimplemented("\(Self.self).sendAnalytics")
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:25:20: warning: static property 'consoleLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | )
24 |
25 | public static var consoleLogger: Self = .init(
| |- warning: static property 'consoleLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleLogger' 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
26 | sendAnalytics: { analytics in
27 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:15:4: warning: capture of 'clients' with non-sendable type 'AnalyticsClient...' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
:
13 | public static func merge(_ clients: AnalyticsClient...) -> Self {
14 | .init { data in
15 | clients.forEach { $0.sendAnalytics(data) }
| `- warning: capture of 'clients' with non-sendable type 'AnalyticsClient...' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:39:20: warning: capture of 'expectedAnalytics' with non-sendable type 'AnalyticsData?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let fulfill = expectation(description: "analytics")
38 | self.sendAnalytics = { @Sendable [self] analytics in
39 | if analytics == expectedAnalytics {
| `- warning: capture of 'expectedAnalytics' with non-sendable type 'AnalyticsData?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | fulfill()
41 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsData.swift:1:13: note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
1 | public enum AnalyticsData: Equatable {
| `- note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
2 | case event(name: String, properties: [String: String] = [:])
3 | case screen(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:40:5: warning: capture of 'fulfill' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
38 | self.sendAnalytics = { @Sendable [self] analytics in
39 | if analytics == expectedAnalytics {
40 | fulfill()
| |- warning: capture of 'fulfill' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
41 | } else {
42 | self.sendAnalytics(analytics)
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:42:5: warning: capture of 'self' with non-sendable type 'AnalyticsClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
:
40 | fulfill()
41 | } else {
42 | self.sendAnalytics(analytics)
| `- warning: capture of 'self' with non-sendable type 'AnalyticsClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | }
44 | }
[260/265] Emitting module ComposableAnalytics
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:21:13: warning: static property 'unimplemented' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | extension AnalyticsClient {
21 | static var unimplemented: Self = Self(
| |- warning: static property 'unimplemented' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unimplemented' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unimplemented' 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
22 | sendAnalytics: XCTUnimplemented("\(Self.self).sendAnalytics")
23 | )
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:25:20: warning: static property 'consoleLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | )
24 |
25 | public static var consoleLogger: Self = .init(
| |- warning: static property 'consoleLogger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleLogger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleLogger' 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
26 | sendAnalytics: { analytics in
27 | #if DEBUG
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:4:20: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension AnalyticsClient: DependencyKey {
4 | public static let liveValue: AnalyticsClient = .unimplemented
| |- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'liveValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static let testValue: AnalyticsClient = .unimplemented
6 | public static let previewValue: AnalyticsClient = .consoleLogger
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:5:20: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension AnalyticsClient: DependencyKey {
4 | public static let liveValue: AnalyticsClient = .unimplemented
5 | public static let testValue: AnalyticsClient = .unimplemented
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'testValue' 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
6 | public static let previewValue: AnalyticsClient = .consoleLogger
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:6:20: warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public static let liveValue: AnalyticsClient = .unimplemented
5 | public static let testValue: AnalyticsClient = .unimplemented
6 | public static let previewValue: AnalyticsClient = .consoleLogger
| |- warning: static property 'previewValue' is not concurrency-safe because non-'Sendable' type 'AnalyticsClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'previewValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsDependency.swift:3:1: warning: type 'AnalyticsClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import ComposableArchitecture
2 |
3 | extension AnalyticsClient: DependencyKey {
| `- warning: type 'AnalyticsClient' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
4 | public static let liveValue: AnalyticsClient = .unimplemented
5 | public static let testValue: AnalyticsClient = .unimplemented
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsClient.swift:4:15: note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
2 | import XCTestDynamicOverlay
3 |
4 | public struct AnalyticsClient {
| `- note: consider making struct 'AnalyticsClient' conform to the 'Sendable' protocol
5 | public var sendAnalytics: @Sendable (AnalyticsData) -> Void
6 |
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsReducer.swift:28:4: warning: capture of 'self' with non-sendable type 'AnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import ComposableArchitecture
3 |
4 | public struct AnalyticsReducer<State, Action>: Reducer {
| `- note: consider making generic struct 'AnalyticsReducer' conform to the 'Sendable' protocol
5 | @usableFromInline
6 | let toAnalyticsData: (State, Action) -> AnalyticsData?
:
26 |
27 | return .run { _ in
28 | analyticsClient.sendAnalytics(analyticsData)
| `- warning: capture of 'self' with non-sendable type 'AnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsReducer.swift:28:34: warning: capture of 'analyticsData' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 |
27 | return .run { _ in
28 | analyticsClient.sendAnalytics(analyticsData)
| `- warning: capture of 'analyticsData' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsData.swift:1:13: note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
1 | public enum AnalyticsData: Equatable {
| `- note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
2 | case event(name: String, properties: [String: String] = [:])
3 | case screen(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/MultipleAnalyticsReducer.swift:29:17: warning: capture of 'self' with non-sendable type 'MultipleAnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import ComposableArchitecture
3 |
4 | public struct MultipleAnalyticsReducer<State, Action>: Reducer {
| `- note: consider making generic struct 'MultipleAnalyticsReducer' conform to the 'Sendable' protocol
5 | @usableFromInline
6 | let toAnalyticsData: (State, Action) -> [AnalyticsData]?
:
27 | return .concatenate(
28 | analyticsData.map { data in
29 | .run { _ in analyticsClient.sendAnalytics(data) }
| `- warning: capture of 'self' with non-sendable type 'MultipleAnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/MultipleAnalyticsReducer.swift:29:47: warning: capture of 'data' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return .concatenate(
28 | analyticsData.map { data in
29 | .run { _ in analyticsClient.sendAnalytics(data) }
| `- warning: capture of 'data' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsData.swift:1:13: note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
1 | public enum AnalyticsData: Equatable {
| `- note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
2 | case event(name: String, properties: [String: String] = [:])
3 | case screen(name: String)
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/OnChangeReducer.swift:51:37: warning: capture of 'self' with non-sendable type '_OnChangeAnalyticsReducer<Base, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct _OnChangeAnalyticsReducer<Base: Reducer, Value: Equatable>: Reducer {
| `- note: consider making generic struct '_OnChangeAnalyticsReducer' conform to the 'Sendable' protocol
15 | @usableFromInline
16 | let base: Base
:
49 | return isDuplicate(oldValue, newValue)
50 | ? effects
51 | : effects.merge(with: .run { _ in analyticsClient.sendAnalytics(toAnalyticsData(oldValue, newValue)) })
| `- warning: capture of 'self' with non-sendable type '_OnChangeAnalyticsReducer<Base, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/OnChangeReducer.swift:51:83: warning: capture of 'oldValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct _OnChangeAnalyticsReducer<Base: Reducer, Value: Equatable>: Reducer {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
15 | @usableFromInline
16 | let base: Base
:
49 | return isDuplicate(oldValue, newValue)
50 | ? effects
51 | : effects.merge(with: .run { _ in analyticsClient.sendAnalytics(toAnalyticsData(oldValue, newValue)) })
| `- warning: capture of 'oldValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/OnChangeReducer.swift:51:93: warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct _OnChangeAnalyticsReducer<Base: Reducer, Value: Equatable>: Reducer {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
15 | @usableFromInline
16 | let base: Base
:
49 | return isDuplicate(oldValue, newValue)
50 | ? effects
51 | : effects.merge(with: .run { _ in analyticsClient.sendAnalytics(toAnalyticsData(oldValue, newValue)) })
| `- warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
[261/265] Compiling ComposableAnalytics Expectation.swift
[262/265] Compiling ComposableAnalytics MultipleAnalyticsReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/MultipleAnalyticsReducer.swift:29:17: warning: capture of 'self' with non-sendable type 'MultipleAnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import ComposableArchitecture
3 |
4 | public struct MultipleAnalyticsReducer<State, Action>: Reducer {
| `- note: consider making generic struct 'MultipleAnalyticsReducer' conform to the 'Sendable' protocol
5 | @usableFromInline
6 | let toAnalyticsData: (State, Action) -> [AnalyticsData]?
:
27 | return .concatenate(
28 | analyticsData.map { data in
29 | .run { _ in analyticsClient.sendAnalytics(data) }
| `- warning: capture of 'self' with non-sendable type 'MultipleAnalyticsReducer<State, Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/MultipleAnalyticsReducer.swift:29:47: warning: capture of 'data' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | return .concatenate(
28 | analyticsData.map { data in
29 | .run { _ in analyticsClient.sendAnalytics(data) }
| `- warning: capture of 'data' with non-sendable type 'AnalyticsData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | }
31 | )
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/AnalyticsData.swift:1:13: note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
1 | public enum AnalyticsData: Equatable {
| `- note: consider making enum 'AnalyticsData' conform to the 'Sendable' protocol
2 | case event(name: String, properties: [String: String] = [:])
3 | case screen(name: String)
[263/265] Compiling ComposableAnalytics XCTCurrentTestCase.swift
[264/265] Compiling ComposableAnalytics AnalyticsData.swift
[265/265] Compiling ComposableAnalytics OnChangeReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/OnChangeReducer.swift:51:37: warning: capture of 'self' with non-sendable type '_OnChangeAnalyticsReducer<Base, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct _OnChangeAnalyticsReducer<Base: Reducer, Value: Equatable>: Reducer {
| `- note: consider making generic struct '_OnChangeAnalyticsReducer' conform to the 'Sendable' protocol
15 | @usableFromInline
16 | let base: Base
:
49 | return isDuplicate(oldValue, newValue)
50 | ? effects
51 | : effects.merge(with: .run { _ in analyticsClient.sendAnalytics(toAnalyticsData(oldValue, newValue)) })
| `- warning: capture of 'self' with non-sendable type '_OnChangeAnalyticsReducer<Base, Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/OnChangeReducer.swift:51:83: warning: capture of 'oldValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct _OnChangeAnalyticsReducer<Base: Reducer, Value: Equatable>: Reducer {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
15 | @usableFromInline
16 | let base: Base
:
49 | return isDuplicate(oldValue, newValue)
50 | ? effects
51 | : effects.merge(with: .run { _ in analyticsClient.sendAnalytics(toAnalyticsData(oldValue, newValue)) })
| `- warning: capture of 'oldValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/ComposableAnalytics/OnChangeReducer.swift:51:93: warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct _OnChangeAnalyticsReducer<Base: Reducer, Value: Equatable>: Reducer {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
15 | @usableFromInline
16 | let base: Base
:
49 | return isDuplicate(oldValue, newValue)
50 | ? effects
51 | : effects.merge(with: .run { _ in analyticsClient.sendAnalytics(toAnalyticsData(oldValue, newValue)) })
| `- warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
Build complete! (73.57s)
Fetching https://github.com/pointfreeco/swift-composable-architecture
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swiftui-navigation
[1/2343] Fetching combine-schedulers
[119/6848] Fetching combine-schedulers, swift-custom-dump
[300/10867] Fetching combine-schedulers, swift-custom-dump, swift-case-paths
[341/11462] Fetching combine-schedulers, swift-custom-dump, swift-case-paths, swift-concurrency-extras
[489/12856] Fetching combine-schedulers, swift-custom-dump, swift-case-paths, swift-concurrency-extras, swiftui-navigation
[3709/17983] Fetching combine-schedulers, swift-custom-dump, swift-case-paths, swift-concurrency-extras, swiftui-navigation, swift-dependencies
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.04s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swiftui-navigation from cache (1.05s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.05s)
Fetching https://github.com/pointfreeco/swift-identified-collections
Fetching https://github.com/apple/swift-collections
[6568/11489] Fetching combine-schedulers, swift-case-paths, swift-dependencies
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.33s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (1.33s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.33s)
Fetching https://github.com/pointfreeco/swift-clocks
[1/1494] Fetching swift-identified-collections
[121/6417] Fetching swift-identified-collections, xctest-dynamic-overlay
[541/21451] Fetching swift-identified-collections, xctest-dynamic-overlay, swift-collections
[1069/22718] Fetching swift-identified-collections, xctest-dynamic-overlay, swift-collections, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.96s)
[7624/21451] Fetching swift-identified-collections, xctest-dynamic-overlay, swift-collections
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.62s)
[9162/16528] Fetching swift-identified-collections, swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.91s)
Fetched https://github.com/pointfreeco/swift-identified-collections from cache (1.91s)
[1/270689] Fetching swift-composable-architecture
Fetched https://github.com/pointfreeco/swift-composable-architecture from cache (13.00s)
Computing version for https://github.com/pointfreeco/swift-composable-architecture
Computed https://github.com/pointfreeco/swift-composable-architecture at 1.2.0 (3.44s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.69s)
Computing version for https://github.com/pointfreeco/swiftui-navigation
Computed https://github.com/pointfreeco/swiftui-navigation at 1.0.0 (0.69s)
Computing version for https://github.com/pointfreeco/swift-identified-collections
Computed https://github.com/pointfreeco/swift-identified-collections at 1.0.0 (0.68s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.0.0 (0.66s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.0.0 (0.67s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.0.0 (0.83s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.0.0 (0.66s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.0 (0.67s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.0.4 (0.70s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.0 (0.68s)
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.0.4
Creating working copy for https://github.com/pointfreeco/swiftui-navigation
Working copy of https://github.com/pointfreeco/swiftui-navigation resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-identified-collections
Working copy of https://github.com/pointfreeco/swift-identified-collections resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-composable-architecture
Working copy of https://github.com/pointfreeco/swift-composable-architecture resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-composable-architecture",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-composable-architecture"
}
],
"manifest_display_name" : "swift-composable-analytics",
"name" : "swift-composable-analytics",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ComposableAnalytics",
"targets" : [
"ComposableAnalytics"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ComposableAnalytics",
"module_type" : "SwiftTarget",
"name" : "ComposableAnalytics",
"path" : "Sources/ComposableAnalytics",
"product_dependencies" : [
"ComposableArchitecture"
],
"product_memberships" : [
"ComposableAnalytics"
],
"sources" : [
"AnalyticsClient.swift",
"AnalyticsData.swift",
"AnalyticsDependency.swift",
"AnalyticsReducer.swift",
"MultipleAnalyticsReducer.swift",
"OnChangeReducer.swift",
"XCTestDebugSupport/Expectation.swift",
"XCTestDebugSupport/XCTCurrentTestCase.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.