The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EUDCCKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SvenTiigi/EUDCCKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/SvenTiigi/EUDCCKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 864b826 Merge pull request #9 from chili-ios/main
Cloned https://github.com/SvenTiigi/EUDCCKit.git
Revision (git rev-parse @):
864b8262e0babe3080e0fcbf1feb96dded19f9c6
SUCCESS checkout https://github.com/SvenTiigi/EUDCCKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SvenTiigi/EUDCCKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1229] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.24s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (0.43s)
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+Vaccination+VaccineMedicinalProduct.swift
[9/40] Compiling EUDCC EUDCC+Test+TestType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/42] 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
        using formatter: PersonNameComponentsFormatter = .init(),
                         ^
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
        using formatter: PersonNameComponentsFormatter = .init(),
                                                         ~^~~~~~
[11/44] Compiling EUDCC AnyDateFormatter.swift
[12/44] Compiling EUDCC EUDCCDateFormatter.swift
[13/44] Compiling EUDCC EUDCC+Country.swift
[14/44] Compiling EUDCC EUDCC+CryptographicSignature.swift
[15/44] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[16/44] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
[17/44] Compiling SwiftCBOR CodableCBORDecoder.swift
[18/44] Compiling SwiftCBOR KeyedDecodingContainer.swift
[19/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
        using formatter: PersonNameComponentsFormatter = .init(),
                         ^
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
        using formatter: PersonNameComponentsFormatter = .init(),
                                                         ~^~~~~~
/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
        return formatter.string(from: components)
                         ^~~~~~
Foundation.PersonNameComponentsFormatter:10:15: note: 'string(from:)' has been explicitly marked unavailable here
    open func string(from components: PersonNameComponents) -> String
              ^
[20/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
        using formatter: PersonNameComponentsFormatter = .init(),
                         ^
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
        using formatter: PersonNameComponentsFormatter = .init(),
                                                         ~^~~~~~
/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
        return formatter.string(from: components)
                         ^~~~~~
Foundation.PersonNameComponentsFormatter:10:15: note: 'string(from:)' has been explicitly marked unavailable here
    open func string(from components: PersonNameComponents) -> String
              ^
[23/44] Compiling SwiftCBOR CBORDecoder.swift
[24/44] Compiling EUDCC Codable+DateFormatter.swift
[30/44] Emitting module SwiftCBOR
[32/44] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[33/44] Compiling SwiftCBOR Util.swift
[34/44] Compiling EUDCC EUDCC+Test+TestResult.swift
[41/44] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[42/44] Compiling EUDCC EUDCC+Vaccination.swift
error: fatalError
[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/5] Compiling EUDCC EUDCC.swift
[3/5] 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
        using formatter: PersonNameComponentsFormatter = .init(),
                         ^
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
        using formatter: PersonNameComponentsFormatter = .init(),
                                                         ~^~~~~~
[4/5] 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
        using formatter: PersonNameComponentsFormatter = .init(),
                         ^
/host/spi-builder-workspace/Sources/EUDCC/Models/EUDCC+Name.swift:58:59: error: type of expression is ambiguous without a type annotation
        using formatter: PersonNameComponentsFormatter = .init(),
                                                         ~^~~~~~
/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
        return formatter.string(from: components)
                         ^~~~~~
Foundation.PersonNameComponentsFormatter:10:15: note: 'string(from:)' has been explicitly marked unavailable here
    open func string(from components: PersonNameComponents) -> String
              ^
[5/18] Emitting module SwiftCBOR
[6/19] Compiling EUDCC EUDCC+Vaccination.swift
[8/19] Compiling EUDCC EUDCC+Test.swift
[9/19] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
[10/19] Compiling EUDCC EUDCC+Vaccination+VaccineMedicinalProduct.swift
[11/19] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[12/19] Compiling EUDCC EUDCC+Test+TestResult.swift
[13/19] Compiling EUDCC EUDCC+Test+TestType.swift
[14/19] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[15/19] Compiling EUDCC EUDCC+Recovery.swift
[16/19] Compiling EUDCC EUDCC+Codable.swift
[17/19] Compiling EUDCC EUDCC+Content.swift
[18/19] Compiling EUDCC EUDCC+Country.swift
[19/19] Compiling EUDCC EUDCC+CryptographicSignature.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2