The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build lua4swift, reference main (19c2af), with Swift 6.1 for Android on 30 May 2025 14:10:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/SwiftyLua/lua4swift.git
Reference: main
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/SwiftyLua/lua4swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 19c2afd Update to Swift 6.0
Cloned https://github.com/SwiftyLua/lua4swift.git
Revision (git rev-parse @):
19c2afd3c8131fee6e430ffd989ac2f1ca2c5fd4
SUCCESS checkout https://github.com/SwiftyLua/lua4swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftyLua/lua4swift.git
https://github.com/SwiftyLua/lua4swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "clua",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.4.7",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyLua/CLua"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.6.2",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "13.7.1",
            "upper_bound" : "14.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    }
  ],
  "manifest_display_name" : "lua4swift",
  "name" : "lua4swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "lua4swift",
      "targets" : [
        "lua4swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "lua4swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "lua4swiftTests",
      "path" : "Tests/lua4swiftTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Lua_Tests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "lua4swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "lua4swift",
      "module_type" : "SwiftTarget",
      "name" : "lua4swift",
      "path" : "Sources/lua4swift",
      "product_dependencies" : [
        "CLua"
      ],
      "product_memberships" : [
        "lua4swift"
      ],
      "sources" : [
        "Boolean.swift",
        "Function.swift",
        "Nil.swift",
        "Number.swift",
        "String.swift",
        "Table.swift",
        "Thread.swift",
        "Userdata.swift",
        "Value.swift",
        "VirtualMachine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SwiftyLua/CLua
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/188] Fetching clua
[189/14943] Fetching clua, quick
[2698/34527] Fetching clua, quick, nimble
Fetched https://github.com/SwiftyLua/CLua from cache (1.41s)
Fetched https://github.com/Quick/Quick from cache (1.42s)
Fetched https://github.com/Quick/Nimble from cache (1.44s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.7.1 (2.01s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (1.73s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/5959] Fetching swift-algorithms
[5960/21345] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.46s)
[770/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.00s)
Computing version for https://github.com/SwiftyLua/CLua
Computed https://github.com/SwiftyLua/CLua at 5.4.7 (1.57s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.10s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.96s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.99s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.50s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.13s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 13.7.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/SwiftyLua/CLua
Working copy of https://github.com/SwiftyLua/CLua resolved at 5.4.7
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 7.6.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
Building for debugging...
[5/42] Compiling CLua liolib.c
[5/42] Write sources
[7/42] Compiling CLua lbaselib.c
[8/42] Compiling CLua ldblib.c
[9/42] Compiling CLua llex.c
[10/42] Compiling CLua lutf8lib.c
[11/42] Compiling CLua lzio.c
[12/42] Compiling CLua ldebug.c
[13/42] Compiling CLua lcode.c
[14/42] Compiling CLua lundump.c
[15/42] Compiling CLua ltests.c
[16/42] Compiling CLua ltm.c
[17/42] Compiling CLua ltablib.c
[18/42] Compiling CLua ltable.c
[19/42] Compiling CLua lstate.c
[20/42] Compiling CLua lstring.c
[21/42] Compiling CLua lauxlib.c
[22/42] Write swift-version-24593BA9C3E375BF.txt
[23/42] Compiling CLua lparser.c
[24/42] Compiling CLua loslib.c
[25/42] Compiling CLua lopcodes.c
[26/42] Compiling CLua lvm.c
[27/42] Compiling CLua lstrlib.c
[28/42] Compiling CLua lmem.c
[29/42] Compiling CLua linit.c
[30/42] Compiling CLua loadlib.c
[31/42] Compiling CLua lobject.c
[32/42] Compiling CLua lmathlib.c
[33/42] Compiling CLua lfunc.c
[34/42] Compiling CLua lctype.c
[35/42] Compiling CLua ldump.c
[36/42] Compiling CLua lcorolib.c
[37/42] Compiling CLua ldo.c
[38/42] Compiling CLua lgc.c
[39/42] Compiling CLua lapi.c
[40/42] Write Objects.LinkFileList
[41/42] Archiving libCLua.a
[43/52] Compiling lua4swift Value.swift
[44/53] Emitting module lua4swift
[45/53] Compiling lua4swift Boolean.swift
[46/53] Compiling lua4swift Function.swift
[47/53] Compiling lua4swift String.swift
[48/53] Compiling lua4swift Nil.swift
[49/53] Compiling lua4swift Number.swift
[50/53] Compiling lua4swift Table.swift
[51/53] Compiling lua4swift Thread.swift
[52/53] Compiling lua4swift Userdata.swift
[53/53] Compiling lua4swift VirtualMachine.swift
/host/spi-builder-workspace/Sources/lua4swift/VirtualMachine.swift:256:19: error: cannot find 'imp_implementationWithBlock' in scope
254 |         }
255 |         let block: AnyObject = unsafeBitCast(f, to: AnyObject.self)
256 |         let imp = imp_implementationWithBlock(block)
    |                   `- error: cannot find 'imp_implementationWithBlock' in scope
257 |
258 |         let fp = unsafeBitCast(imp, to: lua_CFunction.self)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
[0/1] Planning build
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
Building for debugging...
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/16] Compiling lua4swift Thread.swift
[8/17] Compiling lua4swift Userdata.swift
[9/17] Compiling lua4swift Value.swift
[10/17] Compiling lua4swift VirtualMachine.swift
/host/spi-builder-workspace/Sources/lua4swift/VirtualMachine.swift:256:19: error: cannot find 'imp_implementationWithBlock' in scope
254 |         }
255 |         let block: AnyObject = unsafeBitCast(f, to: AnyObject.self)
256 |         let imp = imp_implementationWithBlock(block)
    |                   `- error: cannot find 'imp_implementationWithBlock' in scope
257 |
258 |         let fp = unsafeBitCast(imp, to: lua_CFunction.self)
[11/17] Compiling lua4swift Boolean.swift
[12/17] Compiling lua4swift Function.swift
[13/17] Compiling lua4swift String.swift
[14/17] Compiling lua4swift Nil.swift
[15/17] Compiling lua4swift Number.swift
[16/17] Compiling lua4swift Table.swift
[17/17] Emitting module lua4swift
BUILD FAILURE 6.1 android