Build Information
Failed to build slox, reference master (6f9b47
), with Swift 6.1 for Linux on 25 Apr 2025 14:53:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexito4/slox.git
Reference: master
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/alexito4/slox
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6f9b479 update readme
Cloned https://github.com/alexito4/slox.git
Revision (git rev-parse @):
6f9b47958fcf064a4bcde3f6cf7ffb7664a13bf6
SUCCESS checkout https://github.com/alexito4/slox.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexito4/slox.git
https://github.com/alexito4/slox.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "result",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/antitypical/Result.git"
}
],
"manifest_display_name" : "slox",
"name" : "slox",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "slox",
"targets" : [
"slox"
],
"type" : {
"executable" : null
}
},
{
"name" : "GenerateAst",
"targets" : [
"GenerateAst"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "slox",
"module_type" : "SwiftTarget",
"name" : "slox",
"path" : "Sources/slox",
"product_memberships" : [
"slox"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LoxCore"
],
"type" : "executable"
},
{
"c99name" : "LoxCore",
"module_type" : "SwiftTarget",
"name" : "LoxCore",
"path" : "Sources/LoxCore",
"product_dependencies" : [
"Result"
],
"product_memberships" : [
"slox"
],
"sources" : [
"AstPrinter.swift",
"Debug.swift",
"Environment.swift",
"Expr.swift",
"Lox.swift",
"Parser.swift",
"Resolver.swift",
"Runtime/Interpreter.swift",
"Runtime/LoxCallable.swift",
"Runtime/LoxClass.swift",
"Runtime/LoxInstance.swift",
"Scanner.swift",
"Stmt.swift",
"Token.swift"
],
"type" : "library"
},
{
"c99name" : "GenerateAst",
"module_type" : "SwiftTarget",
"name" : "GenerateAst",
"path" : "Sources/GenerateAst",
"product_memberships" : [
"GenerateAst"
],
"sources" : [
"Printer.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/antitypical/Result.git
[1/2533] Fetching result
Fetched https://github.com/antitypical/Result.git from cache (0.66s)
Computing version for https://github.com/antitypical/Result.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Updating https://github.com/antitypical/Result.git
Updated https://github.com/antitypical/Result.git (0.18s)
Computing version for https://github.com/antitypical/Result.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
BUILD FAILURE 6.1 linux