Build Information
Successful build of axx with Swift 6.0 (beta) for macOS (SPM).
Swift 6 data race errors: 4
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/eneko/axx.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eneko/axx
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 48e41bf Update version
Cloned https://github.com/eneko/axx.git
Revision (git rev-parse @):
48e41bf8ff58c028bbd89ed5e522b945536f74f2
SUCCESS checkout https://github.com/eneko/axx.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/eneko/axx.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/8] Write sources
[1/8] Write axx-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version-6F35C1178C84523A.txt
[6/47] Emitting module ArgumentParser
[7/50] Compiling ArgumentParser Flag.swift
[8/50] Compiling ArgumentParser NameSpecification.swift
[9/50] Compiling ArgumentParser Option.swift
[10/50] Compiling ArgumentParser OptionGroup.swift
[11/50] Compiling ArgumentParser SequenceExtensions.swift
[12/50] Compiling ArgumentParser StringExtensions.swift
[13/50] Compiling ArgumentParser Tree.swift
[14/50] Compiling ArgumentParser ParserError.swift
[15/50] Compiling ArgumentParser SplitArguments.swift
[16/50] Compiling ArgumentParser HelpCommand.swift
[17/50] Compiling ArgumentParser ParsableArgumentsValidation.swift
[18/50] Compiling ArgumentParser ParsableCommand.swift
[19/50] Compiling ArgumentParser ArgumentDecoder.swift
[20/50] Compiling ArgumentParser ArgumentDefinition.swift
[21/50] Compiling ArgumentParser Argument.swift
[22/50] Compiling ArgumentParser ArgumentHelp.swift
[23/50] Compiling ArgumentParser CompletionKind.swift
[24/50] Compiling ArgumentParser Errors.swift
[25/50] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/50] Compiling ArgumentParser CompletionsGenerator.swift
[27/50] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/50] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/50] Compiling ArgumentParser ArgumentSet.swift
[30/50] Compiling ArgumentParser CommandParser.swift
[31/50] Compiling ArgumentParser InputOrigin.swift
[32/50] Compiling ArgumentParser CommandConfiguration.swift
[33/50] Compiling ArgumentParser EnumerableFlag.swift
[34/50] Compiling ArgumentParser ExpressibleByArgument.swift
[35/50] Compiling ArgumentParser ParsableArguments.swift
[36/50] Compiling AxxCrypto KeyLoader.swift
[37/50] Compiling ArgumentParser Name.swift
[38/50] Compiling ArgumentParser Parsed.swift
[39/50] Compiling ArgumentParser ParsedValues.swift
[40/50] Compiling ArgumentParser HelpGenerator.swift
[41/50] Compiling ArgumentParser MessageInfo.swift
[42/50] Compiling ArgumentParser UsageGenerator.swift
[43/50] Compiling AxxCrypto Base64KeyEncoder.swift
[44/50] Compiling AxxCrypto AES256KeyGenerator.swift
[45/50] Compiling AxxCrypto PBKDF2Derivator.swift
[46/50] Emitting module AxxCrypto
[47/50] Compiling AxxCrypto AES256CBCCipher.swift
[48/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 non-isolated 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 non-isolated 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
15 | commandName: "k",
16 | abstract: "Generate an encryption key"
[49/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 non-isolated 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 non-isolated 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
6 | abstract: "Easily encrypt/decrypt files from the command line",
7 | version: "0.1.0",
[50/56] Compiling axx Options.swift
[51/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 non-isolated 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 non-isolated 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
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: 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 | 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: 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 | 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 non-isolated 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 non-isolated 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
15 | commandName: "k",
16 | abstract: "Generate an encryption key"
[52/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: 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 | commandName: "d",
16 | abstract: "Decrypt one or more files"
[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: 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 | commandName: "e",
16 | abstract: "Encrypt one or more files"
[53/56] Write Objects.LinkFileList
[54/56] Linking axx
[55/56] Applying axx
Build complete! (31.38s)
Fetching https://github.com/apple/swift-argument-parser
[1/11679] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.4.3 (0.76s)
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
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.