Build Information
Failed to build SwiftGodotKick, reference 3.0.0 (b16ed8), with Swift 6.2 for Linux on 21 Jun 2025 06:56:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EstevanBR/SwiftGodotKick.git
Reference: 3.0.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/EstevanBR/SwiftGodotKick
* tag 3.0.0 -> FETCH_HEAD
HEAD is now at b16ed8f reorder products and targets to avoid error
Cloned https://github.com/EstevanBR/SwiftGodotKick.git
Revision (git rev-parse @):
b16ed8f7d7bd7d1f51ca753a66f0615c524d5225
SUCCESS checkout https://github.com/EstevanBR/SwiftGodotKick.git at 3.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/EstevanBR/SwiftGodotKick.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/6] Write sources
[1/6] Copying Resources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling CreateProject UserChoice+Argument.swift
[5/17] Emitting module CreateProject
[6/17] Compiling CreateProject resource_bundle_accessor.swift
[7/17] Compiling CreateProject ProcessInfo+SwiftGodotKick.swift
[8/17] Compiling CreateProject UserChoice.swift
[9/17] Compiling CreateProject ChangeDirectoryError.swift
[10/17] Compiling CreateProject Color.swift
[11/17] Compiling CreateProject CreateProject.swift
/host/spi-builder-workspace/Sources/CreateProject/CreateProject.swift:174:23: error: pattern of type '(Swift.String, Swift.String) -> CreateProject.CreateProjectError' cannot match '(Swift.String, Swift.String) -> CreateProject.CreateProjectError'
172 | var errorDescription: String? {
173 | switch self {
174 | case let .executableNameMustBeUnique((executableName, projectName)):
| `- error: pattern of type '(Swift.String, Swift.String) -> CreateProject.CreateProjectError' cannot match '(Swift.String, Swift.String) -> CreateProject.CreateProjectError'
175 | "Executable name \"\(executableName)\" and project name \"\(projectName)\" must be different"
176 | }
[12/17] Compiling CreateProject DataFactory.swift
/host/spi-builder-workspace/Sources/CreateProject/CreateProject.swift:174:23: error: pattern of type '(Swift.String, Swift.String) -> CreateProject.CreateProjectError' cannot match '(Swift.String, Swift.String) -> CreateProject.CreateProjectError'
172 | var errorDescription: String? {
173 | switch self {
174 | case let .executableNameMustBeUnique((executableName, projectName)):
| `- error: pattern of type '(Swift.String, Swift.String) -> CreateProject.CreateProjectError' cannot match '(Swift.String, Swift.String) -> CreateProject.CreateProjectError'
175 | "Executable name \"\(executableName)\" and project name \"\(projectName)\" must be different"
176 | }
[13/17] Compiling CreateProject FileManager+SwiftGodotKick.swift
/host/spi-builder-workspace/Sources/CreateProject/FileManager+SwiftGodotKick.swift:15:9: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
13 | throw FileAlreadyExistsError(path: path)
14 | }
15 | createFile(atPath: path, contents: data)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
16 | }
17 |
[14/17] Compiling CreateProject FileFactory.swift
/host/spi-builder-workspace/Sources/CreateProject/FileFactory.swift:30:21: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
28 | let data = try DataFactory.makeEnvFileData(projectName: projectName, executableName: executableName, godotPath: godotPath)
29 | let path = directory + "/.env"
30 | fileManager.createFile(atPath: path, contents: data)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
31 | return path
32 | }
/host/spi-builder-workspace/Sources/CreateProject/FileFactory.swift:58:21: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
56 | let mainFileData = try DataFactory.makeMainFileData(projectName: projectName)
57 | let mainPath = executableTargetDirectory + "/main.swift"
58 | fileManager.createFile(atPath: mainPath, contents: mainFileData)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#no-usage]
59 |
60 | let resourcesDirectory = executableTargetDirectory + "/Resources"
BUILD FAILURE 6.2 linux