Build Information
Failed to build lua4swift, reference main (19c2af
), with Swift 6.0 for Linux on 17 Mar 2025 09:08:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.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: linux
Swift version: 6.0
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
7478e0ac0f23: Already exists
d2078c270eeb: Already exists
4d345160ec45: Already exists
b504d0abf61f: Already exists
772e5007c952: Pulling fs layer
b02cc3adee55: Pulling fs layer
772e5007c952: Waiting
b02cc3adee55: Waiting
b02cc3adee55: Download complete
772e5007c952: Verifying Checksum
772e5007c952: Download complete
772e5007c952: Pull complete
b02cc3adee55: Pull complete
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Quick/Quick
Fetching https://github.com/SwiftyLua/CLua
Fetching https://github.com/Quick/Nimble
[1/188] Fetching clua
Fetched https://github.com/SwiftyLua/CLua from cache (0.31s)
[1/19551] Fetching nimble
[11537/34298] Fetching nimble, quick
Fetched https://github.com/Quick/Quick from cache (1.43s)
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 (0.67s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.21s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (0.66s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5863] Fetching swift-algorithms
[5864/20569] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.87s)
Computing version for https://github.com/SwiftyLua/CLua
Computed https://github.com/SwiftyLua/CLua at 5.4.7 (0.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.22s)
Fetching https://github.com/apple/swift-numerics.git
[1/5659] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.39s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.64s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.20s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.68s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.65s)
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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
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/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
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/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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 DefocusCommandPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin LintCommandPlugin
[4/4] Compiling plugin LintError
[5/5] Compiling plugin LintWarning
Building for debugging...
[5/42] Compiling CLua lctype.c
[6/42] Compiling CLua ldblib.c
[6/42] Write sources
[8/42] Compiling CLua llex.c
[9/42] Compiling CLua lcorolib.c
[10/42] Compiling CLua lbaselib.c
[11/42] Compiling CLua liolib.c
[12/42] Compiling CLua lzio.c
[12/42] Compiling CLua lauxlib.c
[12/42] Compiling CLua lutf8lib.c
[15/42] Compiling CLua lapi.c
[16/42] Compiling CLua ltm.c
[17/42] Compiling CLua ltests.c
[18/42] Compiling CLua ltablib.c
[18/42] Compiling CLua lundump.c
[20/42] Compiling CLua lstring.c
[21/42] Compiling CLua ltable.c
[22/42] Compiling CLua lstate.c
[23/42] Compiling CLua lstrlib.c
[24/42] Compiling CLua loslib.c
[25/42] Compiling CLua lopcodes.c
[26/42] Compiling CLua lvm.c
[27/42] Compiling CLua loadlib.c
[28/42] Compiling CLua lobject.c
[29/42] Compiling CLua linit.c
[30/42] Compiling CLua lparser.c
[31/42] Compiling CLua lmem.c
[32/42] Compiling CLua lmathlib.c
[33/42] Compiling CLua ldump.c
[34/42] Compiling CLua lfunc.c
[35/42] Compiling CLua lgc.c
[36/42] Compiling CLua ldebug.c
[37/42] Write swift-version-24593BA9C3E375BF.txt
[38/42] Compiling CLua ldo.c
[39/42] Compiling CLua lcode.c
[40/42] Write Objects.LinkFileList
[41/42] Archiving libCLua.a
[43/52] Compiling lua4swift Thread.swift
[44/53] Compiling lua4swift Value.swift
[45/53] Emitting module lua4swift
[46/53] Compiling lua4swift Boolean.swift
[47/53] Compiling lua4swift Function.swift
[48/53] Compiling lua4swift Table.swift
[49/53] Compiling lua4swift Nil.swift
[50/53] Compiling lua4swift Number.swift
[51/53] Compiling lua4swift String.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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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 DefocusCommandPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin LintCommandPlugin
[4/4] Compiling plugin LintError
[5/5] Compiling plugin LintWarning
Building for debugging...
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/16] Compiling lua4swift Userdata.swift
[8/17] Compiling lua4swift Value.swift
[9/17] Compiling lua4swift Thread.swift
[10/17] Compiling lua4swift String.swift
[11/17] Compiling lua4swift Nil.swift
[12/17] Compiling lua4swift Number.swift
[13/17] Compiling lua4swift Boolean.swift
[14/17] Compiling lua4swift Function.swift
[15/17] Emitting module lua4swift
[16/17] Compiling lua4swift Table.swift
[17/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)
BUILD FAILURE 6.0 linux