Build Information
Failed to build Openhealthcardkit, reference main (423006
), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 23:44:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | /// MF/EF.VERSION2
42 | 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/EgkFileSystem.swift:42: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
40 | public static let version = ElementaryFile(fid: "2F10", sfid: "10")
41 | /// MF/EF.VERSION2
42 | 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
43 | /// MF/DF.NFD.EF.NFD
44 | public static let nfd = ElementaryFile(fid: "D010", sfid: "10")
/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:44:27: warning: static property 'nfd' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
42 | public static let version2 = ElementaryFile(fid: "2F11", sfid: "11")
43 | /// MF/DF.NFD.EF.NFD
44 | public static let nfd = ElementaryFile(fid: "D010", sfid: "10")
| |- warning: static property 'nfd' 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 '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
45 | /// MF/DF.HCA.EF.Einwilligung
46 | public static let hcaEinwilligung = ElementaryFile(fid: "D005", sfid: "05")
/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:46:27: warning: static property 'hcaEinwilligung' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
44 | public static let nfd = ElementaryFile(fid: "D010", sfid: "10")
45 | /// MF/DF.HCA.EF.Einwilligung
46 | public static let hcaEinwilligung = ElementaryFile(fid: "D005", sfid: "05")
| |- warning: static property 'hcaEinwilligung' 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 'hcaEinwilligung' 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.HCA.EF.GVD
48 | public static let hcaGVD = ElementaryFile(fid: "D003", sfid: "03")
/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:48:27: warning: static property 'hcaGVD' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
46 | public static let hcaEinwilligung = ElementaryFile(fid: "D005", sfid: "05")
47 | /// MF/DF.HCA.EF.GVD
48 | public static let hcaGVD = ElementaryFile(fid: "D003", sfid: "03")
| |- warning: static property 'hcaGVD' 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 'hcaGVD' 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.HCA.EF.Logging
50 | public static let hcaLogging = ElementaryFile(fid: "D006", sfid: "06")
/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:50:27: warning: static property 'hcaLogging' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let hcaGVD = ElementaryFile(fid: "D003", sfid: "03")
49 | /// MF/DF.HCA.EF.Logging
50 | public static let hcaLogging = ElementaryFile(fid: "D006", sfid: "06")
| |- warning: static property 'hcaLogging' 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 'hcaLogging' 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.HCA.EF.PD
52 | public static let hcaPD = ElementaryFile(fid: "D001", 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:52:27: warning: static property 'hcaPD' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let hcaLogging = ElementaryFile(fid: "D006", sfid: "06")
51 | /// MF/DF.HCA.EF.PD
52 | public static let hcaPD = ElementaryFile(fid: "D001", sfid: "01")
| |- warning: static property 'hcaPD' 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 'hcaPD' 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.HCA.EF.Prüfungsnachweis
54 | public static let hcaPruefungsnachweis = ElementaryFile(fid: "D01C", 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/EgkFileSystem.swift:54:27: warning: static property 'hcaPruefungsnachweis' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
52 | public static let hcaPD = ElementaryFile(fid: "D001", sfid: "01")
53 | /// MF/DF.HCA.EF.Prüfungsnachweis
54 | public static let hcaPruefungsnachweis = ElementaryFile(fid: "D01C", sfid: "1C")
| |- warning: static property 'hcaPruefungsnachweis' 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 'hcaPruefungsnachweis' 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.HCA.EF.Standalone
56 | public static let hcaStandalone = ElementaryFile(fid: "DA0A", 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:56:27: warning: static property 'hcaStandalone' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
54 | public static let hcaPruefungsnachweis = ElementaryFile(fid: "D01C", sfid: "1C")
55 | /// MF/DF.HCA.EF.Standalone
56 | public static let hcaStandalone = ElementaryFile(fid: "DA0A", sfid: "0A")
| |- warning: static property 'hcaStandalone' 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 'hcaStandalone' 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.HCA.EF.StatusVD
58 | public static let hcaStatusVD = ElementaryFile(fid: "D00C", sfid: "0C")
/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:58:27: warning: static property 'hcaStatusVD' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
56 | public static let hcaStandalone = ElementaryFile(fid: "DA0A", sfid: "0A")
57 | /// MF/DF.HCA.EF.StatusVD
58 | public static let hcaStatusVD = ElementaryFile(fid: "D00C", sfid: "0C")
| |- warning: static property 'hcaStatusVD' 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 'hcaStatusVD' 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 | /// MF/DF.HCA.EF.TTN
60 | public static let hcaTTN = ElementaryFile(fid: "D00F", sfid: "0F")
/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:60:27: warning: static property 'hcaTTN' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
58 | public static let hcaStatusVD = ElementaryFile(fid: "D00C", sfid: "0C")
59 | /// MF/DF.HCA.EF.TTN
60 | public static let hcaTTN = ElementaryFile(fid: "D00F", sfid: "0F")
| |- warning: static property 'hcaTTN' 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 'hcaTTN' 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
61 | /// MF/DF.HCA.EF.VD
62 | public static let hcaVD = ElementaryFile(fid: "D002", 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:62:27: warning: static property 'hcaVD' is not concurrency-safe because non-'Sendable' type 'ElementaryFile' may have shared mutable state; this is an error in the Swift 6 language mode
60 | public static let hcaTTN = ElementaryFile(fid: "D00F", sfid: "0F")
61 | /// MF/DF.HCA.EF.VD
62 | public static let hcaVD = ElementaryFile(fid: "D002", sfid: "02")
| |- warning: static property 'hcaVD' 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 '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] Emitting module HealthCardControl
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:25:10: warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | public enum ReadError: Swift.Error, Equatable {
24 | /// The response status did not match the expected response status
25 | case unexpectedResponse(state: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 | import Combine
19 | import Foundation
20 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
21 |
22 | /// Domain error cases for Reading files from a `HealthCardType` e.g. `CardChannelType`
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:27:10: warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(state: ResponseStatus)
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
| `- warning: associated value 'noData(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
28 | case fcpMissingReadSize(state: ResponseStatus)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:28:10: warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// No data has been returned
27 | case noData(state: ResponseStatus)
28 | case fcpMissingReadSize(state: ResponseStatus)
| `- warning: associated value 'fcpMissingReadSize(state:)' of 'Sendable'-conforming enum 'ReadError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:32:10: warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
30 |
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectAid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'FileIdentifier'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/FileIdentifier.swift:20:15: note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
18 |
19 | /// File Identifier - gemSpec_COS 8.1.1 #N006.700, N006.900
20 | public struct FileIdentifier: CardObjectIdentifierType {
| `- note: struct 'FileIdentifier' does not conform to the 'Sendable' protocol
21 | /// FileIdentifier initialization error type
22 | public enum Error: Swift.Error, Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCardType+ReadFile.swift:33:10: warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
31 | public enum SelectError: Swift.Error, Equatable {
32 | case failedToSelectAid(_: ApplicationIdentifier, status: ResponseStatus?)
33 | case failedToSelectFid(_: FileIdentifier, status: ResponseStatus?)
| `- warning: associated value 'failedToSelectFid(_:status:)' of 'Sendable'-conforming enum 'SelectError' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
[109/130] Compiling HealthCardControl CardChannelType+Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
[110/130] Compiling HealthCardControl HealthCard+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
16 |
17 | import Foundation
18 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
19 |
20 | extension HealthCard {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:25:14: warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
23 | case operational
24 | /// Underlying card responds with an unexpected status
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
| `- warning: associated value 'unexpectedResponse(actual:expected:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ResponseStatus'; this is an error in the Swift 6 language mode
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:27:14: warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
25 | case unexpectedResponse(actual: ResponseStatus, expected: ResponseStatus)
26 | /// The application identifier was not found or recognized
27 | case unknownCardType(aid: ApplicationIdentifier?)
| `- warning: associated value 'unknownCardType(aid:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ApplicationIdentifier'; this is an error in the Swift 6 language mode
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/CardObjects/ApplicationIdentifier.swift:22:15: note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
20 | /// E.g. using any 'random' String as function parameter where a AID is expected
21 | /// - Note: see also gemSpec_COS#N010.200
22 | public struct ApplicationIdentifier: CardObjectIdentifierType {
| `- note: struct 'ApplicationIdentifier' does not conform to the 'Sendable' protocol
23 | public enum Error: Swift.Error, Equatable {
24 | case illegalArgument(String)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Operations/HealthCard+Error.swift:29:14: warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
27 | case unknownCardType(aid: ApplicationIdentifier?)
28 | /// When the CardVersion2 file could not be read/parsed
29 | case illegalGeneration(version: CardVersion2)
| `- warning: associated value 'illegalGeneration(version:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'CardVersion2'; this is an error in the Swift 6 language mode
30 | /// Unsupported card type
31 | case unsupportedCardType
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Models/CardVersion2.swift:22:15: note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
20 | /// Represent the CardVersion2 information of HealthCard
21 | /// gemSpec_Karten_Fach_TIP_G2_1_3_0_0 #2.3 EF.Version2
22 | public struct CardVersion2 {
| `- note: struct 'CardVersion2' does not conform to the 'Sendable' protocol
23 | /// CardVersion2 Error
24 | public enum Error: Swift.Error {
[111/130] Compiling HealthCardControl AES.swift
[112/130] Compiling HealthCardControl Data+Secure.swift
[113/130] Compiling HealthCardControl CardType+SecureMessaging.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:39:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public func openSecureSession(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
38 | -> AnyPublisher<HealthCardType, Error> {
39 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
41 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:93:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | readTimeout: TimeInterval = 30
92 | ) async throws -> SecureHealthCardType {
93 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | let channel = try openBasicChannel()
95 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[114/130] Compiling HealthCardControl Data+Hex.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:39:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | public func openSecureSession(can: CAN, writeTimeout: TimeInterval = 30, readTimeout: TimeInterval = 30)
38 | -> AnyPublisher<HealthCardType, Error> {
39 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | return Deferred { () -> AnyPublisher<CardChannelType, Error> in
41 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/CardType+SecureMessaging.swift:93:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | readTimeout: TimeInterval = 30
92 | ) async throws -> SecureHealthCardType {
93 | CommandLogger.commands.append(Command(message: "Open secure Session", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | let channel = try openBasicChannel()
95 | // Read/Determine ApplicationIdentifier of the card's initial application
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[115/130] Compiling HealthCardControl HealthCardType+Authenticate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:107:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | dfSpecific: Bool = false
106 | ) async throws -> ChangeReferenceDataResponse {
107 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
109 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificate() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:115:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | /// and ESignInfo associated to it
114 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
115 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | let expectedFcpLength = currentCardChannel.maxResponseLength
117 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[116/130] Compiling HealthCardControl HealthCardType+ChangeReferenceData.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:107:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | dfSpecific: Bool = false
106 | ) async throws -> ChangeReferenceDataResponse {
107 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
109 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificate() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:115:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | /// and ESignInfo associated to it
114 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
115 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | let expectedFcpLength = currentCardChannel.maxResponseLength
117 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[117/130] Compiling HealthCardControl HealthCardType+ESIGN.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ChangeReferenceDataResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ChangeReferenceData.swift:107:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | dfSpecific: Bool = false
106 | ) async throws -> ChangeReferenceDataResponse {
107 | CommandLogger.commands.append(Command(message: "Change Reference Data: Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | let parameters = (password: type.rawValue, dfSpecific: dfSpecific, old: old, new: new)
109 | let changeReferenceDataCommand = try HealthCardCommand.ChangeReferenceData.change(password: parameters)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:86:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | @available(*, deprecated, message: "Use structured concurrency version instead")
85 | public func readAutCertificate() -> AnyPublisher<AutCertificateResponse, Error> {
86 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let expectedFcpLength = currentCardChannel.maxResponseLength
88 | return Deferred { () -> AnyPublisher<AutCertificateResponse, Error> in
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ESIGN.swift:115:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | /// and ESignInfo associated to it
114 | public func readAutCertificateAsync() async throws -> AutCertificateResponse {
115 | CommandLogger.commands.append(Command(message: "Read Auth Certificate", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | let expectedFcpLength = currentCardChannel.maxResponseLength
117 | guard let info = self.status.type?.autCertInfo else {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[118/130] Compiling HealthCardControl CardChannelType+CardAID.swift
[119/130] Compiling HealthCardControl CardChannelType+CardAccess.swift
[120/130] Compiling HealthCardControl SecureHealthCard.swift
[121/130] Compiling HealthCardControl SecureMessaging.swift
[122/130] Compiling HealthCardControl KeyDerivationFunction.swift
[123/130] Compiling HealthCardControl Logger.swift
[124/130] Compiling HealthCardControl KeyAgreement.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:231:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
229 | }
230 | .flatMap {
231 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
232 | }
233 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:269:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
267 | .setFailureType(to: Swift.Error.self)
268 | .flatMap {
269 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
270 | }
271 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:332:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
330 | }
331 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
332 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
333 | .tryMap { pk1PiccResponse in
334 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:390:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
388 | }
389 | .flatMap {
390 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
391 | }
392 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:450:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
448 | }
449 | .flatMap {
450 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
451 | }
452 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:60:45: warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
58 | )
59 | let encryptedCommand = try session.encrypt(command: command)
60 | let encryptedResponse = try channel.transmit(command: encryptedCommand,
| `- warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
61 | writeTimeout: writeTimeout,
62 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:56:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
55 | // we only log the header bytes to prevent logging user's PIN
56 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
58 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:66:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | Logger.healthCardControl
65 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
66 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | Command(
68 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:82:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
81 | // we only log the header bytes to prevent logging user's PIN
82 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
84 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:94:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | Logger.healthCardControl
93 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
94 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | Command(
96 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[125/130] Compiling HealthCardControl SecureCardChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:36:14: warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
34 | case noValidHealthCardStatus
35 | case efCardAccessNotAvailable
36 | case unsupportedKeyAgreementAlgorithm(ASN1Kit.ObjectIdentifier)
| `- warning: associated value 'unsupportedKeyAgreementAlgorithm' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ObjectIdentifier'; this is an error in the Swift 6 language mode
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1Kit/Sources/ASN1Kit/ObjectIdentifier.swift:19:15: note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct ObjectIdentifier: Equatable, Hashable, RawRepresentable {
| `- note: struct 'ObjectIdentifier' does not conform to the 'Sendable' protocol
20 | public let rawValue: String
21 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
16 | //
17 |
18 | import ASN1Kit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1Kit'
19 | import CardReaderProviderApi
20 | import Combine
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:231:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
229 | }
230 | .flatMap {
231 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
232 | }
233 | .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:269:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
267 | .setFailureType(to: Swift.Error.self)
268 | .flatMap {
269 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
270 | }
271 | .tryMap { (response: HealthCardResponseType) -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:332:21: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
330 | }
331 | .flatMap { (keyPair1: BrainpoolP256r1.KeyExchange.PrivateKey, command: HealthCardCommandType) in
332 | command.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
333 | .tryMap { pk1PiccResponse in
334 | guard let pk1PiccResponseData = pk1PiccResponse.data else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:390:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
388 | }
389 | .flatMap {
390 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
391 | }
392 | .tryMap { (pk2PiccResponse: HealthCardResponseType) in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/KeyAgreement.swift:450:20: warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
448 | }
449 | .flatMap {
450 | $0.publisher(for: card, writeTimeout: writeTimeout, readTimeout: readTimeout)
| `- warning: 'publisher(for:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
451 | }
452 | .tryMap { (macPiccResponse: HealthCardResponseType) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:60:45: warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
58 | )
59 | let encryptedCommand = try session.encrypt(command: command)
60 | let encryptedResponse = try channel.transmit(command: encryptedCommand,
| `- warning: 'transmit(command:writeTimeout:readTimeout:)' is deprecated: Use structured concurrency version instead
61 | writeTimeout: writeTimeout,
62 | readTimeout: readTimeout)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:56:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
55 | // we only log the header bytes to prevent logging user's PIN
56 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
58 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:66:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | Logger.healthCardControl
65 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
66 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | Command(
68 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:82:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | Logger.healthCardControl.debug(">> \(command.bytes.hexString())")
81 | // we only log the header bytes to prevent logging user's PIN
82 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | Command(message: ">> \(command.bytes.prefix(4).hexString())", type: .sendSecureChannel)
84 | )
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/SecureMessaging/SecureCardChannel.swift:94:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | Logger.healthCardControl
93 | .debug("<< \(decryptedAPDU.sw.hexString()) | [\(decryptedAPDU.data?.hexString() ?? "")]")
94 | CommandLogger.commands.append(
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | Command(
96 | message: "<< \(decryptedAPDU.sw.hexString())",
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[126/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)
[127/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)
[128/130] Compiling HealthCardControl HealthCardType+ResetRetryCounter.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:106:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | dfSpecific: Bool = false
105 | ) async throws -> VerifyPinResponse {
106 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
108 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[129/130] Compiling HealthCardControl HealthCardType+VerifyPin.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:106:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | dfSpecific: Bool = false
105 | ) async throws -> VerifyPinResponse {
106 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
108 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[130/130] Compiling HealthCardControl ResponseStatus+WrongSecret.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:64:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | dfSpecific: Bool = false
63 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
64 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | let command: HealthCardCommand
66 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:20:16: warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| `- warning: static property 'wrongSecretWarnings' is not concurrency-safe because non-'Sendable' type '[ResponseStatus]' may have shared mutable state; this is an error in the Swift 6 language mode
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardAccess/Responses/ResponseStatus.swift:21:13: note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
19 | /// Named response statuses per UInt16 status code.
20 | /// - Remark: Depending on the context a UInt16 status code can have different meanings.
21 | public enum ResponseStatus {
| `- note: enum 'ResponseStatus' does not conform to the 'Sendable' protocol
22 | // swiftlint:disable:previous type_body_length
23 | /// (0x9000)
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/ResponseStatus+WrongSecret.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
15 | //
16 |
17 | import HealthCardAccess
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HealthCardAccess'
18 |
19 | extension ResponseStatus {
20 | static let wrongSecretWarnings: [ResponseStatus] = [
| |- note: annotate 'wrongSecretWarnings' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | .wrongSecretWarningCount00,
22 | .wrongSecretWarningCount01,
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:111:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
109 | readTimeout: TimeInterval = 10
110 | ) async throws -> ResetRetryCounterResponse {
111 | CommandLogger.commands.append(Command(message: "Reset Retry Counter", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
112 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithoutNewSecret(
113 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:207:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 | dfSpecific: Bool = false
206 | ) -> AnyPublisher<ResetRetryCounterResponse, Error> {
207 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | let command: HealthCardCommand
209 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+ResetRetryCounter.swift:254:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
252 | dfSpecific: Bool = false
253 | ) async throws -> ResetRetryCounterResponse {
254 | CommandLogger.commands.append(Command(message: "Reset Retry Counter And Set New PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
255 | let command = try HealthCardCommand.ResetRetryCounter.resetRetryCounterWithPukWithNewSecret(
256 | password: type.rawValue,
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:69:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | dfSpecific: Bool = false
68 | ) -> AnyPublisher<VerifyPinResponse, Error> {
69 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
71 | return HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthCardControl/Authentication/HealthCardType+VerifyPin.swift:106:23: warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | dfSpecific: Bool = false
105 | ) async throws -> VerifyPinResponse {
106 | CommandLogger.commands.append(Command(message: "Verify PIN", type: .description))
| `- warning: reference to static property 'commands' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | let verifyPasswordParameter = (type.rawValue, dfSpecific, pin)
108 | let verifyCommand = HealthCardCommand.Verify.verify(password: verifyPasswordParameter)
/Users/admin/builder/spi-builder-workspace/Sources/Helper/CommandLogger.swift:22:23: note: static property declared here
20 | public enum CommandLogger {
21 | /// Array of commands that have been logged
22 | public static var commands: [Command] = []
| `- note: static property declared here
23 | }
24 |
[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 NFCCardChannel.swift
[134/140] Compiling NFCCardReaderProvider CoreNFCError.swift
[135/140] Compiling NFCCardReaderProvider Logger.swift
[136/140] Compiling NFCCardReaderProvider NFCCardError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[137/140] Compiling NFCCardReaderProvider NFCISO7816APDU+CommandType.swift
[138/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
[139/140] Compiling NFCCardReaderProvider Data+Hex.swift
[140/140] Compiling NFCCardReaderProvider NFCCard.swift
Fetching http://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching http://github.com/Carthage/Commandant
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/gematik/OpenSSL-Swift
Fetching https://github.com/gematik/ASN1Kit.git
[1/455] Fetching cwlcatchexception
[29/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[272/2920] Fetching cwlcatchexception, cwlpreconditiontesting, asn1kit
[386/3725] Fetching cwlcatchexception, cwlpreconditiontesting, asn1kit, openssl-swift
[614/5763] Fetching cwlcatchexception, cwlpreconditiontesting, asn1kit, openssl-swift, swift-docc-plugin
[2429/8086] Fetching cwlcatchexception, cwlpreconditiontesting, asn1kit, openssl-swift, swift-docc-plugin, commandant
Fetched https://github.com/gematik/ASN1Kit.git from cache (1.16s)
Fetched http://github.com/Carthage/Commandant from cache (1.16s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.16s)
Fetched https://github.com/gematik/OpenSSL-Swift from cache (1.16s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1502/3295] Fetching cwlpreconditiontesting, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.42s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.42s)
Computing version for https://github.com/apple/swift-docc-plugin
[1/18984] Fetching nimble
[1710/22060] Fetching nimble, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.33s)
[17276/18984] Fetching nimble
Fetched http://github.com/Quick/Nimble from cache (3.11s)
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.76s)
Computing version for https://github.com/gematik/OpenSSL-Swift
Computed https://github.com/gematik/OpenSSL-Swift at 4.2.0 (0.72s)
Computing version for https://github.com/gematik/ASN1Kit.git
Computed https://github.com/gematik/ASN1Kit.git at 1.3.1 (0.83s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.73s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.72s)
Creating working copy for https://github.com/gematik/OpenSSL-Swift
Working copy of https://github.com/gematik/OpenSSL-Swift resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1
[16375/12818417] Downloading https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
Downloading binary artifact https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip
Downloaded https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip (1.78s)
BUILD FAILURE 6.0 macosSpm