Build Information
Failed to build Openhealthcardkit, reference 5.10.1 (423006
), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 23:43:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
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
[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 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 {
[110/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 {
[111/130] Compiling HealthCardControl SecureHealthCard.swift
[112/130] Compiling HealthCardControl SecureMessaging.swift
[113/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:106: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
104 | dfSpecific: Bool = false
105 | ) async throws -> VerifyPinResponse {
106 | 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
107 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
108 | 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 |
[114/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:106: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
104 | dfSpecific: Bool = false
105 | ) async throws -> VerifyPinResponse {
106 | 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
107 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
108 | 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 |
[115/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:106: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
104 | dfSpecific: Bool = false
105 | ) async throws -> VerifyPinResponse {
106 | 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
107 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
108 | 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 KeyDerivationFunction.swift
[117/130] Compiling HealthCardControl Logger.swift
[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:107: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
105 | dfSpecific: Bool = false
106 | ) async throws -> ChangeReferenceDataResponse {
107 | 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
108 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
109 | 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 readAutCertificate() -> 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:115: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
113 | /// and ESignInfo associated to it
114 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
115 | 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
116 | let expectedFcpLength = currentCardChannel.maxResponseLength
117 | 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:107: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
105 | dfSpecific: Bool = false
106 | ) async throws -> ChangeReferenceDataResponse {
107 | 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
108 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
109 | 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 readAutCertificate() -> 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:115: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
113 | /// and ESignInfo associated to it
114 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
115 | 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
116 | let expectedFcpLength = currentCardChannel.maxResponseLength
117 | 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:107: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
105 | dfSpecific: Bool = false
106 | ) async throws -> ChangeReferenceDataResponse {
107 | 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
108 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
109 | 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 readAutCertificate() -> 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:115: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
113 | /// and ESignInfo associated to it
114 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
115 | 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
116 | let expectedFcpLength = currentCardChannel.maxResponseLength
117 | 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 AES.swift
[122/130] Compiling HealthCardControl Data+Secure.swift
[123/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:231:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
229 | }
230 | .flatMap {
231 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
232 | }
233 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:269:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
267 | .setFailureType(to: Swift.Error.self)
268 | .flatMap {
269 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
270 | }
271 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:332:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
330 | }
331 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
332 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
333 | .tryMap { pk1PiccResponse in
334 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:390:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
388 | }
389 | .flatMap {
390 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
391 | }
392 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:450:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
448 | }
449 | .flatMap {
450 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
451 | }
452 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:60:45: warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
58 | )
59 | let encryptedCommand = try session.encrypt(command: command)
60 | let encryptedResponse = try channel.transmit(command: encryptedCommand,
| `- warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
61 | writeTimeout: writeTimeout,
62 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:56: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
54 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
55 | // we only log the header bytes to prevent logging user's PIN
56 | 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
57 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
58 | )
/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:66: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
64 | Logger.healthCardControl
65 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
66 | 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
67 | Command(
68 | 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:82: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
80 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
81 | // we only log the header bytes to prevent logging user's PIN
82 | 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
83 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
84 | )
/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:94: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
92 | Logger.healthCardControl
93 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
94 | 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
95 | Command(
96 | 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 |
[124/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:231:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
229 | }
230 | .flatMap {
231 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
232 | }
233 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:269:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
267 | .setFailureType(to: Swift.Error.self)
268 | .flatMap {
269 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
270 | }
271 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:332:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
330 | }
331 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
332 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
333 | .tryMap { pk1PiccResponse in
334 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:390:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
388 | }
389 | .flatMap {
390 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
391 | }
392 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:450:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
448 | }
449 | .flatMap {
450 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
451 | }
452 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:60:45: warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
58 | )
59 | let encryptedCommand = try session.encrypt(command: command)
60 | let encryptedResponse = try channel.transmit(command: encryptedCommand,
| `- warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
61 | writeTimeout: writeTimeout,
62 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:56: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
54 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
55 | // we only log the header bytes to prevent logging user's PIN
56 | 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
57 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
58 | )
/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:66: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
64 | Logger.healthCardControl
65 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
66 | 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
67 | Command(
68 | 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:82: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
80 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
81 | // we only log the header bytes to prevent logging user's PIN
82 | 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
83 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
84 | )
/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:94: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
92 | Logger.healthCardControl
93 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
94 | 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
95 | Command(
96 | 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 |
[125/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 openSecureSession(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:93: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
91 | readTimeout: TimeInterval = 30
92 | ) async throws -> SecureHealthCardType {
93 | 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
94 | let channel = try openBasicChannel()
95 | // 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 |
[126/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 openSecureSession(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:93: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
91 | readTimeout: TimeInterval = 30
92 | ) async throws -> SecureHealthCardType {
93 | 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
94 | let channel = try openBasicChannel()
95 | // 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 |
[127/130] Compiling HealthCardControl CardChannelType+CardAID.swift
[128/130] Compiling HealthCardControl CardChannelType+CardAccess.swift
[129/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)
[130/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)
[131/140] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[132/140] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[133/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
[134/140] Compiling NFCCardReaderProvider NFCCardChannel.swift
[135/140] Compiling NFCCardReaderProvider NFCCard.swift
[136/140] Compiling NFCCardReaderProvider NFCCardError.swift
[137/140] Compiling NFCCardReaderProvider CoreNFCError.swift
[138/140] Compiling NFCCardReaderProvider Logger.swift
[139/140] Compiling NFCCardReaderProvider Data+Hex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[140/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
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching http://github.com/Carthage/Commandant
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching http://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/1257] Fetching cwlpreconditiontesting
[127/3295] Fetching cwlpreconditiontesting, swift-docc-plugin
[310/3750] Fetching cwlpreconditiontesting, swift-docc-plugin, cwlcatchexception
[465/4555] Fetching cwlpreconditiontesting, swift-docc-plugin, cwlcatchexception, openssl-swift
[2341/6878] Fetching cwlpreconditiontesting, swift-docc-plugin, cwlcatchexception, openssl-swift, commandant
[3445/9954] Fetching cwlpreconditiontesting, swift-docc-plugin, cwlcatchexception, openssl-swift, commandant, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.35s)
Fetching https://github.com/gematik/ASN1Kit.git
[1/18984] Fetching nimble
[191/20192] Fetching nimble, asn1kit
Fetched https://github.com/gematik/ASN1Kit.git from cache (0.99s)
[8733/18984] Fetching nimble
Fetched https://github.com/gematik/OpenSSL-Swift from cache (2.97s)
Computing version for https://github.com/apple/swift-docc-plugin
Fetched http://github.com/Carthage/Commandant from cache (2.97s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.97s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.97s)
Fetched http://github.com/Quick/Nimble from cache (2.97s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (2.97s)
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.26s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.2.0 (0.68s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (0.68s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.70s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.73s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1
[16375/12818417] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip (1.79s)
BUILD FAILURE 6.0 macosSpm