Build Information
Failed to build lua4swift, reference main (3c74ee), with Swift 6.3 for Linux on 17 Apr 2026 00:35:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 3c74eee Update Package.swift
Cloned https://github.com/SwiftyLua/lua4swift.git
Revision (git rev-parse @):
3c74eeec954b26e2314dadc8eeae3c5c75040001
SUCCESS checkout https://github.com/SwiftyLua/lua4swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/SwiftyLua/lua4swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/SwiftyLua/CLua
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/207] Fetching clua
[78/15109] Fetching clua, quick
[1252/34932] Fetching clua, quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.34s)
[14389/20030] Fetching clua, nimble
Fetched https://github.com/SwiftyLua/CLua from cache (2.19s)
Fetched https://github.com/Quick/Nimble from cache (2.22s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (2.77s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6058] Fetching swift-algorithms
[304/23581] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.54s)
[9463/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.96s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.8.0 (1.45s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.25s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.96s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.64s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.39s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.15s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.46s)
Computing version for https://github.com/SwiftyLua/CLua
Computed https://github.com/SwiftyLua/CLua at 5.4.7 (0.40s)
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 13.8.0
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
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/43] Write sources
[7/43] Compiling CLua lzio.c
[8/43] Compiling CLua lutf8lib.c
[9/43] Compiling CLua lbaselib.c
[10/43] Compiling CLua lauxlib.c
[11/43] Compiling CLua lcode.c
[12/43] Compiling CLua lundump.c
[13/43] Compiling CLua ltm.c
[14/43] Compiling CLua ltests.c
[15/43] Compiling CLua lapi.c
[16/43] Compiling CLua ltablib.c
[17/43] Compiling CLua loslib.c
[18/43] Write swift-version-24593BA9C3E375BF.txt
[19/43] Compiling CLua lstring.c
[20/43] Compiling CLua lstate.c
[21/43] Compiling CLua lstrlib.c
[21/43] Compiling CLua ltable.c
[23/43] Compiling CLua lopcodes.c
[24/43] Compiling CLua lparser.c
[25/43] Compiling CLua lvm.c
[26/43] Compiling CLua linit.c
[27/43] Compiling CLua loadlib.c
[28/43] Compiling CLua lmathlib.c
[29/43] Compiling CLua lmem.c
[30/43] Compiling CLua llex.c
[31/43] Compiling CLua lobject.c
[32/43] Compiling CLua ldump.c
[32/43] Compiling CLua lfunc.c
[34/43] Compiling CLua liolib.c
[35/43] Compiling CLua lgc.c
[36/43] Compiling CLua lctype.c
[37/43] Compiling CLua lcorolib.c
[38/43] Compiling CLua ldebug.c
[39/43] Compiling CLua ldo.c
[40/43] Compiling CLua ldblib.c
[41/43] Write Objects.LinkFileList
[42/53] Archiving libCLua.a
[44/53] Emitting module lua4swift
[45/54] Compiling lua4swift Boolean.swift
[46/54] Compiling lua4swift Function.swift
[47/54] Compiling lua4swift Value.swift
[48/54] Compiling lua4swift String.swift
[49/54] 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 [#SendableMetatypes]
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 [#SendableMetatypes]
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 [#SendableMetatypes]
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 [#SendableMetatypes]
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 [#SendableMetatypes]
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 [#SendableMetatypes]
290 | let a: T = args.customType()
291 | let b: T = args.customType()
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[50/54] Compiling lua4swift Thread.swift
[51/54] Compiling lua4swift Nil.swift
[52/54] Compiling lua4swift Number.swift
[53/54] Compiling lua4swift Table.swift
[54/54] 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 [#SendableMetatypes]
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 [#SendableMetatypes]
62 | return vm.createFunction(typeCheckers) { (args: Arguments) in
63 | let o: T = args.customType()
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
BUILD FAILURE 6.3 linux