Build Information
Failed to build Openhealthcardkit, reference main (20ea56
), with Swift 6.0 for macOS (SPM) on 3 Feb 2025 17:06:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
| |- note: annotate 'hcaVD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | /// MF/DF.HCA.EF.Verweis
64 | public static let hcaVerweis = ElementaryFile(fid: "D009", sfid: "09")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:64:27: warning: static property 'hcaVerweis' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
62 | public static let hcaVD = ElementaryFile(fid: "D002", sfid: "02")
63 | /// MF/DF.HCA.EF.Verweis
64 | public static let hcaVerweis = ElementaryFile(fid: "D009", sfid: "09")
| |- warning: static property 'hcaVerweis' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hcaVerweis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | /// MF/DF.ESIGN.EF.C.CH.AUT.R2048
66 | public static let esignCChAutR2048 = ElementaryFile(fid: "C500", sfid: "01")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:66:27: warning: static property 'esignCChAutR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
64 | public static let hcaVerweis = ElementaryFile(fid: "D009", sfid: "09")
65 | /// MF/DF.ESIGN.EF.C.CH.AUT.R2048
66 | public static let esignCChAutR2048 = ElementaryFile(fid: "C500", sfid: "01")
| |- warning: static property 'esignCChAutR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esignCChAutR2048' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | /// MF/DF.ESIGN.EF.C.CH.AUT.E256
68 | public static let esignCChAutE256 = ElementaryFile(fid: "C504", sfid: "04")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:68:27: warning: static property 'esignCChAutE256' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
66 | public static let esignCChAutR2048 = ElementaryFile(fid: "C500", sfid: "01")
67 | /// MF/DF.ESIGN.EF.C.CH.AUT.E256
68 | public static let esignCChAutE256 = ElementaryFile(fid: "C504", sfid: "04")
| |- warning: static property 'esignCChAutE256' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esignCChAutE256' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | /// MF/DF.ESIGN.EF.AUTN
70 | public static let esignCChAutnR2048 = ElementaryFile(fid: "C509", sfid: "09")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:70:27: warning: static property 'esignCChAutnR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
68 | public static let esignCChAutE256 = ElementaryFile(fid: "C504", sfid: "04")
69 | /// MF/DF.ESIGN.EF.AUTN
70 | public static let esignCChAutnR2048 = ElementaryFile(fid: "C509", sfid: "09")
| |- warning: static property 'esignCChAutnR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esignCChAutnR2048' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | /// MF/DF.ESIGN.EF.ENC
72 | public static let esignCChEncR2048 = ElementaryFile(fid: "C200", sfid: "02")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:72:27: warning: static property 'esignCChEncR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
70 | public static let esignCChAutnR2048 = ElementaryFile(fid: "C509", sfid: "09")
71 | /// MF/DF.ESIGN.EF.ENC
72 | public static let esignCChEncR2048 = ElementaryFile(fid: "C200", sfid: "02")
| |- warning: static property 'esignCChEncR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esignCChEncR2048' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | /// MF/DF.ESIGN.EF.ENCV
74 | public static let esignCChEncvR2048 = ElementaryFile(fid: "C50A", sfid: "0A")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:74:27: warning: static property 'esignCChEncvR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
72 | public static let esignCChEncR2048 = ElementaryFile(fid: "C200", sfid: "02")
73 | /// MF/DF.ESIGN.EF.ENCV
74 | public static let esignCChEncvR2048 = ElementaryFile(fid: "C50A", sfid: "0A")
| |- warning: static property 'esignCChEncvR2048' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esignCChEncvR2048' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | }
76 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:82:27: warning: static property 'MF' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
80 |
81 | /// MF (root)
82 | public static let MF = DedicatedFile(aid: "D2760001448000", // swiftlint:disable:this identifier_name
| |- warning: static property 'MF' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MF' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | fid: "3F00")
84 | /// MF/DF.HCA
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:85:27: warning: static property 'HCA' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
83 | fid: "3F00")
84 | /// MF/DF.HCA
85 | public static let HCA = DedicatedFile(aid: "D27600000102")
| |- warning: static property 'HCA' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HCA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | /// MF/DF.ESIGN
87 | public static let ESIGN = DedicatedFile(aid: "A000000167455349474E")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:87:27: warning: static property 'ESIGN' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
85 | public static let HCA = DedicatedFile(aid: "D27600000102")
86 | /// MF/DF.ESIGN
87 | public static let ESIGN = DedicatedFile(aid: "A000000167455349474E")
| |- warning: static property 'ESIGN' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ESIGN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | /// MF/DF.QES
89 | public static let QES = DedicatedFile(aid: "D27600006601")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:89:27: warning: static property 'QES' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
87 | public static let ESIGN = DedicatedFile(aid: "A000000167455349474E")
88 | /// MF/DF.QES
89 | public static let QES = DedicatedFile(aid: "D27600006601")
| |- warning: static property 'QES' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'QES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | /// MF/DF.NFD
91 | public static let NFD = DedicatedFile(aid: "D27600014407")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:91:27: warning: static property 'NFD' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
89 | public static let QES = DedicatedFile(aid: "D27600006601")
90 | /// MF/DF.NFD
91 | public static let NFD = DedicatedFile(aid: "D27600014407")
| |- warning: static property 'NFD' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NFD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | /// MF/DF.DPE
93 | public static let DPE = DedicatedFile(aid: "D27600014408")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:93:27: warning: static property 'DPE' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
91 | public static let NFD = DedicatedFile(aid: "D27600014407")
92 | /// MF/DF.DPE
93 | public static let DPE = DedicatedFile(aid: "D27600014408")
| |- warning: static property 'DPE' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DPE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | /// MF/DF.GDD
95 | public static let GDD = DedicatedFile(aid: "D2760001440A")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:95:27: warning: static property 'GDD' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
93 | public static let DPE = DedicatedFile(aid: "D27600014408")
94 | /// MF/DF.GDD
95 | public static let GDD = DedicatedFile(aid: "D2760001440A")
| |- warning: static property 'GDD' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'GDD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | /// MF/DF.OSE
97 | public static let OSE = DedicatedFile(aid: "D2760001440B")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:97:27: warning: static property 'OSE' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
95 | public static let GDD = DedicatedFile(aid: "D2760001440A")
96 | /// MF/DF.OSE
97 | public static let OSE = DedicatedFile(aid: "D2760001440B")
| |- warning: static property 'OSE' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OSE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | /// MF/DF.AMTS
99 | public static let AMTS = DedicatedFile(aid: "D2760001440C")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/EgkFileSystem.swift:99:27: warning: static property 'AMTS' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
97 | public static let OSE = DedicatedFile(aid: "D2760001440B")
98 | /// MF/DF.AMTS
99 | public static let AMTS = DedicatedFile(aid: "D2760001440C")
| |- warning: static property 'AMTS' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AMTS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:30:27: warning: static property 'atr' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// MF/EF.ATR: Transparent Elementary File - Answer to reset
30 | public static let atr = ElementaryFile(fid: "2F01", sfid: "1D")
| |- warning: static property 'atr' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'atr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | /// MF/EF.CardAccess
32 | public static let cardAccess = ElementaryFile(fid: "011C", sfid: "1C")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:32:27: warning: static property 'cardAccess' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public static let atr = ElementaryFile(fid: "2F01", sfid: "1D")
31 | /// MF/EF.CardAccess
32 | public static let cardAccess = ElementaryFile(fid: "011C", sfid: "1C")
| |- warning: static property 'cardAccess' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cardAccess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | /// MF/EF.DIR: Linear variable Elementary File - list application templates
34 | public static let dir = ElementaryFile(fid: "2F00", sfid: "1E")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:34:27: warning: static property 'dir' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public static let cardAccess = ElementaryFile(fid: "011C", sfid: "1C")
33 | /// MF/EF.DIR: Linear variable Elementary File - list application templates
34 | public static let dir = ElementaryFile(fid: "2F00", sfid: "1E")
| |- warning: static property 'dir' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dir' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | /// MF/EF.GDO: Transparent Elementary File
36 | public static let gdo = ElementaryFile(fid: "2F02", sfid: "02")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:36:27: warning: static property 'gdo' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let dir = ElementaryFile(fid: "2F00", sfid: "1E")
35 | /// MF/EF.GDO: Transparent Elementary File
36 | public static let gdo = ElementaryFile(fid: "2F02", sfid: "02")
| |- warning: static property 'gdo' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gdo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | /// MF/EF.VERSION2
38 | public static let version2 = ElementaryFile(fid: "2F11", sfid: "11")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:38:27: warning: static property 'version2' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
36 | public static let gdo = ElementaryFile(fid: "2F02", sfid: "02")
37 | /// MF/EF.VERSION2
38 | public static let version2 = ElementaryFile(fid: "2F11", sfid: "11")
| |- warning: static property 'version2' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'version2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ElementaryFile.swift:20:15: note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
18 |
19 | /// EF: Elementary File
20 | public struct ElementaryFile: CardItemType {
| `- note: consider making struct 'ElementaryFile' conform to the 'Sendable' protocol
21 | public let fid: FileIdentifier
22 | public let sfid: ShortFileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:46:27: warning: static property 'MF' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// MF (root)
46 | public static let MF = DedicatedFile(aid: "D27600014601", fid: "3F00") // swiftlint:disable:this identifier_name
| |- warning: static property 'MF' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MF' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | /// MF/DF.HPA
48 | public static let HPA = DedicatedFile(aid: "D27600014602")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:48:27: warning: static property 'HPA' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
46 | public static let MF = DedicatedFile(aid: "D27600014601", fid: "3F00") // swiftlint:disable:this identifier_name
47 | /// MF/DF.HPA
48 | public static let HPA = DedicatedFile(aid: "D27600014602")
| |- warning: static property 'HPA' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HPA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | /// MF/DF.QES
50 | public static let QES = DedicatedFile(aid: "D27600006601")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:50:27: warning: static property 'QES' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let HPA = DedicatedFile(aid: "D27600014602")
49 | /// MF/DF.QES
50 | public static let QES = DedicatedFile(aid: "D27600006601")
| |- warning: static property 'QES' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'QES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// MF/DF.ESIGN
52 | public static let ESIGN = DedicatedFile(aid: "A000000167455349474E")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:52:27: warning: static property 'ESIGN' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let QES = DedicatedFile(aid: "D27600006601")
51 | /// MF/DF.ESIGN
52 | public static let ESIGN = DedicatedFile(aid: "A000000167455349474E")
| |- warning: static property 'ESIGN' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ESIGN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// MF/DF.CIA.QES
54 | public static let CIAQES = DedicatedFile(aid: "'E828BD080FD27600006601")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:54:27: warning: static property 'CIAQES' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
52 | public static let ESIGN = DedicatedFile(aid: "A000000167455349474E")
53 | /// MF/DF.CIA.QES
54 | public static let CIAQES = DedicatedFile(aid: "'E828BD080FD27600006601")
| |- warning: static property 'CIAQES' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CIAQES' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | /// MF/DF.CIA.ESIGN
56 | public static let CIAESIGN = DedicatedFile(aid: "'E828BD080FA000000167455349474E")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:56:27: warning: static property 'CIAESIGN' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
54 | public static let CIAQES = DedicatedFile(aid: "'E828BD080FD27600006601")
55 | /// MF/DF.CIA.ESIGN
56 | public static let CIAESIGN = DedicatedFile(aid: "'E828BD080FA000000167455349474E")
| |- warning: static property 'CIAESIGN' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'CIAESIGN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | /// MF/DF.AUTO
58 | public static let AUTO = DedicatedFile(aid: "D27600014603")
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/HealthCards/CardFileSystem/HbaFileSystem.swift:58:27: warning: static property 'AUTO' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
56 | public static let CIAESIGN = DedicatedFile(aid: "'E828BD080FA000000167455349474E")
57 | /// MF/DF.AUTO
58 | public static let AUTO = DedicatedFile(aid: "D27600014603")
| |- warning: static property 'AUTO' is not concurrency-safe because non-'Sendable' type 'DedicatedFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AUTO' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/DedicatedFile.swift:20:15: note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
18 |
19 | /// DF: Dedicated file
20 | public struct DedicatedFile: CardItemType {
| `- note: consider making struct 'DedicatedFile' conform to the 'Sendable' protocol
21 | public let aid: ApplicationIdentifier
22 | public let fid: FileIdentifier?
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:26:14: warning: associated value 'unsupportedKeyType(oid:)' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
24 | case invalidSecKey
25 | case missingParameters
26 | case unsupportedKeyType(oid: ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyType(oid:)' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
27 | case unsupportedArgument(oid: ASN1Kit.ObjectIdentifier)
28 | case invalidKeySize(Int)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.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/Models/ECCurveInfo.swift:27:14: warning: associated value 'unsupportedArgument(oid:)' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
25 | case missingParameters
26 | case unsupportedKeyType(oid: ASN1Kit.ObjectIdentifier)
27 | case unsupportedArgument(oid: ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedArgument(oid:)' of 'Sendable'-conforming enum 'InvalidArgument' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
28 | case invalidKeySize(Int)
29 | case invalidSignature
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:116:16: warning: static property 'ecCurves' is not concurrency-safe because non-'Sendable' type '[ECCurveInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
20 | typealias ECCurve = (info: ECCurveInfo, publicKey: Data)
21 |
22 | struct ECCurveInfo {
| `- note: consider making struct 'ECCurveInfo' conform to the 'Sendable' protocol
23 | enum InvalidArgument: Swift.Error, Equatable {
24 | case invalidSecKey
:
114 |
115 | /// Key-Value array with supported EC info
116 | static let ecCurves: [ECCurveInfo] = [
| |- warning: static property 'ecCurves' is not concurrency-safe because non-'Sendable' type '[ECCurveInfo]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ecCurves' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | ansix9p256r1,
118 | ansix9p384r1,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:127:5: warning: let 'ansix9p256r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
20 | typealias ECCurve = (info: ECCurveInfo, publicKey: Data)
21 |
22 | struct ECCurveInfo {
| `- note: consider making struct 'ECCurveInfo' conform to the 'Sendable' protocol
23 | enum InvalidArgument: Swift.Error, Equatable {
24 | case invalidSecKey
:
125 | // swiftlint:disable force_try
126 | let ECPublicKeyOID = try! ObjectIdentifier.from(string: "1.2.840.10045.2.1")
127 | let ansix9p256r1 = try! ECCurveInfo("1.2.840.10045.3.1.7", 32, 64)
| |- warning: let 'ansix9p256r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ansix9p256r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | let ansix9p384r1 = try! ECCurveInfo("1.3.132.0.34", 48, 96)
129 | let brainpoolP256r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.7", 32, 64)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:128:5: warning: let 'ansix9p384r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
20 | typealias ECCurve = (info: ECCurveInfo, publicKey: Data)
21 |
22 | struct ECCurveInfo {
| `- note: consider making struct 'ECCurveInfo' conform to the 'Sendable' protocol
23 | enum InvalidArgument: Swift.Error, Equatable {
24 | case invalidSecKey
:
126 | let ECPublicKeyOID = try! ObjectIdentifier.from(string: "1.2.840.10045.2.1")
127 | let ansix9p256r1 = try! ECCurveInfo("1.2.840.10045.3.1.7", 32, 64)
128 | let ansix9p384r1 = try! ECCurveInfo("1.3.132.0.34", 48, 96)
| |- warning: let 'ansix9p384r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ansix9p384r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | let brainpoolP256r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.7", 32, 64)
130 | let brainpoolP384r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.11", 48, 96)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:129:5: warning: let 'brainpoolP256r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
20 | typealias ECCurve = (info: ECCurveInfo, publicKey: Data)
21 |
22 | struct ECCurveInfo {
| `- note: consider making struct 'ECCurveInfo' conform to the 'Sendable' protocol
23 | enum InvalidArgument: Swift.Error, Equatable {
24 | case invalidSecKey
:
127 | let ansix9p256r1 = try! ECCurveInfo("1.2.840.10045.3.1.7", 32, 64)
128 | let ansix9p384r1 = try! ECCurveInfo("1.3.132.0.34", 48, 96)
129 | let brainpoolP256r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.7", 32, 64)
| |- warning: let 'brainpoolP256r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'brainpoolP256r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | let brainpoolP384r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.11", 48, 96)
131 | let brainpoolP512r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.13", 64, 128)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:130:5: warning: let 'brainpoolP384r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
20 | typealias ECCurve = (info: ECCurveInfo, publicKey: Data)
21 |
22 | struct ECCurveInfo {
| `- note: consider making struct 'ECCurveInfo' conform to the 'Sendable' protocol
23 | enum InvalidArgument: Swift.Error, Equatable {
24 | case invalidSecKey
:
128 | let ansix9p384r1 = try! ECCurveInfo("1.3.132.0.34", 48, 96)
129 | let brainpoolP256r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.7", 32, 64)
130 | let brainpoolP384r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.11", 48, 96)
| |- warning: let 'brainpoolP384r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'brainpoolP384r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | let brainpoolP512r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.13", 64, 128)
132 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:131:5: warning: let 'brainpoolP512r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
20 | typealias ECCurve = (info: ECCurveInfo, publicKey: Data)
21 |
22 | struct ECCurveInfo {
| `- note: consider making struct 'ECCurveInfo' conform to the 'Sendable' protocol
23 | enum InvalidArgument: Swift.Error, Equatable {
24 | case invalidSecKey
:
129 | let brainpoolP256r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.7", 32, 64)
130 | let brainpoolP384r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.11", 48, 96)
131 | let brainpoolP512r1 = try! ECCurveInfo("1.3.36.3.3.2.8.1.1.13", 64, 128)
| |- warning: let 'brainpoolP512r1' is not concurrency-safe because non-'Sendable' type 'ECCurveInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'brainpoolP512r1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/ECCurveInfo.swift:126:5: warning: let 'ECPublicKeyOID' is not concurrency-safe because non-'Sendable' type 'ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | // swiftlint:disable force_try
126 | let ECPublicKeyOID = try! ObjectIdentifier.from(string: "1.2.840.10045.2.1")
| |- warning: let 'ECPublicKeyOID' is not concurrency-safe because non-'Sendable' type 'ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ECPublicKeyOID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | let ansix9p256r1 = try! ECCurveInfo("1.2.840.10045.3.1.7", 32, 64)
128 | let ansix9p384r1 = try! ECCurveInfo("1.3.132.0.34", 48, 96)
/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 |
[108/128] Compiling HealthCardControl CardChannelType+CardAID.swift
[109/128] Compiling HealthCardControl CardChannelType+CardAccess.swift
[110/130] Compiling HealthCardControl HealthCardType+Authenticate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[111/130] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[112/130] Compiling HealthCardControl HealthCardType+ESIGN.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> ChangeReferenceDataResponse {
125 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
127 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificatePublisher() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:123:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
121 | /// and ESignInfo associated to it
122 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
123 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
124 | let expectedFcpLength = currentCardChannel.maxResponseLength
125 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[113/130] Compiling HealthCardControl KeyDerivationFunction.swift
[114/130] Compiling HealthCardControl Logger.swift
[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 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 {
[118/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 {
[119/130] Emitting module HealthCardControl
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
[120/130] Compiling HealthCardControl SecureHealthCard.swift
[121/130] Compiling HealthCardControl SecureMessaging.swift
[122/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)
[123/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)
[124/130] Compiling HealthCardControl AES.swift
[125/130] Compiling HealthCardControl Data+Secure.swift
[126/130] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[127/130] Compiling HealthCardControl HealthCardType+VerifyPin.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[128/130] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:125:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | dfSpecific: Bool = false
124 | ) async throws -> VerifyPinResponse {
125 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
126 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
127 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[129/130] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[130/130] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:253:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
251 | }
252 | .flatMap {
253 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
254 | }
255 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:291:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
289 | .setFailureType(to: Swift.Error.self)
290 | .flatMap {
291 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
292 | }
293 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:354:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
352 | }
353 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
354 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
355 | .tryMap { pk1PiccResponse in
356 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:412:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
410 | }
411 | .flatMap {
412 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
413 | }
414 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:472:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
470 | }
471 | .flatMap {
472 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
473 | }
474 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:61:45: warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
59 | )
60 | let encryptedCommand = try session.encrypt(command: command)
61 | let encryptedResponse = try channel.transmitPublisher(command: encryptedCommand,
| `- warning: 'transmitPublisher(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
62 | writeTimeout: writeTimeout,
63 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:57:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
56 | // we only log the header bytes to prevent logging user's PIN
57 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
59 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:67:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | Logger.healthCardControl
66 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
67 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
68 | Command(
69 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:83:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
82 | // we only log the header bytes to prevent logging user's PIN
83 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:95:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | Logger.healthCardControl
94 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
95 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | Command(
97 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:106:21: warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
104 | func closePublisher() throws {
105 | session.invalidate()
106 | try channel.closePublisher()
| `- warning: 'closePublisher()' is deprecated: Use structured concurrency version instead
107 | }
108 |
[131/140] Compiling NFCCardReaderProvider NFCTagReaderSession+Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
[132/140] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[133/140] Compiling NFCCardReaderProvider Logger.swift
[134/140] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[135/140] Compiling NFCCardReaderProvider CoreNFCError.swift
[136/140] Compiling NFCCardReaderProvider NFCCardChannel.swift
[137/140] Compiling NFCCardReaderProvider NFCCard.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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/32] Emitting module Helper
[5/32] Compiling Helper CommandLogger.swift
[6/32] Compiling ASN1Kit ASN1Error.swift
[7/32] Compiling ASN1Kit ASN1Int.swift
[8/32] Compiling ASN1Kit ASN1Object.swift
[9/34] Emitting module ASN1Kit
[10/49] Compiling CardReaderProviderApi CardChannelType.swift
[11/49] Compiling CardReaderProviderApi CardError.swift
[12/49] Compiling CardReaderProviderApi CardProtocol.swift
[13/49] Compiling ASN1Kit Int+Length.swift
[14/49] Compiling ASN1Kit OutputStream+UInt8.swift
[15/49] Compiling ASN1Kit ASN1Primitive+Description.swift
[16/49] Compiling ASN1Kit Data+ASN1Int.swift
[17/49] Compiling ASN1Kit Data+UInt.swift
[18/49] Compiling ASN1Kit String+Subscript.swift
[19/49] Compiling ASN1Kit UInt+TagNo.swift
[20/49] Compiling CardReaderProviderApi APDU.swift
[21/49] Compiling CardReaderProviderApi CommandType+APDU.swift
[22/49] Compiling CardReaderProviderApi ResponseType+APDU.swift
[23/49] Compiling CardReaderProviderApi ResponseType.swift
[24/49] Compiling ASN1Kit Bool+ASN1Encoding.swift
[25/49] Compiling ASN1Kit Data+ASN1Encoding.swift
[26/49] Compiling CardReaderProviderApi CardReaderControllerType.swift
[27/50] Compiling ASN1Kit ASN1Tag.swift
[28/50] Compiling ASN1Kit DataScanner.swift
[29/50] Compiling ASN1Kit Data+Hex.swift
[30/50] Compiling ASN1Kit Date+ASN1Encoding.swift
[31/50] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[32/50] Compiling ASN1Kit Int+ASN1Encoding.swift
[33/50] Compiling CardReaderProviderApi CardReaderProviderType.swift
[34/50] Compiling CardReaderProviderApi ProviderDescriptorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/CardReaderProviderApi/Card/CardError.swift:28:10: warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
26 | case illegalState(Error?)
27 | /// An ObjC NSException was thrown
28 | case objcError(NSException?)
| `- warning: associated value 'objcError' of 'Sendable'-conforming enum 'CardError' has non-sendable type 'NSException?'; this is an error in the Swift 6 language mode
29 | }
30 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[40/50] Compiling CardReaderProviderApi CardType.swift
[41/50] Compiling CardReaderProviderApi ProviderDescriptor.swift
[42/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)
[43/50] Compiling CardReaderProviderApi CommandType+LogicChannel.swift
[44/50] Compiling CardReaderProviderApi CommandType.swift
[47/50] Compiling CardReaderProviderApi CardReaderType.swift
[48/53] Compiling ASN1Kit ObjectIdentifier.swift
[49/53] Compiling ASN1Kit ASN1CodableType.swift
[50/53] Compiling ASN1Kit ASN1Object+Encoding.swift
[51/53] Compiling CardReaderAccess CardReaderControllerManager.swift
[52/53] Emitting module CardReaderAccess
[53/53] Compiling CardReaderAccess Swift+Reflection.swift
[54/95] Compiling HealthCardAccess EgkFileSystem.swift
[55/95] Compiling HealthCardAccess HbaFileSystem.swift
[56/95] Compiling HealthCardAccess HealthCardFileSystemType.swift
[57/95] Compiling HealthCardAccess SmcbFileSystem.swift
[58/99] Compiling HealthCardAccess ApplicationIdentifier.swift
[59/99] Compiling HealthCardAccess CardItemType.swift
[60/99] Compiling HealthCardAccess CardKeyReferenceType.swift
[61/99] Compiling HealthCardAccess CardObjectIdentifierType.swift
[62/99] Compiling HealthCardAccess DedicatedFile.swift
[63/99] Compiling HealthCardAccess CAN.swift
[64/99] Compiling HealthCardAccess CardGeneration.swift
[65/99] Compiling HealthCardAccess CardVersion2.swift
[66/99] Compiling HealthCardAccess CertificateInfo.swift
[67/99] Emitting module HealthCardAccess
[68/99] Compiling HealthCardAccess HealthCardCommand+AccessStructuredData.swift
[69/99] Compiling HealthCardAccess HealthCardCommand+AccessTransparentData.swift
[70/99] Compiling HealthCardAccess HealthCardCommand+Authentication.swift
[71/99] Compiling HealthCardAccess HealthCardCommand+ManageSE.swift
[72/99] Compiling HealthCardAccess HealthCardCommand+Misc.swift
[73/99] Compiling HealthCardAccess Key.swift
[74/99] Compiling HealthCardAccess PSOAlgorithm.swift
[75/99] Compiling HealthCardAccess Password.swift
[76/99] Compiling HealthCardAccess ShortFileIdentifier.swift
[77/99] Compiling HealthCardAccess Data+Normalize.swift
[78/99] Compiling HealthCardAccess Data+Hex.swift
[79/99] Compiling HealthCardAccess UInt8+Data.swift
[80/99] Compiling HealthCardAccess HealthCard.swift
[81/99] Compiling HealthCardAccess HealthCardCommandType.swift
[82/99] Compiling HealthCardAccess HealthCardCommand+ObjectSystemManagement.swift
[83/99] Compiling HealthCardAccess HealthCardCommand+PerfomSecurityOperation.swift
[84/99] Compiling HealthCardAccess HealthCardCommand+UserVerification.swift
[85/99] Compiling HealthCardAccess HealthCardCommand.swift
[86/99] Compiling HealthCardAccess HealthCardCommandBuilder.swift
[87/99] Compiling HealthCardAccess ElementaryFile.swift
[88/99] Compiling HealthCardAccess FileControlParameter.swift
[89/99] Compiling HealthCardAccess FileIdentifier.swift
[90/99] Compiling HealthCardAccess Format2Pin.swift
[91/99] Compiling HealthCardAccess GemCvCertificate.swift
[92/99] Compiling HealthCardAccess HealthCardPropertyType.swift
[93/99] Compiling HealthCardAccess HealthCardResponseType.swift
[94/99] Compiling HealthCardAccess HealthCardStatus.swift
[95/99] Compiling HealthCardAccess HealthCardType.swift
[96/99] Compiling HealthCardAccess ECCurveInfo.swift
[97/99] Compiling HealthCardAccess SignatureAlgorithm.swift
[98/99] Compiling HealthCardAccess HealthCardResponse.swift
[99/99] Compiling HealthCardAccess ResponseStatus.swift
[100/120] Emitting module HealthCardControl
[101/122] Compiling HealthCardControl KeyDerivationFunction.swift
[102/122] Compiling HealthCardControl Logger.swift
[103/122] Compiling HealthCardControl SecureHealthCard.swift
[104/122] Compiling HealthCardControl SecureMessaging.swift
[105/122] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
[106/122] Compiling HealthCardControl HealthCardType+VerifyPin.swift
[107/122] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
[108/122] Compiling HealthCardControl HealthCardType+Authenticate.swift
[109/122] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
[110/122] Compiling HealthCardControl HealthCardType+ESIGN.swift
[111/122] Compiling HealthCardControl CardType+SecureMessaging.swift
[112/122] Compiling HealthCardControl Data+Hex.swift
[113/122] Compiling HealthCardControl HealthCardType+ReadFile.swift
[114/122] Compiling HealthCardControl AES128PaceKey.swift
[115/122] Compiling HealthCardControl AES.swift
[116/122] Compiling HealthCardControl Data+Secure.swift
[117/122] Compiling HealthCardControl CardChannelType+CardAID.swift
[118/122] Compiling HealthCardControl CardChannelType+CardAccess.swift
[119/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 |
[120/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 |
[121/122] Compiling HealthCardControl CardChannelType+Version.swift
[122/122] Compiling HealthCardControl HealthCard+Error.swift
[123/132] Compiling NFCCardReaderProvider NFCHealthCardSession.swift
[124/132] Compiling NFCCardReaderProvider CoreNFCError.swift
[125/132] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[126/132] Compiling NFCCardReaderProvider NFCCardError.swift
[127/132] Compiling NFCCardReaderProvider NFCCardChannel.swift
[128/132] Compiling NFCCardReaderProvider Logger.swift
[129/132] Compiling NFCCardReaderProvider NFCCard.swift
[130/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[131/132] Compiling NFCCardReaderProvider Data+Hex.swift
[132/132] Emitting module NFCCardReaderProvider
/Users/admin/builder/spi-builder-workspace/Sources/NFCCardReaderProvider/Reader/NFCTagReaderSession+Publisher.swift:307:25: error: cannot find 'NSRecursiveLock' in scope
305 | class SynchronizedVar<T> {
306 | private var _value: T
307 | private let mutex = NSRecursiveLock()
| `- error: cannot find 'NSRecursiveLock' in scope
308 |
309 | /// Canonical constructor
BUILD FAILURE 6.0 macosSpm