Build Information
Failed to build EUDCCKit, reference main (864b82
), with Swift 6.0 for Linux on 28 Nov 2024 09:29:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SvenTiigi/EUDCCKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/SvenTiigi/EUDCCKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 864b826 Merge pull request #9 from chili-ios/main
Cloned https://github.com/SvenTiigi/EUDCCKit.git
Revision (git rev-parse @):
864b8262e0babe3080e0fcbf1feb96dded19f9c6
SUCCESS checkout https://github.com/SvenTiigi/EUDCCKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/SvenTiigi/EUDCCKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1330] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.21s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (0.41s)
Creating working copy for https://github.com/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.4.3
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/40] Compiling EUDCC EUDCC+Name.swift
[9/40] Compiling EUDCC EUDCC.swift
[10/42] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
/host/spi-builder-workspace/Sources/EUDCC/Models/Vaccination/EUDCC+Vaccination+VaccineMedicinalProduct.swift:71:16: warning: static property 'astraZeneca' is not concurrency-safe because non-'Sendable' type 'EUDCC.Vaccination.VaccineMedicinalProduct.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Comirnaty
34 | case comirnaty = "EU/1/20/1528"
:
69 |
70 | /// AstraZeneca represented by `vaxzevria` case
71 | static let astraZeneca: Self = .vaxzevria
| |- warning: static property 'astraZeneca' is not concurrency-safe because non-'Sendable' type 'EUDCC.Vaccination.VaccineMedicinalProduct.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'astraZeneca' 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
72 |
73 | }
[11/42] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
/host/spi-builder-workspace/Sources/EUDCC/Models/Vaccination/EUDCC+Vaccination+VaccineMedicinalProduct.swift:71:16: warning: static property 'astraZeneca' is not concurrency-safe because non-'Sendable' type 'EUDCC.Vaccination.VaccineMedicinalProduct.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Comirnaty
34 | case comirnaty = "EU/1/20/1528"
:
69 |
70 | /// AstraZeneca represented by `vaxzevria` case
71 | static let astraZeneca: Self = .vaxzevria
| |- warning: static property 'astraZeneca' is not concurrency-safe because non-'Sendable' type 'EUDCC.Vaccination.VaccineMedicinalProduct.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'astraZeneca' 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
72 |
73 | }
[12/44] Compiling SwiftCBOR Util.swift
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestType.swift:51:16: warning: static property 'pcr' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestType.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Nucleic acid amplification with probe detection
34 | case nucleicACIDAmplificationWithProbeDetection = "LP6464-4"
:
49 |
50 | /// PCR represented by `nucleicACIDAmplificationWithProbeDetection` case
51 | static let pcr: Self = .nucleicACIDAmplificationWithProbeDetection
| |- warning: static property 'pcr' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestType.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pcr' 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
52 |
53 | }
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
[13/44] Compiling EUDCC EUDCC+Test.swift
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestType.swift:51:16: warning: static property 'pcr' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestType.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Nucleic acid amplification with probe detection
34 | case nucleicACIDAmplificationWithProbeDetection = "LP6464-4"
:
49 |
50 | /// PCR represented by `nucleicACIDAmplificationWithProbeDetection` case
51 | static let pcr: Self = .nucleicACIDAmplificationWithProbeDetection
| |- warning: static property 'pcr' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestType.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pcr' 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
52 |
53 | }
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
[14/44] Compiling EUDCC Codable+DateFormatter.swift
[15/44] Compiling EUDCC EUDCC+Codable.swift
[16/44] Compiling EUDCC EUDCC+Content.swift
[18/44] Emitting module SwiftCBOR
[19/44] Compiling EUDCC EUDCC+Recovery.swift
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestResult.swift:51:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Not detected
34 | case notDetected = "260415000"
:
49 |
50 | /// Positive TestResult value represented by `detected` case
51 | static let positive: Self = .detected
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positive' 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
52 |
53 | /// Negative TestResult value represented by `notDetected` case
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestResult.swift:54:16: warning: static property 'negative' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Not detected
34 | case notDetected = "260415000"
:
52 |
53 | /// Negative TestResult value represented by `notDetected` case
54 | static let negative: Self = .notDetected
| |- warning: static property 'negative' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negative' 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 |
56 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/44] Compiling EUDCC EUDCC+Test+TestResult.swift
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestResult.swift:51:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Not detected
34 | case notDetected = "260415000"
:
49 |
50 | /// Positive TestResult value represented by `detected` case
51 | static let positive: Self = .detected
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positive' 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
52 |
53 | /// Negative TestResult value represented by `notDetected` case
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestResult.swift:54:16: warning: static property 'negative' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Not detected
34 | case notDetected = "260415000"
:
52 |
53 | /// Negative TestResult value represented by `notDetected` case
54 | static let negative: Self = .notDetected
| |- warning: static property 'negative' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negative' 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 |
56 | }
[21/44] Compiling EUDCC AnyDateFormatter.swift
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:14:24: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
14 | private static let dateFormatter: ISO8601DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
15 | let formatter = ISO8601DateFormatter()
16 | formatter.formatOptions.remove([.withTime, .withTimeZone])
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCTimestampFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// A EUDCC Timestamp Formatter
6 | final class EUDCCTimestampFormatter: AnyDateFormatter {
| `- note: class 'EUDCCTimestampFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCTimestampFormatter` instance
11 | static let `default` = EUDCCTimestampFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | // MARK: AnyDateFormatter
[22/44] Compiling EUDCC EUDCCDateFormatter.swift
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:14:24: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
14 | private static let dateFormatter: ISO8601DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
15 | let formatter = ISO8601DateFormatter()
16 | formatter.formatOptions.remove([.withTime, .withTimeZone])
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCTimestampFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// A EUDCC Timestamp Formatter
6 | final class EUDCCTimestampFormatter: AnyDateFormatter {
| `- note: class 'EUDCCTimestampFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCTimestampFormatter` instance
11 | static let `default` = EUDCCTimestampFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | // MARK: AnyDateFormatter
[23/44] Compiling EUDCC EUDCCTimestampFormatter.swift
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:14:24: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
14 | private static let dateFormatter: ISO8601DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
15 | let formatter = ISO8601DateFormatter()
16 | formatter.formatOptions.remove([.withTime, .withTimeZone])
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCTimestampFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// A EUDCC Timestamp Formatter
6 | final class EUDCCTimestampFormatter: AnyDateFormatter {
| `- note: class 'EUDCCTimestampFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCTimestampFormatter` instance
11 | static let `default` = EUDCCTimestampFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | // MARK: AnyDateFormatter
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCTimestampFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// A EUDCC Timestamp Formatter
6 | final class EUDCCTimestampFormatter: AnyDateFormatter {
| `- note: class 'EUDCCTimestampFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCTimestampFormatter` instance
11 | static let `default` = EUDCCTimestampFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | // MARK: AnyDateFormatter
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCTimestampFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// A EUDCC Timestamp Formatter
6 | final class EUDCCTimestampFormatter: AnyDateFormatter {
| `- note: class 'EUDCCTimestampFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCTimestampFormatter` instance
11 | static let `default` = EUDCCTimestampFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | // MARK: AnyDateFormatter
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCTimestampFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// A EUDCC Timestamp Formatter
6 | final class EUDCCTimestampFormatter: AnyDateFormatter {
| `- note: class 'EUDCCTimestampFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCTimestampFormatter` instance
11 | static let `default` = EUDCCTimestampFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | // MARK: AnyDateFormatter
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
[27/44] Compiling EUDCC EUDCC+Country.swift
[28/44] Compiling EUDCC EUDCC+CryptographicSignature.swift
[29/44] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[30/44] Emitting module EUDCC
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:14:24: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
14 | private static let dateFormatter: ISO8601DateFormatter = {
| |- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateFormatter' 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
15 | let formatter = ISO8601DateFormatter()
16 | formatter.formatOptions.remove([.withTime, .withTimeZone])
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCTimestampFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// A EUDCC Timestamp Formatter
6 | final class EUDCCTimestampFormatter: AnyDateFormatter {
| `- note: class 'EUDCCTimestampFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCTimestampFormatter` instance
11 | static let `default` = EUDCCTimestampFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCTimestampFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | // MARK: AnyDateFormatter
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:26: warning: 'PersonNameComponentsFormatter' is deprecated: Person name components formatting isn't available in swift-corelibs-foundation
56 | /// - Returns: The formatted full name
57 | func formatted(
58 | using formatter: PersonNameComponentsFormatter = .init(),
| `- warning: 'PersonNameComponentsFormatter' is deprecated: Person name components formatting isn't available in swift-corelibs-foundation
59 | components: PersonNameComponents = .init()
60 | ) -> String {
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
56 | /// - Returns: The formatted full name
57 | func formatted(
58 | using formatter: PersonNameComponentsFormatter = .init(),
| `- error: type of expression is ambiguous without a type annotation
59 | components: PersonNameComponents = .init()
60 | ) -> String {
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestResult.swift:51:16: warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Not detected
34 | case notDetected = "260415000"
:
49 |
50 | /// Positive TestResult value represented by `detected` case
51 | static let positive: Self = .detected
| |- warning: static property 'positive' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positive' 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
52 |
53 | /// Negative TestResult value represented by `notDetected` case
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestResult.swift:54:16: warning: static property 'negative' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Not detected
34 | case notDetected = "260415000"
:
52 |
53 | /// Negative TestResult value represented by `notDetected` case
54 | static let negative: Self = .notDetected
| |- warning: static property 'negative' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestResult.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negative' 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 |
56 | }
/host/spi-builder-workspace/Sources/EUDCC/Models/Test/EUDCC+Test+TestType.swift:51:16: warning: static property 'pcr' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestType.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Nucleic acid amplification with probe detection
34 | case nucleicACIDAmplificationWithProbeDetection = "LP6464-4"
:
49 |
50 | /// PCR represented by `nucleicACIDAmplificationWithProbeDetection` case
51 | static let pcr: Self = .nucleicACIDAmplificationWithProbeDetection
| |- warning: static property 'pcr' is not concurrency-safe because non-'Sendable' type 'EUDCC.Test.TestType.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pcr' 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
52 |
53 | }
/host/spi-builder-workspace/Sources/EUDCC/Models/Vaccination/EUDCC+Vaccination+VaccineMedicinalProduct.swift:71:16: warning: static property 'astraZeneca' is not concurrency-safe because non-'Sendable' type 'EUDCC.Vaccination.VaccineMedicinalProduct.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | /// The WellKnownValue
32 | enum WellKnownValue: String, Codable, Hashable, CaseIterable {
| `- note: consider making enum 'WellKnownValue' conform to the 'Sendable' protocol
33 | /// Comirnaty
34 | case comirnaty = "EU/1/20/1528"
:
69 |
70 | /// AstraZeneca represented by `vaxzevria` case
71 | static let astraZeneca: Self = .vaxzevria
| |- warning: static property 'astraZeneca' is not concurrency-safe because non-'Sendable' type 'EUDCC.Vaccination.VaccineMedicinalProduct.WellKnownValue' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'astraZeneca' 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
72 |
73 | }
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:26: warning: 'PersonNameComponentsFormatter' is deprecated: Person name components formatting isn't available in swift-corelibs-foundation
56 | /// - Returns: The formatted full name
57 | func formatted(
58 | using formatter: PersonNameComponentsFormatter = .init(),
| `- warning: 'PersonNameComponentsFormatter' is deprecated: Person name components formatting isn't available in swift-corelibs-foundation
59 | components: PersonNameComponents = .init()
60 | ) -> String {
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
56 | /// - Returns: The formatted full name
57 | func formatted(
58 | using formatter: PersonNameComponentsFormatter = .init(),
| `- error: type of expression is ambiguous without a type annotation
59 | components: PersonNameComponents = .init()
60 | ) -> String {
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:64:26: error: 'string(from:)' is unavailable: Person name components formatting isn't available in swift-corelibs-foundation
62 | components.givenName = self.firstName ?? self.standardisedFirstName
63 | components.familyName = self.lastName ?? self.standardisedLastName
64 | return formatter.string(from: components)
| `- error: 'string(from:)' is unavailable: Person name components formatting isn't available in swift-corelibs-foundation
65 | }
66 |
Foundation.PersonNameComponentsFormatter:10:15: note: 'string(from:)' has been explicitly marked unavailable here
8 | open class func localizedString(from components: PersonNameComponents, style nameFormatStyle: PersonNameComponentsFormatter.Style, options nameOptions: PersonNameComponentsFormatter.Options = []) -> String
9 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
10 | open func string(from components: PersonNameComponents) -> String
| `- note: 'string(from:)' has been explicitly marked unavailable here
11 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
12 | open func annotatedString(from components: PersonNameComponents) -> NSAttributedString
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:26: warning: 'PersonNameComponentsFormatter' is deprecated: Person name components formatting isn't available in swift-corelibs-foundation
56 | /// - Returns: The formatted full name
57 | func formatted(
58 | using formatter: PersonNameComponentsFormatter = .init(),
| `- warning: 'PersonNameComponentsFormatter' is deprecated: Person name components formatting isn't available in swift-corelibs-foundation
59 | components: PersonNameComponents = .init()
60 | ) -> String {
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
56 | /// - Returns: The formatted full name
57 | func formatted(
58 | using formatter: PersonNameComponentsFormatter = .init(),
| `- error: type of expression is ambiguous without a type annotation
59 | components: PersonNameComponents = .init()
60 | ) -> String {
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:64:26: error: 'string(from:)' is unavailable: Person name components formatting isn't available in swift-corelibs-foundation
62 | components.givenName = self.firstName ?? self.standardisedFirstName
63 | components.familyName = self.lastName ?? self.standardisedLastName
64 | return formatter.string(from: components)
| `- error: 'string(from:)' is unavailable: Person name components formatting isn't available in swift-corelibs-foundation
65 | }
66 |
Foundation.PersonNameComponentsFormatter:10:15: note: 'string(from:)' has been explicitly marked unavailable here
8 | open class func localizedString(from components: PersonNameComponents, style nameFormatStyle: PersonNameComponentsFormatter.Style, options nameOptions: PersonNameComponentsFormatter.Options = []) -> String
9 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
10 | open func string(from components: PersonNameComponents) -> String
| `- note: 'string(from:)' has been explicitly marked unavailable here
11 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
12 | open func annotatedString(from components: PersonNameComponents) -> NSAttributedString
[44/45] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
[45/45] Compiling EUDCC EUDCC+Vaccination.swift
/host/spi-builder-workspace/Sources/EUDCC/DateFormatter/EUDCCDateFormatter.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The EUDCCDateFormatter
6 | final class EUDCCDateFormatter: ISO8601DateFormatter {
| `- note: class 'EUDCCDateFormatter' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Static-Properties
9 |
10 | /// The default `EUDCCDateFormatter` instance
11 | static let `default` = EUDCCDateFormatter()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EUDCCDateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
12 |
13 | /// The Date-Only `ISO8601DateFormatter` instance
BUILD FAILURE 6.0 linux