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 main (1a7e0b), with Swift 6.1 for Linux on 11 Dec 2025 14:55:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 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.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" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "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-4606859-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
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.80s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.34s)
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.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.04s)
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] 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
[7/12] 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
[8/12] 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
[9/13] Wrapping AST for FlockKit for debugging
[11/15] 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
[12/15] 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-4606859-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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/10] Compiling FlockKit Errno.swift
[5/10] Emitting module FlockKit
[6/10] Compiling FlockKit FlockKit.swift
[8/12] Emitting module LockTestHelper
[9/12] 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