The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/yonaskolb/XcodeGen.git
[1/25453] Fetching xcodegen
Fetched https://github.com/yonaskolb/XcodeGen.git from cache (1.87s)
Computing version for https://github.com/yonaskolb/XcodeGen.git
Computed https://github.com/yonaskolb/XcodeGen.git at 1.6.0 (2.80s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/xcodeswift/xcproj.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/jpsim/Yams.git
[1/1196] Fetching rainbow
[61/2549] Fetching rainbow, jsonutilities
[460/4137] Fetching rainbow, jsonutilities, commander
[623/5158] Fetching rainbow, jsonutilities, commander, spectre
[5048/15805] Fetching rainbow, jsonutilities, commander, spectre, yams
[5479/39095] Fetching rainbow, jsonutilities, commander, spectre, yams, xcproj
Fetched https://github.com/kylef/Commander.git from cache (0.62s)
[4569/37507] Fetching rainbow, jsonutilities, spectre, yams, xcproj
Fetching https://github.com/kylef/PathKit.git
[13001/38918] Fetching rainbow, jsonutilities, spectre, yams, xcproj, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.41s)
[16966/37507] Fetching rainbow, jsonutilities, spectre, yams, xcproj
Fetched https://github.com/kylef/Spectre.git from cache (2.57s)
Fetched https://github.com/jpsim/Yams.git from cache (2.70s)
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (2.80s)
Fetched https://github.com/onevcat/Rainbow.git from cache (2.80s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (2.86s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (5.70s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (5.21s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.93s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (0.55s)
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.25s)
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.75s)
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Updating https://github.com/yonaskolb/XcodeGen.git
Updated https://github.com/yonaskolb/XcodeGen.git (0.15s)
Computing version for https://github.com/yonaskolb/XcodeGen.git
Computed https://github.com/yonaskolb/XcodeGen.git at 1.6.0 (0.73s)
Updating https://github.com/xcodeswift/xcproj.git
Updating https://github.com/jpsim/Yams.git
Updated https://github.com/jpsim/Yams.git (0.19s)
Updating https://github.com/kylef/PathKit.git
Updating https://github.com/kylef/Commander.git
Updating https://github.com/onevcat/Rainbow.git
Updating https://github.com/yonaskolb/JSONUtilities.git
Updating https://github.com/kylef/Spectre.git
Updated https://github.com/xcodeswift/xcproj.git (0.22s)
Updated https://github.com/kylef/PathKit.git (0.15s)
Updated https://github.com/kylef/Spectre.git (0.17s)
Updated https://github.com/onevcat/Rainbow.git (0.17s)
Updated https://github.com/yonaskolb/JSONUtilities.git (0.17s)
Updated https://github.com/kylef/Commander.git (0.17s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (2.23s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.51s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (0.49s)
Updating https://github.com/tadija/AEXML.git
Updating https://github.com/JohnSundell/ShellOut.git
Updated https://github.com/JohnSundell/ShellOut.git (0.15s)
Updated https://github.com/tadija/AEXML.git (0.15s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.64s)
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 android