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 axx, reference 0.1.0 (452a80), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 13:04:33 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eneko/axx.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eneko/axx
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 452a80a Migrate to ArgumentParser (#4)
Cloned https://github.com/eneko/axx.git
Revision (git rev-parse @):
452a80a64974e214f2c93cbcf580d4e57b33a68f
SUCCESS checkout https://github.com/eneko/axx.git at 0.1.0
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.3 (1.33s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.4.3
========================================
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": "axx",
      "name": "axx",
      "url": "https://github.com/eneko/axx.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/axx",
      "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/eneko/axx.git
[3/125] Fetching axx
Fetched https://github.com/eneko/axx.git from cache (0.59s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (1.10s)
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
Creating working copy for https://github.com/eneko/axx.git
Working copy of https://github.com/eneko/axx.git resolved at 0.1.0 (452a80a)
warning: '.resolve-product-dependencies': dependency 'axx' is not used by any target
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/eneko/axx.git
https://github.com/eneko/axx.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "axx",
  "name" : "axx",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AxxCrypto",
      "targets" : [
        "AxxCrypto"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "axx",
      "targets" : [
        "axx"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "axxTests",
      "module_type" : "SwiftTarget",
      "name" : "axxTests",
      "path" : "Tests/axxTests",
      "sources" : [
        "axxTests.swift"
      ],
      "target_dependencies" : [
        "axx"
      ],
      "type" : "test"
    },
    {
      "c99name" : "axx",
      "module_type" : "SwiftTarget",
      "name" : "axx",
      "path" : "Sources/axx",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "axx"
      ],
      "sources" : [
        "Decrypt.swift",
        "Encrypt.swift",
        "GenerateKey.swift",
        "Options.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AxxCrypto"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AxxCryptoTests",
      "module_type" : "SwiftTarget",
      "name" : "AxxCryptoTests",
      "path" : "Tests/AxxCryptoTests",
      "sources" : [
        "AxxCryptoTests.swift"
      ],
      "target_dependencies" : [
        "AxxCrypto"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AxxCrypto",
      "module_type" : "SwiftTarget",
      "name" : "AxxCrypto",
      "path" : "Sources/AxxCrypto",
      "product_memberships" : [
        "AxxCrypto",
        "axx"
      ],
      "sources" : [
        "AES256CBCCipher.swift",
        "AES256KeyGenerator.swift",
        "Base64KeyEncoder.swift",
        "KeyLoader.swift",
        "PBKDF2Derivator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/8] Write axx-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/47] Emitting module ArgumentParser
[7/50] Compiling ArgumentParser ParserError.swift
[8/50] Compiling ArgumentParser SplitArguments.swift
[9/50] Compiling ArgumentParser HelpCommand.swift
[10/50] Compiling ArgumentParser SequenceExtensions.swift
[11/50] Compiling ArgumentParser StringExtensions.swift
[12/50] Compiling ArgumentParser Tree.swift
[13/50] Compiling ArgumentParser Flag.swift
[14/50] Compiling ArgumentParser NameSpecification.swift
[15/50] Compiling ArgumentParser Option.swift
[16/50] Compiling ArgumentParser OptionGroup.swift
[17/50] Compiling ArgumentParser Argument.swift
[18/50] Compiling ArgumentParser ArgumentHelp.swift
[19/50] Compiling ArgumentParser CompletionKind.swift
[20/50] Compiling ArgumentParser Errors.swift
[21/50] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/50] Compiling ArgumentParser CompletionsGenerator.swift
[23/50] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/50] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/50] Compiling ArgumentParser ArgumentSet.swift
[26/50] Compiling ArgumentParser CommandParser.swift
[27/50] Compiling ArgumentParser InputOrigin.swift
[28/50] Compiling ArgumentParser CommandConfiguration.swift
[29/50] Compiling ArgumentParser EnumerableFlag.swift
[30/50] Compiling ArgumentParser ExpressibleByArgument.swift
[31/50] Compiling ArgumentParser ParsableArguments.swift
[32/50] Compiling ArgumentParser Name.swift
[33/50] Compiling AxxCrypto AES256KeyGenerator.swift
[34/50] Compiling ArgumentParser Parsed.swift
[35/50] Compiling ArgumentParser ParsedValues.swift
[36/50] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/50] Compiling ArgumentParser ParsableCommand.swift
[38/50] Compiling ArgumentParser ArgumentDecoder.swift
[39/50] Compiling ArgumentParser ArgumentDefinition.swift
[40/50] Compiling AxxCrypto AES256CBCCipher.swift
[41/50] Compiling ArgumentParser HelpGenerator.swift
[42/50] Compiling ArgumentParser MessageInfo.swift
[43/50] Compiling AxxCrypto Base64KeyEncoder.swift
[44/50] Compiling ArgumentParser UsageGenerator.swift
[45/50] Emitting module AxxCrypto
[46/50] Compiling AxxCrypto KeyLoader.swift
[47/50] Compiling AxxCrypto PBKDF2Derivator.swift
[48/56] Compiling axx Options.swift
[49/56] Compiling axx GenerateKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/axx/GenerateKey.swift:14:20: 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
12 | extension Axx {
13 |     struct GenerateKey: ParsableCommand {
14 |         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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |             commandName: "k",
16 |             abstract: "Generate an encryption key"
[50/56] Compiling axx main.swift
/Users/admin/builder/spi-builder-workspace/Sources/axx/main.swift:5: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
 3 | /// `axx` is the main command or program executable
 4 | struct Axx: ParsableCommand {
 5 |     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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         abstract: "Easily encrypt/decrypt files from the command line",
 7 |         version: "0.1.0",
[51/56] Compiling axx Decrypt.swift
/Users/admin/builder/spi-builder-workspace/Sources/axx/Decrypt.swift:14:20: 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 | extension Axx {
13 |     struct Decrypt: ParsableCommand {
14 |         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
15 |             commandName: "d",
16 |             abstract: "Decrypt one or more files"
/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/axx/Decrypt.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 7 |
 8 | import Foundation
 9 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
10 | import AxxCrypto
11 |
12 | extension Axx {
13 |     struct Decrypt: ParsableCommand {
14 |         static let configuration = CommandConfiguration(
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |             commandName: "d",
16 |             abstract: "Decrypt one or more files"
[52/56] Emitting module axx
/Users/admin/builder/spi-builder-workspace/Sources/axx/main.swift:5: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
 3 | /// `axx` is the main command or program executable
 4 | struct Axx: ParsableCommand {
 5 |     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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         abstract: "Easily encrypt/decrypt files from the command line",
 7 |         version: "0.1.0",
/Users/admin/builder/spi-builder-workspace/Sources/axx/Decrypt.swift:14:20: 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 | extension Axx {
13 |     struct Decrypt: ParsableCommand {
14 |         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
15 |             commandName: "d",
16 |             abstract: "Decrypt one or more files"
/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/axx/Decrypt.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 7 |
 8 | import Foundation
 9 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
10 | import AxxCrypto
11 |
12 | extension Axx {
13 |     struct Decrypt: ParsableCommand {
14 |         static let configuration = CommandConfiguration(
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |             commandName: "d",
16 |             abstract: "Decrypt one or more files"
/Users/admin/builder/spi-builder-workspace/Sources/axx/Encrypt.swift:14:20: 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 | extension Axx {
13 |     struct Encrypt: ParsableCommand {
14 |         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
15 |             commandName: "e",
16 |             abstract: "Encrypt one or more files"
/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/axx/Encrypt.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 7 |
 8 | import Foundation
 9 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
10 | import AxxCrypto
11 |
12 | extension Axx {
13 |     struct Encrypt: ParsableCommand {
14 |         static let configuration = CommandConfiguration(
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |             commandName: "e",
16 |             abstract: "Encrypt one or more files"
/Users/admin/builder/spi-builder-workspace/Sources/axx/GenerateKey.swift:14:20: 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
12 | extension Axx {
13 |     struct GenerateKey: ParsableCommand {
14 |         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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |             commandName: "k",
16 |             abstract: "Generate an encryption key"
[53/56] Compiling axx Encrypt.swift
/Users/admin/builder/spi-builder-workspace/Sources/axx/Encrypt.swift:14:20: 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 | extension Axx {
13 |     struct Encrypt: ParsableCommand {
14 |         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
15 |             commandName: "e",
16 |             abstract: "Encrypt one or more files"
/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/axx/Encrypt.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 7 |
 8 | import Foundation
 9 | import ArgumentParser
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
10 | import AxxCrypto
11 |
12 | extension Axx {
13 |     struct Encrypt: ParsableCommand {
14 |         static let configuration = CommandConfiguration(
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |             commandName: "e",
16 |             abstract: "Encrypt one or more files"
[53/56] Write Objects.LinkFileList
[54/56] Linking axx
[55/56] Applying axx
Build complete! (6.27s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "axx",
  "name" : "axx",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AxxCrypto",
      "targets" : [
        "AxxCrypto"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "axx",
      "targets" : [
        "axx"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "axxTests",
      "module_type" : "SwiftTarget",
      "name" : "axxTests",
      "path" : "Tests/axxTests",
      "sources" : [
        "axxTests.swift"
      ],
      "target_dependencies" : [
        "axx"
      ],
      "type" : "test"
    },
    {
      "c99name" : "axx",
      "module_type" : "SwiftTarget",
      "name" : "axx",
      "path" : "Sources/axx",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "axx"
      ],
      "sources" : [
        "Decrypt.swift",
        "Encrypt.swift",
        "GenerateKey.swift",
        "Options.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AxxCrypto"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AxxCryptoTests",
      "module_type" : "SwiftTarget",
      "name" : "AxxCryptoTests",
      "path" : "Tests/AxxCryptoTests",
      "sources" : [
        "AxxCryptoTests.swift"
      ],
      "target_dependencies" : [
        "AxxCrypto"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AxxCrypto",
      "module_type" : "SwiftTarget",
      "name" : "AxxCrypto",
      "path" : "Sources/AxxCrypto",
      "product_memberships" : [
        "AxxCrypto",
        "axx"
      ],
      "sources" : [
        "AES256CBCCipher.swift",
        "AES256KeyGenerator.swift",
        "Base64KeyEncoder.swift",
        "KeyLoader.swift",
        "PBKDF2Derivator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.