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 Yaap, reference 1.0.0 (90011c), with Swift 6.1 for Linux on 25 Apr 2025 14:57:21 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/hartbit/Yaap.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/hartbit/Yaap
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 90011c3 Clean README
Cloned https://github.com/hartbit/Yaap.git
Revision (git rev-parse @):
90011c31147671d9ebabfcfc3241df6a7fdbcb99
SUCCESS checkout https://github.com/hartbit/Yaap.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hartbit/Yaap.git
https://github.com/hartbit/Yaap.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Yaap",
  "name" : "Yaap",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Yaap",
      "targets" : [
        "Yaap"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "YaapExample",
      "targets" : [
        "YaapExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "YaapTests",
      "module_type" : "SwiftTarget",
      "name" : "YaapTests",
      "path" : "Tests/YaapTests",
      "sources" : [
        "ArgumentTests.swift",
        "ArgumentTypeTests.swift",
        "CommandTests.swift",
        "ExtensionsTests.swift",
        "HelpTests.swift",
        "Helpers.swift",
        "OptionTests.swift",
        "SubCommandTests.swift",
        "VersionTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Yaap"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YaapExample",
      "module_type" : "SwiftTarget",
      "name" : "YaapExample",
      "path" : "Sources/YaapExample",
      "product_memberships" : [
        "YaapExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Yaap"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Yaap",
      "module_type" : "SwiftTarget",
      "name" : "Yaap",
      "path" : "Sources/Yaap",
      "product_memberships" : [
        "Yaap",
        "YaapExample"
      ],
      "sources" : [
        "Argument.swift",
        "ArgumentType.swift",
        "Command.swift",
        "CommandProperty.swift",
        "Extensions.swift",
        "FileOutputStream.swift",
        "Help.swift",
        "Option.swift",
        "SubCommand.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Yaap SubCommand.swift
[5/18] Compiling Yaap Version.swift
[6/18] Compiling Yaap Extensions.swift
[7/18] Compiling Yaap FileOutputStream.swift
[8/18] Compiling Yaap Help.swift
[9/18] Compiling Yaap Option.swift
[10/18] Emitting module Yaap
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
    |              |- warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'exitProcess' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     exit(code)
160 | }
[11/18] Compiling Yaap Command.swift
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
    |              |- warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'exitProcess' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     exit(code)
160 | }
[12/18] Compiling Yaap CommandProperty.swift
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
    |              |- warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'exitProcess' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     exit(code)
160 | }
[13/18] Compiling Yaap Argument.swift
[14/18] Compiling Yaap ArgumentType.swift
[15/19] Wrapping AST for Yaap for debugging
[17/21] Emitting module YaapExample
[18/21] Compiling YaapExample main.swift
[19/22] Wrapping AST for YaapExample for debugging
[20/22] Write Objects.LinkFileList
[21/22] Linking YaapExample
Build complete! (10.62s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Yaap",
  "name" : "Yaap",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Yaap",
      "targets" : [
        "Yaap"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "YaapExample",
      "targets" : [
        "YaapExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "YaapTests",
      "module_type" : "SwiftTarget",
      "name" : "YaapTests",
      "path" : "Tests/YaapTests",
      "sources" : [
        "ArgumentTests.swift",
        "ArgumentTypeTests.swift",
        "CommandTests.swift",
        "ExtensionsTests.swift",
        "HelpTests.swift",
        "Helpers.swift",
        "OptionTests.swift",
        "SubCommandTests.swift",
        "VersionTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Yaap"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YaapExample",
      "module_type" : "SwiftTarget",
      "name" : "YaapExample",
      "path" : "Sources/YaapExample",
      "product_memberships" : [
        "YaapExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Yaap"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Yaap",
      "module_type" : "SwiftTarget",
      "name" : "Yaap",
      "path" : "Sources/Yaap",
      "product_memberships" : [
        "Yaap",
        "YaapExample"
      ],
      "sources" : [
        "Argument.swift",
        "ArgumentType.swift",
        "Command.swift",
        "CommandProperty.swift",
        "Extensions.swift",
        "FileOutputStream.swift",
        "Help.swift",
        "Option.swift",
        "SubCommand.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Done.