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 SwiftPackageList, reference 4.8.0 (22ef2a), with Swift 5.10 for Linux on 10 May 2025 03:58:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FelixHerrmann/swift-package-list.git
Reference: 4.8.0
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/FelixHerrmann/swift-package-list
 * tag               4.8.0      -> FETCH_HEAD
HEAD is now at 22ef2a2 Bump version (4.8.0)
Cloned https://github.com/FelixHerrmann/swift-package-list.git
Revision (git rev-parse @):
22ef2a2b1b51b453be02ce2bd780753718e8893a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FelixHerrmann/swift-package-list.git at 4.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/FelixHerrmann/swift-package-list.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15121] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.47s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
error: fatalError
/host/spi-builder-workspace/Plugins/SwiftPackageListPlugin/SwiftPackageListPlugin.Configuration.swift:62:19: error: no exact matches in call to initializer
        let url = URL(filePath: path.string)
                  ^
Foundation.URL:3:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(string:)')
    public init?(string: String)
           ^
Foundation.URL:8:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileURLWithPath:)')
    public init(fileURLWithPath path: String)
           ^
Foundation.URL:2:12: note: incorrect labels for candidate (have: '(filePath:)', expected: '(fileReferenceLiteralResourceName:)')
    public init(fileReferenceLiteralResourceName name: String)
           ^
/host/spi-builder-workspace/Plugins/SwiftPackageListPlugin/SwiftPackageListPlugin.Configuration.swift:72:17: error: value of type 'JSONDecoder' has no member 'allowsJSON5'
        decoder.allowsJSON5 = true
        ~~~~~~~ ^~~~~~~~~~~
[2/2] Compiling plugin SwiftPackageListPlugin
BUILD FAILURE 5.10 linux