The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EUDCCKit with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SvenTiigi/EUDCCKit.git
Reference: main
Cloned https://github.com/SvenTiigi/EUDCCKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/SvenTiigi/EUDCCKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1194] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git (0.22s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (0.25s)
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...
[1/33] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
[2/33] Compiling EUDCC EUDCC+Vaccination+VaccineMedicinalProduct.swift
[3/35] Compiling EUDCC EUDCC+Test+TestResult.swift
[4/35] Compiling EUDCC EUDCC+Test+TestType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/37] 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 more context
        using formatter: PersonNameComponentsFormatter = .init(),
                                                         ~^~~~~~
[6/37] Emitting module SwiftCBOR
[7/37] Compiling SwiftCBOR AnyCodingKey.swift
[8/37] Compiling SwiftCBOR CBOR.swift
[9/37] 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 more context
        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
              ^
[10/37] 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 more context
        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
              ^
[11/37] Compiling EUDCC Codable+DateFormatter.swift
[12/37] Compiling EUDCC EUDCC+Codable.swift
[13/37] Compiling EUDCC EUDCC+Content.swift
[14/37] Compiling EUDCC EUDCC+Recovery.swift
[15/37] Compiling EUDCC EUDCC+Country.swift
[16/37] Compiling EUDCC EUDCC+CryptographicSignature.swift
[17/37] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[20/37] Compiling SwiftCBOR CodableCBORDecoder.swift
[27/37] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[34/37] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[35/37] Compiling EUDCC EUDCC+Vaccination.swift
[37/37] Compiling SwiftCBOR Util.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1