This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hartbit/Yaap.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hartbit/Yaap
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 034072a Update README.md
Cloned https://github.com/hartbit/Yaap.git
Revision (git rev-parse @):
034072a72efb0ac91bffc955e1acc8c5c8fb790b
SUCCESS checkout https://github.com/hartbit/Yaap.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/hartbit/Yaap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[2/7] Write YaapExample-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/17] Compiling Yaap SubCommand.swift
[6/18] Compiling Yaap Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     exit(code)
160 | }
[7/18] Compiling Yaap Help.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     exit(code)
160 | }
[8/18] Compiling Yaap CommandProperty.swift
[9/18] Compiling Yaap FileOutputStream.swift
[10/18] Compiling Yaap Option.swift
[11/18] Compiling Yaap Extensions.swift
[12/18] Compiling Yaap ArgumentType.swift
[13/18] Compiling Yaap Argument.swift
[14/18] Emitting module Yaap
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     exit(code)
160 | }
[15/18] Compiling Yaap Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |     exit(code)
160 | }
[16/20] Emitting module YaapExample
[17/20] Compiling YaapExample main.swift
[17/20] Write Objects.LinkFileList
[18/20] Linking YaapExample
[19/20] Applying YaapExample
Build complete! (23.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Yaap",
  "name" : "Yaap",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.