The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FlockKit, reference 1.0.0 (b8d4f6), with Swift 6.1 for Linux on 11 Dec 2025 14:54:44 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/avnerbarr/FlockKit.git
Reference: 1.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/avnerbarr/FlockKit
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at b8d4f66 documentation
Cloned https://github.com/avnerbarr/FlockKit.git
Revision (git rev-parse @):
b8d4f663885455cf64387cfbbb5359762cde2441
SUCCESS checkout https://github.com/avnerbarr/FlockKit.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/avnerbarr/FlockKit.git
https://github.com/avnerbarr/FlockKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlockKit",
  "name" : "FlockKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FlockKit",
      "targets" : [
        "FlockKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LockTestHelper",
      "targets" : [
        "LockTestHelper"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LockTestHelper",
      "module_type" : "SwiftTarget",
      "name" : "LockTestHelper",
      "path" : "Sources/LockTestHelper",
      "product_memberships" : [
        "LockTestHelper"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "FlockKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FlockKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FlockKitTests",
      "path" : "Tests/FlockKitTests",
      "sources" : [
        "FlockKitTests.swift"
      ],
      "target_dependencies" : [
        "FlockKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlockKit",
      "module_type" : "SwiftTarget",
      "name" : "FlockKit",
      "path" : "Sources/FlockKit",
      "product_memberships" : [
        "FlockKit",
        "LockTestHelper"
      ],
      "sources" : [
        "Errno.swift",
        "FlockKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
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.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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/10] Emitting module FlockKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/10] Compiling FlockKit Errno.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/10] Compiling FlockKit FlockKit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/11] Wrapping AST for FlockKit for debugging
[9/13] Emitting module LockTestHelper
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/13] Compiling LockTestHelper main.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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.  */
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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
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/5] Write swift-version-24593BA9C3E375BF.txt
[2/8] Emitting module FlockKit
[3/8] Compiling FlockKit Errno.swift
[4/8] Compiling FlockKit FlockKit.swift
[6/10] Emitting module LockTestHelper
[7/10] 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.1 linux