The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EUDCCKit, reference main (864b82), with Swift 6.3 for Wasm on 12 Apr 2026 17:21:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SvenTiigi/EUDCCKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1491] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.48s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.3 (1.11s)
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/40] 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: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
56 |     /// - Returns: The formatted full name
57 |     func formatted(
58 |         using formatter: PersonNameComponentsFormatter = .init(),
   |                                                           `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
59 |         components: PersonNameComponents = .init()
60 |     ) -> String {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/42] Emitting module SwiftCBOR
[10/44] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[11/44] Compiling SwiftCBOR Util.swift
[12/44] Compiling EUDCC AnyDateFormatter.swift
[13/44] Compiling EUDCC EUDCCDateFormatter.swift
[14/44] Compiling EUDCC EUDCC+Country.swift
[15/44] Compiling EUDCC EUDCC+CryptographicSignature.swift
[16/44] Compiling EUDCC EUDCC+DiseaseAgentTargeted.swift
[19/44] Compiling EUDCC EUDCC.swift
[20/44] Compiling EUDCC EUDCC+Test+TestType.swift
[21/44] Compiling EUDCC EUDCC+Vaccination+VaccineMedicinalProduct.swift
[25/44] Compiling EUDCC EUDCCTimestampFormatter.swift
[26/44] Compiling EUDCC EUDCC+Vaccination+VaccineOrProphylaxis.swift
[27/44] Compiling EUDCC EUDCC+Vaccination.swift
[28/44] Compiling EUDCC EUDCC+Test.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
[29/44] Compiling EUDCC EUDCC+Vaccination+VaccineMarketingAuthorizationHolder.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
[30/44] Compiling EUDCC EUDCC+Test+TestResult.swift
[31/44] Compiling EUDCC EUDCC+Name.swift
[33/44] Compiling EUDCC EUDCC+Recovery.swift
[38/44] Compiling EUDCC EUDCC+Content.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: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
56 |     /// - Returns: The formatted full name
57 |     func formatted(
58 |         using formatter: PersonNameComponentsFormatter = .init(),
   |                                                           `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
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: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
56 |     /// - Returns: The formatted full name
57 |     func formatted(
58 |         using formatter: PersonNameComponentsFormatter = .init(),
   |                                                           `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
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>
BUILD FAILURE 6.3 wasm