Build Information
Failed to build swiftbar, reference v1.0.1 (100c59
), with Swift 6.1 for Linux on 26 Apr 2025 18:00:26 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.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/theBreadCompany/swiftbar.git
Reference: v1.0.1
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/theBreadCompany/swiftbar
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 100c59b update syntax
Cloned https://github.com/theBreadCompany/swiftbar.git
Revision (git rev-parse @):
100c59b70a7c55eda4b3b2c1dd3047506b845196
SUCCESS checkout https://github.com/theBreadCompany/swiftbar.git at v1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/theBreadCompany/swiftbar.git
https://github.com/theBreadCompany/swiftbar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swiftbar",
"name" : "swiftbar",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swiftbar",
"targets" : [
"swiftbar"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
},
{
"name" : "Example2",
"targets" : [
"Example2"
],
"type" : {
"executable" : null
}
},
{
"name" : "Example3",
"targets" : [
"Example3"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swiftbarTests",
"module_type" : "SwiftTarget",
"name" : "swiftbarTests",
"path" : "Tests/swiftbarTests",
"sources" : [
"swiftbarTests.swift"
],
"target_dependencies" : [
"swiftbar"
],
"type" : "test"
},
{
"c99name" : "swiftbar",
"module_type" : "SwiftTarget",
"name" : "swiftbar",
"path" : "Sources/swiftbar",
"product_memberships" : [
"swiftbar",
"Example",
"Example2",
"Example3"
],
"sources" : [
"Progressbar.swift",
"ProgressbarConfiguration.swift"
],
"type" : "library"
},
{
"c99name" : "Example3",
"module_type" : "SwiftTarget",
"name" : "Example3",
"path" : "Sources/Example3",
"product_memberships" : [
"Example3"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"swiftbar"
],
"type" : "executable"
},
{
"c99name" : "Example2",
"module_type" : "SwiftTarget",
"name" : "Example2",
"path" : "Sources/Example2",
"product_memberships" : [
"Example2"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"swiftbar"
],
"type" : "executable"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"swiftbar"
],
"type" : "executable"
}
],
"tools_version" : "5.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.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
Building for debugging...
[0/15] Write sources
[4/15] Write swift-version-24593BA9C3E375BF.txt
[6/18] Compiling swiftbar ProgressbarConfiguration.swift
[7/18] Emitting module swiftbar
[8/18] Compiling swiftbar Progressbar.swift
/host/spi-builder-workspace/Sources/swiftbar/Progressbar.swift:124:16: error: cannot find '__stdoutp' in scope
122 | private func printProgress() {
123 | print("\u{1B}[1A\u{1B}[K" + self.currentState())
124 | fflush(__stdoutp)
| `- error: cannot find '__stdoutp' in scope
125 | }
126 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling swiftbar ProgressbarConfiguration.swift
[3/14] Emitting module swiftbar
[4/14] Compiling swiftbar Progressbar.swift
/host/spi-builder-workspace/Sources/swiftbar/Progressbar.swift:124:16: error: cannot find '__stdoutp' in scope
122 | private func printProgress() {
123 | print("\u{1B}[1A\u{1B}[K" + self.currentState())
124 | fflush(__stdoutp)
| `- error: cannot find '__stdoutp' in scope
125 | }
126 | }
BUILD FAILURE 6.1 linux