Build Information
Failed to build BasisTheoryElements, reference 5.2.0 (3c1c47), with Swift 6.1 for tvOS using Xcode 16.3 on 10 Apr 2026 01:55:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BasisTheoryElements -destination generic/platform=tvOSBuild Log
private static var hasInitialized = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:11:24: note: add '@MainActor' to make static property 'hasInitialized' part of global actor 'MainActor'
private static var hasInitialized = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:11:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var hasInitialized = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:49:9: warning: main actor-isolated property 'validation' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var validation: ((String?) -> Bool)? {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:30:51: note: add '@preconcurrency' to the 'InternalElementProtocol' conformance to defer isolation checking to run time
public class TextElementUITextField: UITextField, InternalElementProtocol, ElementProtocol, ElementReferenceProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:28:9: note: requirement 'validation' declared here
var validation: ((_ text: String?) -> Bool)? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:35:9: warning: main actor-isolated property 'inputMask' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var inputMask: [Any]?
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:29:9: note: requirement 'inputMask' declared here
var inputMask: [Any]? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:33:9: warning: main actor-isolated property 'getElementEvent' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var getElementEvent: ((String?, ElementEvent) -> ElementEvent)?
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:30:9: note: requirement 'getElementEvent' declared here
var getElementEvent: ((_ text: String?, _ currentElementEvent: ElementEvent) -> ElementEvent)? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:36:9: warning: main actor-isolated property 'inputTransform' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var inputTransform: ElementTransform?
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:31:9: note: requirement 'inputTransform' declared here
var inputTransform: ElementTransform? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:399:10: warning: main actor-isolated instance method 'getMaskedValue()' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
func getMaskedValue() -> String? {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:399:10: note: add 'nonisolated' to 'getMaskedValue()' to make this instance method not isolated to the actor
func getMaskedValue() -> String? {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:32:10: note: mark the protocol requirement 'getMaskedValue()' 'async' to allow actor-isolated conformances
func getMaskedValue() -> String?
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:46:16: warning: main actor-isolated property 'subject' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public var subject = PassthroughSubject<ElementEvent, Error>()
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:30:76: note: add '@preconcurrency' to the 'ElementProtocol' conformance to defer isolation checking to run time
public class TextElementUITextField: UITextField, InternalElementProtocol, ElementProtocol, ElementReferenceProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:12:9: note: requirement 'subject' declared here
var subject: PassthroughSubject<ElementEvent, Error> { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:47:16: warning: main actor-isolated property 'metadata' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public var metadata: ElementMetadata = ElementMetadata(complete: true, empty: true, valid: true, maskSatisfied: false)
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:13:9: note: requirement 'metadata' declared here
var metadata: ElementMetadata { get }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:143:17: warning: main actor-isolated instance method 'setValue(elementValueReference:)' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public func setValue(elementValueReference: ElementValueReference?) {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:143:17: note: add 'nonisolated' to 'setValue(elementValueReference:)' to make this instance method not isolated to the actor
public func setValue(elementValueReference: ElementValueReference?) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:14:10: note: mark the protocol requirement 'setValue(elementValueReference:)' 'async' to allow actor-isolated conformances
func setValue(elementValueReference: ElementValueReference?) -> Void
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:149:17: warning: main actor-isolated instance method 'setValueRef(element:)' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public func setValueRef(element: TextElementUITextField) {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:149:17: note: add 'nonisolated' to 'setValueRef(element:)' to make this instance method not isolated to the actor
public func setValueRef(element: TextElementUITextField) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:15:10: note: mark the protocol requirement 'setValueRef(element:)' 'async' to allow actor-isolated conformances
func setValueRef(element: TextElementUITextField) -> Void
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:31:16: warning: main actor-isolated property 'elementId' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public var elementId: String = UUID().uuidString
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:16:9: note: requirement 'elementId' declared here
var elementId: String { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:395:10: warning: main actor-isolated instance method 'getValue()' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
func getValue() -> String? {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:395:10: note: add 'nonisolated' to 'getValue()' to make this instance method not isolated to the actor
func getValue() -> String? {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:30:93: note: add '@preconcurrency' to the 'ElementReferenceProtocol' conformance to defer isolation checking to run time
public class TextElementUITextField: UITextField, InternalElementProtocol, ElementProtocol, ElementReferenceProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:43:10: note: mark the protocol requirement 'getValue()' 'async' to allow actor-isolated conformances
func getValue() -> String?
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:42:9: warning: main actor-isolated property 'getValueType' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
var getValueType: ElementValueType? = .string
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:44:9: note: requirement 'getValueType' declared here
var getValueType: ElementValueType? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:32:9: warning: main actor-isolated property 'isComplete' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
var isComplete: Bool? = true
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:45:9: note: requirement 'isComplete' declared here
var isComplete: Bool? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:31:16: warning: main actor-isolated property 'elementId' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
public var elementId: String = UUID().uuidString
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:46:9: note: requirement 'elementId' declared here
var elementId: String { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:358:9: error: 'UIPasteboard' is unavailable in tvOS
UIPasteboard.general.string = super.text
^~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:358:30: error: 'string' is unavailable in tvOS
UIPasteboard.general.string = super.text
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:108:46: note: 'string' has been explicitly marked unavailable here
@property(nullable,nonatomic,copy) NSString *string API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift:5:24: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
private static let dateFormatter = ISO8601DateFormatter()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
@interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift:5:24: note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
private static let dateFormatter = ISO8601DateFormatter()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift:5:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let dateFormatter = ISO8601DateFormatter()
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift:53:17: warning: capture of 'completion' with non-sendable type '(Result<TokenIntent, any Error>) -> Void' in a '@Sendable' closure
completion(.failure(error))
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift:53:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(.failure(error))
^
SwiftCompile normal arm64 Compiling\ BinLookup.swift,\ BtDatadogLogger.swift,\ CardBrand.swift,\ CardBrandSelectorUIButton.swift,\ CardExpirationDateUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BtDatadogLogger.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AccessRule.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AnyCodableExtensions.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Application.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinInfo.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BtDatadogLogger.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardVerificationCodeUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateSessionResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/DeviceInfo.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementEvents.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementTransform.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptTokenModel.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptionMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/GetTokenByIdResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HTTPMethod.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HttpClientHelpers.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JSON.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Privacy.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHttpRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentModels.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateTokenRequest.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/GeneratedAssetSymbols.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/supplementaryOutputs-3 -target arm64-apple-tvos15.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name BasisTheoryElements -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BinLookup.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BtDatadogLogger.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/CardBrand.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/CardBrandSelectorUIButton.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/CardExpirationDateUITextField.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BinLookup.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BtDatadogLogger.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/CardBrand.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/CardBrandSelectorUIButton.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/CardExpirationDateUITextField.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var cache: [String: BinInfo?] = [:]
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
private static var cache: [String: BinInfo?] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
private static var cache: [String: BinInfo?] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var cache: [String: BinInfo?] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:40:17: warning: capture of 'completion' with non-sendable type '(BinInfo?, (any Error)?) -> Void' in a '@Sendable' closure
completion(nil, error)
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:40:17: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(nil, error)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BtDatadogLogger.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:81:23: warning: static property 'VISA' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let VISA = CardBrandDetails(cardBrandName: CardBrandName.visa, cardIdentifiers: [4], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 18, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:81:23: note: add '@MainActor' to make static property 'VISA' part of global actor 'MainActor'
public static let VISA = CardBrandDetails(cardBrandName: CardBrandName.visa, cardIdentifiers: [4], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 18, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:81:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let VISA = CardBrandDetails(cardBrandName: CardBrandName.visa, cardIdentifiers: [4], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 18, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:82:23: warning: static property 'MASTERCARD' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let MASTERCARD = CardBrandDetails(cardBrandName: CardBrandName.mastercard, cardIdentifiers: [[51, 55], [2221, 2229], [223, 229], [23, 26], [270, 271], 2720], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:82:23: note: add '@MainActor' to make static property 'MASTERCARD' part of global actor 'MainActor'
public static let MASTERCARD = CardBrandDetails(cardBrandName: CardBrandName.mastercard, cardIdentifiers: [[51, 55], [2221, 2229], [223, 229], [23, 26], [270, 271], 2720], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:82:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let MASTERCARD = CardBrandDetails(cardBrandName: CardBrandName.mastercard, cardIdentifiers: [[51, 55], [2221, 2229], [223, 229], [23, 26], [270, 271], 2720], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:83:23: warning: static property 'AMERICAN_EXPRESS' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let AMERICAN_EXPRESS = CardBrandDetails(cardBrandName: CardBrandName.americanExpress, cardIdentifiers: [34, 37], cvcMaskInput: fourDigitCvc, gaps: [4, 10], validLengths: [15])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:83:23: note: add '@MainActor' to make static property 'AMERICAN_EXPRESS' part of global actor 'MainActor'
public static let AMERICAN_EXPRESS = CardBrandDetails(cardBrandName: CardBrandName.americanExpress, cardIdentifiers: [34, 37], cvcMaskInput: fourDigitCvc, gaps: [4, 10], validLengths: [15])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:83:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let AMERICAN_EXPRESS = CardBrandDetails(cardBrandName: CardBrandName.americanExpress, cardIdentifiers: [34, 37], cvcMaskInput: fourDigitCvc, gaps: [4, 10], validLengths: [15])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:84:23: warning: static property 'DINERS_CLUB' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let DINERS_CLUB = CardBrandDetails(cardBrandName: CardBrandName.dinersClub, cardIdentifiers: [[300, 305], 36, 38, 39], cvcMaskInput: threeDigitCvc, gaps: [4, 10], validLengths: [14, 16, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:84:23: note: add '@MainActor' to make static property 'DINERS_CLUB' part of global actor 'MainActor'
public static let DINERS_CLUB = CardBrandDetails(cardBrandName: CardBrandName.dinersClub, cardIdentifiers: [[300, 305], 36, 38, 39], cvcMaskInput: threeDigitCvc, gaps: [4, 10], validLengths: [14, 16, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:84:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let DINERS_CLUB = CardBrandDetails(cardBrandName: CardBrandName.dinersClub, cardIdentifiers: [[300, 305], 36, 38, 39], cvcMaskInput: threeDigitCvc, gaps: [4, 10], validLengths: [14, 16, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:85:23: warning: static property 'DISCOVER' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let DISCOVER = CardBrandDetails(cardBrandName: CardBrandName.discover, cardIdentifiers: [6011, [644, 649], 65], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:85:23: note: add '@MainActor' to make static property 'DISCOVER' part of global actor 'MainActor'
public static let DISCOVER = CardBrandDetails(cardBrandName: CardBrandName.discover, cardIdentifiers: [6011, [644, 649], 65], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:85:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let DISCOVER = CardBrandDetails(cardBrandName: CardBrandName.discover, cardIdentifiers: [6011, [644, 649], 65], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:86:23: warning: static property 'JCB' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let JCB = CardBrandDetails(cardBrandName: CardBrandName.jcb, cardIdentifiers: [2131, 1800, [3528, 3589]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:86:23: note: add '@MainActor' to make static property 'JCB' part of global actor 'MainActor'
public static let JCB = CardBrandDetails(cardBrandName: CardBrandName.jcb, cardIdentifiers: [2131, 1800, [3528, 3589]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:86:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let JCB = CardBrandDetails(cardBrandName: CardBrandName.jcb, cardIdentifiers: [2131, 1800, [3528, 3589]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:87:23: warning: static property 'UNION_PAY' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let UNION_PAY = CardBrandDetails(cardBrandName: CardBrandName.unionPay, cardIdentifiers: [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:87:23: note: add '@MainActor' to make static property 'UNION_PAY' part of global actor 'MainActor'
public static let UNION_PAY = CardBrandDetails(cardBrandName: CardBrandName.unionPay, cardIdentifiers: [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:87:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let UNION_PAY = CardBrandDetails(cardBrandName: CardBrandName.unionPay, cardIdentifiers: [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:105:23: warning: static property 'MAESTRO' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let MAESTRO = CardBrandDetails(cardBrandName: CardBrandName.maestro, cardIdentifiers: [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:105:23: note: add '@MainActor' to make static property 'MAESTRO' part of global actor 'MainActor'
public static let MAESTRO = CardBrandDetails(cardBrandName: CardBrandName.maestro, cardIdentifiers: [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:105:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let MAESTRO = CardBrandDetails(cardBrandName: CardBrandName.maestro, cardIdentifiers: [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:115:23: warning: static property 'ELO' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let ELO = CardBrandDetails(cardBrandName: CardBrandName.elo, cardIdentifiers: [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:115:23: note: add '@MainActor' to make static property 'ELO' part of global actor 'MainActor'
public static let ELO = CardBrandDetails(cardBrandName: CardBrandName.elo, cardIdentifiers: [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:115:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let ELO = CardBrandDetails(cardBrandName: CardBrandName.elo, cardIdentifiers: [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:142:23: warning: static property 'MIR' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let MIR = CardBrandDetails(cardBrandName: CardBrandName.mir, cardIdentifiers: [[2200, 2204]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:142:23: note: add '@MainActor' to make static property 'MIR' part of global actor 'MainActor'
public static let MIR = CardBrandDetails(cardBrandName: CardBrandName.mir, cardIdentifiers: [[2200, 2204]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:142:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let MIR = CardBrandDetails(cardBrandName: CardBrandName.mir, cardIdentifiers: [[2200, 2204]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:143:23: warning: static property 'HIPER' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let HIPER = CardBrandDetails(cardBrandName: CardBrandName.hiper, cardIdentifiers: [637095, 63737423, 63743358, 637568, 637599, 637609, 637612], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:143:23: note: add '@MainActor' to make static property 'HIPER' part of global actor 'MainActor'
public static let HIPER = CardBrandDetails(cardBrandName: CardBrandName.hiper, cardIdentifiers: [637095, 63737423, 63743358, 637568, 637599, 637609, 637612], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:143:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let HIPER = CardBrandDetails(cardBrandName: CardBrandName.hiper, cardIdentifiers: [637095, 63737423, 63743358, 637568, 637599, 637609, 637612], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:144:23: warning: static property 'HIPERCARD' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let HIPERCARD = CardBrandDetails(cardBrandName: CardBrandName.hipercard, cardIdentifiers: [606282], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:144:23: note: add '@MainActor' to make static property 'HIPERCARD' part of global actor 'MainActor'
public static let HIPERCARD = CardBrandDetails(cardBrandName: CardBrandName.hipercard, cardIdentifiers: [606282], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:144:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let HIPERCARD = CardBrandDetails(cardBrandName: CardBrandName.hipercard, cardIdentifiers: [606282], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:146:23: warning: static property 'DefaultCardBrands' is not concurrency-safe because non-'Sendable' type '[CardBrandDetails]' may have shared mutable state; this is an error in the Swift 6 language mode
public static let DefaultCardBrands = [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:146:23: note: add '@MainActor' to make static property 'DefaultCardBrands' part of global actor 'MainActor'
public static let DefaultCardBrands = [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:146:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let DefaultCardBrands = [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: warning: static property 'CardBrands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: note: convert 'CardBrands' to a 'let' constant to make 'Sendable' shared state immutable
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: note: add '@MainActor' to make static property 'CardBrands' part of global actor 'MainActor'
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
^
nonisolated(unsafe)
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:41:14: warning: call to main actor-isolated instance method 'setupButton()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.setupButton()
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:68:18: note: calls to instance method 'setupButton()' from outside of its actor context are implicitly asynchronous
private func setupButton() {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:68:18: note: main actor isolation inferred from inheritance from class 'UIButton'
private func setupButton() {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:86:18: error: 'menu' is only available in tvOS 17.0 or newer
self.menu = nil
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:86:18: note: add 'if #available' version check
self.menu = nil
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:83:18: note: add @available attribute to enclosing instance method
private func updateBrandSelectionMenu() {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:19:20: note: add @available attribute to enclosing class
final public class CardBrandSelectorUIButton: UIButton {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:108:14: error: 'menu' is only available in tvOS 17.0 or newer
self.menu = brandMenu
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:108:14: note: add 'if #available' version check
self.menu = brandMenu
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:83:18: note: add @available attribute to enclosing instance method
private func updateBrandSelectionMenu() {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:19:20: note: add @available attribute to enclosing class
final public class CardBrandSelectorUIButton: UIButton {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift:85:19: warning: immutable value 'value' was never used; consider replacing with '_' or removing it
guard let value = super.getValue(),
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift:91:13: warning: variable 'components' was never mutated; consider changing to 'let' constant
var components = DateComponents(year: year, month: month)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift:95:19: warning: immutable value 'lastDayOfMonth' was never used; consider replacing with '_' or removing it
let lastDayOfMonth = calendar.dateComponents([.day], from: lastDayDate).day else {
~~~~^~~~~~~~~~~~~~
_
SwiftEmitModule normal arm64 Emitting\ module\ for\ BasisTheoryElements (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
EmitSwiftModule normal arm64 (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:46:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
public static var apiKey: String = ""
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:46:23: note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
public static var apiKey: String = ""
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:46:23: note: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
public static var apiKey: String = ""
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:46:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static var apiKey: String = ""
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:48:25: warning: static property '_basePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var _basePath: String? = nil
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:48:25: note: convert '_basePath' to a 'let' constant to make 'Sendable' shared state immutable
internal static var _basePath: String? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:48:25: note: add '@MainActor' to make static property '_basePath' part of global actor 'MainActor'
internal static var _basePath: String? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:48:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var _basePath: String? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:49:25: warning: static property '_environment' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var _environment: Environment? = nil
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:49:25: note: convert '_environment' to a 'let' constant to make 'Sendable' shared state immutable
internal static var _environment: Environment? = nil
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:49:25: note: add '@MainActor' to make static property '_environment' part of global actor 'MainActor'
internal static var _environment: Environment? = nil
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:49:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var _environment: Environment? = nil
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:50:25: warning: static property '_computedBasePath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
internal static var _computedBasePath: String = "https://api.basistheory.com"
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:50:25: note: convert '_computedBasePath' to a 'let' constant to make 'Sendable' shared state immutable
internal static var _computedBasePath: String = "https://api.basistheory.com"
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:50:25: note: add '@MainActor' to make static property '_computedBasePath' part of global actor 'MainActor'
internal static var _computedBasePath: String = "https://api.basistheory.com"
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift:50:25: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
internal static var _computedBasePath: String = "https://api.basistheory.com"
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var cache: [String: BinInfo?] = [:]
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
private static var cache: [String: BinInfo?] = [:]
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
private static var cache: [String: BinInfo?] = [:]
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift:11:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var cache: [String: BinInfo?] = [:]
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:81:23: warning: static property 'VISA' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let VISA = CardBrandDetails(cardBrandName: CardBrandName.visa, cardIdentifiers: [4], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 18, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:81:23: note: add '@MainActor' to make static property 'VISA' part of global actor 'MainActor'
public static let VISA = CardBrandDetails(cardBrandName: CardBrandName.visa, cardIdentifiers: [4], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 18, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:81:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let VISA = CardBrandDetails(cardBrandName: CardBrandName.visa, cardIdentifiers: [4], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 18, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:82:23: warning: static property 'MASTERCARD' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let MASTERCARD = CardBrandDetails(cardBrandName: CardBrandName.mastercard, cardIdentifiers: [[51, 55], [2221, 2229], [223, 229], [23, 26], [270, 271], 2720], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:82:23: note: add '@MainActor' to make static property 'MASTERCARD' part of global actor 'MainActor'
public static let MASTERCARD = CardBrandDetails(cardBrandName: CardBrandName.mastercard, cardIdentifiers: [[51, 55], [2221, 2229], [223, 229], [23, 26], [270, 271], 2720], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:82:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let MASTERCARD = CardBrandDetails(cardBrandName: CardBrandName.mastercard, cardIdentifiers: [[51, 55], [2221, 2229], [223, 229], [23, 26], [270, 271], 2720], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:83:23: warning: static property 'AMERICAN_EXPRESS' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let AMERICAN_EXPRESS = CardBrandDetails(cardBrandName: CardBrandName.americanExpress, cardIdentifiers: [34, 37], cvcMaskInput: fourDigitCvc, gaps: [4, 10], validLengths: [15])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:83:23: note: add '@MainActor' to make static property 'AMERICAN_EXPRESS' part of global actor 'MainActor'
public static let AMERICAN_EXPRESS = CardBrandDetails(cardBrandName: CardBrandName.americanExpress, cardIdentifiers: [34, 37], cvcMaskInput: fourDigitCvc, gaps: [4, 10], validLengths: [15])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:83:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let AMERICAN_EXPRESS = CardBrandDetails(cardBrandName: CardBrandName.americanExpress, cardIdentifiers: [34, 37], cvcMaskInput: fourDigitCvc, gaps: [4, 10], validLengths: [15])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:84:23: warning: static property 'DINERS_CLUB' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let DINERS_CLUB = CardBrandDetails(cardBrandName: CardBrandName.dinersClub, cardIdentifiers: [[300, 305], 36, 38, 39], cvcMaskInput: threeDigitCvc, gaps: [4, 10], validLengths: [14, 16, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:84:23: note: add '@MainActor' to make static property 'DINERS_CLUB' part of global actor 'MainActor'
public static let DINERS_CLUB = CardBrandDetails(cardBrandName: CardBrandName.dinersClub, cardIdentifiers: [[300, 305], 36, 38, 39], cvcMaskInput: threeDigitCvc, gaps: [4, 10], validLengths: [14, 16, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:84:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let DINERS_CLUB = CardBrandDetails(cardBrandName: CardBrandName.dinersClub, cardIdentifiers: [[300, 305], 36, 38, 39], cvcMaskInput: threeDigitCvc, gaps: [4, 10], validLengths: [14, 16, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:85:23: warning: static property 'DISCOVER' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let DISCOVER = CardBrandDetails(cardBrandName: CardBrandName.discover, cardIdentifiers: [6011, [644, 649], 65], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:85:23: note: add '@MainActor' to make static property 'DISCOVER' part of global actor 'MainActor'
public static let DISCOVER = CardBrandDetails(cardBrandName: CardBrandName.discover, cardIdentifiers: [6011, [644, 649], 65], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:85:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let DISCOVER = CardBrandDetails(cardBrandName: CardBrandName.discover, cardIdentifiers: [6011, [644, 649], 65], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:86:23: warning: static property 'JCB' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let JCB = CardBrandDetails(cardBrandName: CardBrandName.jcb, cardIdentifiers: [2131, 1800, [3528, 3589]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:86:23: note: add '@MainActor' to make static property 'JCB' part of global actor 'MainActor'
public static let JCB = CardBrandDetails(cardBrandName: CardBrandName.jcb, cardIdentifiers: [2131, 1800, [3528, 3589]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:86:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let JCB = CardBrandDetails(cardBrandName: CardBrandName.jcb, cardIdentifiers: [2131, 1800, [3528, 3589]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:87:23: warning: static property 'UNION_PAY' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let UNION_PAY = CardBrandDetails(cardBrandName: CardBrandName.unionPay, cardIdentifiers: [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:87:23: note: add '@MainActor' to make static property 'UNION_PAY' part of global actor 'MainActor'
public static let UNION_PAY = CardBrandDetails(cardBrandName: CardBrandName.unionPay, cardIdentifiers: [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:87:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let UNION_PAY = CardBrandDetails(cardBrandName: CardBrandName.unionPay, cardIdentifiers: [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:105:23: warning: static property 'MAESTRO' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let MAESTRO = CardBrandDetails(cardBrandName: CardBrandName.maestro, cardIdentifiers: [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:105:23: note: add '@MainActor' to make static property 'MAESTRO' part of global actor 'MainActor'
public static let MAESTRO = CardBrandDetails(cardBrandName: CardBrandName.maestro, cardIdentifiers: [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:105:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let MAESTRO = CardBrandDetails(cardBrandName: CardBrandName.maestro, cardIdentifiers: [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:115:23: warning: static property 'ELO' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let ELO = CardBrandDetails(cardBrandName: CardBrandName.elo, cardIdentifiers: [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:115:23: note: add '@MainActor' to make static property 'ELO' part of global actor 'MainActor'
public static let ELO = CardBrandDetails(cardBrandName: CardBrandName.elo, cardIdentifiers: [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:115:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let ELO = CardBrandDetails(cardBrandName: CardBrandName.elo, cardIdentifiers: [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:142:23: warning: static property 'MIR' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let MIR = CardBrandDetails(cardBrandName: CardBrandName.mir, cardIdentifiers: [[2200, 2204]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:142:23: note: add '@MainActor' to make static property 'MIR' part of global actor 'MainActor'
public static let MIR = CardBrandDetails(cardBrandName: CardBrandName.mir, cardIdentifiers: [[2200, 2204]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:142:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let MIR = CardBrandDetails(cardBrandName: CardBrandName.mir, cardIdentifiers: [[2200, 2204]], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16, 17, 18, 19])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:143:23: warning: static property 'HIPER' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let HIPER = CardBrandDetails(cardBrandName: CardBrandName.hiper, cardIdentifiers: [637095, 63737423, 63743358, 637568, 637599, 637609, 637612], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:143:23: note: add '@MainActor' to make static property 'HIPER' part of global actor 'MainActor'
public static let HIPER = CardBrandDetails(cardBrandName: CardBrandName.hiper, cardIdentifiers: [637095, 63737423, 63743358, 637568, 637599, 637609, 637612], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:143:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let HIPER = CardBrandDetails(cardBrandName: CardBrandName.hiper, cardIdentifiers: [637095, 63737423, 63743358, 637568, 637599, 637609, 637612], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:144:23: warning: static property 'HIPERCARD' is not concurrency-safe because non-'Sendable' type 'CardBrandDetails' may have shared mutable state; this is an error in the Swift 6 language mode
public static let HIPERCARD = CardBrandDetails(cardBrandName: CardBrandName.hipercard, cardIdentifiers: [606282], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:144:23: note: add '@MainActor' to make static property 'HIPERCARD' part of global actor 'MainActor'
public static let HIPERCARD = CardBrandDetails(cardBrandName: CardBrandName.hipercard, cardIdentifiers: [606282], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:144:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let HIPERCARD = CardBrandDetails(cardBrandName: CardBrandName.hipercard, cardIdentifiers: [606282], cvcMaskInput: threeDigitCvc, gaps: [4, 8, 12], validLengths: [16])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:146:23: warning: static property 'DefaultCardBrands' is not concurrency-safe because non-'Sendable' type '[CardBrandDetails]' may have shared mutable state; this is an error in the Swift 6 language mode
public static let DefaultCardBrands = [
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:9:15: note: consider making struct 'CardBrandDetails' conform to the 'Sendable' protocol
public struct CardBrandDetails {
^
: Sendable
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:146:23: note: add '@MainActor' to make static property 'DefaultCardBrands' part of global actor 'MainActor'
public static let DefaultCardBrands = [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:146:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let DefaultCardBrands = [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: warning: static property 'CardBrands' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: note: convert 'CardBrands' to a 'let' constant to make 'Sendable' shared state immutable
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: note: add '@MainActor' to make static property 'CardBrands' part of global actor 'MainActor'
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift:161:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var CardBrands: [CardBrandDetails] = DefaultCardBrands
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift:11:16: warning: main actor-isolated property 'cardMetadata' cannot be used to satisfy nonisolated requirement from protocol 'CardElementProtocol'; this is an error in the Swift 6 language mode
public var cardMetadata: CardMetadata = CardMetadata(cardBrand: "unknown")
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift:10:67: note: add '@preconcurrency' to the 'CardElementProtocol' conformance to defer isolation checking to run time
final public class CardNumberUITextField: TextElementUITextField, CardElementProtocol, CardNumberElementProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:20:9: note: requirement 'cardMetadata' declared here
var cardMetadata: CardMetadata { get }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift:37:16: warning: main actor-isolated property 'cardTypes' cannot be used to satisfy nonisolated requirement from protocol 'CardNumberElementProtocol'; this is an error in the Swift 6 language mode
public var cardTypes: [CardBrandDetails]? {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift:10:88: note: add '@preconcurrency' to the 'CardNumberElementProtocol' conformance to defer isolation checking to run time
final public class CardNumberUITextField: TextElementUITextField, CardElementProtocol, CardNumberElementProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:24:9: note: requirement 'cardTypes' declared here
var cardTypes: [CardBrandDetails]? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:11:24: warning: static property 'hasInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var hasInitialized = false
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:11:24: note: convert 'hasInitialized' to a 'let' constant to make 'Sendable' shared state immutable
private static var hasInitialized = false
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:11:24: note: add '@MainActor' to make static property 'hasInitialized' part of global actor 'MainActor'
private static var hasInitialized = false
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:11:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var hasInitialized = false
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift:13:24: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
private static var logger: BtDatadogLogger = BtDatadogLogger.builder()
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:49:9: warning: main actor-isolated property 'validation' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var validation: ((String?) -> Bool)? {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:30:51: note: add '@preconcurrency' to the 'InternalElementProtocol' conformance to defer isolation checking to run time
public class TextElementUITextField: UITextField, InternalElementProtocol, ElementProtocol, ElementReferenceProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:28:9: note: requirement 'validation' declared here
var validation: ((_ text: String?) -> Bool)? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:35:9: warning: main actor-isolated property 'inputMask' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var inputMask: [Any]?
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:29:9: note: requirement 'inputMask' declared here
var inputMask: [Any]? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:33:9: warning: main actor-isolated property 'getElementEvent' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var getElementEvent: ((String?, ElementEvent) -> ElementEvent)?
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:30:9: note: requirement 'getElementEvent' declared here
var getElementEvent: ((_ text: String?, _ currentElementEvent: ElementEvent) -> ElementEvent)? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:36:9: warning: main actor-isolated property 'inputTransform' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
var inputTransform: ElementTransform?
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:31:9: note: requirement 'inputTransform' declared here
var inputTransform: ElementTransform? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:399:10: warning: main actor-isolated instance method 'getMaskedValue()' cannot be used to satisfy nonisolated requirement from protocol 'InternalElementProtocol'; this is an error in the Swift 6 language mode
func getMaskedValue() -> String? {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:399:10: note: add 'nonisolated' to 'getMaskedValue()' to make this instance method not isolated to the actor
func getMaskedValue() -> String? {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:32:10: note: mark the protocol requirement 'getMaskedValue()' 'async' to allow actor-isolated conformances
func getMaskedValue() -> String?
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:46:16: warning: main actor-isolated property 'subject' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public var subject = PassthroughSubject<ElementEvent, Error>()
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:30:76: note: add '@preconcurrency' to the 'ElementProtocol' conformance to defer isolation checking to run time
public class TextElementUITextField: UITextField, InternalElementProtocol, ElementProtocol, ElementReferenceProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:12:9: note: requirement 'subject' declared here
var subject: PassthroughSubject<ElementEvent, Error> { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:47:16: warning: main actor-isolated property 'metadata' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public var metadata: ElementMetadata = ElementMetadata(complete: true, empty: true, valid: true, maskSatisfied: false)
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:13:9: note: requirement 'metadata' declared here
var metadata: ElementMetadata { get }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:143:17: warning: main actor-isolated instance method 'setValue(elementValueReference:)' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public func setValue(elementValueReference: ElementValueReference?) {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:143:17: note: add 'nonisolated' to 'setValue(elementValueReference:)' to make this instance method not isolated to the actor
public func setValue(elementValueReference: ElementValueReference?) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:14:10: note: mark the protocol requirement 'setValue(elementValueReference:)' 'async' to allow actor-isolated conformances
func setValue(elementValueReference: ElementValueReference?) -> Void
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:149:17: warning: main actor-isolated instance method 'setValueRef(element:)' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public func setValueRef(element: TextElementUITextField) {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:149:17: note: add 'nonisolated' to 'setValueRef(element:)' to make this instance method not isolated to the actor
public func setValueRef(element: TextElementUITextField) {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:15:10: note: mark the protocol requirement 'setValueRef(element:)' 'async' to allow actor-isolated conformances
func setValueRef(element: TextElementUITextField) -> Void
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:31:16: warning: main actor-isolated property 'elementId' cannot be used to satisfy nonisolated requirement from protocol 'ElementProtocol'; this is an error in the Swift 6 language mode
public var elementId: String = UUID().uuidString
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:16:9: note: requirement 'elementId' declared here
var elementId: String { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:395:10: warning: main actor-isolated instance method 'getValue()' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
func getValue() -> String? {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:395:10: note: add 'nonisolated' to 'getValue()' to make this instance method not isolated to the actor
func getValue() -> String? {
^
nonisolated
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:30:93: note: add '@preconcurrency' to the 'ElementReferenceProtocol' conformance to defer isolation checking to run time
public class TextElementUITextField: UITextField, InternalElementProtocol, ElementProtocol, ElementReferenceProtocol {
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:43:10: note: mark the protocol requirement 'getValue()' 'async' to allow actor-isolated conformances
func getValue() -> String?
^
async
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:42:9: warning: main actor-isolated property 'getValueType' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
var getValueType: ElementValueType? = .string
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:44:9: note: requirement 'getValueType' declared here
var getValueType: ElementValueType? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:32:9: warning: main actor-isolated property 'isComplete' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
var isComplete: Bool? = true
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:45:9: note: requirement 'isComplete' declared here
var isComplete: Bool? { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:31:16: warning: main actor-isolated property 'elementId' cannot be used to satisfy nonisolated requirement from protocol 'ElementReferenceProtocol'; this is an error in the Swift 6 language mode
public var elementId: String = UUID().uuidString
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift:46:9: note: requirement 'elementId' declared here
var elementId: String { get set }
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift:5:24: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
private static let dateFormatter = ISO8601DateFormatter()
^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
@interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift:5:24: note: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
private static let dateFormatter = ISO8601DateFormatter()
^
@MainActor
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift:5:24: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
private static let dateFormatter = ISO8601DateFormatter()
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ JWEEncryption.swift,\ Privacy.swift,\ ProxyHelpers.swift,\ ProxyHttpRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Privacy.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHttpRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift:163:17: warning: variable 'counterBytes' was never mutated; consider changing to 'let' constant
var counterBytes = counter.bigEndianData
~~~ ^
let
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Privacy.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift:96:25: warning: capture of 'completion' with non-sendable type '(URLResponse?, JSON?, (any Error)?) -> Void' in a '@Sendable' closure
completion(response, json, nil)
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift:96:25: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completion(response, json, nil)
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHttpRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CardNumberElementUITextField.swift,\ CardVerificationCodeUITextField.swift,\ CreateSessionResponse.swift,\ CreateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardVerificationCodeUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateSessionResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateToken.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardVerificationCodeUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateSessionResponse.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateToken.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ TokenIntentModels.swift,\ UpdateToken.swift,\ UpdateTokenRequest.swift,\ GeneratedAssetSymbols.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentModels.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateTokenRequest.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentModels.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateToken.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateTokenRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
LinkAssetCatalog /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Resources/Assets.xcassets (in target 'BasisTheoryElements_BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-linkAssetCatalog --thinned /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_output/thinned --thinned-dependencies /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_dependencies_thinned --thinned-info-plist-content /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_generated_info.plist_thinned --unthinned /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_output/unthinned --unthinned-dependencies /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_dependencies_unthinned --unthinned-info-plist-content /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_generated_info.plist_unthinned --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle --plist-output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_generated_info.plist
note: Emplaced /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle/Assets.car (in target 'BasisTheoryElements_BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriverJobDiscovery normal arm64 Emitting module for BasisTheoryElements (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriver\ Compilation\ Requirements BasisTheoryElements normal arm64 com.apple.xcode.tools.swift.compiler (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name BasisTheoryElements -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/empty-BasisTheoryElements_BasisTheoryElements.plist (in target 'BasisTheoryElements_BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/empty-BasisTheoryElements_BasisTheoryElements.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform appletvos -additionalcontentfile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_generated_info.plist -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle/Info.plist
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/BasisTheoryElements-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements-Swift.h (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/BasisTheoryElements-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/arm64-apple-tvos.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftmodule (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/arm64-apple-tvos.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/arm64-apple-tvos.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftdoc (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/arm64-apple-tvos.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/arm64-apple-tvos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.abi.json (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/arm64-apple-tvos.abi.json
SwiftDriverJobDiscovery normal arm64 Compiling GetTokenByIdResponse.swift, HTTPMethod.swift, HttpClientHelpers.swift, JSON.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftsourceinfo (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements.swiftmodule/Project/arm64-apple-tvos.swiftsourceinfo
SwiftCompile normal arm64 Compiling\ ElementMetadata.swift,\ ElementTransform.swift,\ EncryptTokenModel.swift,\ EncryptionMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementTransform.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptTokenModel.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptionMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementTransform.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptTokenModel.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptionMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/AnyCodable.o (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/AnyCodable.o
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle (in target 'BasisTheoryElements_BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle
Touch /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle (in target 'BasisTheoryElements_BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
/usr/bin/touch -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, AccessRule.swift, AnyCodableExtensions.swift, Application.swift, AuthorizeSessionRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriverJobDiscovery normal arm64 Compiling JWEEncryption.swift, Privacy.swift, ProxyHelpers.swift, ProxyHttpRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriverJobDiscovery normal arm64 Compiling ElementMetadata.swift, ElementTransform.swift, EncryptTokenModel.swift, EncryptionMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriverJobDiscovery normal arm64 Compiling CreateTokenRequest.swift, CreateTokenResponse.swift, DeviceInfo.swift, ElementEvents.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ TelemetryLogging.swift,\ TextElementUITextField.swift,\ Token.swift,\ TokenIntentClient.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 Compiling\ BinLookup.swift,\ BtDatadogLogger.swift,\ CardBrand.swift,\ CardBrandSelectorUIButton.swift,\ CardExpirationDateUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BtDatadogLogger.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
Building workspace spi-builder-workspace with scheme BasisTheoryElements
(5 failures)
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
AnyCodable: https://github.com/Flight-School/AnyCodable @ 0.6.7
BasisTheoryElements: /Users/admin/builder/spi-builder-workspace
resolved source packages: AnyCodable, BasisTheoryElements
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "BasisTheoryElements",
"name" : "BasisTheoryElements",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "BasisTheoryElements",
"targets" : [
"BasisTheoryElements"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BasisTheoryElements",
"module_type" : "SwiftTarget",
"name" : "BasisTheoryElements",
"path" : "BasisTheoryElements/Sources",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"BasisTheoryElements"
],
"sources" : [
"BasisTheoryElements/AccessRule.swift",
"BasisTheoryElements/AnyCodableExtensions.swift",
"BasisTheoryElements/Application.swift",
"BasisTheoryElements/AuthorizeSessionRequest.swift",
"BasisTheoryElements/AuthorizeSessionResponse.swift",
"BasisTheoryElements/BaseElement.swift",
"BasisTheoryElements/BasisTheoryElements.swift",
"BasisTheoryElements/BasisTheoryUIViewController.swift",
"BasisTheoryElements/BinInfo.swift",
"BasisTheoryElements/BinLookup.swift",
"BasisTheoryElements/BtDatadogLogger.swift",
"BasisTheoryElements/CardBrand.swift",
"BasisTheoryElements/CardBrandSelectorUIButton.swift",
"BasisTheoryElements/CardExpirationDateUITextField.swift",
"BasisTheoryElements/CardNumberElementUITextField.swift",
"BasisTheoryElements/CardVerificationCodeUITextField.swift",
"BasisTheoryElements/CreateSessionResponse.swift",
"BasisTheoryElements/CreateToken.swift",
"BasisTheoryElements/CreateTokenRequest.swift",
"BasisTheoryElements/CreateTokenResponse.swift",
"BasisTheoryElements/DeviceInfo.swift",
"BasisTheoryElements/ElementEvents.swift",
"BasisTheoryElements/ElementMetadata.swift",
"BasisTheoryElements/ElementTransform.swift",
"BasisTheoryElements/EncryptTokenModel.swift",
"BasisTheoryElements/EncryptionMetadata.swift",
"BasisTheoryElements/GetTokenByIdResponse.swift",
"BasisTheoryElements/HTTPMethod.swift",
"BasisTheoryElements/HttpClientHelpers.swift",
"BasisTheoryElements/JSON.swift",
"BasisTheoryElements/JWEEncryption.swift",
"BasisTheoryElements/Privacy.swift",
"BasisTheoryElements/ProxyHelpers.swift",
"BasisTheoryElements/ProxyHttpRequest.swift",
"BasisTheoryElements/TelemetryLogging.swift",
"BasisTheoryElements/TextElementUITextField.swift",
"BasisTheoryElements/Token.swift",
"BasisTheoryElements/TokenIntentClient.swift",
"BasisTheoryElements/TokenIntentModels.swift",
"BasisTheoryElements/UpdateToken.swift",
"BasisTheoryElements/UpdateTokenRequest.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"BasisTheoryElements"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme BasisTheoryElements -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme BasisTheoryElements -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
AnyCodable: https://github.com/Flight-School/AnyCodable @ 0.6.7
BasisTheoryElements: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
Target 'BasisTheoryElements' in project 'BasisTheoryElements'
➜ Explicit dependency on target 'BasisTheoryElements' in project 'BasisTheoryElements'
➜ Explicit dependency on target 'BasisTheoryElements_BasisTheoryElements' in project 'BasisTheoryElements'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'BasisTheoryElements' in project 'BasisTheoryElements'
➜ Explicit dependency on target 'BasisTheoryElements_BasisTheoryElements' in project 'BasisTheoryElements'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'AnyCodable' in project 'AnyCodable'
➜ Explicit dependency on target 'AnyCodable' in project 'AnyCodable'
Target 'AnyCodable' in project 'AnyCodable' (no dependencies)
Target 'BasisTheoryElements_BasisTheoryElements' in project 'BasisTheoryElements' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/actool --version --output-format xml1
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 5ac4d77a2b9b7c07f670cf2eff4bfffe
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/5ac4d77a2b9b7c07f670cf2eff4bfffe.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/empty-BasisTheoryElements_BasisTheoryElements.plist (in target 'BasisTheoryElements_BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/empty-BasisTheoryElements_BasisTheoryElements.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform appletvos -additionalcontentfile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.build/assetcatalog_generated_info.plist -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/BasisTheoryElements_BasisTheoryElements.bundle/Info.plist
SwiftDriver AnyCodable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AnyCodable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ AnyDecodable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable/Sources/AnyCodable/AnyDecodable.swift (in target 'AnyCodable' from project 'AnyCodable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable/Sources/AnyCodable/AnyDecodable.swift (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ AnyCodable (in target 'AnyCodable' from project 'AnyCodable')
EmitSwiftModule normal arm64 (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AnyCodable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift (in target 'AnyCodable' from project 'AnyCodable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AnyEncodable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable/Sources/AnyCodable/AnyEncodable.swift (in target 'AnyCodable' from project 'AnyCodable')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable/Sources/AnyCodable/AnyEncodable.swift (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Emitting module for AnyCodable (in target 'AnyCodable' from project 'AnyCodable')
SwiftDriver\ Compilation\ Requirements AnyCodable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation-Requirements -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AnyCodable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/AnyCodable.swiftmodule/arm64-apple-tvos.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.abi.json (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/AnyCodable
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/AnyCodable.swiftmodule/arm64-apple-tvos.abi.json
SwiftDriver BasisTheoryElements normal arm64 com.apple.xcode.tools.swift.compiler (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name BasisTheoryElements -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos15.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ ElementMetadata.swift,\ ElementTransform.swift,\ EncryptTokenModel.swift,\ EncryptionMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementTransform.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptTokenModel.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptionMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementTransform.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptTokenModel.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptionMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ BasisTheoryElements (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
EmitSwiftModule normal arm64 (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ BinLookup.swift,\ BtDatadogLogger.swift,\ CardBrand.swift,\ CardBrandSelectorUIButton.swift,\ CardExpirationDateUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BtDatadogLogger.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BtDatadogLogger.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:86:18: error: 'menu' is only available in tvOS 17.0 or newer
self.menu = nil
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:86:18: note: add 'if #available' version check
self.menu = nil
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:83:18: note: add @available attribute to enclosing instance method
private func updateBrandSelectionMenu() {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:19:20: note: add @available attribute to enclosing class
final public class CardBrandSelectorUIButton: UIButton {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:108:14: error: 'menu' is only available in tvOS 17.0 or newer
self.menu = brandMenu
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:108:14: note: add 'if #available' version check
self.menu = brandMenu
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:83:18: note: add @available attribute to enclosing instance method
private func updateBrandSelectionMenu() {
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift:19:20: note: add @available attribute to enclosing class
final public class CardBrandSelectorUIButton: UIButton {
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift:85:19: warning: immutable value 'value' was never used; consider replacing with '_' or removing it
guard let value = super.getValue(),
~~~~^~~~~
_
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift:91:13: warning: variable 'components' was never mutated; consider changing to 'let' constant
var components = DateComponents(year: year, month: month)
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift:95:19: warning: immutable value 'lastDayOfMonth' was never used; consider replacing with '_' or removing it
let lastDayOfMonth = calendar.dateComponents([.day], from: lastDayDate).day else {
~~~~^~~~~~~~~~~~~~
_
SwiftCompile normal arm64 Compiling\ CardNumberElementUITextField.swift,\ CardVerificationCodeUITextField.swift,\ CreateSessionResponse.swift,\ CreateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardVerificationCodeUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateSessionResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateToken.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardVerificationCodeUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateSessionResponse.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateToken.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ AuthorizeSessionResponse.swift,\ BaseElement.swift,\ BasisTheoryElements.swift,\ BasisTheoryUIViewController.swift,\ BinInfo.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinInfo.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionResponse.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinInfo.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ TelemetryLogging.swift,\ TextElementUITextField.swift,\ Token.swift,\ TokenIntentClient.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
Failed frontend command:
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AccessRule.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AnyCodableExtensions.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Application.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BaseElement.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryElements.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BasisTheoryUIViewController.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinInfo.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BinLookup.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/BtDatadogLogger.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrand.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardExpirationDateUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardNumberElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardVerificationCodeUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateSessionResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/DeviceInfo.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementEvents.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementTransform.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptTokenModel.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/EncryptionMetadata.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/GetTokenByIdResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HTTPMethod.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HttpClientHelpers.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JSON.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Privacy.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHttpRequest.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift -primary-file /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentModels.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateTokenRequest.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/GeneratedAssetSymbols.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/supplementaryOutputs-9 -target arm64-apple-tvos15.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/BasisTheoryElements_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name BasisTheoryElements -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.4 -target-sdk-name appletvos18.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/TelemetryLogging.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/TextElementUITextField.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/Token.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/TokenIntentClient.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/TelemetryLogging.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/TextElementUITextField.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/Token.o -index-unit-output-path /BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/Objects-normal/arm64/TokenIntentClient.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:358:9: error: 'UIPasteboard' is unavailable in tvOS
UIPasteboard.general.string = super.text
^~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:50:12: note: 'UIPasteboard' has been explicitly marked unavailable here
@interface UIPasteboard : NSObject
^
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift:358:30: error: 'string' is unavailable in tvOS
UIPasteboard.general.string = super.text
^~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h:108:46: note: 'string' has been explicitly marked unavailable here
@property(nullable,nonatomic,copy) NSString *string API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
^
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ GetTokenByIdResponse.swift,\ HTTPMethod.swift,\ HttpClientHelpers.swift,\ JSON.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/GetTokenByIdResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HTTPMethod.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HttpClientHelpers.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JSON.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/GetTokenByIdResponse.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HTTPMethod.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HttpClientHelpers.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/HttpClientHelpers.swift:162:19: warning: variable 'components' was never mutated; consider changing to 'let' constant
guard var components = URLComponents(string: url), components.scheme != nil else {
~~~ ^
let
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JSON.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ JWEEncryption.swift,\ Privacy.swift,\ ProxyHelpers.swift,\ ProxyHttpRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Privacy.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHttpRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/JWEEncryption.swift:163:17: warning: variable 'counterBytes' was never mutated; consider changing to 'let' constant
var counterBytes = counter.bigEndianData
~~~ ^
let
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Privacy.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHelpers.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ProxyHttpRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling AnyDecodable.swift (in target 'AnyCodable' from project 'AnyCodable')
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ AccessRule.swift,\ AnyCodableExtensions.swift,\ Application.swift,\ AuthorizeSessionRequest.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AccessRule.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AnyCodableExtensions.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Application.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/resource_bundle_accessor.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AccessRule.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AnyCodableExtensions.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Application.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/AuthorizeSessionRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling AnyCodable.swift (in target 'AnyCodable' from project 'AnyCodable')
SwiftCompile normal arm64 Compiling\ CreateTokenRequest.swift,\ CreateTokenResponse.swift,\ DeviceInfo.swift,\ ElementEvents.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenRequest.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenResponse.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/DeviceInfo.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementEvents.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CreateTokenResponse.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/DeviceInfo.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/ElementEvents.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling AnyEncodable.swift (in target 'AnyCodable' from project 'AnyCodable')
SwiftCompile normal arm64 Compiling\ TokenIntentModels.swift,\ UpdateToken.swift,\ UpdateTokenRequest.swift,\ GeneratedAssetSymbols.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentModels.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateToken.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateTokenRequest.swift /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentModels.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateToken.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/UpdateTokenRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/BasisTheoryElements.build/Debug-appletvos/BasisTheoryElements.build/DerivedSources/GeneratedAssetSymbols.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftDriverJobDiscovery normal arm64 Compiling ElementMetadata.swift, ElementTransform.swift, EncryptTokenModel.swift, EncryptionMetadata.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriver\ Compilation AnyCodable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AnyCodable' from project 'AnyCodable')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name AnyCodable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk -target arm64-apple-tvos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS18.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos18.4-22L251-271d326055c85f9856fa135c41255102.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyCodable.build/Debug-appletvos/AnyCodable.build/Objects-normal/arm64/AnyCodable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriverJobDiscovery normal arm64 Compiling resource_bundle_accessor.swift, AccessRule.swift, AnyCodableExtensions.swift, Application.swift, AuthorizeSessionRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriverJobDiscovery normal arm64 Compiling JWEEncryption.swift, Privacy.swift, ProxyHelpers.swift, ProxyHttpRequest.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftDriverJobDiscovery normal arm64 Compiling GetTokenByIdResponse.swift, HTTPMethod.swift, HttpClientHelpers.swift, JSON.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/CardBrandSelectorUIButton.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 Compiling\ TelemetryLogging.swift,\ TextElementUITextField.swift,\ Token.swift,\ TokenIntentClient.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TelemetryLogging.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/Token.swift /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TokenIntentClient.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/BasisTheoryElements/Sources/BasisTheoryElements/TextElementUITextField.swift (in target 'BasisTheoryElements' from project 'BasisTheoryElements')
Building workspace spi-builder-workspace with scheme BasisTheoryElements
(4 failures)
BUILD FAILURE 6.1 tvOS