Build Information
Failed to build lua4swift, reference main (19c2af
), with Swift 6.2 (beta) for Linux on 23 Jun 2025 09:26:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/SwiftyLua/CLua
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/188] Fetching clua
[189/14947] Fetching clua, quick
[1665/34531] Fetching clua, quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.28s)
[3909/19772] Fetching clua, nimble
Fetched https://github.com/SwiftyLua/CLua from cache (2.65s)
Fetched https://github.com/Quick/Nimble from cache (2.70s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.7.1 (4.27s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.50s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (1.68s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/15380] Fetching swift-argument-parser
[15381/21339] Fetching swift-argument-parser, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (1.51s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.51s)
Computing version for https://github.com/SwiftyLua/CLua
Computed https://github.com/SwiftyLua/CLua at 5.4.7 (2.23s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.88s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.73s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.60s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.32s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.06s)
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.80s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.83s)
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/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/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
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/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 7.6.2
Creating working copy for https://github.com/SwiftyLua/CLua
Working copy of https://github.com/SwiftyLua/CLua resolved at 5.4.7
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 lmem.c
[6/42] Write sources
[7/42] Compiling CLua ldump.c
[8/42] Compiling CLua lctype.c
[9/42] Compiling CLua loadlib.c
[10/42] Write swift-version-24593BA9C3E375BF.txt
[11/42] Compiling CLua ldblib.c
[12/42] Compiling CLua lzio.c
[13/42] Compiling CLua lutf8lib.c
[14/42] Compiling CLua ldo.c
[15/42] Compiling CLua ldebug.c
[16/42] Compiling CLua ltablib.c
[17/42] Compiling CLua ltests.c
[17/42] Compiling CLua lundump.c
[19/42] Compiling CLua ltm.c
[20/42] Compiling CLua lopcodes.c
[21/42] Compiling CLua lstate.c
[22/42] Compiling CLua lstring.c
[23/42] Compiling CLua ltable.c
[24/42] Compiling CLua loslib.c
[25/42] Compiling CLua linit.c
[26/42] Compiling CLua liolib.c
[27/42] Compiling CLua llex.c
[28/42] Compiling CLua lmathlib.c
[29/42] Compiling CLua lparser.c
[30/42] Compiling CLua lstrlib.c
[31/42] Compiling CLua lobject.c
[32/42] Compiling CLua lfunc.c
[33/42] Compiling CLua lcorolib.c
[34/42] Compiling CLua lvm.c
[35/42] Compiling CLua lbaselib.c
[36/42] Compiling CLua lauxlib.c
[37/42] Compiling CLua lgc.c
[38/42] Compiling CLua lcode.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] Compiling lua4swift Nil.swift
[45/53] Compiling lua4swift Number.swift
[46/53] Compiling lua4swift Boolean.swift
[47/53] Compiling lua4swift Function.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 String.swift
[51/53] Compiling lua4swift Thread.swift
[52/53] Emitting module lua4swift
[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 linux