The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EUDCCKit, reference main (864b82), with Swift 6.1 for Wasm on 28 May 2025 03:49:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SvenTiigi/EUDCCKit.git
https://github.com/SvenTiigi/EUDCCKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftcbor",
      "requirement" : {
        "exact" : [
          "0.4.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/unrelentingtech/SwiftCBOR.git"
    }
  ],
  "manifest_display_name" : "EUDCCKit",
  "name" : "EUDCCKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "EUDCC",
      "targets" : [
        "EUDCC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EUDCCDecoder",
      "targets" : [
        "EUDCCDecoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EUDCCVerifier",
      "targets" : [
        "EUDCCVerifier"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "EUDCCValidator",
      "targets" : [
        "EUDCCValidator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EUDCCVerifierTests",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCVerifierTests",
      "path" : "Tests/EUDCCVerifierTests",
      "sources" : [
        "EUDCCVerifierTests.swift"
      ],
      "target_dependencies" : [
        "EUDCCKitTests"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EUDCCVerifier",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCVerifier",
      "path" : "Sources/EUDCCVerifier",
      "product_dependencies" : [
        "SwiftCBOR"
      ],
      "product_memberships" : [
        "EUDCCVerifier"
      ],
      "sources" : [
        "Extensions/Data+encodedASN1.swift",
        "Extensions/EUDCC+Verify.swift",
        "Models/EUDCC+SignedPayload.swift",
        "Models/EUDCC+TrustCertificate+KeyID.swift",
        "Models/EUDCC+TrustCertificate.swift",
        "Models/EUDCC+VerificationCandidate.swift",
        "TrustService/EUDCCTrustService.swift",
        "TrustService/GroupableEUDCCTrustService.swift",
        "TrustService/Implementations/EUCentralEUDCCTrustService.swift",
        "TrustService/Implementations/RobertKochInstituteEUDCCTrustService.swift",
        "Verifier/EUDCCVerifier.swift"
      ],
      "target_dependencies" : [
        "EUDCC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EUDCCValidatorTests",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCValidatorTests",
      "path" : "Tests/EUDCCValidatorTests",
      "sources" : [
        "EUDCCValidatorTests.swift"
      ],
      "target_dependencies" : [
        "EUDCCKitTests"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EUDCCValidator",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCValidator",
      "path" : "Sources/EUDCCValidator",
      "product_memberships" : [
        "EUDCCValidator"
      ],
      "sources" : [
        "Extensions/EUDCC+Validate.swift",
        "Models/EUDCC+ValidationRule+CompareAgainst.swift",
        "Models/EUDCC+ValidationRule+ComparisonOperators.swift",
        "Models/EUDCC+ValidationRule+Defaults.swift",
        "Models/EUDCC+ValidationRule+If.swift",
        "Models/EUDCC+ValidationRule+LogicalOperators.swift",
        "Models/EUDCC+ValidationRule+Tag.swift",
        "Models/EUDCC+ValidationRule.swift",
        "Validator/EUDCCValidator.swift"
      ],
      "target_dependencies" : [
        "EUDCC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EUDCCTests",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCTests",
      "path" : "Tests/EUDCCTests",
      "sources" : [
        "EUDCCTests.swift"
      ],
      "target_dependencies" : [
        "EUDCCKitTests"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EUDCCKitTests",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCKitTests",
      "path" : "Tests/_EUDCCKitTests",
      "sources" : [
        "EUDCCKitTests.swift"
      ],
      "target_dependencies" : [
        "EUDCC",
        "EUDCCDecoder",
        "EUDCCValidator",
        "EUDCCVerifier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EUDCCDecoderTests",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCDecoderTests",
      "path" : "Tests/EUDCCDecoderTests",
      "sources" : [
        "EUDCCDecoderTests.swift"
      ],
      "target_dependencies" : [
        "EUDCCKitTests"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EUDCCDecoder",
      "module_type" : "SwiftTarget",
      "name" : "EUDCCDecoder",
      "path" : "Sources/EUDCCDecoder",
      "product_dependencies" : [
        "SwiftCBOR"
      ],
      "product_memberships" : [
        "EUDCCDecoder"
      ],
      "sources" : [
        "Decoder/EUDCCDecoder.swift",
        "Extension/CBOR+DictionaryRepresentation.swift",
        "Extension/Data+Base45.swift",
        "Extension/Data+Compression.swift",
        "Extension/EUDCC+Decode.swift"
      ],
      "target_dependencies" : [
        "EUDCC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EUDCC",
      "module_type" : "SwiftTarget",
      "name" : "EUDCC",
      "path" : "Sources/EUDCC",
      "product_memberships" : [
        "EUDCC",
        "EUDCCDecoder",
        "EUDCCVerifier",
        "EUDCCValidator"
      ],
      "sources" : [
        "DateFormatter/AnyDateFormatter.swift",
        "DateFormatter/EUDCCDateFormatter.swift",
        "DateFormatter/EUDCCTimestampFormatter.swift",
        "Extensions/Codable+DateFormatter.swift",
        "Models/EUDCC+Codable.swift",
        "Models/EUDCC+Content.swift",
        "Models/EUDCC+Country.swift",
        "Models/EUDCC+CryptographicSignature.swift",
        "Models/EUDCC+DiseaseAgentTargeted.swift",
        "Models/EUDCC+Name.swift",
        "Models/EUDCC.swift",
        "Models/Recovery/EUDCC+Recovery.swift",
        "Models/Test/EUDCC+Test+TestResult.swift",
        "Models/Test/EUDCC+Test+TestType.swift",
        "Models/Test/EUDCC+Test.swift",
        "Models/Vaccination/EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift",
        "Models/Vaccination/EUDCC+Vaccination+VaccineMedicinalProduct.swift",
        "Models/Vaccination/EUDCC+Vaccination+VaccineOrProphylaxis.swift",
        "Models/Vaccination/EUDCC+Vaccination.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1397] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.58s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (1.21s)
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.swift
[9/40] Compiling EUDCC EUDCC+Recovery.swift
[10/42] Compiling EUDCC EUDCC+Name.swift
/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.string:3:13: note: 'string(from:)' has been explicitly marked unavailable here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   open func string(from components: PersonNameComponents) -> String}
  |             `- note: 'string(from:)' has been explicitly marked unavailable here
4 |
/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.string:3:13: note: 'string(from:)' has been explicitly marked unavailable here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   open func string(from components: PersonNameComponents) -> String}
  |             `- note: 'string(from:)' has been explicitly marked unavailable here
4 |
/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: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'negative' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | }
[13/42] Compiling EUDCC EUDCC+Test+TestResult.swift
/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: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'negative' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | }
[14/42] Compiling EUDCC EUDCC+Test+TestType.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: add '@MainActor' to make static property 'pcr' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | }
[15/42] Compiling SwiftCBOR FixedWidthInteger+Bytes.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: add '@MainActor' to make static property 'pcr' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | }
[16/42] Compiling SwiftCBOR Util.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: add '@MainActor' to make static property 'astraZeneca' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | }
[17/42] Compiling EUDCC EUDCC+Vaccination+VaccineMedicinalProduct.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: add '@MainActor' to make static property 'astraZeneca' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | }
[18/44] Compiling EUDCC EUDCCDateFormatter.swift
[19/44] Compiling EUDCC EUDCCTimestampFormatter.swift
[20/44] Compiling EUDCC EUDCC+Content.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/SwiftCBOR/CBOREncoder.swift:246:54: error: cannot find 'NSEC_PER_SEC' in scope
244 |
245 |         let seconds = Int64(integral)
246 |         let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
    |                                                      `- error: cannot find 'NSEC_PER_SEC' in scope
247 |
248 |         var res: [UInt8] = [0b110_00001] // Epoch timestamp tag is 1
[21/44] Compiling EUDCC AnyDateFormatter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/SwiftCBOR/CBOREncoder.swift:246:54: error: cannot find 'NSEC_PER_SEC' in scope
244 |
245 |         let seconds = Int64(integral)
246 |         let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
    |                                                      `- error: cannot find 'NSEC_PER_SEC' in scope
247 |
248 |         var res: [UInt8] = [0b110_00001] // Epoch timestamp tag is 1
[22/44] Compiling EUDCC EUDCC+Country.swift
[23/44] Compiling EUDCC EUDCC+CryptographicSignature.swift
[28/44] Compiling EUDCC EUDCC+DiseaseAgentTargeted.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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     // MARK: AnyDateFormatter
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/44] Compiling EUDCC Codable+DateFormatter.swift
[33/44] Compiling EUDCC EUDCC+Codable.swift
[35/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'dateFormatter' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'positive' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'negative' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'pcr' part of global actor 'MainActor'
   |                `- 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: add '@MainActor' to make static property 'astraZeneca' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
73 | }
[38/44] Emitting module SwiftCBOR
[43/44] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[44/44] Compiling EUDCC EUDCC+Vaccination.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/34] Compiling EUDCC AnyDateFormatter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/SwiftCBOR/CBOREncoder.swift:246:54: error: cannot find 'NSEC_PER_SEC' in scope
244 |
245 |         let seconds = Int64(integral)
246 |         let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
    |                                                      `- error: cannot find 'NSEC_PER_SEC' in scope
247 |
248 |         var res: [UInt8] = [0b110_00001] // Epoch timestamp tag is 1
[3/34] Compiling EUDCC EUDCCDateFormatter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/SwiftCBOR/CBOREncoder.swift:246:54: error: cannot find 'NSEC_PER_SEC' in scope
244 |
245 |         let seconds = Int64(integral)
246 |         let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
    |                                                      `- error: cannot find 'NSEC_PER_SEC' in scope
247 |
248 |         var res: [UInt8] = [0b110_00001] // Epoch timestamp tag is 1
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/36] Emitting module EUDCC
/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 {
[5/38] Compiling SwiftCBOR Util.swift
[6/38] Compiling EUDCC EUDCC+Test.swift
[7/38] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
[8/38] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[9/38] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[10/38] Compiling EUDCC EUDCC+Vaccination.swift
[11/38] Compiling EUDCC EUDCC+Country.swift
[12/38] Compiling EUDCC EUDCC+CryptographicSignature.swift
[13/38] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[14/38] Compiling EUDCC EUDCC+Name.swift
/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.string:3:13: note: 'string(from:)' has been explicitly marked unavailable here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   open func string(from components: PersonNameComponents) -> String}
  |             `- note: 'string(from:)' has been explicitly marked unavailable here
4 |
[15/38] Compiling EUDCC EUDCC.swift
/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.string:3:13: note: 'string(from:)' has been explicitly marked unavailable here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   open func string(from components: PersonNameComponents) -> String}
  |             `- note: 'string(from:)' has been explicitly marked unavailable here
4 |
[16/38] Compiling EUDCC EUDCC+Recovery.swift
[17/38] Compiling EUDCC EUDCC+Test+TestResult.swift
[24/38] Compiling EUDCC EUDCCTimestampFormatter.swift
[25/38] Compiling EUDCC Codable+DateFormatter.swift
[26/38] Compiling EUDCC EUDCC+Codable.swift
[27/38] Compiling EUDCC EUDCC+Content.swift
[28/38] Emitting module SwiftCBOR
BUILD FAILURE 6.1 wasm