The Swift Package Index logo.Swift Package Index

Build Information

Failed to build slox, reference master (6f9b47), with Swift 6.1 for Android on 27 May 2025 13:48:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/alexito4/slox.git
Reference: master
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/alexito4/slox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6f9b479 update readme
Cloned https://github.com/alexito4/slox.git
Revision (git rev-parse @):
6f9b47958fcf064a4bcde3f6cf7ffb7664a13bf6
SUCCESS checkout https://github.com/alexito4/slox.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexito4/slox.git
https://github.com/alexito4/slox.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "result",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.4",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/antitypical/Result.git"
    }
  ],
  "manifest_display_name" : "slox",
  "name" : "slox",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "slox",
      "targets" : [
        "slox"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenerateAst",
      "targets" : [
        "GenerateAst"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "slox",
      "module_type" : "SwiftTarget",
      "name" : "slox",
      "path" : "Sources/slox",
      "product_memberships" : [
        "slox"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LoxCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "LoxCore",
      "module_type" : "SwiftTarget",
      "name" : "LoxCore",
      "path" : "Sources/LoxCore",
      "product_dependencies" : [
        "Result"
      ],
      "product_memberships" : [
        "slox"
      ],
      "sources" : [
        "AstPrinter.swift",
        "Debug.swift",
        "Environment.swift",
        "Expr.swift",
        "Lox.swift",
        "Parser.swift",
        "Resolver.swift",
        "Runtime/Interpreter.swift",
        "Runtime/LoxCallable.swift",
        "Runtime/LoxClass.swift",
        "Runtime/LoxInstance.swift",
        "Scanner.swift",
        "Stmt.swift",
        "Token.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateAst",
      "module_type" : "SwiftTarget",
      "name" : "GenerateAst",
      "path" : "Sources/GenerateAst",
      "product_memberships" : [
        "GenerateAst"
      ],
      "sources" : [
        "Printer.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/antitypical/Result.git
[1/2533] Fetching result
Fetched https://github.com/antitypical/Result.git from cache (0.74s)
Computing version for https://github.com/antitypical/Result.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-2":/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/antitypical/Result.git
Updated https://github.com/antitypical/Result.git (0.15s)
Computing version for https://github.com/antitypical/Result.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