Build Information
Failed to build EUDCCKit, reference 0.0.4 (864b82
), with Swift 6.2 (beta) for Android on 19 Jun 2025 06:48:39 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SvenTiigi/EUDCCKit.git
Reference: 0.0.4
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
* tag 0.0.4 -> FETCH_HEAD
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 0.0.4
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/SvenTiigi/EUDCCKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1397] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.74s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (1.73s)
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-8C5A4AE7A8CE2BA.txt
[8/40] Compiling EUDCC Codable+DateFormatter.swift
[9/40] Compiling EUDCC EUDCC+Codable.swift
[10/40] Compiling EUDCC EUDCC+Content.swift
[11/42] Compiling EUDCC EUDCC+Name.swift
[12/42] Compiling EUDCC EUDCC.swift
[13/44] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[14/44] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
[15/44] Compiling EUDCC EUDCC+Country.swift
[16/44] Compiling EUDCC EUDCC+CryptographicSignature.swift
[17/44] Compiling EUDCC EUDCC+Vaccination+VaccineMedicinalProduct.swift
[18/44] Compiling EUDCC EUDCC+Test+TestType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/44] Compiling EUDCC AnyDateFormatter.swift
[20/44] Compiling EUDCC EUDCCDateFormatter.swift
[21/44] Compiling EUDCC EUDCCTimestampFormatter.swift
[22/44] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/44] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[30/44] Compiling SwiftCBOR Util.swift
[31/44] Compiling EUDCC EUDCC+Test+TestResult.swift
[36/44] Emitting module SwiftCBOR
/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
[41/44] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[42/44] Compiling EUDCC EUDCC+Vaccination.swift
BUILD FAILURE 6.2 android