Build Information
Failed to build Openhealthcardkit, reference 5.11.0 (1831d7
), with Swift 6.0 for macOS (SPM) on 3 Feb 2025 17:08:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
15 | //
16 |
17 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
18 | import CardReaderProviderApi
19 | import Foundation
[106/107] Compiling HealthCardAccess HealthCardCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:136:20: warning: static property 'loadApplicationResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
134 | /// Builders representing Load Application Command gemSpec_COS#14.2.5
135 | public enum LoadApplication {
136 | static let loadApplicationResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'loadApplicationResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loadApplicationResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | ResponseStatus.success.code: .success,
138 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:177:20: warning: static property 'selectResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
175 | /// Builders representing Select Command gemSpec_COS#14.2.6
176 | public enum Select {
177 | static let selectResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'selectResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | ResponseStatus.success.code: .success,
179 | ResponseStatus.fileDeactivated.code: .fileDeactivated,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:340:20: warning: static property 'terminateCardUsageResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
338 | /// Builders representing Terminate Card Usage Command gemSpec_COS#14.2.7
339 | public enum TerminateCardUsage {
340 | static let terminateCardUsageResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'terminateCardUsageResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminateCardUsageResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | ResponseStatus.success.code: .success,
342 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:375:20: warning: static property 'terminateDfResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
373 | /// Builders representing Terminate DF Command gemSpec_COS#14.2.8
374 | public enum TerminateDf {
375 | static let terminateDfResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'terminateDfResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminateDfResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | ResponseStatus.success.code: .success,
377 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:448:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
446 | /// They share the same APDU-bytes - except INS - and the same response messages
447 | enum DeActivateDeleteTerminate {
448 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
449 | ResponseStatus.success.code: .success,
450 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:90:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | ResponseStatus.success.code: .success,
92 | ResponseStatus.securityStatusNotSatisfied.code: .securityStatusNotSatisfied,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:172:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
170 | }
171 |
172 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | ResponseStatus.success.code: .success,
174 | ResponseStatus.keyInvalid.code: .keyInvalid,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:232:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
230 | }
231 |
232 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | ResponseStatus.success.code: .success,
234 | ResponseStatus.keyInvalid.code: .keyInvalid,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:336:28: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
334 | }
335 |
336 | private static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | ResponseStatus.success.code: .success,
338 | ResponseStatus.encipherError.code: .encipherError,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:423:28: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
421 | }
422 |
423 | private static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
424 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
425 | ResponseStatus.updateRetryWarningCount01.code: .updateRetryWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:169:20: warning: static property 'pinStatusResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | /// Response codes for Get Pin Status gemSpec_COS#14.6.4.2
169 | static let pinStatusResponses: [UInt16: ResponseStatus] = [
| |- warning: static property 'pinStatusResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinStatusResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | ResponseStatus.success.code: .success,
171 | ResponseStatus.retryCounterCount00.code: .retryCounterCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:270:20: warning: static property 'resetRetryCounterResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
268 |
269 | /// Response codes for Reset Retry Counter gemSpec_COS#14.6.5.5
270 | static let resetRetryCounterResponses: [UInt16: ResponseStatus] = [
| |- warning: static property 'resetRetryCounterResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetRetryCounterResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | ResponseStatus.success.code: .success,
272 | ResponseStatus.wrongSecretWarningCount00.code: .wrongSecretWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:330:16: warning: static property 'responseMessagesVerificationRequirement' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// Response statuses gemSpec_COS#14.6.2.3
330 | static let responseMessagesVerificationRequirement: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessagesVerificationRequirement' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessagesVerificationRequirement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 | ResponseStatus.success.code: .success,
332 | ResponseStatus.wrongSecretWarningCount00.code: .wrongSecretWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:356:16: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
354 |
355 | /// Response statuses gemSpec_COS#14.6.1.3, #14.6.6.2
356 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | ResponseStatus.success.code: .success,
358 | ResponseStatus.wrongSecretWarningCount00.code: .wrongSecretWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:157:14: warning: associated value 'unsupportedKey' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'SecKey'; this is an error in the Swift 6 language mode
155 | case wrongHashLength(Int, expected: Int)
156 | case wrongSignatureLength(Int, expected: Int)
157 | case unsupportedKey(SecKey)
| `- warning: associated value 'unsupportedKey' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'SecKey'; this is an error in the Swift 6 language mode
158 | case illegalSize(Int, expected: Int)
159 | case illegalValue(Int, for: String, expected: Range<Int>)
Security.SecKey:1:14: note: class 'SecKey' does not conform to the 'Sendable' protocol
1 | public class SecKey : _CFObject {
| `- note: class 'SecKey' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
18 | import CardReaderProviderApi
19 | import Foundation
20 | import Security
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
21 |
22 | /// Builder to assemble an instance of `HealthCardCommand` which is holding a `CommandType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:160:14: warning: associated value 'illegalOid' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
158 | case illegalSize(Int, expected: Int)
159 | case illegalValue(Int, for: String, expected: Range<Int>)
160 | case illegalOid(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'illegalOid' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
15 | //
16 |
17 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
18 | import CardReaderProviderApi
19 | import Foundation
[107/107] Compiling HealthCardAccess HealthCardCommandBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:136:20: warning: static property 'loadApplicationResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
134 | /// Builders representing Load Application Command gemSpec_COS#14.2.5
135 | public enum LoadApplication {
136 | static let loadApplicationResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'loadApplicationResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loadApplicationResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
137 | ResponseStatus.success.code: .success,
138 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:177:20: warning: static property 'selectResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
175 | /// Builders representing Select Command gemSpec_COS#14.2.6
176 | public enum Select {
177 | static let selectResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'selectResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'selectResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | ResponseStatus.success.code: .success,
179 | ResponseStatus.fileDeactivated.code: .fileDeactivated,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:340:20: warning: static property 'terminateCardUsageResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
338 | /// Builders representing Terminate Card Usage Command gemSpec_COS#14.2.7
339 | public enum TerminateCardUsage {
340 | static let terminateCardUsageResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'terminateCardUsageResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminateCardUsageResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | ResponseStatus.success.code: .success,
342 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:375:20: warning: static property 'terminateDfResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
373 | /// Builders representing Terminate DF Command gemSpec_COS#14.2.8
374 | public enum TerminateDf {
375 | static let terminateDfResponseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'terminateDfResponseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'terminateDfResponseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 | ResponseStatus.success.code: .success,
377 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+ObjectSystemManagement.swift:448:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
446 | /// They share the same APDU-bytes - except INS - and the same response messages
447 | enum DeActivateDeleteTerminate {
448 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
449 | ResponseStatus.success.code: .success,
450 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:90:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
88 | }
89 |
90 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | ResponseStatus.success.code: .success,
92 | ResponseStatus.securityStatusNotSatisfied.code: .securityStatusNotSatisfied,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:172:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
170 | }
171 |
172 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | ResponseStatus.success.code: .success,
174 | ResponseStatus.keyInvalid.code: .keyInvalid,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:232:20: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
230 | }
231 |
232 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | ResponseStatus.success.code: .success,
234 | ResponseStatus.keyInvalid.code: .keyInvalid,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:336:28: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
334 | }
335 |
336 | private static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 | ResponseStatus.success.code: .success,
338 | ResponseStatus.encipherError.code: .encipherError,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:423:28: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
421 | }
422 |
423 | private static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
424 | ResponseStatus.updateRetryWarningCount00.code: .updateRetryWarningCount00,
425 | ResponseStatus.updateRetryWarningCount01.code: .updateRetryWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:169:20: warning: static property 'pinStatusResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | /// Response codes for Get Pin Status gemSpec_COS#14.6.4.2
169 | static let pinStatusResponses: [UInt16: ResponseStatus] = [
| |- warning: static property 'pinStatusResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinStatusResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | ResponseStatus.success.code: .success,
171 | ResponseStatus.retryCounterCount00.code: .retryCounterCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:270:20: warning: static property 'resetRetryCounterResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
268 |
269 | /// Response codes for Reset Retry Counter gemSpec_COS#14.6.5.5
270 | static let resetRetryCounterResponses: [UInt16: ResponseStatus] = [
| |- warning: static property 'resetRetryCounterResponses' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resetRetryCounterResponses' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 | ResponseStatus.success.code: .success,
272 | ResponseStatus.wrongSecretWarningCount00.code: .wrongSecretWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:330:16: warning: static property 'responseMessagesVerificationRequirement' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
328 |
329 | /// Response statuses gemSpec_COS#14.6.2.3
330 | static let responseMessagesVerificationRequirement: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessagesVerificationRequirement' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessagesVerificationRequirement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 | ResponseStatus.success.code: .success,
332 | ResponseStatus.wrongSecretWarningCount00.code: .wrongSecretWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommand+UserVerification.swift:356:16: warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
354 |
355 | /// Response statuses gemSpec_COS#14.6.1.3, #14.6.6.2
356 | static let responseMessages: [UInt16: ResponseStatus] = [
| |- warning: static property 'responseMessages' is not concurrency-safe because non-'Sendable' type '[UInt16 : ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'responseMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | ResponseStatus.success.code: .success,
358 | ResponseStatus.wrongSecretWarningCount00.code: .wrongSecretWarningCount00,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:157:14: warning: associated value 'unsupportedKey' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'SecKey'; this is an error in the Swift 6 language mode
155 | case wrongHashLength(Int, expected: Int)
156 | case wrongSignatureLength(Int, expected: Int)
157 | case unsupportedKey(SecKey)
| `- warning: associated value 'unsupportedKey' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'SecKey'; this is an error in the Swift 6 language mode
158 | case illegalSize(Int, expected: Int)
159 | case illegalValue(Int, for: String, expected: Range<Int>)
Security.SecKey:1:14: note: class 'SecKey' does not conform to the 'Sendable' protocol
1 | public class SecKey : _CFObject {
| `- note: class 'SecKey' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
18 | import CardReaderProviderApi
19 | import Foundation
20 | import Security
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Security'
21 |
22 | /// Builder to assemble an instance of `HealthCardCommand` which is holding a `CommandType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:160:14: warning: associated value 'illegalOid' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
158 | case illegalSize(Int, expected: Int)
159 | case illegalValue(Int, for: String, expected: Range<Int>)
160 | case illegalOid(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'illegalOid' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Commands/HealthCardCommandBuilder.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
15 | //
16 |
17 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
18 | import CardReaderProviderApi
19 | import Foundation
[108/128] Emitting module HealthCardControl
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
[109/130] Compiling HealthCardControl AES.swift
[110/130] Compiling HealthCardControl Data+Secure.swift
[111/130] Compiling HealthCardControl CardChannelType+CardAID.swift
[112/130] Compiling HealthCardControl CardChannelType+CardAccess.swift
[113/130] Compiling HealthCardControl CardType+SecureMessaging.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:39:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public func openSecureSessionPublisher(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
38 | -> AnyPublisher<HealthCardType, Error> {
39 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
41 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:110:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | readTimeout: TimeInterval = 30
109 | ) async throws -> SecureHealthCardType {
110 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
111 | let channel = try openBasicChannel()
112 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[114/130] Compiling HealthCardControl Data+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:39:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public func openSecureSessionPublisher(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
38 | -> AnyPublisher<HealthCardType, Error> {
39 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
41 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:110:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | readTimeout: TimeInterval = 30
109 | ) async throws -> SecureHealthCardType {
110 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
111 | let channel = try openBasicChannel()
112 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[115/130] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[116/130] Compiling HealthCardControl HealthCardType+VerifyPin.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[117/130] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[118/130] Compiling HealthCardControl HealthCardType+Authenticate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[119/130] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[120/130] Compiling HealthCardControl HealthCardType+ESIGN.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[121/130] Compiling HealthCardControl SecureHealthCard.swift
[122/130] Compiling HealthCardControl SecureMessaging.swift
[123/130] Compiling HealthCardControl KeyDerivationFunction.swift
[124/130] Compiling HealthCardControl Logger.swift
[125/130] Compiling HealthCardControl HealthCardType+ReadFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
[126/130] Compiling HealthCardControl AES128PaceKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
[127/130] Compiling HealthCardControl CardChannelType+Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
[128/130] Compiling HealthCardControl HealthCard+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
[129/130] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[130/130] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[131/140] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
[132/140] Compiling NFCCardReaderProvider Logger.swift
[133/140] Compiling NFCCardReaderProvider CoreNFCError.swift
[134/140] Compiling NFCCardReaderProvider NFCCardError.swift
[135/140] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[136/140] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[137/140] Compiling NFCCardReaderProvider NFCCardChannel.swift
[138/140] Compiling NFCCardReaderProvider NFCCard.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/140] Emitting module NFCCardReaderProvider
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
[140/140] Compiling NFCCardReaderProvider Data+Hex.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/32] Emitting module Helper
[5/32] Compiling Helper CommandLogger.swift
[6/47] Emitting module ASN1Kit
[7/49] Compiling ASN1Kit String+ASN1Encoding.swift
[8/49] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[9/49] Compiling ASN1Kit ASN1Object+Subscript.swift
[10/49] Compiling ASN1Kit ASN1Error.swift
[11/49] Compiling ASN1Kit ASN1Int.swift
[12/49] Compiling ASN1Kit ASN1Object.swift
[13/49] Compiling CardReaderProviderApi CardReaderControllerType.swift
[14/49] Compiling CardReaderProviderApi ProviderDescriptor.swift
[15/50] Compiling ASN1Kit Int+Length.swift
[16/50] Compiling ASN1Kit OutputStream+UInt8.swift
[17/50] Compiling ASN1Kit ASN1Tag.swift
[18/50] Compiling ASN1Kit DataScanner.swift
[19/50] Compiling ASN1Kit Data+Hex.swift
[20/50] Compiling CardReaderProviderApi ProviderDescriptorType.swift
[21/50] Compiling CardReaderProviderApi CardReaderProviderType.swift
[22/50] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
[23/50] Compiling CardReaderProviderApi CommandType.swift
[24/50] Compiling CardReaderProviderApi ResponseType+APDU.swift
[25/50] Compiling CardReaderProviderApi ResponseType.swift
[29/50] Compiling CardReaderProviderApi CardChannelType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[30/50] Compiling CardReaderProviderApi CardError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[31/50] Emitting module CardReaderProviderApi
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[32/50] Compiling CardReaderProviderApi CardProtocol.swift
[33/50] Compiling CardReaderProviderApi CardType.swift
[34/50] Compiling CardReaderProviderApi APDU.swift
[35/50] Compiling CardReaderProviderApi CommandType+APDU.swift
[36/50] Compiling ASN1Kit ASN1Primitive+Description.swift
[37/50] Compiling ASN1Kit Data+ASN1Int.swift
[38/50] Compiling ASN1Kit Data+UInt.swift
[40/50] Compiling ASN1Kit Bool+ASN1Encoding.swift
[41/50] Compiling ASN1Kit Data+ASN1Encoding.swift
[42/50] Compiling CardReaderProviderApi CardReaderType.swift
[46/50] Compiling ASN1Kit String+Subscript.swift
[47/50] Compiling ASN1Kit UInt+TagNo.swift
[48/53] Compiling CardReaderAccess CardReaderControllerManager.swift
[49/53] Compiling CardReaderAccess Swift+Reflection.swift
[50/53] Emitting module CardReaderAccess
[54/95] Compiling HealthCardAccess HealthCardPropertyType.swift
[55/95] Compiling HealthCardAccess HealthCardResponseType.swift
[56/95] Compiling HealthCardAccess HealthCardStatus.swift
[57/95] Compiling HealthCardAccess HealthCardType.swift
[58/99] Compiling HealthCardAccess ApplicationIdentifier.swift
[59/99] Compiling HealthCardAccess CardItemType.swift
[60/99] Compiling HealthCardAccess CardKeyReferenceType.swift
[61/99] Compiling HealthCardAccess CardObjectIdentifierType.swift
[62/99] Compiling HealthCardAccess DedicatedFile.swift
[63/99] Compiling HealthCardAccess EgkFileSystem.swift
[64/99] Compiling HealthCardAccess HbaFileSystem.swift
[65/99] Compiling HealthCardAccess HealthCardFileSystemType.swift
[66/99] Compiling HealthCardAccess SmcbFileSystem.swift
[67/99] Compiling HealthCardAccess CAN.swift
[68/99] Compiling HealthCardAccess CardGeneration.swift
[69/99] Compiling HealthCardAccess CardVersion2.swift
[70/99] Compiling HealthCardAccess CertificateInfo.swift
[71/99] Emitting module HealthCardAccess
[72/99] Compiling HealthCardAccess Key.swift
[73/99] Compiling HealthCardAccess PSOAlgorithm.swift
[74/99] Compiling HealthCardAccess Password.swift
[75/99] Compiling HealthCardAccess ShortFileIdentifier.swift
[76/99] Compiling HealthCardAccess Data+Normalize.swift
[77/99] Compiling HealthCardAccess Data+Hex.swift
[78/99] Compiling HealthCardAccess UInt8+Data.swift
[79/99] Compiling HealthCardAccess HealthCard.swift
[80/99] Compiling HealthCardAccess HealthCardCommandType.swift
[81/99] Compiling HealthCardAccess HealthCardCommand+AccessStructuredData.swift
[82/99] Compiling HealthCardAccess HealthCardCommand+AccessTransparentData.swift
[83/99] Compiling HealthCardAccess HealthCardCommand+Authentication.swift
[84/99] Compiling HealthCardAccess HealthCardCommand+ManageSE.swift
[85/99] Compiling HealthCardAccess HealthCardCommand+Misc.swift
[86/99] Compiling HealthCardAccess HealthCardCommand+ObjectSystemManagement.swift
[87/99] Compiling HealthCardAccess HealthCardCommand+PerfomSecurityOperation.swift
[88/99] Compiling HealthCardAccess HealthCardCommand+UserVerification.swift
[89/99] Compiling HealthCardAccess HealthCardCommand.swift
[90/99] Compiling HealthCardAccess HealthCardCommandBuilder.swift
[91/99] Compiling HealthCardAccess ElementaryFile.swift
[92/99] Compiling HealthCardAccess FileControlParameter.swift
[93/99] Compiling HealthCardAccess FileIdentifier.swift
[94/99] Compiling HealthCardAccess Format2Pin.swift
[95/99] Compiling HealthCardAccess GemCvCertificate.swift
[96/99] Compiling HealthCardAccess ECCurveInfo.swift
[97/99] Compiling HealthCardAccess SignatureAlgorithm.swift
[98/99] Compiling HealthCardAccess HealthCardResponse.swift
[99/99] Compiling HealthCardAccess ResponseStatus.swift
[100/120] Emitting module HealthCardControl
[101/122] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
[102/122] Compiling HealthCardControl HealthCardType+VerifyPin.swift
[103/122] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
[104/122] Compiling HealthCardControl CardType+SecureMessaging.swift
[105/122] Compiling HealthCardControl Data+Hex.swift
[106/122] Compiling HealthCardControl CardChannelType+CardAID.swift
[107/122] Compiling HealthCardControl CardChannelType+CardAccess.swift
[108/122] Compiling HealthCardControl SecureHealthCard.swift
[109/122] Compiling HealthCardControl SecureMessaging.swift
[110/122] Compiling HealthCardControl KeyDerivationFunction.swift
[111/122] Compiling HealthCardControl Logger.swift
[112/122] Compiling HealthCardControl HealthCardType+Authenticate.swift
[113/122] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
[114/122] Compiling HealthCardControl HealthCardType+ESIGN.swift
[115/122] Compiling HealthCardControl CardChannelType+Version.swift
[116/122] Compiling HealthCardControl HealthCard+Error.swift
[117/122] Compiling HealthCardControl HealthCardType+ReadFile.swift
[118/122] Compiling HealthCardControl AES128PaceKey.swift
[119/122] Compiling HealthCardControl AES.swift
[120/122] Compiling HealthCardControl Data+Secure.swift
[121/122] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[122/122] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[123/132] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
[124/132] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[125/132] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[126/132] Compiling NFCCardReaderProvider Logger.swift
[127/132] Compiling NFCCardReaderProvider NFCCardError.swift
[128/132] Compiling NFCCardReaderProvider CoreNFCError.swift
[129/132] Compiling NFCCardReaderProvider NFCCardChannel.swift
[130/132] Compiling NFCCardReaderProvider NFCCard.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[131/132] Compiling NFCCardReaderProvider Data+Hex.swift
[132/132] Emitting module NFCCardReaderProvider
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
BUILD FAILURE 6.0 macosSpm