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.2 (beta) for Android on 23 Jun 2025 09:27:18 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path:  $PWD
https://github.com/SwiftyLua/lua4swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/SwiftyLua/CLua
[1/14759] Fetching quick
[887/14947] Fetching quick, clua
[2403/34531] Fetching quick, clua, nimble
Fetched https://github.com/SwiftyLua/CLua from cache (0.55s)
[7520/34343] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (2.49s)
Fetched https://github.com/Quick/Nimble from cache (2.52s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.7.1 (3.27s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.40s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (1.19s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
[5960/21339] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.72s)
[1538/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.45s)
Computing version for https://github.com/SwiftyLua/CLua
Computed https://github.com/SwiftyLua/CLua at 5.4.7 (2.19s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.93s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.74s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.59s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.36s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.25s)
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.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.88s)
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.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
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/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/SwiftyLua/CLua
Working copy of https://github.com/SwiftyLua/CLua resolved at 5.4.7
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/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 13.7.1
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] Write sources
[6/42] Compiling CLua lctype.c
[7/42] Compiling CLua lzio.c
[8/42] Compiling CLua lcorolib.c
[9/42] Write swift-version-8C5A4AE7A8CE2BA.txt
[10/42] Compiling CLua lbaselib.c
[11/42] Compiling CLua lutf8lib.c
[12/42] Compiling CLua lauxlib.c
[13/42] Compiling CLua ltablib.c
[14/42] Compiling CLua ltm.c
[15/42] Compiling CLua ltests.c
[16/42] Compiling CLua lstring.c
[16/42] Compiling CLua lundump.c
[18/42] Compiling CLua lcode.c
[19/42] Compiling CLua ltable.c
[20/42] Compiling CLua lapi.c
[21/42] Compiling CLua lstrlib.c
[21/42] Compiling CLua lvm.c
[23/42] Compiling CLua lopcodes.c
[24/42] Compiling CLua loslib.c
[25/42] Compiling CLua lobject.c
[26/42] Compiling CLua lstate.c
[27/42] Compiling CLua llex.c
[27/42] Compiling CLua lmem.c
[29/42] Compiling CLua loadlib.c
[29/42] Compiling CLua lmathlib.c
[31/42] Compiling CLua linit.c
[32/42] Compiling CLua lparser.c
[33/42] Compiling CLua liolib.c
[34/42] Compiling CLua lfunc.c
[35/42] Compiling CLua ldump.c
[36/42] Compiling CLua ldblib.c
[37/42] Compiling CLua ldo.c
[38/42] Compiling CLua ldebug.c
[39/42] Compiling CLua lgc.c
[40/42] Write Objects.LinkFileList
[41/42] Archiving libCLua.a
[43/52] Compiling lua4swift Value.swift
[44/52] Compiling lua4swift Boolean.swift
[45/52] Compiling lua4swift Function.swift
[46/53] Emitting module lua4swift
[47/53] Compiling lua4swift Thread.swift
[48/53] Compiling lua4swift Table.swift
[49/53] Compiling lua4swift Userdata.swift
/host/spi-builder-workspace/Sources/lua4swift/Userdata.swift:61:29: warning: capture of non-sendable type 'T.Type' in an isolated closure
59 |     public func createMethod(_ typeCheckers: [TypeChecker], _ fn: @escaping (T, Arguments) -> SwiftReturnValue) -> Function {
60 |         var typeCheckers = typeCheckers
61 |         typeCheckers.insert(CustomType<T>.arg, at: 0)
   |                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
62 |         return vm.createFunction(typeCheckers) { (args: Arguments) in
63 |             let o: T = args.customType()
[50/53] Compiling lua4swift Nil.swift
[51/53] Compiling lua4swift Number.swift
[52/53] Compiling lua4swift String.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)
/host/spi-builder-workspace/Sources/lua4swift/VirtualMachine.swift:280:39: warning: capture of non-sendable type 'T.Type' in an isolated closure
278 |
279 |         let gc = lib.gc
280 |         lib["__gc"] = createFunction([CustomType<T>.arg]) { args in
    |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure
281 |             let ud = args.userdata
282 |             (ud.userdataPointer() as UnsafeMutablePointer<T>).deinitialize(count: 1)
/host/spi-builder-workspace/Sources/lua4swift/VirtualMachine.swift:289:43: warning: capture of non-sendable type 'T.Type' in an isolated closure
287 |
288 |         if let eq = lib.eq {
289 |             lib["__eq"] = createFunction([CustomType<T>.arg, CustomType<T>.arg]) { args in
    |                                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
290 |                 let a: T = args.customType()
291 |                 let b: T = args.customType()
/host/spi-builder-workspace/Sources/lua4swift/VirtualMachine.swift:289:62: warning: capture of non-sendable type 'T.Type' in an isolated closure
287 |
288 |         if let eq = lib.eq {
289 |             lib["__eq"] = createFunction([CustomType<T>.arg, CustomType<T>.arg]) { args in
    |                                                              `- warning: capture of non-sendable type 'T.Type' in an isolated closure
290 |                 let a: T = args.customType()
291 |                 let b: T = args.customType()
BUILD FAILURE 6.2 android