Build Information
Failed to build FlockKit, reference main (1a7e0b), with Swift 6.2 for Linux on 11 Dec 2025 14:55:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/avnerbarr/FlockKit.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/avnerbarr/FlockKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1a7e0b0 gendocs
Cloned https://github.com/avnerbarr/FlockKit.git
Revision (git rev-parse @):
1a7e0b08db334259b3cd1379aea7b30b2ff5d342
SUCCESS checkout https://github.com/avnerbarr/FlockKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/avnerbarr/FlockKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.00s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (4.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3594] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.22s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[4/9] Write swift-version-24593BA9C3E375BF.txt
[6/12] Emitting module FlockKit
[7/12] Compiling FlockKit Errno.swift
[8/12] Compiling FlockKit FlockKit.swift
[9/13] Wrapping AST for FlockKit for debugging
[11/15] Emitting module LockTestHelper
[12/15] Compiling LockTestHelper main.swift
/host/spi-builder-workspace/Sources/LockTestHelper/main.swift:20:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
18 | try withExclusiveWriteLock(at: path, blocking: blocking) {
19 | print("LOCKED_EXCLUSIVE")
20 | fflush(stdout)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
21 | sleep(UInt32(holdSeconds))
22 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/LockTestHelper/main.swift:26:24: error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
24 | try withSharedLock(at: path, blocking: blocking) {
25 | print("LOCKED_SHARED")
26 | fflush(stdout)
| `- error: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state
27 | sleep(UInt32(holdSeconds))
28 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
BUILD FAILURE 6.2 linux