Build Information
Failed to build Openhealthcardkit, reference 5.11.0 (1831d7
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 11:57:30 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
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)
[101/107] Compiling HealthCardAccess Format2Pin.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)
[102/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)
[103/107] Compiling HealthCardAccess Key.swift
[104/107] Compiling HealthCardAccess PSOAlgorithm.swift
[105/107] Compiling HealthCardAccess Password.swift
[106/107] Compiling HealthCardAccess ShortFileIdentifier.swift
[107/107] Compiling HealthCardAccess Data+Normalize.swift
[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 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 {
[112/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 {
[113/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)
[114/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)
[115/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 |
[116/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 |
[117/130] Compiling HealthCardControl KeyDerivationFunction.swift
[118/130] Compiling HealthCardControl Logger.swift
[119/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,
[120/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,
[121/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,
[122/130] Compiling HealthCardControl CardChannelType+CardAID.swift
[123/130] Compiling HealthCardControl CardChannelType+CardAccess.swift
[124/130] Compiling HealthCardControl AES.swift
[125/130] Compiling HealthCardControl Data+Secure.swift
[126/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 |
[127/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 |
[128/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 |
[129/130] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[130/130] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[131/140] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[132/140] Compiling NFCCardReaderProvider CoreNFCError.swift
[133/140] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
[134/140] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[135/140] Compiling NFCCardReaderProvider NFCCard.swift
[136/140] Compiling NFCCardReaderProvider Logger.swift
[137/140] Compiling NFCCardReaderProvider NFCCardChannel.swift
[138/140] Compiling NFCCardReaderProvider NFCCardError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/140] Compiling NFCCardReaderProvider Data+Hex.swift
[140/140] Emitting module NFCCardReaderProvider
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching https://github.com/gematik/ASN1Kit.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1208] Fetching asn1kit
[38/2091] Fetching asn1kit, openssl-swift
[100/4140] Fetching asn1kit, openssl-swift, swift-docc-plugin
Fetched https://github.com/gematik/OpenSSL-Swift from cache (1.17s)
Fetched https://github.com/gematik/ASN1Kit.git from cache (1.17s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.18s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (2.16s)
Fetching http://github.com/Carthage/Commandant
[1/2329] Fetching commandant
Fetched http://github.com/Carthage/Commandant from cache (0.92s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (1.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.78s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.43s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.4.1 (0.56s)
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.4.1
Creating working copy for https://github.com/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.4.1/OpenSSL.xcframework.zip
[32750/12821385] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.4.1/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.4.1/OpenSSL.xcframework.zip (1.83s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/32] Emitting module Helper
[5/32] Compiling Helper CommandLogger.swift
[6/32] Emitting module ASN1Kit
[7/49] Compiling ASN1Kit Int+Length.swift
[8/49] Compiling ASN1Kit OutputStream+UInt8.swift
[9/49] Compiling ASN1Kit ASN1Error.swift
[10/49] Compiling ASN1Kit ASN1Int.swift
[11/49] Compiling ASN1Kit ASN1Object.swift
[12/49] Compiling ASN1Kit ASN1Tag.swift
[13/49] Compiling ASN1Kit DataScanner.swift
[14/49] Compiling ASN1Kit Data+Hex.swift
[15/49] Compiling CardReaderProviderApi CardType.swift
[16/49] Compiling CardReaderProviderApi APDU.swift
[17/49] Compiling CardReaderProviderApi CommandType+APDU.swift
[18/49] Compiling ASN1Kit Array+ASN1Encoding.swift
[19/49] Compiling ASN1Kit Bool+ASN1Encoding.swift
[20/49] Compiling ASN1Kit Data+ASN1Encoding.swift
[21/49] Compiling CardReaderProviderApi CardChannelType.swift
[22/49] Compiling CardReaderProviderApi CardError.swift
[23/49] Compiling CardReaderProviderApi CardProtocol.swift
[24/49] Compiling CardReaderProviderApi CardReaderControllerType.swift
[25/50] Compiling ASN1Kit String+Subscript.swift
[26/50] Compiling ASN1Kit UInt+TagNo.swift
[27/50] Compiling CardReaderProviderApi ProviderDescriptor.swift
[28/50] Compiling CardReaderProviderApi CardReaderProviderType.swift
[29/50] Compiling CardReaderProviderApi ProviderDescriptorType.swift
[30/50] Compiling ASN1Kit Date+ASN1Encoding.swift
[31/50] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[32/50] Compiling ASN1Kit Int+ASN1Encoding.swift
[33/50] Emitting module CardReaderProviderApi
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/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)
[36/50] Compiling CardReaderProviderApi ResponseType+APDU.swift
[37/50] Compiling CardReaderProviderApi ResponseType.swift
[38/50] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
[39/50] Compiling CardReaderProviderApi CommandType.swift
[44/50] Compiling CardReaderProviderApi CardReaderType.swift
[49/50] Compiling ASN1Kit ASN1CodableType.swift
[50/50] Compiling ASN1Kit ASN1Object+Encoding.swift
[51/53] Compiling CardReaderAccess Swift+Reflection.swift
[52/53] Emitting module CardReaderAccess
[53/53] Compiling CardReaderAccess CardReaderControllerManager.swift
[54/95] Compiling HealthCardAccess ApplicationIdentifier.swift
[55/95] Compiling HealthCardAccess CardItemType.swift
[56/95] Compiling HealthCardAccess CardKeyReferenceType.swift
[57/95] Compiling HealthCardAccess CardObjectIdentifierType.swift
[58/95] Compiling HealthCardAccess DedicatedFile.swift
[59/99] Emitting module HealthCardAccess
[60/99] Compiling HealthCardAccess ECCurveInfo.swift
[61/99] Compiling HealthCardAccess SignatureAlgorithm.swift
[62/99] Compiling HealthCardAccess HealthCardResponse.swift
[63/99] Compiling HealthCardAccess ResponseStatus.swift
[64/99] Compiling HealthCardAccess EgkFileSystem.swift
[65/99] Compiling HealthCardAccess HbaFileSystem.swift
[66/99] Compiling HealthCardAccess HealthCardFileSystemType.swift
[67/99] Compiling HealthCardAccess SmcbFileSystem.swift
[68/99] Compiling HealthCardAccess HealthCardPropertyType.swift
[69/99] Compiling HealthCardAccess HealthCardResponseType.swift
[70/99] Compiling HealthCardAccess HealthCardStatus.swift
[71/99] Compiling HealthCardAccess HealthCardType.swift
[72/99] Compiling HealthCardAccess HealthCardCommand+AccessStructuredData.swift
[73/99] Compiling HealthCardAccess HealthCardCommand+AccessTransparentData.swift
[74/99] Compiling HealthCardAccess HealthCardCommand+Authentication.swift
[75/99] Compiling HealthCardAccess HealthCardCommand+ManageSE.swift
[76/99] Compiling HealthCardAccess HealthCardCommand+Misc.swift
[77/99] Compiling HealthCardAccess Data+Hex.swift
[78/99] Compiling HealthCardAccess UInt8+Data.swift
[79/99] Compiling HealthCardAccess HealthCard.swift
[80/99] Compiling HealthCardAccess HealthCardCommandType.swift
[81/99] Compiling HealthCardAccess CAN.swift
[82/99] Compiling HealthCardAccess CardGeneration.swift
[83/99] Compiling HealthCardAccess CardVersion2.swift
[84/99] Compiling HealthCardAccess CertificateInfo.swift
[85/99] Compiling HealthCardAccess Key.swift
[86/99] Compiling HealthCardAccess PSOAlgorithm.swift
[87/99] Compiling HealthCardAccess Password.swift
[88/99] Compiling HealthCardAccess ShortFileIdentifier.swift
[89/99] Compiling HealthCardAccess Data+Normalize.swift
[90/99] Compiling HealthCardAccess HealthCardCommand+ObjectSystemManagement.swift
[91/99] Compiling HealthCardAccess HealthCardCommand+PerfomSecurityOperation.swift
[92/99] Compiling HealthCardAccess HealthCardCommand+UserVerification.swift
[93/99] Compiling HealthCardAccess HealthCardCommand.swift
[94/99] Compiling HealthCardAccess HealthCardCommandBuilder.swift
[95/99] Compiling HealthCardAccess ElementaryFile.swift
[96/99] Compiling HealthCardAccess FileControlParameter.swift
[97/99] Compiling HealthCardAccess FileIdentifier.swift
[98/99] Compiling HealthCardAccess Format2Pin.swift
[99/99] Compiling HealthCardAccess GemCvCertificate.swift
[100/120] Emitting module HealthCardControl
[101/122] Compiling HealthCardControl SecureHealthCard.swift
[102/122] Compiling HealthCardControl SecureMessaging.swift
[103/122] Compiling HealthCardControl AES.swift
[104/122] Compiling HealthCardControl Data+Secure.swift
[105/122] Compiling HealthCardControl CardChannelType+Version.swift
[106/122] Compiling HealthCardControl HealthCard+Error.swift
[107/122] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
[108/122] Compiling HealthCardControl HealthCardType+VerifyPin.swift
[109/122] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
[110/122] Compiling HealthCardControl KeyDerivationFunction.swift
[111/122] Compiling HealthCardControl Logger.swift
[112/122] Compiling HealthCardControl HealthCardType+ReadFile.swift
[113/122] Compiling HealthCardControl AES128PaceKey.swift
[114/122] Compiling HealthCardControl CardChannelType+CardAID.swift
[115/122] Compiling HealthCardControl CardChannelType+CardAccess.swift
[116/122] Compiling HealthCardControl CardType+SecureMessaging.swift
[117/122] Compiling HealthCardControl Data+Hex.swift
[118/122] Compiling HealthCardControl HealthCardType+Authenticate.swift
[119/122] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
[120/122] Compiling HealthCardControl HealthCardType+ESIGN.swift
[121/122] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[122/122] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[123/132] Compiling NFCCardReaderProvider Logger.swift
[124/132] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[125/132] Compiling NFCCardReaderProvider NFCCardError.swift
[126/132] Compiling NFCCardReaderProvider CoreNFCError.swift
[127/132] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
[128/132] Compiling NFCCardReaderProvider NFCCard.swift
[129/132] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[130/132] Compiling NFCCardReaderProvider NFCCardChannel.swift
[131/132] Compiling NFCCardReaderProvider Data+Hex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[132/132] Emitting module NFCCardReaderProvider
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
BUILD FAILURE 6.1 macosSpm