Build Information
Successful build of Openhealthcardkit, reference main (32aa9e), with Swift 6.1 for macOS (SPM) on 27 Nov 2025 10:36:51 UTC.
Swift 6 data race errors: 136
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
247 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
248 | /// Discretionary data
249 | public static let content = ASN1DecodedTag.applicationTag(0x13)
| |- warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:311:27: warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
309 | public struct Tag {
310 | /// Object identifier
311 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
| |- warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | /// Public Key content
313 | public static let content = ASN1DecodedTag.taggedTag(0x6)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:313:27: warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
311 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
312 | /// Public Key content
313 | public static let content = ASN1DecodedTag.taggedTag(0x6)
| |- warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
[106/107] Compiling HealthCardAccess Format2Pin.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:28:14: warning: associated value 'unexpected(tag:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
26 | public struct GemCvCertificate {
27 | public enum Error: Swift.Error {
28 | case unexpected(tag: ASN1DecodedTag)
| `- warning: associated value 'unexpected(tag:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
29 | case missing(tag: ASN1DecodedTag, source: ASN1Object)
30 | case missingTagParameter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | //
20 |
21 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
22 | import Foundation
23 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:29:14: warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
27 | public enum Error: Swift.Error {
28 | case unexpected(tag: ASN1DecodedTag)
29 | case missing(tag: ASN1DecodedTag, source: ASN1Object)
| `- warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
30 | case missingTagParameter
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:29:14: warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any ASN1Object'; this is an error in the Swift 6 language mode
27 | public enum Error: Swift.Error {
28 | case unexpected(tag: ASN1DecodedTag)
29 | case missing(tag: ASN1DecodedTag, source: ASN1Object)
| `- warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any ASN1Object'; this is an error in the Swift 6 language mode
30 | case missingTagParameter
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Object.swift:27:17: note: protocol 'ASN1Object' does not conform to the 'Sendable' protocol
25 | ASN1Object protocol that represents any ASN.1 Tag or Sequence
26 | */
27 | public protocol ASN1Object {
| `- note: protocol 'ASN1Object' does not conform to the 'Sendable' protocol
28 | /// Type of the object
29 | var tag: ASN1DecodedTag { get }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:72:27: warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
70 | public struct Tag {
71 | /// Root tag
72 | public static let tag = ASN1DecodedTag.applicationTag(0x21)
| |- warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// Signature tag
74 | public static let signature = ASN1DecodedTag.applicationTag(0x37)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:74:27: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
72 | public static let tag = ASN1DecodedTag.applicationTag(0x21)
73 | /// Signature tag
74 | public static let signature = ASN1DecodedTag.applicationTag(0x37)
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'signature' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:180:27: warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
178 | public struct Tag {
179 | /// CVC Root body tag
180 | public static let tag = ASN1DecodedTag.applicationTag(0x4E)
| |- warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | /// Certificate Profile Identifier tag
182 | public static let cpi = ASN1DecodedTag.applicationTag(0x29)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:182:27: warning: static property 'cpi' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
180 | public static let tag = ASN1DecodedTag.applicationTag(0x4E)
181 | /// Certificate Profile Identifier tag
182 | public static let cpi = ASN1DecodedTag.applicationTag(0x29)
| |- warning: static property 'cpi' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cpi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | /// Certificate Authority Reference tag
184 | public static let car = ASN1DecodedTag.applicationTag(0x2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:184:27: warning: static property 'car' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
182 | public static let cpi = ASN1DecodedTag.applicationTag(0x29)
183 | /// Certificate Authority Reference tag
184 | public static let car = ASN1DecodedTag.applicationTag(0x2)
| |- warning: static property 'car' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'car' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | /// Public Key tag
186 | public static let pubKey = ASN1DecodedTag.applicationTag(0x49)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:186:27: warning: static property 'pubKey' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
184 | public static let car = ASN1DecodedTag.applicationTag(0x2)
185 | /// Public Key tag
186 | public static let pubKey = ASN1DecodedTag.applicationTag(0x49)
| |- warning: static property 'pubKey' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pubKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | /// Certificate Holder Reference tag
188 | public static let chr = ASN1DecodedTag.applicationTag(0x20)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:188:27: warning: static property 'chr' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
186 | public static let pubKey = ASN1DecodedTag.applicationTag(0x49)
187 | /// Certificate Holder Reference tag
188 | public static let chr = ASN1DecodedTag.applicationTag(0x20)
| |- warning: static property 'chr' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | /// Certificate Holder Authorization Template tag
190 | public static let chat = ASN1DecodedTag.applicationTag(0x4C)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:190:27: warning: static property 'chat' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
188 | public static let chr = ASN1DecodedTag.applicationTag(0x20)
189 | /// Certificate Holder Authorization Template tag
190 | public static let chat = ASN1DecodedTag.applicationTag(0x4C)
| |- warning: static property 'chat' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | /// Certificate Effective Data tag
192 | public static let ced = ASN1DecodedTag.applicationTag(0x25)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:192:27: warning: static property 'ced' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public static let chat = ASN1DecodedTag.applicationTag(0x4C)
191 | /// Certificate Effective Data tag
192 | public static let ced = ASN1DecodedTag.applicationTag(0x25)
| |- warning: static property 'ced' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ced' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | /// Certificate Expiration Date tag
194 | public static let cxd = ASN1DecodedTag.applicationTag(0x24)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:194:27: warning: static property 'cxd' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
192 | public static let ced = ASN1DecodedTag.applicationTag(0x25)
193 | /// Certificate Expiration Date tag
194 | public static let cxd = ASN1DecodedTag.applicationTag(0x24)
| |- warning: static property 'cxd' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cxd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:247:27: warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
245 | public struct Tag {
246 | /// Object identifier
247 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
| |- warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 | /// Discretionary data
249 | public static let content = ASN1DecodedTag.applicationTag(0x13)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:249:27: warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
247 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
248 | /// Discretionary data
249 | public static let content = ASN1DecodedTag.applicationTag(0x13)
| |- warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:311:27: warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
309 | public struct Tag {
310 | /// Object identifier
311 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
| |- warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | /// Public Key content
313 | public static let content = ASN1DecodedTag.taggedTag(0x6)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:313:27: warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
311 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
312 | /// Public Key content
313 | public static let content = ASN1DecodedTag.taggedTag(0x6)
| |- warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
[107/107] Compiling HealthCardAccess GemCvCertificate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:28:14: warning: associated value 'unexpected(tag:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
26 | public struct GemCvCertificate {
27 | public enum Error: Swift.Error {
28 | case unexpected(tag: ASN1DecodedTag)
| `- warning: associated value 'unexpected(tag:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
29 | case missing(tag: ASN1DecodedTag, source: ASN1Object)
30 | case missingTagParameter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | //
20 |
21 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
22 | import Foundation
23 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:29:14: warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
27 | public enum Error: Swift.Error {
28 | case unexpected(tag: ASN1DecodedTag)
29 | case missing(tag: ASN1DecodedTag, source: ASN1Object)
| `- warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ASN1DecodedTag'; this is an error in the Swift 6 language mode
30 | case missingTagParameter
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:29:14: warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any ASN1Object'; this is an error in the Swift 6 language mode
27 | public enum Error: Swift.Error {
28 | case unexpected(tag: ASN1DecodedTag)
29 | case missing(tag: ASN1DecodedTag, source: ASN1Object)
| `- warning: associated value 'missing(tag:source:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any ASN1Object'; this is an error in the Swift 6 language mode
30 | case missingTagParameter
31 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1Object.swift:27:17: note: protocol 'ASN1Object' does not conform to the 'Sendable' protocol
25 | ASN1Object protocol that represents any ASN.1 Tag or Sequence
26 | */
27 | public protocol ASN1Object {
| `- note: protocol 'ASN1Object' does not conform to the 'Sendable' protocol
28 | /// Type of the object
29 | var tag: ASN1DecodedTag { get }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:72:27: warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
70 | public struct Tag {
71 | /// Root tag
72 | public static let tag = ASN1DecodedTag.applicationTag(0x21)
| |- warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// Signature tag
74 | public static let signature = ASN1DecodedTag.applicationTag(0x37)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:74:27: warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
72 | public static let tag = ASN1DecodedTag.applicationTag(0x21)
73 | /// Signature tag
74 | public static let signature = ASN1DecodedTag.applicationTag(0x37)
| |- warning: static property 'signature' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'signature' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:180:27: warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
178 | public struct Tag {
179 | /// CVC Root body tag
180 | public static let tag = ASN1DecodedTag.applicationTag(0x4E)
| |- warning: static property 'tag' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | /// Certificate Profile Identifier tag
182 | public static let cpi = ASN1DecodedTag.applicationTag(0x29)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:182:27: warning: static property 'cpi' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
180 | public static let tag = ASN1DecodedTag.applicationTag(0x4E)
181 | /// Certificate Profile Identifier tag
182 | public static let cpi = ASN1DecodedTag.applicationTag(0x29)
| |- warning: static property 'cpi' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cpi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | /// Certificate Authority Reference tag
184 | public static let car = ASN1DecodedTag.applicationTag(0x2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:184:27: warning: static property 'car' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
182 | public static let cpi = ASN1DecodedTag.applicationTag(0x29)
183 | /// Certificate Authority Reference tag
184 | public static let car = ASN1DecodedTag.applicationTag(0x2)
| |- warning: static property 'car' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'car' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | /// Public Key tag
186 | public static let pubKey = ASN1DecodedTag.applicationTag(0x49)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:186:27: warning: static property 'pubKey' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
184 | public static let car = ASN1DecodedTag.applicationTag(0x2)
185 | /// Public Key tag
186 | public static let pubKey = ASN1DecodedTag.applicationTag(0x49)
| |- warning: static property 'pubKey' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pubKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | /// Certificate Holder Reference tag
188 | public static let chr = ASN1DecodedTag.applicationTag(0x20)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:188:27: warning: static property 'chr' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
186 | public static let pubKey = ASN1DecodedTag.applicationTag(0x49)
187 | /// Certificate Holder Reference tag
188 | public static let chr = ASN1DecodedTag.applicationTag(0x20)
| |- warning: static property 'chr' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chr' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | /// Certificate Holder Authorization Template tag
190 | public static let chat = ASN1DecodedTag.applicationTag(0x4C)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:190:27: warning: static property 'chat' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
188 | public static let chr = ASN1DecodedTag.applicationTag(0x20)
189 | /// Certificate Holder Authorization Template tag
190 | public static let chat = ASN1DecodedTag.applicationTag(0x4C)
| |- warning: static property 'chat' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | /// Certificate Effective Data tag
192 | public static let ced = ASN1DecodedTag.applicationTag(0x25)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:192:27: warning: static property 'ced' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
190 | public static let chat = ASN1DecodedTag.applicationTag(0x4C)
191 | /// Certificate Effective Data tag
192 | public static let ced = ASN1DecodedTag.applicationTag(0x25)
| |- warning: static property 'ced' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ced' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | /// Certificate Expiration Date tag
194 | public static let cxd = ASN1DecodedTag.applicationTag(0x24)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:194:27: warning: static property 'cxd' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
192 | public static let ced = ASN1DecodedTag.applicationTag(0x25)
193 | /// Certificate Expiration Date tag
194 | public static let cxd = ASN1DecodedTag.applicationTag(0x24)
| |- warning: static property 'cxd' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cxd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:247:27: warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
245 | public struct Tag {
246 | /// Object identifier
247 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
| |- warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 | /// Discretionary data
249 | public static let content = ASN1DecodedTag.applicationTag(0x13)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:249:27: warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
247 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
248 | /// Discretionary data
249 | public static let content = ASN1DecodedTag.applicationTag(0x13)
| |- warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:311:27: warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
309 | public struct Tag {
310 | /// Object identifier
311 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
| |- warning: static property 'oid' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | /// Public Key content
313 | public static let content = ASN1DecodedTag.taggedTag(0x6)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:313:27: warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
311 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
312 | /// Public Key content
313 | public static let content = ASN1DecodedTag.taggedTag(0x6)
| |- warning: static property 'content' is not concurrency-safe because non-'Sendable' type 'ASN1DecodedTag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'content' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 | private init() {}
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ASN1DecodedTag.swift:20:13: note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
18 |
19 | /// Tag model to represent a decoded ASN1 Tag
20 | public enum ASN1DecodedTag: Equatable {
| `- note: enum 'ASN1DecodedTag' does not conform to the 'Sendable' protocol
21 | /// Class: Application
22 | case applicationTag(UInt)
[108/128] Emitting module HealthCardControl
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:24: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
22 |
23 | extension ResponseStatus {
24 | 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
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 | //
20 |
21 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
22 |
23 | extension ResponseStatus {
24 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: add '@MainActor' to make static property 'wrongSecretWarnings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29: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
27 | case operational
28 | /// Underlying card responds with an unexpected status
29 | 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
30 | /// The application identifier was not found or recognized
31 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
20 |
21 | import Foundation
22 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
23 |
24 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29: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
27 | case operational
28 | /// Underlying card responds with an unexpected status
29 | 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
30 | /// The application identifier was not found or recognized
31 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:31: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
29 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
30 | /// The application identifier was not found or recognized
31 | 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
32 | /// When the CardVersion2 file could not be read/parsed
33 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:26:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
24 | /// E.g. using any 'random' String as function parameter where a AID is expected
25 | /// - Note: see also gemSpec_COS#N010.200
26 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
27 | public enum Error: Swift.Error, Equatable {
28 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:33: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
31 | case unknownCardType(aid: ApplicationIdentifier?)
32 | /// When the CardVersion2 file could not be read/parsed
33 | 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
34 | /// Unsupported card type
35 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:26:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
24 | /// Represent the CardVersion2 information of HealthCard
25 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
26 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
27 | /// CardVersion2 Error
28 | public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:29: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
27 | public enum ReadError: Swift.Error, Equatable {
28 | /// The response status did not match the expected response status
29 | 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
30 | /// No data has been returned
31 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
22 | import Combine
23 | import Foundation
24 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
25 |
26 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:31: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
29 | case unexpectedResponse(state: ResponseStatus)
30 | /// No data has been returned
31 | 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
32 | case fcpMissingReadSize(state: ResponseStatus)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32: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
30 | /// No data has been returned
31 | case noData(state: ResponseStatus)
32 | 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:36: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
34 |
35 | public enum SelectError: Swift.Error, Equatable {
36 | 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
37 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:26:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
24 | /// E.g. using any 'random' String as function parameter where a AID is expected
25 | /// - Note: see also gemSpec_COS#N010.200
26 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
27 | public enum Error: Swift.Error, Equatable {
28 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:36: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
34 |
35 | public enum SelectError: Swift.Error, Equatable {
36 | 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
37 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:37: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
35 | public enum SelectError: Swift.Error, Equatable {
36 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
37 | 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:24:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
22 |
23 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
24 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
25 | /// FileIdentifier initialization error type
26 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:37: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
35 | public enum SelectError: Swift.Error, Equatable {
36 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
37 | 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:40: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
38 | case noValidHealthCardStatus
39 | case efCardAccessNotAvailable
40 | 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
41 | }
42 |
/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:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
20 | //
21 |
22 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
23 | import CardReaderProviderApi
24 | import Combine
[109/130] Compiling HealthCardControl SecureHealthCard.swift
[110/130] Compiling HealthCardControl SecureMessaging.swift
[111/130] Compiling HealthCardControl CardChannelType+CardAID.swift
[112/130] Compiling HealthCardControl CardChannelType+CardAccess.swift
[113/130] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:68: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
66 | dfSpecific: Bool = false
67 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
68 | 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
69 | let command: HealthCardCommand
70 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.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 | readTimeout: TimeInterval = 10
114 | ) async throws -> ResetRetryCounterResponse {
115 | 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
116 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
117 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:211: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
209 | dfSpecific: Bool = false
210 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
211 | 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
212 | let command: HealthCardCommand
213 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:258: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
256 | dfSpecific: Bool = false
257 | ) async throws -> ResetRetryCounterResponse {
258 | 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
259 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
260 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:73: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
71 | dfSpecific: Bool = false
72 | ) -> AnyPublisher<VerifyPinResponse, Error> {
73 | 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
74 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
75 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:129: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
127 | dfSpecific: Bool = false
128 | ) async throws -> VerifyPinResponse {
129 | 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
130 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
131 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:24: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
22 |
23 | extension ResponseStatus {
24 | 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
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 | //
20 |
21 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
22 |
23 | extension ResponseStatus {
24 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: add '@MainActor' to make static property 'wrongSecretWarnings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
[114/130] Compiling HealthCardControl HealthCardType+VerifyPin.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:68: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
66 | dfSpecific: Bool = false
67 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
68 | 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
69 | let command: HealthCardCommand
70 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.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 | readTimeout: TimeInterval = 10
114 | ) async throws -> ResetRetryCounterResponse {
115 | 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
116 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
117 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:211: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
209 | dfSpecific: Bool = false
210 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
211 | 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
212 | let command: HealthCardCommand
213 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:258: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
256 | dfSpecific: Bool = false
257 | ) async throws -> ResetRetryCounterResponse {
258 | 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
259 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
260 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:73: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
71 | dfSpecific: Bool = false
72 | ) -> AnyPublisher<VerifyPinResponse, Error> {
73 | 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
74 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
75 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:129: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
127 | dfSpecific: Bool = false
128 | ) async throws -> VerifyPinResponse {
129 | 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
130 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
131 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:24: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
22 |
23 | extension ResponseStatus {
24 | 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
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 | //
20 |
21 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
22 |
23 | extension ResponseStatus {
24 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: add '@MainActor' to make static property 'wrongSecretWarnings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
[115/130] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:68: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
66 | dfSpecific: Bool = false
67 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
68 | 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
69 | let command: HealthCardCommand
70 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.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 | readTimeout: TimeInterval = 10
114 | ) async throws -> ResetRetryCounterResponse {
115 | 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
116 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
117 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:211: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
209 | dfSpecific: Bool = false
210 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
211 | 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
212 | let command: HealthCardCommand
213 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:258: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
256 | dfSpecific: Bool = false
257 | ) async throws -> ResetRetryCounterResponse {
258 | 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
259 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
260 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:73: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
71 | dfSpecific: Bool = false
72 | ) -> AnyPublisher<VerifyPinResponse, Error> {
73 | 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
74 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
75 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:129: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
127 | dfSpecific: Bool = false
128 | ) async throws -> VerifyPinResponse {
129 | 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
130 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
131 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:24: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
22 |
23 | extension ResponseStatus {
24 | 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
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:21:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 | //
20 |
21 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
22 |
23 | extension ResponseStatus {
24 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: add '@MainActor' to make static property 'wrongSecretWarnings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | .wrongSecretWarningCount00,
26 | .wrongSecretWarningCount01,
[116/130] Compiling HealthCardControl HealthCardType+Authenticate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:68: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
66 | dfSpecific: Bool = false
67 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
68 | 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
69 | let command: HealthCardCommand
70 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:129: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
127 | dfSpecific: Bool = false
128 | ) async throws -> ChangeReferenceDataResponse {
129 | 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
130 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
131 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:90: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
88 | @available(*, deprecated, message: "Use structured concurrency version instead")
89 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
90 | 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
91 | let expectedFcpLength = currentCardChannel.maxResponseLength
92 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:127: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
125 | /// and ESignInfo associated to it
126 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
127 | 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
128 | let expectedFcpLength = currentCardChannel.maxResponseLength
129 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
[117/130] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:68: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
66 | dfSpecific: Bool = false
67 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
68 | 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
69 | let command: HealthCardCommand
70 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:129: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
127 | dfSpecific: Bool = false
128 | ) async throws -> ChangeReferenceDataResponse {
129 | 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
130 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
131 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:90: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
88 | @available(*, deprecated, message: "Use structured concurrency version instead")
89 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
90 | 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
91 | let expectedFcpLength = currentCardChannel.maxResponseLength
92 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:127: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
125 | /// and ESignInfo associated to it
126 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
127 | 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
128 | let expectedFcpLength = currentCardChannel.maxResponseLength
129 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
[118/130] Compiling HealthCardControl HealthCardType+ESIGN.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:68: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
66 | dfSpecific: Bool = false
67 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
68 | 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
69 | let command: HealthCardCommand
70 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:129: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
127 | dfSpecific: Bool = false
128 | ) async throws -> ChangeReferenceDataResponse {
129 | 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
130 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
131 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:90: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
88 | @available(*, deprecated, message: "Use structured concurrency version instead")
89 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
90 | 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
91 | let expectedFcpLength = currentCardChannel.maxResponseLength
92 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:127: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
125 | /// and ESignInfo associated to it
126 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
127 | 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
128 | let expectedFcpLength = currentCardChannel.maxResponseLength
129 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
[119/130] Compiling HealthCardControl KeyDerivationFunction.swift
[120/130] Compiling HealthCardControl Logger.swift
[121/130] Compiling HealthCardControl CardType+SecureMessaging.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:43: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
41 | public func openSecureSessionPublisher(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
42 | -> AnyPublisher<HealthCardType, Error> {
43 | 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
44 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:114: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
112 | readTimeout: TimeInterval = 30
113 | ) async throws -> SecureHealthCardType {
114 | 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
115 | let channel = try openBasicChannel()
116 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
[122/130] Compiling HealthCardControl Data+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:43: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
41 | public func openSecureSessionPublisher(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
42 | -> AnyPublisher<HealthCardType, Error> {
43 | 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
44 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
45 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:114: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
112 | readTimeout: TimeInterval = 30
113 | ) async throws -> SecureHealthCardType {
114 | 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
115 | let channel = try openBasicChannel()
116 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
[123/130] Compiling HealthCardControl AES.swift
[124/130] Compiling HealthCardControl Data+Secure.swift
[125/130] Compiling HealthCardControl HealthCardType+ReadFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:29: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
27 | public enum ReadError: Swift.Error, Equatable {
28 | /// The response status did not match the expected response status
29 | 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
30 | /// No data has been returned
31 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
22 | import Combine
23 | import Foundation
24 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
25 |
26 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:31: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
29 | case unexpectedResponse(state: ResponseStatus)
30 | /// No data has been returned
31 | 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
32 | case fcpMissingReadSize(state: ResponseStatus)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32: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
30 | /// No data has been returned
31 | case noData(state: ResponseStatus)
32 | 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:36: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
34 |
35 | public enum SelectError: Swift.Error, Equatable {
36 | 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
37 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:26:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
24 | /// E.g. using any 'random' String as function parameter where a AID is expected
25 | /// - Note: see also gemSpec_COS#N010.200
26 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
27 | public enum Error: Swift.Error, Equatable {
28 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:36: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
34 |
35 | public enum SelectError: Swift.Error, Equatable {
36 | 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
37 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:37: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
35 | public enum SelectError: Swift.Error, Equatable {
36 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
37 | 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:24:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
22 |
23 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
24 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
25 | /// FileIdentifier initialization error type
26 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:37: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
35 | public enum SelectError: Swift.Error, Equatable {
36 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
37 | 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
[126/130] Compiling HealthCardControl AES128PaceKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:29: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
27 | public enum ReadError: Swift.Error, Equatable {
28 | /// The response status did not match the expected response status
29 | 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
30 | /// No data has been returned
31 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
22 | import Combine
23 | import Foundation
24 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
25 |
26 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:31: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
29 | case unexpectedResponse(state: ResponseStatus)
30 | /// No data has been returned
31 | 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
32 | case fcpMissingReadSize(state: ResponseStatus)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32: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
30 | /// No data has been returned
31 | case noData(state: ResponseStatus)
32 | 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:36: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
34 |
35 | public enum SelectError: Swift.Error, Equatable {
36 | 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
37 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:26:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
24 | /// E.g. using any 'random' String as function parameter where a AID is expected
25 | /// - Note: see also gemSpec_COS#N010.200
26 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
27 | public enum Error: Swift.Error, Equatable {
28 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:36: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
34 |
35 | public enum SelectError: Swift.Error, Equatable {
36 | 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
37 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:37: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
35 | public enum SelectError: Swift.Error, Equatable {
36 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
37 | 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:24:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
22 |
23 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
24 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
25 | /// FileIdentifier initialization error type
26 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:37: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
35 | public enum SelectError: Swift.Error, Equatable {
36 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
37 | 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
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
[127/130] Compiling HealthCardControl CardChannelType+Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29: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
27 | case operational
28 | /// Underlying card responds with an unexpected status
29 | 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
30 | /// The application identifier was not found or recognized
31 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
20 |
21 | import Foundation
22 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
23 |
24 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29: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
27 | case operational
28 | /// Underlying card responds with an unexpected status
29 | 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
30 | /// The application identifier was not found or recognized
31 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:31: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
29 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
30 | /// The application identifier was not found or recognized
31 | 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
32 | /// When the CardVersion2 file could not be read/parsed
33 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:26:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
24 | /// E.g. using any 'random' String as function parameter where a AID is expected
25 | /// - Note: see also gemSpec_COS#N010.200
26 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
27 | public enum Error: Swift.Error, Equatable {
28 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:33: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
31 | case unknownCardType(aid: ApplicationIdentifier?)
32 | /// When the CardVersion2 file could not be read/parsed
33 | 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
34 | /// Unsupported card type
35 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:26:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
24 | /// Represent the CardVersion2 information of HealthCard
25 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
26 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
27 | /// CardVersion2 Error
28 | public enum Error: Swift.Error {
[128/130] Compiling HealthCardControl HealthCard+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29: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
27 | case operational
28 | /// Underlying card responds with an unexpected status
29 | 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
30 | /// The application identifier was not found or recognized
31 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
20 |
21 | import Foundation
22 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
23 |
24 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29: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
27 | case operational
28 | /// Underlying card responds with an unexpected status
29 | 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
30 | /// The application identifier was not found or recognized
31 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:25:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
23 | /// Named response statuses per UInt16 status code.
24 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
25 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
26 | // swiftlint:disable:previous type_body_length
27 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:31: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
29 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
30 | /// The application identifier was not found or recognized
31 | 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
32 | /// When the CardVersion2 file could not be read/parsed
33 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:26:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
24 | /// E.g. using any 'random' String as function parameter where a AID is expected
25 | /// - Note: see also gemSpec_COS#N010.200
26 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
27 | public enum Error: Swift.Error, Equatable {
28 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:33: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
31 | case unknownCardType(aid: ApplicationIdentifier?)
32 | /// When the CardVersion2 file could not be read/parsed
33 | 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
34 | /// Unsupported card type
35 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:26:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
24 | /// Represent the CardVersion2 information of HealthCard
25 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
26 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
27 | /// CardVersion2 Error
28 | public enum Error: Swift.Error {
[129/130] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:40: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
38 | case noValidHealthCardStatus
39 | case efCardAccessNotAvailable
40 | 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
41 | }
42 |
/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:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
20 | //
21 |
22 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
23 | import CardReaderProviderApi
24 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:257:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
255 | }
256 | .flatMap {
257 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
258 | }
259 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:295:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
293 | .setFailureType(to: Swift.Error.self)
294 | .flatMap {
295 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
296 | }
297 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:358:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
356 | }
357 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
358 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
359 | .tryMap { pk1PiccResponse in
360 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:416:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
414 | }
415 | .flatMap {
416 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
417 | }
418 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:476:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
474 | }
475 | .flatMap {
476 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
477 | }
478 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:65:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
63 | )
64 | let encryptedCommand = try session.encrypt(command: command)
65 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
66 | writeTimeout: writeTimeout,
67 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61: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
59 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
60 | // we only log the header bytes to prevent logging user's PIN
61 | 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
62 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
63 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:71: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
69 | Logger.healthCardControl
70 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
71 | 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
72 | Command(
73 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:87: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
85 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
86 | // we only log the header bytes to prevent logging user's PIN
87 | 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
88 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
89 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:99: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
97 | Logger.healthCardControl
98 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
99 | 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
100 | Command(
101 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:110:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
108 | func closePublisher() throws {
109 | session.invalidate()
110 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
111 | }
112 |
[130/130] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:40: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
38 | case noValidHealthCardStatus
39 | case efCardAccessNotAvailable
40 | 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
41 | }
42 |
/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:22:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
20 | //
21 |
22 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
23 | import CardReaderProviderApi
24 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:257:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
255 | }
256 | .flatMap {
257 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
258 | }
259 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:295:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
293 | .setFailureType(to: Swift.Error.self)
294 | .flatMap {
295 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
296 | }
297 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:358:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
356 | }
357 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
358 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
359 | .tryMap { pk1PiccResponse in
360 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:416:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
414 | }
415 | .flatMap {
416 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
417 | }
418 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:476:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
474 | }
475 | .flatMap {
476 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
477 | }
478 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:65:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
63 | )
64 | let encryptedCommand = try session.encrypt(command: command)
65 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
66 | writeTimeout: writeTimeout,
67 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61: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
59 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
60 | // we only log the header bytes to prevent logging user's PIN
61 | 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
62 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
63 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:71: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
69 | Logger.healthCardControl
70 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
71 | 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
72 | Command(
73 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:87: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
85 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
86 | // we only log the header bytes to prevent logging user's PIN
87 | 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
88 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
89 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:99: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
97 | Logger.healthCardControl
98 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
99 | 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
100 | Command(
101 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:26:23: note: static property declared here
24 | public enum CommandLogger {
25 | /// Array of commands that have been logged
26 | public static var commands: [Command] = []
| `- note: static property declared here
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:110:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
108 | func closePublisher() throws {
109 | session.invalidate()
110 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
111 | }
112 |
[131/140] Compiling NFCCardReaderProvider CoreNFCError.swift
[132/140] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[133/140] Compiling NFCCardReaderProvider NFCCardChannel.swift
[134/140] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
[135/140] Compiling NFCCardReaderProvider Logger.swift
[136/140] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[137/140] Compiling NFCCardReaderProvider NFCCard.swift
[138/140] Compiling NFCCardReaderProvider NFCCardError.swift
[139/140] Emitting module NFCCardReaderProvider
[140/140] Compiling NFCCardReaderProvider Data+Hex.swift
Build complete! (53.24s)
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1281] Fetching asn1kit
[14/2257] Fetching asn1kit, openssl-swift
[24/4415] Fetching asn1kit, openssl-swift, swift-docc-plugin
[880/24202] Fetching asn1kit, openssl-swift, swift-docc-plugin, nimble
Fetched https://github.com/apple/swift-docc-plugin from cache (1.89s)
Fetched https://github.com/gematik/ASN1Kit.git from cache (1.89s)
[20171/20763] Fetching openssl-swift, nimble
Fetched https://github.com/Quick/Nimble from cache (7.80s)
Fetched https://github.com/gematik/OpenSSL-Swift from cache (7.80s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (10.98s)
Fetching http://github.com/Carthage/Commandant
[1/2329] Fetching commandant
Fetched http://github.com/Carthage/Commandant from cache (1.10s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (1.71s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 12.3.0 (0.62s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.91s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.52s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[5/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.73s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.33s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.5.0 (0.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.82s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.48s)
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/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.5.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.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 12.3.0
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.5.0/OpenSSL.xcframework.zip
[16375/12831946] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.5.0/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.5.0/OpenSSL.xcframework.zip (1.31s)
Build complete.
{
"dependencies" : [
{
"identity" : "asn1kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gematik/ASN1Kit.git"
},
{
"identity" : "openssl-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gematik/OpenSSL-Swift"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "12.0.0",
"upper_bound" : "13.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble"
}
],
"manifest_display_name" : "Openhealthcardkit",
"name" : "Openhealthcardkit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "HealthCardControl",
"targets" : [
"HealthCardControl"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NFCCardReaderProvider",
"targets" : [
"NFCCardReaderProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HealthCardAccess",
"targets" : [
"HealthCardAccess"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CardReaderProviderApi",
"targets" : [
"CardReaderProviderApi"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Helper",
"targets" : [
"Helper"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CardReaderAccess",
"targets" : [
"CardReaderAccess"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NFCCardReaderProvider",
"module_type" : "SwiftTarget",
"name" : "NFCCardReaderProvider",
"path" : "Sources/NFCCardReaderProvider",
"product_memberships" : [
"NFCCardReaderProvider"
],
"sources" : [
"Card/Data+Hex.swift",
"Card/NFCCard.swift",
"Card/NFCCardChannel.swift",
"Card/NFCCardError.swift",
"Card/NFCISO7816APDU+CommandType.swift",
"Logger.swift",
"NFCHealthCardSession.swift",
"Reader/CoreNFCError.swift",
"Reader/NFCTagReaderSession+Publisher.swift"
],
"target_dependencies" : [
"HealthCardControl",
"HealthCardAccess",
"Helper"
],
"type" : "library"
},
{
"c99name" : "Helper",
"module_type" : "SwiftTarget",
"name" : "Helper",
"path" : "Sources/Helper",
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider",
"HealthCardAccess",
"CardReaderProviderApi",
"Helper",
"CardReaderAccess"
],
"sources" : [
"CommandLogger.swift"
],
"type" : "library"
},
{
"c99name" : "HealthCardControlTests",
"module_type" : "SwiftTarget",
"name" : "HealthCardControlTests",
"path" : "Tests/HealthCardControlTests",
"product_dependencies" : [
"Nimble"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardControlTests/Resources.bundle/FCP/fcp_A000000167455349474E.dat",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Crypto/AESTests.swift",
"Crypto/DataSecureTest.swift",
"Crypto/KeyDerivationFunctionTest.swift",
"ResourceLoader.swift",
"SecureMessaging/AES128PaceKeyTest.swift",
"SecureMessaging/HealthCardTypeExtESIGNTest.swift",
"SecureMessaging/ResponseType+Bytes.swift",
"Util/AnyPublisher+Test.swift"
],
"target_dependencies" : [
"HealthCardControl"
],
"type" : "test"
},
{
"c99name" : "HealthCardControl",
"module_type" : "SwiftTarget",
"name" : "HealthCardControl",
"path" : "Sources/HealthCardControl",
"product_dependencies" : [
"OpenSSL-Swift"
],
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider"
],
"sources" : [
"Authentication/HealthCardType+Authenticate.swift",
"Authentication/HealthCardType+ChangeReferenceData.swift",
"Authentication/HealthCardType+ESIGN.swift",
"Authentication/HealthCardType+ResetRetryCounter.swift",
"Authentication/HealthCardType+VerifyPin.swift",
"Authentication/ResponseStatus+WrongSecret.swift",
"Crypto/AES.swift",
"Crypto/Data+Secure.swift",
"Crypto/KeyDerivationFunction.swift",
"Logger.swift",
"Operations/CardChannelType+CardAID.swift",
"Operations/CardChannelType+CardAccess.swift",
"Operations/CardChannelType+Version.swift",
"Operations/HealthCard+Error.swift",
"Operations/HealthCardType+ReadFile.swift",
"SecureMessaging/AES128PaceKey.swift",
"SecureMessaging/CardType+SecureMessaging.swift",
"SecureMessaging/Data+Hex.swift",
"SecureMessaging/KeyAgreement.swift",
"SecureMessaging/SecureCardChannel.swift",
"SecureMessaging/SecureHealthCard.swift",
"SecureMessaging/SecureMessaging.swift"
],
"target_dependencies" : [
"HealthCardAccess",
"Helper"
],
"type" : "library"
},
{
"c99name" : "HealthCardAccessTests",
"module_type" : "SwiftTarget",
"name" : "HealthCardAccessTests",
"path" : "Tests/HealthCardAccessTests",
"product_dependencies" : [
"Nimble"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/CVC/EF.C.CA_HPC.CS.E256.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/CVC/EF.C.HPC.AUTR_CVC.E256.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/CVC/GemCVC.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_signature_invalid_toolongsequence.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p256r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/ansix9p384r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP256r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP384r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_ecpubkey.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_ecpubkey.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_expected_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_hash.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_signature.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/DSA/brainpoolP512r1_signature_normalized.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/EC/ec_pub_key.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/EC/ec_pub_key.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/FCP/fcp_adf_A000000167455349474E_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/FCP/fcp_df_A000000167455349474E_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/FCP/fcp_nett_length_apdu.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/apduEncipherElc.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/apduEncipherRsaOaep.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/apduEncipherRsaPkcs1v15.dat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/elc_pub_key.der",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/HealthCardAccessTests/Resources.bundle/PSO/rsa_pub_key.der",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CardObjects/ApplicationIdentifierTest.swift",
"CardObjects/FileControlParameterTest.swift",
"CardObjects/FileIdentifierTest.swift",
"CardObjects/Format2PinTest.swift",
"CardObjects/GemCvCertificateTest.swift",
"CardObjects/KeyTest.swift",
"CardObjects/PasswordTest.swift",
"CardObjects/ShortFileIdentifierTest.swift",
"Commands/DataExtNormalize.swift",
"Commands/HCCExtAccessStructuredDataTest.swift",
"Commands/HCCExtAccessTransparentDataTest.swift",
"Commands/HCCExtAuthenticationTest.swift",
"Commands/HCCExtManageSETest.swift",
"Commands/HCCExtMiscTest.swift",
"Commands/HCCExtObjectSystemManagementTest.swift",
"Commands/HCCExtPerformSecurityOperationTest.swift",
"Commands/HCCExtUserVerificationTest.swift",
"Commands/HealthCardCommandBuilderTest.swift",
"HealthCardPropertyTypeTest.swift",
"HealthCardStatusTest.swift",
"Models/CANTest.swift",
"Models/CardGenerationTest.swift",
"Models/CardVersion2Test.swift",
"Models/ECCurveInfoTest.swift",
"Models/SignatureAlgorithmTest.swift",
"Responses/HealthCardResponseTest.swift",
"Util/AnyPublisher+Test.swift",
"Util/ResourceLoader.swift"
],
"target_dependencies" : [
"HealthCardAccess"
],
"type" : "test"
},
{
"c99name" : "HealthCardAccess",
"module_type" : "SwiftTarget",
"name" : "HealthCardAccess",
"path" : "Sources/HealthCardAccess",
"product_dependencies" : [
"ASN1Kit"
],
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider",
"HealthCardAccess"
],
"sources" : [
"CardObjects/ApplicationIdentifier.swift",
"CardObjects/CardItemType.swift",
"CardObjects/CardKeyReferenceType.swift",
"CardObjects/CardObjectIdentifierType.swift",
"CardObjects/DedicatedFile.swift",
"CardObjects/ElementaryFile.swift",
"CardObjects/FileControlParameter.swift",
"CardObjects/FileIdentifier.swift",
"CardObjects/Format2Pin.swift",
"CardObjects/GemCvCertificate.swift",
"CardObjects/Key.swift",
"CardObjects/PSOAlgorithm.swift",
"CardObjects/Password.swift",
"CardObjects/ShortFileIdentifier.swift",
"Commands/Data+Normalize.swift",
"Commands/HealthCardCommand+AccessStructuredData.swift",
"Commands/HealthCardCommand+AccessTransparentData.swift",
"Commands/HealthCardCommand+Authentication.swift",
"Commands/HealthCardCommand+ManageSE.swift",
"Commands/HealthCardCommand+Misc.swift",
"Commands/HealthCardCommand+ObjectSystemManagement.swift",
"Commands/HealthCardCommand+PerfomSecurityOperation.swift",
"Commands/HealthCardCommand+UserVerification.swift",
"Commands/HealthCardCommand.swift",
"Commands/HealthCardCommandBuilder.swift",
"Data+Hex.swift",
"Extension/UInt8+Data.swift",
"HealthCard.swift",
"HealthCardCommandType.swift",
"HealthCardPropertyType.swift",
"HealthCardResponseType.swift",
"HealthCardStatus.swift",
"HealthCardType.swift",
"HealthCards/CardFileSystem/EgkFileSystem.swift",
"HealthCards/CardFileSystem/HbaFileSystem.swift",
"HealthCards/CardFileSystem/HealthCardFileSystemType.swift",
"HealthCards/CardFileSystem/SmcbFileSystem.swift",
"Models/CAN.swift",
"Models/CardGeneration.swift",
"Models/CardVersion2.swift",
"Models/CertificateInfo.swift",
"Models/ECCurveInfo.swift",
"Models/SignatureAlgorithm.swift",
"Responses/HealthCardResponse.swift",
"Responses/ResponseStatus.swift"
],
"target_dependencies" : [
"CardReaderProviderApi"
],
"type" : "library"
},
{
"c99name" : "CardReaderProviderApiTests",
"module_type" : "SwiftTarget",
"name" : "CardReaderProviderApiTests",
"path" : "Tests/CardReaderProviderApiTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"Command/APDUCommandTest.swift",
"Command/APDUResponseTest.swift",
"Command/CommandTypeExtLogicChannelTests.swift",
"Reader/CardReaderTest.swift"
],
"target_dependencies" : [
"CardReaderProviderApi"
],
"type" : "test"
},
{
"c99name" : "CardReaderProviderApi",
"module_type" : "SwiftTarget",
"name" : "CardReaderProviderApi",
"path" : "Sources/CardReaderProviderApi",
"product_memberships" : [
"HealthCardControl",
"NFCCardReaderProvider",
"HealthCardAccess",
"CardReaderProviderApi",
"CardReaderAccess"
],
"sources" : [
"Card/CardChannelType.swift",
"Card/CardError.swift",
"Card/CardProtocol.swift",
"Card/CardType.swift",
"Command/APDU.swift",
"Command/CommandType+APDU.swift",
"Command/CommandType+LogicChannel.swift",
"Command/CommandType.swift",
"Command/ResponseType+APDU.swift",
"Command/ResponseType.swift",
"Model/ProviderDescriptor.swift",
"Model/ProviderDescriptorType.swift",
"Provider/CardReaderProviderType.swift",
"Reader/CardReaderControllerType.swift",
"Reader/CardReaderType.swift"
],
"target_dependencies" : [
"Helper"
],
"type" : "library"
},
{
"c99name" : "CardReaderAccessTests",
"module_type" : "SwiftTarget",
"name" : "CardReaderAccessTests",
"path" : "Tests/CardReaderAccessTests",
"product_dependencies" : [
"Nimble"
],
"sources" : [
"CardReaderControllerManagerTest.swift",
"XCTestManifests.swift",
"internal/SwiftExtReflectionTest.swift"
],
"target_dependencies" : [
"CardReaderAccess"
],
"type" : "test"
},
{
"c99name" : "CardReaderAccess",
"module_type" : "SwiftTarget",
"name" : "CardReaderAccess",
"path" : "Sources/CardReaderAccess",
"product_memberships" : [
"CardReaderAccess"
],
"sources" : [
"CardReaderControllerManager.swift",
"internal/Swift+Reflection.swift"
],
"target_dependencies" : [
"CardReaderProviderApi",
"Helper"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.