The Swift Package Index logo.Swift Package Index

Build Information

Failed to build lua4swift, reference v2.0.0 (3c74ee), with Swift 6.1 for Linux on 19 Sep 2025 07:00:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLua/lua4swift.git
Reference: v2.0.0
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
 * tag               v2.0.0     -> FETCH_HEAD
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 v2.0.0
========================================
Build
========================================
Selected platform:         linux
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-patch-1",
            "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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/SwiftyLua/CLua
[1/207] Fetching clua
[208/15052] Fetching clua, quick
Fetched https://github.com/SwiftyLua/CLua from cache (0.34s)
[2227/14845] Fetching quick
[3564/34507] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.67s)
Fetched https://github.com/Quick/Nimble from cache (1.70s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.7.1 (2.46s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.32s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (1.04s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5986] Fetching swift-algorithms
[3653/22280] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
[12058/16294] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.09s)
Fetching https://github.com/apple/swift-numerics.git
[1/6359] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.59s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.55s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.37s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.35s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.57s)
Computing version for https://github.com/SwiftyLua/CLua
Computed https://github.com/SwiftyLua/CLua at 5.4.7 (0.58s)
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/SwiftyLua/CLua
Working copy of https://github.com/SwiftyLua/CLua resolved at 5.4.7
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.0
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.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/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
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/43] Compiling CLua lcorolib.c
[7/43] Write sources
[8/43] Compiling CLua lopcodes.c
[9/43] Compiling CLua lauxlib.c
[10/43] Compiling CLua lzio.c
[11/43] Compiling CLua lobject.c
[12/43] Compiling CLua lcode.c
[13/43] Compiling CLua lundump.c
[13/43] Compiling CLua lutf8lib.c
[14/43] Compiling CLua lapi.c
[16/43] Compiling CLua ltm.c
[17/43] Compiling CLua ltests.c
[18/43] Compiling CLua lstring.c
[19/43] Compiling CLua ltablib.c
[20/43] Compiling CLua lbaselib.c
[20/43] Write swift-version-24593BA9C3E375BF.txt
[22/43] Compiling CLua ltable.c
[23/43] Compiling CLua lstate.c
[24/43] Compiling CLua loslib.c
[25/43] Compiling CLua lstrlib.c
[26/43] Compiling CLua lvm.c
[27/43] Compiling CLua lmem.c
[28/43] Compiling CLua loadlib.c
[29/43] Compiling CLua linit.c
[30/43] Compiling CLua lmathlib.c
[31/43] Compiling CLua lparser.c
[32/43] Compiling CLua lfunc.c
[32/43] Compiling CLua llex.c
[34/43] Compiling CLua ldump.c
[35/43] Compiling CLua liolib.c
[36/43] Compiling CLua lctype.c
[37/43] Compiling CLua ldebug.c
[38/43] Compiling CLua ldblib.c
[39/43] Compiling CLua ldo.c
[40/43] Compiling CLua lgc.c
[41/43] Write Objects.LinkFileList
[42/43] Archiving libCLua.a
[44/53] Compiling lua4swift String.swift
[45/54] Compiling lua4swift Boolean.swift
[46/54] Compiling lua4swift Function.swift
[47/54] Emitting module lua4swift
[48/54] Compiling lua4swift Nil.swift
[49/54] Compiling lua4swift Number.swift
[50/54] Compiling lua4swift Table.swift
[51/54] Compiling lua4swift Value.swift
[52/54] Compiling lua4swift Thread.swift
[53/54] Compiling lua4swift Userdata.swift
[54/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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/17] Compiling lua4swift Thread.swift
[9/17] Compiling lua4swift Table.swift
[10/17] Compiling lua4swift Userdata.swift
[11/17] Compiling lua4swift Value.swift
[12/18] Compiling lua4swift String.swift
[13/18] Compiling lua4swift Boolean.swift
[14/18] Compiling lua4swift Function.swift
[15/18] Emitting module lua4swift
[16/18] Compiling lua4swift Nil.swift
[17/18] Compiling lua4swift Number.swift
[18/18] 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.1 linux