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.2 (beta) for Android on 19 Jun 2025 06:49:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 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.2
Building package at path:  $PWD
https://github.com/SvenTiigi/EUDCCKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.65s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (1.19s)
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 EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
[9/40] Compiling EUDCC EUDCC+Vaccination+VaccineMedicinalProduct.swift
[10/42] Emitting module SwiftCBOR
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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>
[12/44] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[13/44] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[14/44] Compiling SwiftCBOR CodableCBOREncoder.swift
[16/44] Compiling SwiftCBOR KeyedEncodingContainer.swift
[17/44] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[18/44] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[19/44] Compiling SwiftCBOR CodableCBORDecoder.swift
[20/44] Compiling SwiftCBOR KeyedDecodingContainer.swift
[21/44] Compiling SwiftCBOR CBORDecoder.swift
[22/44] Compiling SwiftCBOR CBOREncodable.swift
[23/44] Compiling SwiftCBOR AnyCodingKey.swift
[24/44] Compiling SwiftCBOR CBOR.swift
[25/44] Compiling SwiftCBOR CBOREncoder.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
[26/44] Compiling SwiftCBOR CBORInputStream.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
[33/44] Compiling SwiftCBOR FixedWidthInteger+Bytes.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 [#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>
[41/44] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[42/44] Compiling EUDCC EUDCC+Vaccination.swift
[44/44] Compiling SwiftCBOR Util.swift
BUILD FAILURE 6.2 android