The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AmplifyUIAuthenticator, reference 1.2.3 (fd8632), with Swift 6.0 for macOS (SPM) on 16 Dec 2024 19:56:51 UTC.

Swift 6 data race errors: 112

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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

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 | }
[1963/1968] Compiling Authenticator TextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/RegionUtils.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
 43 | }
 44 |
 45 | class RegionUtils {
    |       `- note: class 'RegionUtils' does not conform to the 'Sendable' protocol
 46 |     static let shared: RegionUtils = .init()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private var locale: Locale {
 48 |         Locale.current
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:141:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 |     /// A convenience empty validator
141 |     public static var none: FieldValidator = { _ in
    |                       |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |         return nil
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:74:20: warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 72 |         static var transparent = Color.clear
 73 |
 74 |         static let Font = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Font' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |             primary: Color(light: .AmplifyUI.neutral100, dark: .AmplifyUI.white),
 76 |             secondary: Color(light: .AmplifyUI.neutral90, dark: .AmplifyUI.neutral10),
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:87:20: warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |         )
 86 |
 87 |         static let Background = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Background' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |             primary: Color(light: .AmplifyUI.white, dark: .AmplifyUI.black),
 89 |             secondary: .AmplifyUI.neutral10,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:100:20: warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         )
 99 |
100 |         static let Border = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Border' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |             primary: .AmplifyUI.neutral60,
102 |             secondary: .AmplifyUI.neutral40,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/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/Utilities/FieldValidator.swift:76:23: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     /// Requires that the provided value follows an email format
 76 |     public static var email: FieldValidator = { content in
    |                       |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'email' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         let emailPattern = #"^\S+@\S+\.\S+$"#
 78 |         let validation = content.range(
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:59:23: warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Requires that the provided value is not empty
 59 |     public static var required: FieldValidator = { content in
    |                       |- warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'required' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'required' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |         return content.isEmpty ? "authenticator.validator.field.required".localized() : nil
 61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:19:23: warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 17 |
 18 |     /// An unauthenticated user is presented with the Sign In view
 19 |     public static let signIn = AuthenticatorInitialStep("signIn")
    |                       |- warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signIn' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: 'focusedField' declared here
13 |
14 |     func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:64:23: warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 |     /// Requires that the provided value follows a phone format
 64 |     public static var phoneNumber: FieldValidator = { content in
    |                       |- warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'phoneNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'phoneNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |         guard content.hasPrefix("+"),
 66 |               content.count > 1,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:25:23: warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
 25 |     public static let resetPassword = AuthenticatorInitialStep("resetPassword")
    |                       |- warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'resetPassword' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:22:23: warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
 22 |     public static let signUp = AuthenticatorInitialStep("signUp")
    |                       |- warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signUp' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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: 'hasPreviousField' declared here
16 |     func focusNextField()
17 |
18 |     var hasPreviousField: Bool { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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: 'hasNextField' declared here
18 |     var hasPreviousField: Bool { get }
19 |
20 |     var hasNextField: Bool { get }
   |         `- note: '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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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 | }
[1964/1968] Compiling Authenticator ResetPasswordView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/RegionUtils.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
 43 | }
 44 |
 45 | class RegionUtils {
    |       `- note: class 'RegionUtils' does not conform to the 'Sendable' protocol
 46 |     static let shared: RegionUtils = .init()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private var locale: Locale {
 48 |         Locale.current
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:141:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 |     /// A convenience empty validator
141 |     public static var none: FieldValidator = { _ in
    |                       |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |         return nil
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:74:20: warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 72 |         static var transparent = Color.clear
 73 |
 74 |         static let Font = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Font' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |             primary: Color(light: .AmplifyUI.neutral100, dark: .AmplifyUI.white),
 76 |             secondary: Color(light: .AmplifyUI.neutral90, dark: .AmplifyUI.neutral10),
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:87:20: warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |         )
 86 |
 87 |         static let Background = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Background' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |             primary: Color(light: .AmplifyUI.white, dark: .AmplifyUI.black),
 89 |             secondary: .AmplifyUI.neutral10,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:100:20: warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         )
 99 |
100 |         static let Border = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Border' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |             primary: .AmplifyUI.neutral60,
102 |             secondary: .AmplifyUI.neutral40,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/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/Utilities/FieldValidator.swift:76:23: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     /// Requires that the provided value follows an email format
 76 |     public static var email: FieldValidator = { content in
    |                       |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'email' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         let emailPattern = #"^\S+@\S+\.\S+$"#
 78 |         let validation = content.range(
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:59:23: warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Requires that the provided value is not empty
 59 |     public static var required: FieldValidator = { content in
    |                       |- warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'required' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'required' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |         return content.isEmpty ? "authenticator.validator.field.required".localized() : nil
 61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:19:23: warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 17 |
 18 |     /// An unauthenticated user is presented with the Sign In view
 19 |     public static let signIn = AuthenticatorInitialStep("signIn")
    |                       |- warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signIn' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: 'focusedField' declared here
13 |
14 |     func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:64:23: warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 |     /// Requires that the provided value follows a phone format
 64 |     public static var phoneNumber: FieldValidator = { content in
    |                       |- warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'phoneNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'phoneNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |         guard content.hasPrefix("+"),
 66 |               content.count > 1,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:25:23: warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
 25 |     public static let resetPassword = AuthenticatorInitialStep("resetPassword")
    |                       |- warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'resetPassword' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:22:23: warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
 22 |     public static let signUp = AuthenticatorInitialStep("signUp")
    |                       |- warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signUp' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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: 'hasPreviousField' declared here
16 |     func focusNextField()
17 |
18 |     var hasPreviousField: Bool { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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: 'hasNextField' declared here
18 |     var hasPreviousField: Bool { get }
19 |
20 |     var hasNextField: Bool { get }
   |         `- note: '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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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 | }
[1965/1968] Compiling Authenticator SignInView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/RegionUtils.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
 43 | }
 44 |
 45 | class RegionUtils {
    |       `- note: class 'RegionUtils' does not conform to the 'Sendable' protocol
 46 |     static let shared: RegionUtils = .init()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private var locale: Locale {
 48 |         Locale.current
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:141:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 |     /// A convenience empty validator
141 |     public static var none: FieldValidator = { _ in
    |                       |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |         return nil
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:74:20: warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 72 |         static var transparent = Color.clear
 73 |
 74 |         static let Font = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Font' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |             primary: Color(light: .AmplifyUI.neutral100, dark: .AmplifyUI.white),
 76 |             secondary: Color(light: .AmplifyUI.neutral90, dark: .AmplifyUI.neutral10),
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:87:20: warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |         )
 86 |
 87 |         static let Background = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Background' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |             primary: Color(light: .AmplifyUI.white, dark: .AmplifyUI.black),
 89 |             secondary: .AmplifyUI.neutral10,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:100:20: warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         )
 99 |
100 |         static let Border = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Border' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |             primary: .AmplifyUI.neutral60,
102 |             secondary: .AmplifyUI.neutral40,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/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/Utilities/FieldValidator.swift:76:23: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     /// Requires that the provided value follows an email format
 76 |     public static var email: FieldValidator = { content in
    |                       |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'email' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         let emailPattern = #"^\S+@\S+\.\S+$"#
 78 |         let validation = content.range(
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:59:23: warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Requires that the provided value is not empty
 59 |     public static var required: FieldValidator = { content in
    |                       |- warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'required' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'required' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |         return content.isEmpty ? "authenticator.validator.field.required".localized() : nil
 61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:19:23: warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 17 |
 18 |     /// An unauthenticated user is presented with the Sign In view
 19 |     public static let signIn = AuthenticatorInitialStep("signIn")
    |                       |- warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signIn' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: 'focusedField' declared here
13 |
14 |     func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:64:23: warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 |     /// Requires that the provided value follows a phone format
 64 |     public static var phoneNumber: FieldValidator = { content in
    |                       |- warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'phoneNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'phoneNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |         guard content.hasPrefix("+"),
 66 |               content.count > 1,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:25:23: warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
 25 |     public static let resetPassword = AuthenticatorInitialStep("resetPassword")
    |                       |- warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'resetPassword' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:22:23: warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
 22 |     public static let signUp = AuthenticatorInitialStep("signUp")
    |                       |- warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signUp' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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: 'hasPreviousField' declared here
16 |     func focusNextField()
17 |
18 |     var hasPreviousField: Bool { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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: 'hasNextField' declared here
18 |     var hasPreviousField: Bool { get }
19 |
20 |     var hasNextField: Bool { get }
   |         `- note: '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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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 | }
[1966/1968] Compiling Authenticator SignUpView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/RegionUtils.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
 43 | }
 44 |
 45 | class RegionUtils {
    |       `- note: class 'RegionUtils' does not conform to the 'Sendable' protocol
 46 |     static let shared: RegionUtils = .init()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private var locale: Locale {
 48 |         Locale.current
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:141:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 |     /// A convenience empty validator
141 |     public static var none: FieldValidator = { _ in
    |                       |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |         return nil
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:74:20: warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 72 |         static var transparent = Color.clear
 73 |
 74 |         static let Font = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Font' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |             primary: Color(light: .AmplifyUI.neutral100, dark: .AmplifyUI.white),
 76 |             secondary: Color(light: .AmplifyUI.neutral90, dark: .AmplifyUI.neutral10),
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:87:20: warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |         )
 86 |
 87 |         static let Background = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Background' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |             primary: Color(light: .AmplifyUI.white, dark: .AmplifyUI.black),
 89 |             secondary: .AmplifyUI.neutral10,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:100:20: warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         )
 99 |
100 |         static let Border = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Border' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |             primary: .AmplifyUI.neutral60,
102 |             secondary: .AmplifyUI.neutral40,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/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/Utilities/FieldValidator.swift:76:23: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     /// Requires that the provided value follows an email format
 76 |     public static var email: FieldValidator = { content in
    |                       |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'email' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         let emailPattern = #"^\S+@\S+\.\S+$"#
 78 |         let validation = content.range(
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:59:23: warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Requires that the provided value is not empty
 59 |     public static var required: FieldValidator = { content in
    |                       |- warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'required' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'required' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |         return content.isEmpty ? "authenticator.validator.field.required".localized() : nil
 61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:19:23: warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 17 |
 18 |     /// An unauthenticated user is presented with the Sign In view
 19 |     public static let signIn = AuthenticatorInitialStep("signIn")
    |                       |- warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signIn' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: 'focusedField' declared here
13 |
14 |     func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:64:23: warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 |     /// Requires that the provided value follows a phone format
 64 |     public static var phoneNumber: FieldValidator = { content in
    |                       |- warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'phoneNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'phoneNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |         guard content.hasPrefix("+"),
 66 |               content.count > 1,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:25:23: warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
 25 |     public static let resetPassword = AuthenticatorInitialStep("resetPassword")
    |                       |- warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'resetPassword' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:22:23: warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
 22 |     public static let signUp = AuthenticatorInitialStep("signUp")
    |                       |- warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signUp' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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: 'hasPreviousField' declared here
16 |     func focusNextField()
17 |
18 |     var hasPreviousField: Bool { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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: 'hasNextField' declared here
18 |     var hasPreviousField: Bool { get }
19 |
20 |     var hasNextField: Bool { get }
   |         `- note: '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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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 | }
[1967/1968] Compiling Authenticator VerifyUserView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/RegionUtils.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
 43 | }
 44 |
 45 | class RegionUtils {
    |       `- note: class 'RegionUtils' does not conform to the 'Sendable' protocol
 46 |     static let shared: RegionUtils = .init()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private var locale: Locale {
 48 |         Locale.current
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:141:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 |     /// A convenience empty validator
141 |     public static var none: FieldValidator = { _ in
    |                       |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |         return nil
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:74:20: warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 72 |         static var transparent = Color.clear
 73 |
 74 |         static let Font = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Font' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |             primary: Color(light: .AmplifyUI.neutral100, dark: .AmplifyUI.white),
 76 |             secondary: Color(light: .AmplifyUI.neutral90, dark: .AmplifyUI.neutral10),
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:87:20: warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |         )
 86 |
 87 |         static let Background = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Background' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |             primary: Color(light: .AmplifyUI.white, dark: .AmplifyUI.black),
 89 |             secondary: .AmplifyUI.neutral10,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:100:20: warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         )
 99 |
100 |         static let Border = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Border' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |             primary: .AmplifyUI.neutral60,
102 |             secondary: .AmplifyUI.neutral40,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/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/Utilities/FieldValidator.swift:76:23: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     /// Requires that the provided value follows an email format
 76 |     public static var email: FieldValidator = { content in
    |                       |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'email' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         let emailPattern = #"^\S+@\S+\.\S+$"#
 78 |         let validation = content.range(
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:59:23: warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Requires that the provided value is not empty
 59 |     public static var required: FieldValidator = { content in
    |                       |- warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'required' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'required' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |         return content.isEmpty ? "authenticator.validator.field.required".localized() : nil
 61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:19:23: warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 17 |
 18 |     /// An unauthenticated user is presented with the Sign In view
 19 |     public static let signIn = AuthenticatorInitialStep("signIn")
    |                       |- warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signIn' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: 'focusedField' declared here
13 |
14 |     func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:64:23: warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 |     /// Requires that the provided value follows a phone format
 64 |     public static var phoneNumber: FieldValidator = { content in
    |                       |- warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'phoneNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'phoneNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |         guard content.hasPrefix("+"),
 66 |               content.count > 1,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:25:23: warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
 25 |     public static let resetPassword = AuthenticatorInitialStep("resetPassword")
    |                       |- warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'resetPassword' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:22:23: warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
 22 |     public static let signUp = AuthenticatorInitialStep("signUp")
    |                       |- warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signUp' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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: 'hasPreviousField' declared here
16 |     func focusNextField()
17 |
18 |     var hasPreviousField: Bool { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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: 'hasNextField' declared here
18 |     var hasPreviousField: Bool { get }
19 |
20 |     var hasNextField: Bool { get }
   |         `- note: '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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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 | }
[1968/1968] Compiling Authenticator resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/RegionUtils.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
 43 | }
 44 |
 45 | class RegionUtils {
    |       `- note: class 'RegionUtils' does not conform to the 'Sendable' protocol
 46 |     static let shared: RegionUtils = .init()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'RegionUtils' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     private var locale: Locale {
 48 |         Locale.current
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:141:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 |
140 |     /// A convenience empty validator
141 |     public static var none: FieldValidator = { _ in
    |                       |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |         return nil
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:74:20: warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 72 |         static var transparent = Color.clear
 73 |
 74 |         static let Font = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Font' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Font' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |             primary: Color(light: .AmplifyUI.neutral100, dark: .AmplifyUI.white),
 76 |             secondary: Color(light: .AmplifyUI.neutral90, dark: .AmplifyUI.neutral10),
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:87:20: warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |         )
 86 |
 87 |         static let Background = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Background' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Background' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |             primary: Color(light: .AmplifyUI.white, dark: .AmplifyUI.black),
 89 |             secondary: .AmplifyUI.neutral10,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Extensions/Color+AmplifyUI.swift:100:20: warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
 98 |         )
 99 |
100 |         static let Border = AuthenticatorTheme.Colors.Color(
    |                    |- warning: static property 'Border' is not concurrency-safe because non-'Sendable' type 'AuthenticatorTheme.Colors.Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'Border' with '@MainActor' if property should only be accessed from the main actor
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |             primary: .AmplifyUI.neutral60,
102 |             secondary: .AmplifyUI.neutral40,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Theming/AuthenticatorTheme.swift:121:19: note: consider making struct 'Color' conform to the 'Sendable' protocol
119 | extension AuthenticatorTheme.Colors {
120 |     /// Represents a group of colors
121 |     public struct Color {
    |                   `- note: consider making struct 'Color' conform to the 'Sendable' protocol
122 |         public var primary: SwiftUI.Color
123 |         public var secondary: SwiftUI.Color
/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/Utilities/FieldValidator.swift:76:23: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 74 |
 75 |     /// Requires that the provided value follows an email format
 76 |     public static var email: FieldValidator = { content in
    |                       |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'email' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         let emailPattern = #"^\S+@\S+\.\S+$"#
 78 |         let validation = content.range(
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:59:23: warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// Requires that the provided value is not empty
 59 |     public static var required: FieldValidator = { content in
    |                       |- warning: static property 'required' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'required' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'required' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |         return content.isEmpty ? "authenticator.validator.field.required".localized() : nil
 61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:19:23: warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 17 |
 18 |     /// An unauthenticated user is presented with the Sign In view
 19 |     public static let signIn = AuthenticatorInitialStep("signIn")
    |                       |- warning: static property 'signIn' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signIn' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: 'focusedField' declared here
13 |
14 |     func focusPreviousField()
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Utilities/FieldValidator.swift:64:23: warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 |     /// Requires that the provided value follows a phone format
 64 |     public static var phoneNumber: FieldValidator = { content in
    |                       |- warning: static property 'phoneNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'phoneNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'phoneNumber' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |         guard content.hasPrefix("+"),
 66 |               content.count > 1,
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:25:23: warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
 25 |     public static let resetPassword = AuthenticatorInitialStep("resetPassword")
    |                       |- warning: static property 'resetPassword' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'resetPassword' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 | }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/Authenticator/Models/AuthenticatorStep.swift:22:23: warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | /// Represents the Authenticator's initial state for an unauthenticated ser
 12 | public struct AuthenticatorInitialStep: Equatable {
    |               `- note: consider making struct 'AuthenticatorInitialStep' conform to the 'Sendable' protocol
 13 |     private let name: String
 14 |     private init(_ name: String) {
    :
 20 |
 21 |     /// An unauthenticated user is presented with the Sign Up view
 22 |     public static let signUp = AuthenticatorInitialStep("signUp")
    |                       |- warning: static property 'signUp' is not concurrency-safe because non-'Sendable' type 'AuthenticatorInitialStep' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'signUp' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     /// An unauthenticated user is presented with the Reset Password view
/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 protocol requirement; 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 protocol requirement; 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: 'focusedField' declared here
10 | protocol KeyboardIterableFields: AuthenticatorLogging {
11 |     associatedtype Field: Hashable
12 |     var focusedField: FocusState<Field?> {set get}
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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: 'hasPreviousField' declared here
16 |     func focusNextField()
17 |
18 |     var hasPreviousField: Bool { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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: 'hasNextField' declared here
18 |     var hasPreviousField: Bool { get }
19 |
20 |     var hasNextField: Bool { get }
   |         `- note: '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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/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! (95.62s)
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.