Build Information
Successful build of AmplifyUIAuthenticator, reference 1.2.3 (fd8632
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 04:01:37 UTC.
Swift 6 data race errors: 112
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:128:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
126 | }
127 |
128 | try? await state.confirmSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignIn()' risks causing data races between nonisolated and main actor-isolated uses
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:116:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
114 |
115 | private func sendCode() async {
116 | try? await state.sendCode()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'sendCode()' risks causing data races between nonisolated and main actor-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:112:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
110 | }
111 |
112 | try? await state.confirmSignUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignUp()' risks causing data races between nonisolated and main actor-isolated uses
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
93 | return
94 | }
95 | try? await state.confirmVerifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmVerifyUser()' risks causing data races between nonisolated and main actor-isolated uses
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:99:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | private func skip() async {
99 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithEmailMFASetupView.swift:89:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
87 | }
88 |
89 | try? await state.continueSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
90 | }
91 |
[1982/1995] Compiling Authenticator ConfirmSignInWithNewPasswordView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:21:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/confirmSignInWithNewPassword`` step.
12 | public struct ConfirmSignInWithNewPasswordView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @StateObject private var passwordValidator: Validator
:
19 | private let footerContent: Footer
20 |
21 | var focusedField: FocusState<ConfirmSignInWithNewPasswordState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
22 |
23 | /// Creates a `ConfirmSignInWithNewPasswordView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:128:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
126 | }
127 |
128 | try? await state.confirmSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignIn()' risks causing data races between nonisolated and main actor-isolated uses
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:116:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
114 |
115 | private func sendCode() async {
116 | try? await state.sendCode()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'sendCode()' risks causing data races between nonisolated and main actor-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:112:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
110 | }
111 |
112 | try? await state.confirmSignUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignUp()' risks causing data races between nonisolated and main actor-isolated uses
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
93 | return
94 | }
95 | try? await state.confirmVerifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmVerifyUser()' risks causing data races between nonisolated and main actor-isolated uses
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:99:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | private func skip() async {
99 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithEmailMFASetupView.swift:89:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
87 | }
88 |
89 | try? await state.continueSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
90 | }
91 |
[1983/1995] Compiling Authenticator ConfirmSignInWithOTPView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:21:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/confirmSignInWithNewPassword`` step.
12 | public struct ConfirmSignInWithNewPasswordView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @StateObject private var passwordValidator: Validator
:
19 | private let footerContent: Footer
20 |
21 | var focusedField: FocusState<ConfirmSignInWithNewPasswordState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
22 |
23 | /// Creates a `ConfirmSignInWithNewPasswordView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:128:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
126 | }
127 |
128 | try? await state.confirmSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignIn()' risks causing data races between nonisolated and main actor-isolated uses
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:116:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
114 |
115 | private func sendCode() async {
116 | try? await state.sendCode()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'sendCode()' risks causing data races between nonisolated and main actor-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:112:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
110 | }
111 |
112 | try? await state.confirmSignUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignUp()' risks causing data races between nonisolated and main actor-isolated uses
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
93 | return
94 | }
95 | try? await state.confirmVerifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmVerifyUser()' risks causing data races between nonisolated and main actor-isolated uses
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:99:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | private func skip() async {
99 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithEmailMFASetupView.swift:89:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
87 | }
88 |
89 | try? await state.continueSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
90 | }
91 |
[1984/1995] Compiling Authenticator ConfirmSignInWithTOTPCodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:21:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/confirmSignInWithNewPassword`` step.
12 | public struct ConfirmSignInWithNewPasswordView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @StateObject private var passwordValidator: Validator
:
19 | private let footerContent: Footer
20 |
21 | var focusedField: FocusState<ConfirmSignInWithNewPasswordState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
22 |
23 | /// Creates a `ConfirmSignInWithNewPasswordView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:128:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
126 | }
127 |
128 | try? await state.confirmSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignIn()' risks causing data races between nonisolated and main actor-isolated uses
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:116:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
114 |
115 | private func sendCode() async {
116 | try? await state.sendCode()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'sendCode()' risks causing data races between nonisolated and main actor-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:112:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
110 | }
111 |
112 | try? await state.confirmSignUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignUp()' risks causing data races between nonisolated and main actor-isolated uses
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
93 | return
94 | }
95 | try? await state.confirmVerifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmVerifyUser()' risks causing data races between nonisolated and main actor-isolated uses
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:99:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | private func skip() async {
99 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithEmailMFASetupView.swift:89:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
87 | }
88 |
89 | try? await state.continueSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
90 | }
91 |
[1985/1995] Compiling Authenticator ConfirmSignUpView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:21:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/confirmSignInWithNewPassword`` step.
12 | public struct ConfirmSignInWithNewPasswordView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @StateObject private var passwordValidator: Validator
:
19 | private let footerContent: Footer
20 |
21 | var focusedField: FocusState<ConfirmSignInWithNewPasswordState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
22 |
23 | /// Creates a `ConfirmSignInWithNewPasswordView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:128:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
126 | }
127 |
128 | try? await state.confirmSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignIn()' risks causing data races between nonisolated and main actor-isolated uses
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:116:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
114 |
115 | private func sendCode() async {
116 | try? await state.sendCode()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'sendCode()' risks causing data races between nonisolated and main actor-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:112:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
110 | }
111 |
112 | try? await state.confirmSignUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignUp()' risks causing data races between nonisolated and main actor-isolated uses
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
93 | return
94 | }
95 | try? await state.confirmVerifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmVerifyUser()' risks causing data races between nonisolated and main actor-isolated uses
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:99:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | private func skip() async {
99 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithEmailMFASetupView.swift:89:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
87 | }
88 |
89 | try? await state.continueSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
90 | }
91 |
[1986/1995] Compiling Authenticator ConfirmVerifyUserView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:21:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/confirmSignInWithNewPassword`` step.
12 | public struct ConfirmSignInWithNewPasswordView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @StateObject private var passwordValidator: Validator
:
19 | private let footerContent: Footer
20 |
21 | var focusedField: FocusState<ConfirmSignInWithNewPasswordState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
22 |
23 | /// Creates a `ConfirmSignInWithNewPasswordView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:128:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
126 | }
127 |
128 | try? await state.confirmSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignIn()' risks causing data races between nonisolated and main actor-isolated uses
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:116:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
114 |
115 | private func sendCode() async {
116 | try? await state.sendCode()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'sendCode()' risks causing data races between nonisolated and main actor-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:112:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
110 | }
111 |
112 | try? await state.confirmSignUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignUp()' risks causing data races between nonisolated and main actor-isolated uses
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
93 | return
94 | }
95 | try? await state.confirmVerifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmVerifyUser()' risks causing data races between nonisolated and main actor-isolated uses
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:99:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | private func skip() async {
99 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithEmailMFASetupView.swift:89:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
87 | }
88 |
89 | try? await state.continueSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
90 | }
91 |
[1987/1995] Compiling Authenticator ContinueSignInWithEmailMFASetupView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:21:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/confirmSignInWithNewPassword`` step.
12 | public struct ConfirmSignInWithNewPasswordView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @StateObject private var passwordValidator: Validator
:
19 | private let footerContent: Footer
20 |
21 | var focusedField: FocusState<ConfirmSignInWithNewPasswordState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
22 |
23 | /// Creates a `ConfirmSignInWithNewPasswordView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignInWithNewPasswordView.swift:128:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
126 | }
127 |
128 | try? await state.confirmSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignIn()' risks causing data races between nonisolated and main actor-isolated uses
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:116:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
114 |
115 | private func sendCode() async {
116 | try? await state.sendCode()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'sendCode()' risks causing data races between nonisolated and main actor-isolated uses
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmSignUpView.swift:112:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
110 | }
111 |
112 | try? await state.confirmSignUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmSignUp()' risks causing data races between nonisolated and main actor-isolated uses
113 | }
114 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
93 | return
94 | }
95 | try? await state.confirmVerifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'confirmVerifyUser()' risks causing data races between nonisolated and main actor-isolated uses
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ConfirmVerifyUserView.swift:99:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | private func skip() async {
99 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
100 | }
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithEmailMFASetupView.swift:89:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
87 | }
88 |
89 | try? await state.continueSignIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
90 | }
91 |
[1988/1995] Compiling Authenticator PhoneNumberField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
[1989/1995] Compiling Authenticator RadioButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
[1990/1995] Compiling Authenticator TextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
[1991/1995] Compiling Authenticator ResetPasswordView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
[1992/1995] Compiling Authenticator SignInView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
[1993/1995] Compiling Authenticator SignUpView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
[1994/1995] Compiling Authenticator VerifyUserView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
[1995/1995] Compiling Authenticator resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PhoneNumberField.swift:132:18: warning: result of call to 'accessibilityHidden' is unused
130 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
131 | .font(theme.fonts.body)
132 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
133 | return textView
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/TextField.swift:90:18: warning: result of call to 'accessibilityHidden' is unused
88 | .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
89 | .font(theme.fonts.body)
90 | textView.accessibilityHidden(true)
| `- warning: result of call to 'accessibilityHidden' is unused
91 | return textView
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:26:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
14 | /// and display the appropiate field.
15 | public struct SignInView<Header: View,
16 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
17 | @Environment(\.authenticatorState) private var authenticatorState
18 | @Environment(\.authenticatorOptions) private var options
:
24 | private var viewModifiers = ViewModifiers()
25 |
26 | var focusedField: FocusState<SignInState.Field?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
27 |
28 | /// Creates a `SignInView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:22:9: warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
11 | /// Represents the content being displayed when the ``Authenticator`` is in the ``AuthenticatorStep/signUp`` step.
12 | public struct SignUpView<Header: View,
13 | Footer: View>: View, KeyboardIterableFields {
| `- note: add '@preconcurrency' to the 'KeyboardIterableFields' conformance to defer isolation checking to run time
14 | @Environment(\.authenticatorState) private var authenticatorState
15 | @Environment(\.authenticatorOptions) private var options
:
20 | private let overridenSignUpFields: [SignUpField]?
21 |
22 | var focusedField: FocusState<SignUpAttribute?> = FocusState()
| `- warning: main actor-isolated property 'focusedField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
23 |
24 | /// Creates a `SignUpView`
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:12:9: note: requirement 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 | associatedtype Field: Hashable
12 | var focusedField: FocusState<Field?> {set get}
| `- note: requirement 'focusedField' declared here
13 |
14 | func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:153:10: warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
151 | }
152 |
153 | func focusPreviousField() {
| |- warning: main actor-isolated instance method 'focusPreviousField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusPreviousField()' to make this instance method not isolated to the actor
154 | guard let currentIndex = currentIndex else { return }
155 | focusedField.wrappedValue = focusableField(beforeIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:14:10: note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
12 | var focusedField: FocusState<Field?> {set get}
13 |
14 | func focusPreviousField()
| `- note: mark the protocol requirement 'focusPreviousField()' 'async' to allow actor-isolated conformances
15 |
16 | func focusNextField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:158:10: warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
156 | }
157 |
158 | func focusNextField() {
| |- warning: main actor-isolated instance method 'focusNextField()' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'focusNextField()' to make this instance method not isolated to the actor
159 | guard let currentIndex = currentIndex else { return }
160 | focusedField.wrappedValue = focusableField(afterIndex: currentIndex)
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:16:10: note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
14 | func focusPreviousField()
15 |
16 | func focusNextField()
| `- note: mark the protocol requirement 'focusNextField()' 'async' to allow actor-isolated conformances
17 |
18 | var hasPreviousField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:163:9: warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
161 | }
162 |
163 | var hasPreviousField: Bool {
| `- warning: main actor-isolated property 'hasPreviousField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
164 | guard let currentIndex = currentIndex else { return false }
165 | return focusableField(beforeIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:18:9: note: requirement 'hasPreviousField' declared here
16 | func focusNextField()
17 |
18 | var hasPreviousField: Bool { get }
| `- note: requirement 'hasPreviousField' declared here
19 |
20 | var hasNextField: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:168:9: warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
166 | }
167 |
168 | var hasNextField: Bool {
| `- warning: main actor-isolated property 'hasNextField' cannot be used to satisfy nonisolated requirement from protocol 'KeyboardIterableFields'; this is an error in the Swift 6 language mode
169 | guard let currentIndex = currentIndex else { return false }
170 | return focusableField(afterIndex: currentIndex) != nil
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/KeyboardIterableFields.swift:20:9: note: requirement 'hasNextField' declared here
18 | var hasPreviousField: Bool { get }
19 |
20 | var hasNextField: Bool { get }
| `- note: requirement 'hasNextField' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:181:18: warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: mutation of this property is only permitted within the actor
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
180 | init(state: SignUpState) {
181 | self.state = state
| `- warning: main actor-isolated property 'state' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:200:50: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
198 |
199 | if case .password = field.attributeType {
200 | let configuration = self.state.configuration.passwordProtectionSettings
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | return FieldValidators.password(
202 | minLength: configuration.minLength,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:205:95: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| `- note: property declared here
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
:
203 | characterPolicy: configuration.characterPolicy.asPasswordCharactersPolicy()
204 | )(value)
205 | } else if case .passwordConfirmation = field.attributeType, value != self.state.password {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 | return "authenticator.validator.field.newPassword.doesNotMatch".localized()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ResetPasswordView.swift:127:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
125 | }
126 |
127 | try? await state.resetPassword()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'resetPassword()' risks causing data races between nonisolated and main actor-isolated uses
128 | }
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/States/AuthenticatorBaseState.swift:24:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | @ObservedObject var credentials: Credentials
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 |
26 | var errorTransform: ((AuthError) -> AuthenticatorError?)? = nil
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignInView.swift:152:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
150 | }
151 |
152 | try? await state.signIn()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signIn()' risks causing data races between nonisolated and main actor-isolated uses
153 | }
154 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:177:10: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
175 | extension SignUpView {
176 | class Validators: ObservableObject {
177 | @ObservedObject private var state: SignUpState
| |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
178 | private var validators: [SignUpAttribute: Validator] = [:]
179 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/SignUpView.swift:113:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
111 | }
112 |
113 | try? await state.signUp()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'signUp()' risks causing data races between nonisolated and main actor-isolated uses
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:87:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
85 |
86 | private func verifyUser() async {
87 | try? await state.verifyUser()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'verifyUser()' risks causing data races between nonisolated and main actor-isolated uses
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/VerifyUserView.swift:91:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
89 |
90 | private func skip() async {
91 | try? await state.skip()
| |- warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'skip()' risks causing data races between nonisolated and main actor-isolated uses
92 | }
93 | }
Build complete! (274.76s)
Fetching https://github.com/aws-amplify/amplify-swift
[1/163403] Fetching amplify-swift
Fetched https://github.com/aws-amplify/amplify-swift from cache (6.55s)
Computing version for https://github.com/aws-amplify/amplify-swift
Computed https://github.com/aws-amplify/amplify-swift at 2.47.0 (7.09s)
Fetching https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/awslabs/aws-sdk-swift
[1/529] Fetching amplify-swift-utils-notifications
[229/10136] Fetching amplify-swift-utils-notifications, sqlite.swift
Fetched https://github.com/aws-amplify/amplify-swift-utils-notifications.git from cache (0.82s)
[481/9607] Fetching sqlite.swift
[9608/653955] Fetching sqlite.swift, aws-sdk-swift
Fetched https://github.com/awslabs/aws-sdk-swift from cache (179.74s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (179.74s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
warning: 'sqlite.swift': /Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .visionOS(.v1)
12 | ],
Computed https://github.com/stephencelis/SQLite.swift.git at 0.15.3 (180.52s)
Computing version for https://github.com/awslabs/aws-sdk-swift
Computed https://github.com/awslabs/aws-sdk-swift at 1.2.59 (0.83s)
Fetching https://github.com/awslabs/aws-crt-swift
Fetching https://github.com/smithy-lang/smithy-swift
[1/31158] Fetching aws-crt-swift
[6856/100868] Fetching aws-crt-swift, smithy-swift
Fetched https://github.com/smithy-lang/smithy-swift from cache (2.89s)
Fetched https://github.com/awslabs/aws-crt-swift from cache (2.89s)
Computing version for https://github.com/awslabs/aws-crt-swift
Computed https://github.com/awslabs/aws-crt-swift at 0.48.0 (3.54s)
Computing version for https://github.com/smithy-lang/smithy-swift
Computed https://github.com/smithy-lang/smithy-swift at 0.125.0 (0.64s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
Computing version for https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Computed https://github.com/aws-amplify/amplify-swift-utils-notifications.git at 1.1.1 (1.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/awslabs/aws-sdk-swift
Working copy of https://github.com/awslabs/aws-sdk-swift resolved at 1.2.59
Creating working copy for https://github.com/smithy-lang/smithy-swift
Working copy of https://github.com/smithy-lang/smithy-swift resolved at 0.125.0
Creating working copy for https://github.com/aws-amplify/amplify-swift-utils-notifications.git
Working copy of https://github.com/aws-amplify/amplify-swift-utils-notifications.git resolved at 1.1.1
Creating working copy for https://github.com/awslabs/aws-crt-swift
Working copy of https://github.com/awslabs/aws-crt-swift resolved at 0.48.0
Creating working copy for https://github.com/aws-amplify/amplify-swift
Working copy of https://github.com/aws-amplify/amplify-swift resolved at 2.47.0
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.15.3
warning: 'sqlite.swift': /Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:7:15: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
5 | name: "SQLite.swift",
6 | platforms: [
7 | .iOS(.v11),
| `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:10:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
8 | .macOS(.v10_13),
9 | .watchOS(.v4),
10 | .tvOS(.v11),
| `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version
11 | .visionOS(.v1)
12 | ],
warning: 'amplify-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/amplify-swift/AmplifyPlugins/Core/AWSPluginsCore/WebSocket/README.md
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "amplify-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.45.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/aws-amplify/amplify-swift"
}
],
"manifest_display_name" : "AmplifyUIAuthenticator",
"name" : "AmplifyUIAuthenticator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Authenticator",
"targets" : [
"Authenticator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AuthenticatorTests",
"module_type" : "SwiftTarget",
"name" : "AuthenticatorTests",
"path" : "Tests/AuthenticatorTests",
"sources" : [
"Mocks/MockAuthenticationService.swift",
"Mocks/MockAuthenticatorState.swift",
"States/AuthenticatorBaseStateTests.swift",
"States/ConfirmResetPasswordStateTests.swift",
"States/ConfirmSignInWithCodeStateTests.swift",
"States/ConfirmSignInWithNewPasswordStateTests.swift",
"States/ConfirmSignUpStateTests.swift",
"States/ConfirmVerifyUserStateTests.swift",
"States/ContinueSignInWithEmailMFASetupStateTests.swift",
"States/ContinueSignInWithMFASelectionStateTests.swift",
"States/ContinueSignInWithMFASetupSelectionStateTests.swift",
"States/ContinueSignInWithTOTPSetupStateTests.swift",
"States/ResetPasswordStateTests.swift",
"States/SignInStateTests.swift",
"States/SignUpStateTests.swift",
"States/SignedInStateTests.swift",
"States/VerifyUserStateTests.swift"
],
"target_dependencies" : [
"Authenticator"
],
"type" : "test"
},
{
"c99name" : "Authenticator",
"module_type" : "SwiftTarget",
"name" : "Authenticator",
"path" : "Sources/Authenticator",
"product_dependencies" : [
"Amplify",
"AWSCognitoAuthPlugin"
],
"product_memberships" : [
"Authenticator"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Authenticator.swift",
"Configuration/AmplifyConfiguration.swift",
"Configuration/AuthenticatorOptions.swift",
"Constants/ComponentInformation.swift",
"Extensions/AuthError+Connectivity.swift",
"Extensions/AuthUserAttributeKey+LocalizedTitle.swift",
"Extensions/Bundle+Utils.swift",
"Extensions/Color+AmplifyUI.swift",
"Extensions/Color+Utils.swift",
"Extensions/DeliveryDestination+Value.swift",
"Extensions/EnvironmentValues+Authenticator.swift",
"Extensions/Logger+Error.swift",
"Extensions/String+Localizable.swift",
"Models/AuthenticatorMessage.swift",
"Models/AuthenticatorState.swift",
"Models/AuthenticatorStep.swift",
"Models/Internal/AuthenticatorMFAType.swift",
"Models/Internal/AuthenticatorStateProtocol.swift",
"Models/Internal/Credentials.swift",
"Models/Internal/InputType.swift",
"Models/Internal/Step.swift",
"Models/Internal/Validator.swift",
"Models/SignUpAttribute.swift",
"Models/SignUpField.swift",
"Options/TOTPOptions.swift",
"Service/AmplifyAuthenticationService.swift",
"Service/AuthenticationService.swift",
"States/AuthenticatorBaseState.swift",
"States/ConfirmResetPasswordState.swift",
"States/ConfirmSignInWithCodeState.swift",
"States/ConfirmSignInWithNewPasswordState.swift",
"States/ConfirmSignUpState.swift",
"States/ConfirmVerifyUserState.swift",
"States/ContinueSignInWithEmailMFASetupState.swift",
"States/ContinueSignInWithMFASelectionState.swift",
"States/ContinueSignInWithMFASetupSelectionState.swift",
"States/ContinueSignInWithTOTPSetupState.swift",
"States/ResetPasswordState.swift",
"States/SignInState.swift",
"States/SignUpState.swift",
"States/SignedInState.swift",
"States/VerifyUserState.swift",
"Theming/AuthenticatorTheme.swift",
"Utilities/AuthenticatorField.swift",
"Utilities/AuthenticatorLogging.swift",
"Utilities/FieldValidator.swift",
"Utilities/KeyboardIterableFields.swift",
"Utilities/Padding.swift",
"Utilities/Platform.swift",
"Utilities/PreviewFactory.swift",
"Utilities/RegionUtils.swift",
"Views/ConfirmResetPasswordView.swift",
"Views/ConfirmSignInWithCustomChallengeView.swift",
"Views/ConfirmSignInWithMFACodeView.swift",
"Views/ConfirmSignInWithNewPasswordView.swift",
"Views/ConfirmSignInWithOTPView.swift",
"Views/ConfirmSignInWithTOTPCodeView.swift",
"Views/ConfirmSignUpView.swift",
"Views/ConfirmVerifyUserView.swift",
"Views/ContinueSignInWithEmailMFASetupView.swift",
"Views/ContinueSignInWithMFASelectionView.swift",
"Views/ContinueSignInWithMFASetupSelectionView.swift",
"Views/ContinueSignInWithTOTPCopyKeyView.swift",
"Views/ContinueSignInWithTOTPSetupQRCodeView.swift",
"Views/ContinueSignInWithTOTPSetupView.swift",
"Views/ErrorView.swift",
"Views/Internal/AuthenticatorMessageView.swift",
"Views/Internal/AuthenticatorTextWithHeader.swift",
"Views/Internal/AuthenticatorView.swift",
"Views/Internal/ConfirmSignInWithCodeView.swift",
"Views/Internal/DefaultHeader.swift",
"Views/Internal/SignUpInputField.swift",
"Views/Primitives/Button.swift",
"Views/Primitives/DatePicker.swift",
"Views/Primitives/ImageButton.swift",
"Views/Primitives/PasswordField.swift",
"Views/Primitives/PhoneNumberField.swift",
"Views/Primitives/RadioButton.swift",
"Views/Primitives/TextField.swift",
"Views/ResetPasswordView.swift",
"Views/SignInView.swift",
"Views/SignUpView.swift",
"Views/VerifyUserView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.