The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGodotKick, reference 3.0.0 (b16ed8), with Swift 6.1 for Wasm on 21 Jun 2025 13:42:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build 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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/EstevanBR/SwiftGodotKick.git
https://github.com/EstevanBR/SwiftGodotKick.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftGodotKick",
  "name" : "SwiftGodotKick",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "swift-godot-kick",
      "targets" : [
        "CreateProject"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CreateProject",
      "module_type" : "SwiftTarget",
      "name" : "CreateProject",
      "path" : "Sources/CreateProject",
      "product_memberships" : [
        "swift-godot-kick"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/CreateProject/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ChangeDirectoryError.swift",
        "Color.swift",
        "CreateProject.swift",
        "DataFactory.swift",
        "Extensions/ProcessInfo+SwiftGodotKick.swift",
        "Extensions/UserChoice+Argument.swift",
        "FileFactory.swift",
        "FileManager+SwiftGodotKick.swift",
        "UserChoice.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/6] Write sources
[1/6] Copying Resources
[2/6] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling CreateProject UserChoice.swift
/host/spi-builder-workspace/Sources/CreateProject/UserChoice.swift:16:16: warning: static property 'shouldColorizeOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     }
15 |
16 |     static var shouldColorizeOutput: Bool = {
   |                |- warning: static property 'shouldColorizeOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shouldColorizeOutput' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shouldColorizeOutput' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |         !ProcessInfo.processInfo.arguments.contains(Argument.noColor.rawValue)
18 |     }()
/host/spi-builder-workspace/Sources/CreateProject/UserChoice.swift:20:16: warning: static property 'shouldHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |     }()
19 |
20 |     static var shouldHelp: Bool = {
   |                |- warning: static property 'shouldHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shouldHelp' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shouldHelp' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         ProcessInfo.processInfo.arguments.contains(Argument.help.rawValue)
22 |     }()
/host/spi-builder-workspace/Sources/CreateProject/UserChoice.swift:24:16: warning: static property 'shouldShowVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |     }()
23 |
24 |     static var shouldShowVersion: Bool = {
   |                |- warning: static property 'shouldShowVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shouldShowVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shouldShowVersion' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |         ProcessInfo.processInfo.arguments.contains(Argument.version.rawValue)
26 |     }()
[5/17] Compiling CreateProject ChangeDirectoryError.swift
[6/17] Compiling CreateProject Color.swift
[7/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 |         }
[8/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 |         }
[9/17] Compiling CreateProject ProcessInfo+SwiftGodotKick.swift
[10/17] Compiling CreateProject UserChoice+Argument.swift
[11/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
 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
 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
 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
 59 |
 60 |         let resourcesDirectory = executableTargetDirectory + "/Resources"
[12/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
13 |             throw FileAlreadyExistsError(path: path)
14 |         }
15 |         createFile(atPath: path, contents: data)
   |         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
16 |     }
17 |
[13/17] Emitting module CreateProject
/host/spi-builder-workspace/Sources/CreateProject/UserChoice.swift:16:16: warning: static property 'shouldColorizeOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     }
15 |
16 |     static var shouldColorizeOutput: Bool = {
   |                |- warning: static property 'shouldColorizeOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shouldColorizeOutput' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shouldColorizeOutput' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |         !ProcessInfo.processInfo.arguments.contains(Argument.noColor.rawValue)
18 |     }()
/host/spi-builder-workspace/Sources/CreateProject/UserChoice.swift:20:16: warning: static property 'shouldHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |     }()
19 |
20 |     static var shouldHelp: Bool = {
   |                |- warning: static property 'shouldHelp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shouldHelp' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shouldHelp' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         ProcessInfo.processInfo.arguments.contains(Argument.help.rawValue)
22 |     }()
/host/spi-builder-workspace/Sources/CreateProject/UserChoice.swift:24:16: warning: static property 'shouldShowVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |     }()
23 |
24 |     static var shouldShowVersion: Bool = {
   |                |- warning: static property 'shouldShowVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shouldShowVersion' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shouldShowVersion' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |         ProcessInfo.processInfo.arguments.contains(Argument.version.rawValue)
26 |     }()
[14/17] Compiling CreateProject resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling CreateProject UserChoice.swift
[3/14] 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
13 |             throw FileAlreadyExistsError(path: path)
14 |         }
15 |         createFile(atPath: path, contents: data)
   |         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
16 |     }
17 |
[4/15] Compiling CreateProject ProcessInfo+SwiftGodotKick.swift
[5/15] Compiling CreateProject UserChoice+Argument.swift
[6/15] 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
 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
 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
 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
 59 |
 60 |         let resourcesDirectory = executableTargetDirectory + "/Resources"
[7/15] Emitting module CreateProject
[8/15] Compiling CreateProject ChangeDirectoryError.swift
[9/15] Compiling CreateProject Color.swift
[10/15] 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 |         }
[11/15] 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 |         }
[12/15] Compiling CreateProject resource_bundle_accessor.swift
BUILD FAILURE 6.1 wasm