Build Information
Failed to build swift-command, reference main (3fbf95
), with Swift 5.10 for Linux on 23 Mar 2025 07:07:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/swift-command.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/pelagornis/swift-command
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3fbf956 Update README.md
Cloned https://github.com/pelagornis/swift-command.git
Revision (git rev-parse @):
3fbf956d01e95b45b3c8ea469329f6d7c8ab877e
SUCCESS checkout https://github.com/pelagornis/swift-command.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/pelagornis/swift-command.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
[2051/5837] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-log from cache (0.39s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.39s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.38s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3343] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.40s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Compiling Logging Locks.swift
[9/10] Compiling Logging Logging.swift
[10/10] Emitting module Logging
[12/29] Emitting module Command
[13/31] Compiling Command Alias.swift
[14/31] Compiling Command Arguments.swift
[15/31] Compiling Command Command.swift
[16/31] Compiling Command Result.swift
[17/31] Compiling Command Fastlane.swift
[18/31] Compiling Command Git.swift
[19/31] Compiling Command SwiftPackage.swift
[20/31] Compiling Command CommandValues.swift
[21/31] Compiling Command Bash.swift
[22/31] Compiling Command Make.swift
[23/31] Compiling Command Zsh.swift
[24/31] Compiling Command Environment.swift
[25/31] Compiling Command DataExt.swift
[26/31] Compiling Command Request.swift
[27/31] Compiling Command Response.swift
[28/31] Compiling Command StringExt.swift
/host/spi-builder-workspace/Sources/Command/Internal/URLExt.swift:9:16: error: no exact matches in call to initializer
self.init(filePath: path)
^
/host/spi-builder-workspace/Sources/Command/Internal/URLExt.swift:7:3: note: incorrect labels for candidate (have: '(filePath:)', expected: '(path:)')
init(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)
^
[29/31] Compiling Command URLExt.swift
/host/spi-builder-workspace/Sources/Command/Internal/URLExt.swift:9:16: error: no exact matches in call to initializer
self.init(filePath: path)
^
/host/spi-builder-workspace/Sources/Command/Internal/URLExt.swift:7:3: note: incorrect labels for candidate (have: '(filePath:)', expected: '(path:)')
init(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)
^
[30/31] Compiling Command Tuist.swift
[31/31] Compiling Command Task.swift
error: fatalError
BUILD FAILURE 5.10 linux