The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AmplifyUIAuthenticator, reference main (839cd9), with Swift 6.1 for macOS (SPM) on 5 Sep 2025 21:51:11 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

    |                          `- note: sending main actor-isolated 'self.state' to nonisolated instance method 'continueSignIn()' risks causing data races between nonisolated and main actor-isolated uses
119 |     }
120 |
[2503/2533] Compiling Authenticator ContinueSignInWithTOTPCopyKeyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/AuthenticatorMessageView.swift:58:25: warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |     }
 39 |
 40 |     private func dismissErrorView() {
    |                  |- note: calls to instance method 'dismissErrorView()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
 41 |         dismissTimer = nil
 42 |         message = nil
    :
 56 |                         repeats: false
 57 |                     ) { _ in
 58 |                         dismissErrorView()
    |                         `- warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |                     }
 60 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithMFASelectionView.swift:108:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
106 |
107 |     private func continueSignIn() async {
108 |         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
109 |     }
110 |
/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/ContinueSignInWithMFASetupSelectionView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
 93 |
 94 |     private func continueSignIn() async {
 95 |         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
 96 |     }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithTOTPSetupView.swift:118:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
116 |         }
117 |
118 |         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
119 |     }
120 |
[2504/2533] Compiling Authenticator ContinueSignInWithTOTPSetupQRCodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/AuthenticatorMessageView.swift:58:25: warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |     }
 39 |
 40 |     private func dismissErrorView() {
    |                  |- note: calls to instance method 'dismissErrorView()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
 41 |         dismissTimer = nil
 42 |         message = nil
    :
 56 |                         repeats: false
 57 |                     ) { _ in
 58 |                         dismissErrorView()
    |                         `- warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |                     }
 60 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithMFASelectionView.swift:108:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
106 |
107 |     private func continueSignIn() async {
108 |         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
109 |     }
110 |
/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/ContinueSignInWithMFASetupSelectionView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
 93 |
 94 |     private func continueSignIn() async {
 95 |         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
 96 |     }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithTOTPSetupView.swift:118:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
116 |         }
117 |
118 |         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
119 |     }
120 |
[2505/2533] Compiling Authenticator ContinueSignInWithTOTPSetupView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/AuthenticatorMessageView.swift:58:25: warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |     }
 39 |
 40 |     private func dismissErrorView() {
    |                  |- note: calls to instance method 'dismissErrorView()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
 41 |         dismissTimer = nil
 42 |         message = nil
    :
 56 |                         repeats: false
 57 |                     ) { _ in
 58 |                         dismissErrorView()
    |                         `- warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |                     }
 60 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithMFASelectionView.swift:108:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
106 |
107 |     private func continueSignIn() async {
108 |         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
109 |     }
110 |
/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/ContinueSignInWithMFASetupSelectionView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
 93 |
 94 |     private func continueSignIn() async {
 95 |         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
 96 |     }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithTOTPSetupView.swift:118:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
116 |         }
117 |
118 |         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
119 |     }
120 |
[2506/2533] Compiling Authenticator ErrorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/AuthenticatorMessageView.swift:58:25: warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |     }
 39 |
 40 |     private func dismissErrorView() {
    |                  |- note: calls to instance method 'dismissErrorView()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
 41 |         dismissTimer = nil
 42 |         message = nil
    :
 56 |                         repeats: false
 57 |                     ) { _ in
 58 |                         dismissErrorView()
    |                         `- warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |                     }
 60 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithMFASelectionView.swift:108:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
106 |
107 |     private func continueSignIn() async {
108 |         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
109 |     }
110 |
/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/ContinueSignInWithMFASetupSelectionView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
 93 |
 94 |     private func continueSignIn() async {
 95 |         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
 96 |     }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithTOTPSetupView.swift:118:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
116 |         }
117 |
118 |         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
119 |     }
120 |
[2507/2533] Compiling Authenticator AuthenticatorMessageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/AuthenticatorMessageView.swift:58:25: warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |     }
 39 |
 40 |     private func dismissErrorView() {
    |                  |- note: calls to instance method 'dismissErrorView()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
 41 |         dismissTimer = nil
 42 |         message = nil
    :
 56 |                         repeats: false
 57 |                     ) { _ in
 58 |                         dismissErrorView()
    |                         `- warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |                     }
 60 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithMFASelectionView.swift:108:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
106 |
107 |     private func continueSignIn() async {
108 |         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
109 |     }
110 |
/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/ContinueSignInWithMFASetupSelectionView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
 93 |
 94 |     private func continueSignIn() async {
 95 |         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
 96 |     }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithTOTPSetupView.swift:118:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
116 |         }
117 |
118 |         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
119 |     }
120 |
[2508/2533] Compiling Authenticator AuthenticatorTextWithHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/AuthenticatorMessageView.swift:58:25: warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 38 |     }
 39 |
 40 |     private func dismissErrorView() {
    |                  |- note: calls to instance method 'dismissErrorView()' from outside of its actor context are implicitly asynchronous
    |                  `- note: main actor isolation inferred from conformance to protocol 'ViewModifier'
 41 |         dismissTimer = nil
 42 |         message = nil
    :
 56 |                         repeats: false
 57 |                     ) { _ in
 58 |                         dismissErrorView()
    |                         `- warning: call to main actor-isolated instance method 'dismissErrorView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |                     }
 60 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithMFASelectionView.swift:108:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
106 |
107 |     private func continueSignIn() async {
108 |         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
109 |     }
110 |
/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/ContinueSignInWithMFASetupSelectionView.swift:95:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
 93 |
 94 |     private func continueSignIn() async {
 95 |         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
 96 |     }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/ContinueSignInWithTOTPSetupView.swift:118:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
116 |         }
117 |
118 |         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
119 |     }
120 |
[2509/2533] Compiling Authenticator AuthenticatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2510/2533] Compiling Authenticator ConfirmSignInWithCodeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2511/2533] Compiling Authenticator DefaultHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2512/2533] Compiling Authenticator SignUpInputField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2513/2533] Compiling Authenticator Button.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2514/2533] Compiling Authenticator DatePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2515/2533] Compiling Authenticator ImageButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2516/2533] Compiling Authenticator PasswordField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Primitives/PasswordField.swift:106:18: warning: result of call to 'accessibilityHidden' is unused
104 |             .foregroundColor(theme.colors.foreground.disabled.opacity(0.6))
105 |             .font(theme.fonts.body)
106 |         textView.accessibilityHidden(true)
    |                  `- warning: result of call to 'accessibilityHidden' is unused
107 |         return textView
108 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Views/Internal/ConfirmSignInWithCodeView.swift:119:26: warning: sending 'self.state' risks causing data races; this is an error in the Swift 6 language mode
117 |         }
118 |
119 |         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
120 |     }
121 | }
/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 |
[2517/2533] Compiling Authenticator Credentials.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2518/2533] Compiling Authenticator InputType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2519/2533] Compiling Authenticator Step.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2520/2533] Compiling Authenticator Validator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2521/2533] Compiling Authenticator SignUpAttribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2522/2533] Compiling Authenticator SignUpField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2523/2533] Compiling Authenticator TOTPOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2524/2533] Compiling Authenticator AmplifyAuthenticationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2525/2533] Compiling Authenticator AuthenticationService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Service/AuthenticationService.swift:19:1: warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
17 | protocol AuthenticationService: AuthCategoryBehavior, AnyObject { }
18 |
19 | extension Amplify.AuthCategory: AuthenticationService, ObservableObject {}
   | |- warning: extension declares a conformance of imported type 'AuthCategory' to imported protocol 'ObservableObject'; this will not behave correctly if the owners of 'Amplify' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
20 |
[2526/2533] 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 | }
[2527/2533] 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 | }
[2528/2533] 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 | }
[2529/2533] 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 | }
[2530/2533] 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 | }
[2531/2533] 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 | }
[2532/2533] 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 | }
[2533/2533] 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! (62.53s)
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.