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 SHDateFormatter, reference develop (ca2e01), with Swift 6.2 for Linux on 17 Sep 2025 17:02:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/blackjacx/SHDateFormatter.git
Reference: develop
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/blackjacx/SHDateFormatter
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at ca2e011 Bump swift-actions/setup-swift from 1 to 2 in /.github/workflows
Cloned https://github.com/blackjacx/SHDateFormatter.git
Revision (git rev-parse @):
ca2e011acc769b2231c0293819bb7521b7ff7997
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/blackjacx/SHDateFormatter.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/blackjacx/SHDateFormatter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/19658] Fetching nimble
[591/34499] Fetching nimble, quick
Fetched https://github.com/Quick/Quick from cache (1.40s)
[17103/19658] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (2.46s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.7.1 (3.21s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.42s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (1.30s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/16294] Fetching swift-argument-parser
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.16s)
[1/5986] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.78s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.68s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.69s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.48s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.37s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.11s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.81s)
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 7.6.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 13.7.1
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/13] Compiling SHDateFormatter TimeZone+Extensions.swift
[10/13] Compiling SHDateFormatter SHDateFormatter.swift
/host/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:95:35: error: value of type 'DateFormatter' has no member 'formatterBehavior'
 93 |
 94 |     func reset() {
 95 |         SHDateFormatter.formatter.formatterBehavior = .default
    |                                   `- error: value of type 'DateFormatter' has no member 'formatterBehavior'
 96 |         SHDateFormatter.formatter.doesRelativeDateFormatting = false
 97 |         SHDateFormatter.formatter.dateFormat = nil
/host/spi-builder-workspace/Source/SHDateFormatter/Classes/SHDateFormatter.swift:95:56: error: cannot infer contextual base in reference to member 'default'
 93 |
 94 |     func reset() {
 95 |         SHDateFormatter.formatter.formatterBehavior = .default
    |                                                        `- error: cannot infer contextual base in reference to member 'default'
 96 |         SHDateFormatter.formatter.doesRelativeDateFormatting = false
 97 |         SHDateFormatter.formatter.dateFormat = nil
[11/13] Emitting module SHDateFormatter
[12/13] Compiling SHDateFormatter Date+Utils.swift
[13/13] Compiling SHDateFormatter SHDateFormatter+Extension.swift
BUILD FAILURE 6.2 linux