Build Information
Successful build of Openhealthcardkit, reference main (8b0057
), with Swift 6.1 for macOS (SPM) on 21 Jul 2025 13:15:25 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 InferSendableFromCaptures
Build Log
21 | /// Class: Application
22 | case applicationTag(UInt)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:307: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
305 | public struct Tag {
306 | /// Object identifier
307 | 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
308 | /// Public Key content
309 | 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:309: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
307 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
308 | /// Public Key content
309 | 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
310 |
311 | 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:24: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
22 | public struct GemCvCertificate {
23 | public enum Error: Swift.Error {
24 | 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
25 | case missing(tag: ASN1DecodedTag, source: ASN1Object)
26 | 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:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
15 | //
16 |
17 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
18 | import Foundation
19 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/GemCvCertificate.swift:25: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
23 | public enum Error: Swift.Error {
24 | case unexpected(tag: ASN1DecodedTag)
25 | 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
26 | case missingTagParameter
27 | }
/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:25: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
23 | public enum Error: Swift.Error {
24 | case unexpected(tag: ASN1DecodedTag)
25 | 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
26 | case missingTagParameter
27 | }
/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:68: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
66 | public struct Tag {
67 | /// Root tag
68 | 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
69 | /// Signature tag
70 | 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:70: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
68 | public static let tag = ASN1DecodedTag.applicationTag(0x21)
69 | /// Signature tag
70 | 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
71 |
72 | 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:176: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
174 | public struct Tag {
175 | /// CVC Root body tag
176 | 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
177 | /// Certificate Profile Identifier tag
178 | 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:178: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
176 | public static let tag = ASN1DecodedTag.applicationTag(0x4E)
177 | /// Certificate Profile Identifier tag
178 | 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
179 | /// Certificate Authority Reference tag
180 | 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:180: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
178 | public static let cpi = ASN1DecodedTag.applicationTag(0x29)
179 | /// Certificate Authority Reference tag
180 | 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
181 | /// Public Key tag
182 | 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:182: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
180 | public static let car = ASN1DecodedTag.applicationTag(0x2)
181 | /// Public Key tag
182 | 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
183 | /// Certificate Holder Reference tag
184 | 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:184: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
182 | public static let pubKey = ASN1DecodedTag.applicationTag(0x49)
183 | /// Certificate Holder Reference tag
184 | 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
185 | /// Certificate Holder Authorization Template tag
186 | 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:186: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
184 | public static let chr = ASN1DecodedTag.applicationTag(0x20)
185 | /// Certificate Holder Authorization Template tag
186 | 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
187 | /// Certificate Effective Data tag
188 | 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:188: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
186 | public static let chat = ASN1DecodedTag.applicationTag(0x4C)
187 | /// Certificate Effective Data tag
188 | 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
189 | /// Certificate Expiration Date tag
190 | 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:190: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
188 | public static let ced = ASN1DecodedTag.applicationTag(0x25)
189 | /// Certificate Expiration Date tag
190 | 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
191 |
192 | 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:243: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
241 | public struct Tag {
242 | /// Object identifier
243 | 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
244 | /// Discretionary data
245 | 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:245: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
243 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
244 | /// Discretionary data
245 | 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
246 |
247 | 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:307: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
305 | public struct Tag {
306 | /// Object identifier
307 | 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
308 | /// Public Key content
309 | 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:309: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
307 | public static let oid = ASN1DecodedTag.universal(.objectIdentifier)
308 | /// Public Key content
309 | 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
310 |
311 | 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:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: 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
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
[109/130] Compiling HealthCardControl SecureHealthCard.swift
[110/130] Compiling HealthCardControl SecureMessaging.swift
[111/130] Compiling HealthCardControl KeyDerivationFunction.swift
[112/130] Compiling HealthCardControl Logger.swift
[113/130] Compiling HealthCardControl HealthCardType+Authenticate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[114/130] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[115/130] Compiling HealthCardControl HealthCardType+ESIGN.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[116/130] Compiling HealthCardControl CardChannelType+Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
[117/130] Compiling HealthCardControl HealthCard+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
[118/130] Compiling HealthCardControl CardType+SecureMessaging.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:39:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public func openSecureSessionPublisher(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
38 | -> AnyPublisher<HealthCardType, Error> {
39 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
41 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:110:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | readTimeout: TimeInterval = 30
109 | ) async throws -> SecureHealthCardType {
110 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
111 | let channel = try openBasicChannel()
112 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[119/130] Compiling HealthCardControl Data+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:39:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public func openSecureSessionPublisher(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
38 | -> AnyPublisher<HealthCardType, Error> {
39 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
41 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:110:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | readTimeout: TimeInterval = 30
109 | ) async throws -> SecureHealthCardType {
110 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
111 | let channel = try openBasicChannel()
112 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[120/130] Compiling HealthCardControl AES.swift
[121/130] Compiling HealthCardControl Data+Secure.swift
[122/130] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: 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
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
[123/130] Compiling HealthCardControl HealthCardType+VerifyPin.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: 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
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
[124/130] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: 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
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
[125/130] Compiling HealthCardControl CardChannelType+CardAID.swift
[126/130] Compiling HealthCardControl CardChannelType+CardAccess.swift
[127/130] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[128/130] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[129/130] Compiling HealthCardControl HealthCardType+ReadFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
[130/130] Compiling HealthCardControl AES128PaceKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
[131/140] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
[132/140] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[133/140] Compiling NFCCardReaderProvider CoreNFCError.swift
[134/140] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[135/140] Compiling NFCCardReaderProvider NFCCardChannel.swift
[136/140] Emitting module NFCCardReaderProvider
[137/140] Compiling NFCCardReaderProvider Data+Hex.swift
[138/140] Compiling NFCCardReaderProvider NFCCard.swift
[139/140] Compiling NFCCardReaderProvider Logger.swift
[140/140] Compiling NFCCardReaderProvider NFCCardError.swift
Build complete! (22.61s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/gematik/ref-openhealthcardkit/main
Repository: gematik/ref-OpenHealthCardKit
Swift version used: 6.1
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0"),
Target: HealthCardAccess
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Generating documentation for 'HealthCardAccess'...
Converting documentation...
warning: Parameter 'flag' is missing documentation
--> Sources/HealthCardAccess/Commands/HealthCardCommand+Authentication.swift:26:109-26:109
24 | /// Use-case 14.7.1 External Mutual Authentication command - gemSpec_COS#14.7.1
25 | /// - Parameters:
26 + /// - cmdData: data from the external entity to verify on the target card (N083.402 or N083.600)
| ╰─suggestion: Document 'flag' parameter
27 | // - flag: whether to expect response data
28 | /// - Returns: the external mutual authentication command
warning: Parameter 'dfSpecific' not found in type method declaration
--> Sources/HealthCardAccess/Commands/HealthCardCommand+ManageSE.swift:90:17-90:70
88 | /// - referenceKey: The key identifier.
89 | /// Must be 12 bytes long (E.g. GemCvCertificate.CVCBody.certificateHolderReference) (N101.700)
90 + /// - dfSpecific: Whether the key is dfSpecific or global
| ╰─suggestion: Remove 'dfSpecific' parameter documentation
91 | /// - algorithm: select the algorithm to be used for the internal authentication (N101.800)
92 | /// - Returns: The select key command
warning: Parameter 'elcPublicKey' is missing documentation
--> Sources/HealthCardAccess/Commands/HealthCardCommand+PerfomSecurityOperation.swift:292:46-292:46
290 | /// - Parameters:
291 | /// - elcPublicKey
292 + /// - data: data to be enciphered
| ╰─suggestion: Document 'elcPublicKey' parameter
293 | /// - Returns: The command
294 | public static func encipherUsingTransmittedElcKey(elcPublicKey: SecKey, data: Data) throws
warning: External name 'to' used to document parameter
--> Sources/HealthCardAccess/HealthCardCommandType.swift:55:15-55:17
53 | /// Execute the command on a given card
54 | /// - Parameters:
55 + /// - to: the card to use for executing `self` on
| ╰─suggestion: Replace 'to' with 'card'
56 | /// - writeTimeout: the time in seconds to allow for the write to begin. time <= 0 no timeout
57 | /// - readTimeout: the time in seconds to allow for the receiving to begin. time <= 0 no timeout
warning: External name 'to' used to document parameter
--> Sources/HealthCardAccess/HealthCardCommandType.swift:55:15-55:17
53 | /// Execute the command on a given card
54 | /// - Parameters:
55 + /// - to: the card to use for executing `self` on
| ╰─suggestion: Replace 'to' with 'card'
56 | /// - writeTimeout: the time in seconds to allow for the write to begin. time <= 0 no timeout
57 | /// - readTimeout: the time in seconds to allow for the receiving to begin. time <= 0 no timeout
warning: External name 'to' used to document parameter
--> Sources/HealthCardAccess/HealthCardCommandType.swift:128:15-128:17
126 | /// Execute the command on a given card
127 | /// - Parameters:
128 + /// - to: the card to use for executing `self` on
| ╰─suggestion: Replace 'to' with 'card'
129 | /// - writeTimeout: the time in seconds to allow for the write to begin. time <= 0 no timeout
130 | /// - readTimeout: the time in seconds to allow for the receiving to begin. time <= 0 no timeout
warning: External name 'to' used to document parameter
--> Sources/HealthCardAccess/HealthCardCommandType.swift:128:15-128:17
126 | /// Execute the command on a given card
127 | /// - Parameters:
128 + /// - to: the card to use for executing `self` on
| ╰─suggestion: Replace 'to' with 'card'
129 | /// - writeTimeout: the time in seconds to allow for the write to begin. time <= 0 no timeout
130 | /// - readTimeout: the time in seconds to allow for the receiving to begin. time <= 0 no timeout
Conversion complete! (0.51s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/gematik/ref-openhealthcardkit/main'
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/53] Compiling SymbolKit Mixin+Equals.swift
[8/53] Compiling SymbolKit Mixin+Hash.swift
[9/53] Compiling SymbolKit Mixin.swift
[10/53] Compiling SymbolKit LineList.swift
[11/53] Compiling SymbolKit Position.swift
[12/57] Compiling SymbolKit DeclarationFragments.swift
[13/57] Compiling SymbolKit Fragment.swift
[14/57] Compiling SymbolKit FragmentKind.swift
[15/57] Compiling SymbolKit FunctionParameter.swift
[16/57] Compiling SymbolKit FunctionSignature.swift
[17/57] Compiling SymbolKit SemanticVersion.swift
[18/57] Compiling SymbolKit AccessControl.swift
[19/57] Compiling SymbolKit Availability.swift
[20/57] Compiling SymbolKit AvailabilityItem.swift
[21/57] Compiling SymbolKit Domain.swift
[22/57] Compiling SymbolKit Identifier.swift
[23/57] Compiling SymbolKit KindIdentifier.swift
[24/57] Compiling SymbolKit Location.swift
[25/57] Compiling SymbolKit Mutability.swift
[26/57] Compiling SymbolKit GenericConstraint.swift
[27/57] Compiling SymbolKit GenericParameter.swift
[28/57] Compiling SymbolKit Generics.swift
[29/57] Compiling SymbolKit Namespace.swift
[30/57] Compiling SymbolKit SourceRange.swift
[31/57] Compiling SymbolKit Metadata.swift
[32/57] Compiling SymbolKit Module.swift
[33/57] Compiling SymbolKit OperatingSystem.swift
[34/57] Compiling SymbolKit Platform.swift
[35/57] Compiling SymbolKit Names.swift
[36/57] Compiling SymbolKit SPI.swift
[37/57] Compiling SymbolKit Snippet.swift
[38/57] Compiling SymbolKit Extension.swift
[39/57] Compiling SymbolKit Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.89s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/30] Compiling Helper CommandLogger.swift
[3/30] Emitting module Helper
[4/30] Compiling ASN1Kit ASN1Error.swift
[5/30] Compiling ASN1Kit ASN1Int.swift
[6/30] Compiling ASN1Kit ASN1Object.swift
[7/32] Compiling ASN1Kit Int+Length.swift
[8/32] Compiling ASN1Kit OutputStream+UInt8.swift
[9/32] Emitting module ASN1Kit
[10/47] Compiling ASN1Kit ASN1Primitive+Description.swift
[11/47] Compiling ASN1Kit Data+ASN1Int.swift
[12/47] Compiling ASN1Kit Data+UInt.swift
[13/47] Compiling ASN1Kit ASN1Data.swift
[14/47] Compiling ASN1Kit ASN1DecodedTag.swift
[15/47] Compiling ASN1Kit ASN1Decoder.swift
[16/47] Compiling CardReaderProviderApi CardError.swift
[17/47] Compiling ASN1Kit Bool+ASN1Encoding.swift
[18/47] Compiling ASN1Kit Data+ASN1Encoding.swift
[19/47] Compiling ASN1Kit String+Subscript.swift
[20/47] Compiling ASN1Kit UInt+TagNo.swift
[21/47] Compiling CardReaderProviderApi CommandType+APDU.swift
[22/47] Compiling CardReaderProviderApi CardProtocol.swift
[23/47] Compiling CardReaderProviderApi CardType.swift
[24/47] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
[25/47] Compiling CardReaderProviderApi CommandType.swift
[26/47] Compiling CardReaderProviderApi CardChannelType.swift
[27/47] Compiling CardReaderProviderApi CardReaderControllerType.swift
[28/48] Compiling CardReaderProviderApi CardReaderProviderType.swift
[29/48] Compiling CardReaderProviderApi ProviderDescriptorType.swift
[32/48] Emitting module CardReaderProviderApi
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[33/48] Compiling CardReaderProviderApi ResponseType+APDU.swift
[34/48] Compiling CardReaderProviderApi ResponseType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[37/48] Compiling CardReaderProviderApi ProviderDescriptor.swift
[38/48] Compiling CardReaderProviderApi APDU.swift
[42/48] Compiling CardReaderProviderApi CardReaderType.swift
[43/48] Compiling ASN1Kit String+ASN1Encoding.swift
[44/48] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[45/48] Compiling ASN1Kit ASN1Object+Subscript.swift
[46/48] Compiling ASN1Kit ObjectIdentifier.swift
[47/48] Compiling ASN1Kit ASN1CodableType.swift
[48/48] Compiling ASN1Kit ASN1Object+Encoding.swift
[49/90] Compiling HealthCardAccess Data+Hex.swift
[50/90] Compiling HealthCardAccess UInt8+Data.swift
[51/90] Compiling HealthCardAccess HealthCard.swift
[52/90] Compiling HealthCardAccess HealthCardCommandType.swift
[53/94] Emitting module HealthCardAccess
[54/94] Compiling HealthCardAccess Key.swift
[55/94] Compiling HealthCardAccess PSOAlgorithm.swift
[56/94] Compiling HealthCardAccess Password.swift
[57/94] Compiling HealthCardAccess ShortFileIdentifier.swift
[58/94] Compiling HealthCardAccess Data+Normalize.swift
[59/94] Compiling HealthCardAccess EgkFileSystem.swift
[60/94] Compiling HealthCardAccess HbaFileSystem.swift
[61/94] Compiling HealthCardAccess HealthCardFileSystemType.swift
[62/94] Compiling HealthCardAccess SmcbFileSystem.swift
[63/94] Compiling HealthCardAccess ApplicationIdentifier.swift
[64/94] Compiling HealthCardAccess CardItemType.swift
[65/94] Compiling HealthCardAccess CardKeyReferenceType.swift
[66/94] Compiling HealthCardAccess CardObjectIdentifierType.swift
[67/94] Compiling HealthCardAccess DedicatedFile.swift
[68/94] Compiling HealthCardAccess CAN.swift
[69/94] Compiling HealthCardAccess CardGeneration.swift
[70/94] Compiling HealthCardAccess CardVersion2.swift
[71/94] Compiling HealthCardAccess CertificateInfo.swift
[72/94] Compiling HealthCardAccess HealthCardCommand+ObjectSystemManagement.swift
[73/94] Compiling HealthCardAccess HealthCardCommand+PerfomSecurityOperation.swift
[74/94] Compiling HealthCardAccess HealthCardCommand+UserVerification.swift
[75/94] Compiling HealthCardAccess HealthCardCommand.swift
[76/94] Compiling HealthCardAccess HealthCardCommandBuilder.swift
[77/94] Compiling HealthCardAccess HealthCardCommand+AccessStructuredData.swift
[78/94] Compiling HealthCardAccess HealthCardCommand+AccessTransparentData.swift
[79/94] Compiling HealthCardAccess HealthCardCommand+Authentication.swift
[80/94] Compiling HealthCardAccess HealthCardCommand+ManageSE.swift
[81/94] Compiling HealthCardAccess HealthCardCommand+Misc.swift
[82/94] Compiling HealthCardAccess HealthCardPropertyType.swift
[83/94] Compiling HealthCardAccess HealthCardResponseType.swift
[84/94] Compiling HealthCardAccess HealthCardStatus.swift
[85/94] Compiling HealthCardAccess HealthCardType.swift
[86/94] Compiling HealthCardAccess ElementaryFile.swift
[87/94] Compiling HealthCardAccess FileControlParameter.swift
[88/94] Compiling HealthCardAccess FileIdentifier.swift
[89/94] Compiling HealthCardAccess Format2Pin.swift
[90/94] Compiling HealthCardAccess GemCvCertificate.swift
[91/94] Compiling HealthCardAccess ECCurveInfo.swift
[92/94] Compiling HealthCardAccess SignatureAlgorithm.swift
[93/94] Compiling HealthCardAccess HealthCardResponse.swift
[94/94] Compiling HealthCardAccess ResponseStatus.swift
Build of target: 'HealthCardAccess' complete! (2.07s)
Target: NFCCardReaderProvider
Generating documentation for 'NFCCardReaderProvider'...
Converting documentation...
Conversion complete! (0.17s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/gematik/ref-openhealthcardkit/main'
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
Build of product 'snippet-extract' complete! (0.33s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/22] Emitting module HealthCardControl
[3/24] Compiling HealthCardControl CardChannelType+Version.swift
[4/24] Compiling HealthCardControl HealthCard+Error.swift
[5/24] Compiling HealthCardControl SecureHealthCard.swift
[6/24] Compiling HealthCardControl SecureMessaging.swift
[7/24] Compiling HealthCardControl HealthCardType+Authenticate.swift
[8/24] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
[9/24] Compiling HealthCardControl HealthCardType+ESIGN.swift
[10/24] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
[11/24] Compiling HealthCardControl HealthCardType+VerifyPin.swift
[12/24] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
[13/24] Compiling HealthCardControl HealthCardType+ReadFile.swift
[14/24] Compiling HealthCardControl AES128PaceKey.swift
[15/24] Compiling HealthCardControl KeyDerivationFunction.swift
[16/24] Compiling HealthCardControl Logger.swift
[17/24] Compiling HealthCardControl CardChannelType+CardAID.swift
[18/24] Compiling HealthCardControl CardChannelType+CardAccess.swift
[19/24] Compiling HealthCardControl AES.swift
[20/24] Compiling HealthCardControl Data+Secure.swift
[21/24] Compiling HealthCardControl CardType+SecureMessaging.swift
[22/24] Compiling HealthCardControl Data+Hex.swift
[23/24] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[24/24] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[25/34] Compiling NFCCardReaderProvider Logger.swift
[26/34] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
[27/34] Compiling NFCCardReaderProvider NFCCard.swift
[28/34] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[29/34] Compiling NFCCardReaderProvider CoreNFCError.swift
[30/34] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[31/34] Compiling NFCCardReaderProvider NFCCardError.swift
[32/34] Compiling NFCCardReaderProvider NFCCardChannel.swift
[33/34] Compiling NFCCardReaderProvider Data+Hex.swift
[34/34] Emitting module NFCCardReaderProvider
Build of target: 'NFCCardReaderProvider' complete! (1.47s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/gematik/ref-openhealthcardkit/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/gematik/ref-openhealthcardkit/main/linkable-paths.json
Target: CardReaderProviderApi
Generating documentation for 'CardReaderProviderApi'...
Converting documentation...
warning: Parameter 'data' is missing documentation
--> Sources/CardReaderProviderApi/Command/APDU.swift:144:64-144:64
142 | - p1: P1 byte
143 | - p2: P2 byte
144 + - ne: Nr of expected bytes in response. Default: 0
| ╰─suggestion: Document 'data' parameter
145 | */
146 | public init(cla: UInt8, ins: UInt8, p1: UInt8, p2: UInt8, data: Data?, ne: Int? = nil) throws {
warning: Parameter 'reader' not found in instance method declaration
--> Sources/CardReaderProviderApi/Reader/CardReaderControllerType.swift:35:15-35:21
33 | - Parameters:
34 | - controller: the calling (owning) controller
35 + - reader: the terminal that became unavailable
| ╰─suggestion: Replace 'reader' with 'cardReader'
36 | */
37 | func cardReader(controller: CardReaderControllerType, didDisconnect cardReader: CardReaderType)
warning: Parameter 'cardReader' is missing documentation
--> Sources/CardReaderProviderApi/Reader/CardReaderControllerType.swift:35:59-35:59
33 | - Parameters:
34 | - controller: the calling (owning) controller
35 + - reader: the terminal that became unavailable
| ╰─suggestion: Document 'cardReader' parameter
36 | */
37 | func cardReader(controller: CardReaderControllerType, didDisconnect cardReader: CardReaderType)
Conversion complete! (0.12s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/gematik/ref-openhealthcardkit/main'
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
Build of product 'snippet-extract' complete! (0.32s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
Build of target: 'CardReaderProviderApi' complete! (0.33s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/gematik/ref-openhealthcardkit/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/gematik/ref-openhealthcardkit/main/linkable-paths.json
2100
12 /Users/admin/builder/spi-builder-workspace/.docs/gematik/ref-openhealthcardkit/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/gematik/ref-openhealthcardkit/main
File count: 2100
Doc size: 12.0MB
Preparing doc bundle ...
Uploading prod-gematik-ref-openhealthcardkit-main-3f2468f3.zip to s3://spi-docs-inbox/prod-gematik-ref-openhealthcardkit-main-3f2468f3.zip
Copying... [12%]
Copying... [22%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [60%]
Copying... [72%]
Copying... [82%]
Copying... [92%]
Copying... [100%]
Done.