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 Poes, reference master (530ab4), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 10:57:56 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AvdLee/Poes.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AvdLee/Poes
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 530ab44 Update stale.yml
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out 'c2122f81f98515f3e292dff1a5e03c6899870646'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/Users/admin/builder/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/AvdLee/Poes.git
Revision (git rev-parse @):
530ab4428083f0ad8935d165684a1b5a70dc2399
SUCCESS checkout https://github.com/AvdLee/Poes.git at master
Fetching https://github.com/apple/swift-argument-parser
[1/12332] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (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.1
========================================
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": "poes",
      "name": "Poes",
      "url": "https://github.com/AvdLee/Poes.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Poes",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/AvdLee/Poes.git
[5/222] Fetching poes
Fetched https://github.com/AvdLee/Poes.git from cache (0.71s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.69s)
Creating working copy for https://github.com/AvdLee/Poes.git
Working copy of https://github.com/AvdLee/Poes.git resolved at master (530ab44)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/AvdLee/Poes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/8] Write sources
[3/8] Write Poes-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/35] Emitting module ArgumentParser
[7/37] Compiling ArgumentParser CommandParser.swift
[8/37] Compiling ArgumentParser InputOrigin.swift
[9/37] Compiling ArgumentParser Name.swift
[10/37] Compiling ArgumentParser NameSpecification.swift
[11/37] Compiling ArgumentParser Option.swift
[12/37] Compiling ArgumentParser OptionGroup.swift
[13/37] Compiling ArgumentParser ValidationError.swift
[14/37] Compiling ArgumentParser CommandConfiguration.swift
[15/37] Compiling ArgumentParser ExpressibleByArgument.swift
[16/37] Compiling ArgumentParser Argument.swift
[17/37] Compiling ArgumentParser ArgumentHelp.swift
[18/37] Compiling ArgumentParser Flag.swift
[19/37] Compiling ArgumentParser Parsed.swift
[20/37] Compiling ArgumentParser ParsedValues.swift
[21/37] Compiling ArgumentParser ParserError.swift
[22/37] Compiling ArgumentParser ArgumentDefinition.swift
[23/37] Compiling ArgumentParser ArgumentSet.swift
[24/37] Compiling ArgumentParser ArgumentSetSequence.swift
[25/37] Compiling ArgumentParser StringExtensions.swift
[26/37] Compiling ArgumentParser Tree.swift
[27/37] Compiling ArgumentParser SplitArguments.swift
[28/37] Compiling ArgumentParser HelpCommand.swift
[29/37] Compiling ArgumentParser HelpGenerator.swift
[30/37] Compiling ArgumentParser ParsableArguments.swift
[31/37] Compiling ArgumentParser ParsableCommand.swift
[32/37] Compiling ArgumentParser ArgumentDecoder.swift
[33/37] Compiling ArgumentParser MessageInfo.swift
[34/37] Compiling ArgumentParser UsageGenerator.swift
[35/43] Compiling PoesCore Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Helpers/Shell.swift:58:16: warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | enum ShellInjector {
58 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shell' 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
59 | }
60 |
[36/43] Compiling PoesCore Poes.swift
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Poes.swift:13:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Poes.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       |- 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
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
[37/43] Compiling PoesCore Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isVerbose' 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
13 |
14 |     static func debug(_ message: Any) {
[38/43] Compiling PoesCore Send.swift
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Send.swift:14:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Send.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       |- 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
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isVerbose' 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
13 |
14 |     static func debug(_ message: Any) {
[39/43] Compiling PoesCore Payload.swift
[40/43] Emitting module PoesCore
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Helpers/Log.swift:12:16: warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Log {
12 |     static var isVerbose: Bool = false
   |                |- warning: static property 'isVerbose' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isVerbose' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isVerbose' 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
13 |
14 |     static func debug(_ message: Any) {
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Helpers/Shell.swift:58:16: warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | enum ShellInjector {
58 |     static var shell: ShellExecuting.Type = Shell.self
   |                |- warning: static property 'shell' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shell' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'shell' 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
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Poes.swift:13:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Poes.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | public struct Poes: ParsableCommand {
13 |     public static let configuration = CommandConfiguration(
   |                       |- 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
14 |         abstract: "A Swift command-line tool to easily test push notifications to the iOS simulator",
15 |         subcommands: [Send.self])
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Send.swift:14:23: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
   |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 |   /// The name of the command to use on the command line.
15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/PoesCore/Send.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 8 |
 9 | import Foundation
10 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
11 |
12 | struct Send: ParsableCommand, ShellInjectable {
13 |
14 |     public static let configuration = CommandConfiguration(abstract: "Send a push notification to an app installed on the iOS Simulator")
   |                       |- 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
15 |
16 |     @Argument(help: "The bundle identifier of the app to push to")
[41/45] Emitting module Poes
[42/45] Compiling Poes main.swift
[42/45] Write Objects.LinkFileList
[43/45] Linking Poes
[44/45] Applying Poes
Build complete! (15.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Poes",
  "name" : "Poes",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Poes",
      "targets" : [
        "Poes"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PoesCore",
      "module_type" : "SwiftTarget",
      "name" : "PoesCore",
      "path" : "Sources/PoesCore",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Poes"
      ],
      "sources" : [
        "Helpers/Log.swift",
        "Helpers/Shell.swift",
        "Payload.swift",
        "Poes.swift",
        "Send.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Poes",
      "module_type" : "SwiftTarget",
      "name" : "Poes",
      "path" : "Sources/Poes",
      "product_memberships" : [
        "Poes"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PoesCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.1"
}
Done.