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 show, reference 0.0.2 (c4012c), with Swift 6.0 for macOS (SPM) on 8 Oct 2024 06:19:53 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/erica/show.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/erica/show
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at c4012c6 Roll back tools to 5.1
Cloned https://github.com/erica/show.git
Revision (git rev-parse @):
c4012c64fa522b2277e535c114cdb605b6fca228
SUCCESS checkout https://github.com/erica/show.git at 0.0.2
Fetching https://github.com/apple/swift-argument-parser
[1/12253] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.67s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "show",
      "name": "show",
      "url": "https://github.com/erica/show.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/show",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.0.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/erica/show.git
[1/21] Fetching show
Fetched https://github.com/erica/show.git from cache (0.61s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.02s)
Creating working copy for https://github.com/erica/show.git
Working copy of https://github.com/erica/show.git resolved at 0.0.2 (c4012c6)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/erica/show.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun 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 show-entitlement.plist
[3/7] Write swift-version--4A847ED0836F2485.txt
[5/35] Emitting module ArgumentParser
[6/38] Compiling ArgumentParser Flag.swift
[7/38] Compiling ArgumentParser NameSpecification.swift
[8/38] Compiling ArgumentParser Option.swift
[9/38] Compiling ArgumentParser ArgumentSet.swift
[10/38] Compiling ArgumentParser ArgumentSetSequence.swift
[11/38] Compiling ArgumentParser CommandParser.swift
[12/38] Compiling ArgumentParser ParsableCommand.swift
[13/38] Compiling ArgumentParser ArgumentDecoder.swift
[14/38] Compiling ArgumentParser ArgumentDefinition.swift
[15/38] Compiling ArgumentParser InputOrigin.swift
[16/38] Compiling ArgumentParser Name.swift
[17/38] Compiling ArgumentParser Parsed.swift
[18/38] Compiling ArgumentParser OptionGroup.swift
[19/38] Compiling ArgumentParser CommandConfiguration.swift
[20/38] Compiling ArgumentParser EnumerableFlag.swift
[21/38] Compiling ArgumentParser ParsedValues.swift
[22/38] Compiling ArgumentParser ParserError.swift
[23/38] Compiling ArgumentParser SplitArguments.swift
[24/38] Compiling ArgumentParser Argument.swift
[25/38] Compiling ArgumentParser ArgumentHelp.swift
[26/38] Compiling ArgumentParser Errors.swift
[27/38] Compiling ArgumentParser ExpressibleByArgument.swift
[28/38] Compiling ArgumentParser ParsableArguments.swift
[29/38] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/38] Compiling ArgumentParser HelpCommand.swift
[31/38] Compiling ArgumentParser HelpGenerator.swift
[32/38] Compiling ArgumentParser MessageInfo.swift
[33/38] Compiling ArgumentParser UsageGenerator.swift
[34/38] Compiling ArgumentParser StringExtensions.swift
[35/38] Compiling ArgumentParser Tree.swift
[36/44] Compiling show main.swift
/Users/admin/builder/spi-builder-workspace/show/main.swift:23:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct Show: ParsableCommand {
23 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' 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
24 |         abstract: "show/hide apps",
25 |         discussion: """
[37/44] Compiling show Utility.swift
[38/44] Compiling show StringUtility.swift
[39/44] Emitting module show
/Users/admin/builder/spi-builder-workspace/show/main.swift:23:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct Show: ParsableCommand {
23 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'configuration' 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
24 |         abstract: "show/hide apps",
25 |         discussion: """
[40/44] Compiling show Execute.swift
[41/44] Compiling show RuntimeError.swift
[41/44] Write Objects.LinkFileList
[42/44] Linking show
[43/44] Applying show
Build complete! (13.23s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "exact" : [
          "0.0.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "show",
  "name" : "show",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "show",
      "targets" : [
        "show"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "show",
      "module_type" : "SwiftTarget",
      "name" : "show",
      "path" : "show",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "show"
      ],
      "sources" : [
        "Execute.swift",
        "RuntimeError.swift",
        "StringUtility.swift",
        "Utility.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Done.