The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build EUDCCKit, reference main (864b82), with Swift 6.1 for Android on 28 May 2025 03:48:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1397] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.48s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (1.30s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/40] 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 | }
[9/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: 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 | }
[10/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 | }
[11/42] Compiling EUDCC EUDCC+Test.swift
[12/42] Compiling EUDCC EUDCC+Recovery.swift
[13/44] 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 |
[14/44] 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 |
[15/44] Compiling EUDCC EUDCC+Country.swift
[16/44] Compiling EUDCC EUDCC+CryptographicSignature.swift
[17/44] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[18/44] 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 | }
/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/.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
/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+Content.swift
[24/44] Compiling EUDCC Codable+DateFormatter.swift
[25/44] Compiling EUDCC EUDCC+Codable.swift
[26/44] Emitting module SwiftCBOR
[29/44] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[30/44] Compiling EUDCC EUDCC+Vaccination.swift
[31/44] Compiling EUDCC AnyDateFormatter.swift
[32/44] Compiling EUDCC EUDCCDateFormatter.swift
[33/44] Compiling EUDCC EUDCCTimestampFormatter.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 | }
[39/44] Compiling SwiftCBOR FixedWidthInteger+Bytes.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 | }
/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/34] 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 {
[3/36] Compiling SwiftCBOR CodableCBORDecoder.swift
[4/36] Compiling SwiftCBOR KeyedDecodingContainer.swift
[5/36] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[6/36] Emitting module SwiftCBOR
[7/38] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[8/38] Compiling EUDCC EUDCC+Vaccination.swift
[9/38] Compiling SwiftCBOR CBORDecoder.swift
[10/38] Compiling SwiftCBOR CBOREncodable.swift
[11/38] Compiling SwiftCBOR AnyCodingKey.swift
[12/38] Compiling SwiftCBOR CBOR.swift
[13/38] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[14/38] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[15/38] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[16/38] Compiling SwiftCBOR CBOREncoder.swift
[17/38] Compiling SwiftCBOR CBORInputStream.swift
[18/38] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[19/38] Compiling SwiftCBOR CodableCBOREncoder.swift
[20/38] Compiling SwiftCBOR KeyedEncodingContainer.swift
[21/38] Compiling SwiftCBOR Util.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 |
[22/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 |
/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
/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
BUILD FAILURE 6.1 android