The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Archery, reference 0.3.3 (d71927), with Swift 6.1 for Linux on 27 Apr 2025 05:22:54 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vknabel/archery.git
Reference: 0.3.3
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/vknabel/archery
 * tag               0.3.3      -> FETCH_HEAD
HEAD is now at d719271 Merge pull request #12 from vknabel/release/0.3.3
Cloned https://github.com/vknabel/archery.git
Revision (git rev-parse @):
d71927174f14bebf04237e870b8fd4dd4dd4c1c2
SUCCESS checkout https://github.com/vknabel/archery.git at 0.3.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vknabel/archery.git
https://github.com/vknabel/archery.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Archery",
  "name" : "Archery",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "archery",
      "targets" : [
        "Archery"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ArcheryKit",
      "targets" : [
        "ArcheryKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ArcheryInterface",
      "targets" : [
        "ArcheryInterface"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArcheryKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKitTests",
      "path" : "Tests/ArcheryKitTests",
      "sources" : [
        "ArcherfileParsingTests.swift",
        "ArcheryKitTests.swift",
        "ArcheryTests.swift",
        "MetadataTests.swift",
        "ScriptParsingTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryKit",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKit",
      "path" : "Sources/ArcheryKit",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "archery",
        "ArcheryKit",
        "ArcheryInterface"
      ],
      "sources" : [
        "Archerfile.swift",
        "Archery.swift",
        "ArcheryError.swift",
        "ExecutionContext.swift",
        "LabeledScript.swift",
        "LegacyScript.swift",
        "Metadata.swift",
        "OfferingMetadata.swift",
        "Path.swift",
        "ProcessScheduler.swift",
        "RawDataFormat.swift",
        "Script.swift",
        "ScriptExecution.swift",
        "Version.generated.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArcheryInterfaceTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterfaceTests",
      "path" : "Tests/ArcheryInterfaceTests",
      "sources" : [
        "ArcheryInterfaceTests.swift",
        "InitCommandTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryInterface",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterface",
      "path" : "Sources/ArcheryInterface",
      "product_memberships" : [
        "archery",
        "ArcheryInterface"
      ],
      "sources" : [
        "ArcheryInterface.swift",
        "Command.swift",
        "Commands/ApiLevelCommand.swift",
        "Commands/ExecutionCommand.swift",
        "Commands/HelpCommand.swift",
        "Commands/InitCommand.swift",
        "Commands/VersionCommand.swift",
        "InitCommand+Contents.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Archery",
      "module_type" : "SwiftTarget",
      "name" : "Archery",
      "path" : "Sources/Archery",
      "product_memberships" : [
        "archery"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/jpsim/Yams.git
[1/10289] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (0.94s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.39s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Building for debugging...
[0/17] Write sources
[4/17] Compiling writer.c
[5/17] Compiling reader.c
[6/17] Compiling parser.c
[7/17] Compiling scanner.c
[8/17] Compiling emitter.c
[9/17] Compiling api.c
[10/17] Write swift-version-24593BA9C3E375BF.txt
[12/36] Emitting module Yams
[13/38] Compiling Yams Anchor.swift
[14/38] Compiling Yams Constructor.swift
[15/38] Compiling Yams Decoder.swift
[16/38] Compiling Yams Node.Sequence.swift
[17/38] Compiling Yams Node.swift
[18/38] Compiling Yams Parser.swift
[19/38] Compiling Yams RedundancyAliasingStrategy.swift
[20/38] Compiling Yams Representer.swift
[21/38] Compiling Yams Tag.swift
[22/38] Compiling Yams YamlAnchorProviding.swift
[23/38] Compiling Yams Node.Alias.swift
[24/38] Compiling Yams Node.Mapping.swift
[25/38] Compiling Yams Node.Scalar.swift
[26/38] Compiling Yams Resolver.swift
[27/38] Compiling Yams String+Yams.swift
[28/38] Compiling Yams YamlError.swift
[29/38] Compiling Yams YamlTagProviding.swift
[30/38] Compiling Yams Emitter.swift
[31/38] Compiling Yams Encoder.swift
[32/38] Compiling Yams Mark.swift
[33/39] Wrapping AST for Yams for debugging
[35/53] Compiling ArcheryKit Path.swift
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
   |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
   |                |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'scheduledProcesses' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     static func run(_ process: Process) throws {
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 |     private static var hasBeenPrepared = false
   |                        |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'hasBeenPrepared' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |     private static func prepare() {
55 |         if hasBeenPrepared { return }
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:35:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |             task.waitUntilExit()
34 |         }
35 |         fflush(stdout)
   |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |     }
37 |
/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.  */
[36/53] Compiling ArcheryKit ProcessScheduler.swift
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
   |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
   |                |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'scheduledProcesses' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     static func run(_ process: Process) throws {
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 |     private static var hasBeenPrepared = false
   |                        |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'hasBeenPrepared' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |     private static func prepare() {
55 |         if hasBeenPrepared { return }
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:35:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |             task.waitUntilExit()
34 |         }
35 |         fflush(stdout)
   |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |     }
37 |
/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.  */
[37/54] Compiling ArcheryKit Version.generated.swift
[38/54] Compiling ArcheryKit RawDataFormat.swift
[39/54] Compiling ArcheryKit Script.swift
[40/54] Compiling ArcheryKit ScriptExecution.swift
[41/54] Compiling ArcheryKit ArcheryError.swift
[42/54] Compiling ArcheryKit ExecutionContext.swift
[43/54] Emitting module ArcheryKit
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:13:24: warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
   |                        |- warning: static property 'lock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'lock' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'lock' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
15 |
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:14:16: warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | class ProcessScheduler {
13 |     private static var lock = NSLock()
14 |     static var scheduledProcesses: [ObjectIdentifier: Process] = [:]
   |                |- warning: static property 'scheduledProcesses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'scheduledProcesses' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'scheduledProcesses' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     static func run(_ process: Process) throws {
/host/spi-builder-workspace/Sources/ArcheryKit/ProcessScheduler.swift:53:24: warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | extension ProcessScheduler {
53 |     private static var hasBeenPrepared = false
   |                        |- warning: static property 'hasBeenPrepared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'hasBeenPrepared' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'hasBeenPrepared' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |     private static func prepare() {
55 |         if hasBeenPrepared { return }
[44/54] Compiling ArcheryKit LabeledScript.swift
[45/54] Compiling ArcheryKit LegacyScript.swift
[46/54] Compiling ArcheryKit Metadata.swift
[47/54] Compiling ArcheryKit OfferingMetadata.swift
[48/54] Compiling ArcheryKit Archerfile.swift
[49/54] Compiling ArcheryKit Archery.swift
[50/55] Wrapping AST for ArcheryKit for debugging
[52/63] Compiling ArcheryInterface ApiLevelCommand.swift
[53/63] Compiling ArcheryInterface Command.swift
[54/63] Compiling ArcheryInterface ExecutionCommand.swift
[55/64] Compiling ArcheryInterface VersionCommand.swift
[56/64] Compiling ArcheryInterface ArcheryInterface.swift
[57/64] Emitting module ArcheryInterface
[58/64] Compiling ArcheryInterface InitCommand+Contents.swift
[59/64] Compiling ArcheryInterface InitCommand.swift
[60/64] Compiling ArcheryInterface HelpCommand.swift
[61/65] Wrapping AST for ArcheryInterface for debugging
[63/67] Emitting module Archery
[64/67] Compiling Archery main.swift
[65/68] Wrapping AST for Archery for debugging
[66/68] Write Objects.LinkFileList
[67/68] Linking archery
Build complete! (11.88s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Archery",
  "name" : "Archery",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "archery",
      "targets" : [
        "Archery"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ArcheryKit",
      "targets" : [
        "ArcheryKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ArcheryInterface",
      "targets" : [
        "ArcheryInterface"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArcheryKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKitTests",
      "path" : "Tests/ArcheryKitTests",
      "sources" : [
        "ArcherfileParsingTests.swift",
        "ArcheryKitTests.swift",
        "ArcheryTests.swift",
        "MetadataTests.swift",
        "ScriptParsingTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryKit",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryKit",
      "path" : "Sources/ArcheryKit",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "archery",
        "ArcheryKit",
        "ArcheryInterface"
      ],
      "sources" : [
        "Archerfile.swift",
        "Archery.swift",
        "ArcheryError.swift",
        "ExecutionContext.swift",
        "LabeledScript.swift",
        "LegacyScript.swift",
        "Metadata.swift",
        "OfferingMetadata.swift",
        "Path.swift",
        "ProcessScheduler.swift",
        "RawDataFormat.swift",
        "Script.swift",
        "ScriptExecution.swift",
        "Version.generated.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArcheryInterfaceTests",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterfaceTests",
      "path" : "Tests/ArcheryInterfaceTests",
      "sources" : [
        "ArcheryInterfaceTests.swift",
        "InitCommandTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArcheryInterface",
      "module_type" : "SwiftTarget",
      "name" : "ArcheryInterface",
      "path" : "Sources/ArcheryInterface",
      "product_memberships" : [
        "archery",
        "ArcheryInterface"
      ],
      "sources" : [
        "ArcheryInterface.swift",
        "Command.swift",
        "Commands/ApiLevelCommand.swift",
        "Commands/ExecutionCommand.swift",
        "Commands/HelpCommand.swift",
        "Commands/InitCommand.swift",
        "Commands/VersionCommand.swift",
        "InitCommand+Contents.swift"
      ],
      "target_dependencies" : [
        "ArcheryKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Archery",
      "module_type" : "SwiftTarget",
      "name" : "Archery",
      "path" : "Sources/Archery",
      "product_memberships" : [
        "archery"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ArcheryInterface"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.4"
}
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
Done.