The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPM, reference main (d368cb), with Swift 6.2 for Linux on 31 Dec 2025 07:35:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageIndex/swift-package-manager.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/SwiftPackageIndex/swift-package-manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d368cb0 [Commands] Adjust `swift package migrate` to only apply fix-its to th… (#8629)
Cloned https://github.com/SwiftPackageIndex/swift-package-manager.git
Revision (git rev-parse @):
d368cb00ea42cdc9f5fb2c33a9d1374614977d85
SUCCESS checkout https://github.com/SwiftPackageIndex/swift-package-manager.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftPackageIndex/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:e1f50347098d838026a020bb7d0f8bade3d7b84d6d497429b7cf821cdf4fc3d1
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:103:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 101 | let autoProducts = [swiftPMProduct, swiftPMDataModelProduct]
 102 |
 103 | let package = Package(
     |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
     |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 104 |     name: "SwiftPM",
 105 |     platforms: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29412] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (3.64s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7148] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.84s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/36681] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (4.55s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/73244] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.70s)
Fetching https://github.com/swiftlang/swift-build.git
[1/19345] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (2.63s)
error: Dependencies could not be resolved because root depends on 'swift-argument-parser' 1.4.0..<1.5.0 and 'swift-driver' depends on 'swift-argument-parser' 1.5.1..<2.0.0.
BUILD FAILURE 6.2 linux