The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPackageList with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FelixHerrmann/swift-package-list.git
Reference: 4.1.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.1.0      -> FETCH_HEAD
HEAD is now at 9e7edc3 Bump version (4.1.0)
Cloned https://github.com/FelixHerrmann/swift-package-list.git
Revision (git rev-parse @):
9e7edc38f2a599424b9437c32baf1e6a8b9621b8
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/FelixHerrmann/swift-package-list.git at 4.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/FelixHerrmann/swift-package-list.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
[1/11543] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.36s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
[1/1] Compiling plugin GenerateManual
error: fatalError
/host/spi-builder-workspace/Plugins/SwiftPackageListPlugin/SwiftPackageListPlugin.Configuration.swift:60: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)
           ^
[2/2] Compiling plugin SwiftPackageListPlugin
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
error: fatalError
/host/spi-builder-workspace/Plugins/SwiftPackageListPlugin/SwiftPackageListPlugin.Configuration.swift:60: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)
           ^
[2/2] Compiling plugin SwiftPackageListPlugin
BUILD FAILURE 5.9 linux

Build Machine: Linux 2