The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UnityBuildKit, reference 1.1.4 (1d5599), with Swift 6.1 for Wasm on 27 May 2025 08:50:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/handsomecode/unitybuildkit.git
Reference: 1.1.4
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/handsomecode/unitybuildkit
 * tag               1.1.4      -> FETCH_HEAD
HEAD is now at 1d55992 Merge pull request #15 from handsomecode/develop
Cloned https://github.com/handsomecode/unitybuildkit.git
Revision (git rev-parse @):
1d55992f4699a2cb80b6ddc4495754b938c3fe5a
SUCCESS checkout https://github.com/handsomecode/unitybuildkit.git at 1.1.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/handsomecode/unitybuildkit.git
https://github.com/handsomecode/unitybuildkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcodegen",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "1.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/XcodeGen.git"
    }
  ],
  "manifest_display_name" : "UnityBuildKit",
  "name" : "UnityBuildKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UnityBuildKit",
      "targets" : [
        "UnityBuildKit"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "UBKit",
      "targets" : [
        "UBKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UnityBuildKit",
      "module_type" : "SwiftTarget",
      "name" : "UnityBuildKit",
      "path" : "Sources/UnityBuildKit",
      "product_memberships" : [
        "UnityBuildKit"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "UBKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "UBKit",
      "module_type" : "SwiftTarget",
      "name" : "UBKit",
      "path" : "Sources/UBKit",
      "product_dependencies" : [
        "XcodeGenKit"
      ],
      "product_memberships" : [
        "UnityBuildKit",
        "UBKit"
      ],
      "sources" : [
        "Files/Config/configFile.swift",
        "Files/File.swift",
        "Files/Unity/UnityEditorBuildScript.swift",
        "Files/Unity/UnityFrameworksScript.swift",
        "Files/Unity/UnityProjectScript.swift",
        "Files/UnityBridge/BridgeHeaderFile.swift",
        "Files/UnityBridge/MessageBridge.swift",
        "Files/UnityBridge/UnityUtilsFile.swift",
        "Files/Xcode/AppDelegateFile.swift",
        "Files/Xcode/AppIconContentsFile.swift",
        "Files/Xcode/InfoPlistFile.swift",
        "Files/Xcode/LaunchScreenFile.swift",
        "Files/Xcode/MainStoryboardFile.swift",
        "Files/Xcode/SpecFile.swift",
        "Files/Xcode/ViewControllerFile.swift",
        "Models/Config.swift",
        "Models/Result.swift",
        "Models/Shell.swift",
        "Models/UBKitError.swift",
        "Models/UnityCommandLine.swift",
        "UBKit.swift",
        "UBKitManager.swift",
        "Workers/FileCopier.swift",
        "Workers/UnityProject.swift",
        "Workers/XcodeGenerator.swift",
        "Workers/XcodeProject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/yonaskolb/XcodeGen.git
[1/25453] Fetching xcodegen
Fetched https://github.com/yonaskolb/XcodeGen.git from cache (1.75s)
Computing version for https://github.com/yonaskolb/XcodeGen.git
Computed https://github.com/yonaskolb/XcodeGen.git at 1.6.0 (2.23s)
Fetching https://github.com/xcodeswift/xcproj.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/jpsim/Yams.git
[1/1021] Fetching spectre
[165/2217] Fetching spectre, rainbow
[2218/3570] Fetching spectre, rainbow, jsonutilities
[3571/14217] Fetching spectre, rainbow, jsonutilities, yams
[4849/37507] Fetching spectre, rainbow, jsonutilities, yams, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (1.38s)
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/jpsim/Yams.git from cache (1.43s)
Fetching https://github.com/kylef/Commander.git
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (1.56s)
Fetched https://github.com/kylef/Spectre.git from cache (1.56s)
[1/1411] Fetching pathkit
Fetched https://github.com/xcodeswift/xcproj.git from cache (1.59s)
Fetched https://github.com/kylef/PathKit.git from cache (0.28s)
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.28s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.76s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (3.51s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (1.19s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (0.51s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/960] Fetching shellout
[961/3087] Fetching shellout, aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.24s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.25s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.78s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Updating https://github.com/yonaskolb/XcodeGen.git
Updated https://github.com/yonaskolb/XcodeGen.git (0.16s)
Computing version for https://github.com/yonaskolb/XcodeGen.git
Computed https://github.com/yonaskolb/XcodeGen.git at 1.6.0 (0.70s)
Updating https://github.com/kylef/Commander.git
Updating https://github.com/xcodeswift/xcproj.git
Updating https://github.com/yonaskolb/JSONUtilities.git
Updating https://github.com/onevcat/Rainbow.git
Updating https://github.com/jpsim/Yams.git
Updating https://github.com/kylef/Spectre.git
Updated https://github.com/kylef/Commander.git (0.16s)
Updating https://github.com/kylef/PathKit.git
Updated https://github.com/yonaskolb/JSONUtilities.git (0.21s)
Updated https://github.com/xcodeswift/xcproj.git (0.41s)
Updated https://github.com/kylef/Spectre.git (0.28s)
Updated https://github.com/onevcat/Rainbow.git (0.31s)
Updated https://github.com/jpsim/Yams.git (0.31s)
Updated https://github.com/kylef/PathKit.git (0.31s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.40s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (3.51s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.69s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (0.51s)
Updating https://github.com/JohnSundell/ShellOut.git
Updating https://github.com/tadija/AEXML.git
Updated https://github.com/JohnSundell/ShellOut.git (0.30s)
Updated https://github.com/tadija/AEXML.git (0.31s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.27s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
BUILD FAILURE 6.1 wasm