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-4609320-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: 0.0.4
Cloned https://github.com/SvenTiigi/EUDCCKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/SvenTiigi/EUDCCKit.git at 0.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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.23s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (0.32s)
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...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/33] 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(),
                                                         ~^~~~~~
[2/35] Compiling EUDCC EUDCC+Country.swift
[3/35] Compiling EUDCC EUDCC+CryptographicSignature.swift
[4/35] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[5/35] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.swift
[6/35] Compiling EUDCC EUDCC+Vaccination+VaccineMedicinalProduct.swift
[8/35] Compiling EUDCC AnyDateFormatter.swift
[9/37] Emitting module SwiftCBOR
[12/37] Compiling EUDCC EUDCC+Name.swift
[13/37] Compiling EUDCC EUDCC.swift
[14/37] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[15/37] Compiling EUDCC EUDCC+Vaccination.swift
[16/37] Compiling EUDCC EUDCCDateFormatter.swift
[17/37] Compiling EUDCC EUDCCTimestampFormatter.swift
[18/37] Compiling EUDCC Codable+DateFormatter.swift
[19/37] Compiling EUDCC EUDCC+Codable.swift
[20/37] Compiling EUDCC EUDCC+Test+TestType.swift
[21/37] Compiling EUDCC EUDCC+Test.swift
[22/37] Compiling EUDCC EUDCC+Recovery.swift
[23/37] Compiling EUDCC EUDCC+Test+TestResult.swift
[28/37] 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
        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
              ^
/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
              ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2