Build Information
Successful build of FileCheck with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
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/llvm-swift/filecheck.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/llvm-swift/filecheck
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fae7b88 fix documentation with argument name
Cloned https://github.com/llvm-swift/filecheck.git
Revision (git rev-parse @):
fae7b883f3fb3d79c10ec0a71992343b1c625b5c
SUCCESS checkout https://github.com/llvm-swift/filecheck.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/llvm-swift/filecheck.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write sources
[5/11] Write filecheck-entitlement.plist
[7/11] Write swift-version-6F35C1178C84523A.txt
[9/15] Emitting module ArgumentParserToolInfo
[10/15] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[12/53] Compiling ArgumentParser CompletionsGenerator.swift
[13/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[14/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[15/53] Compiling ArgumentParser Argument.swift
[16/57] Emitting module ArgumentParser
[17/57] Compiling ArgumentParser ParsableArguments.swift
[18/57] Compiling ArgumentParser ParsableArgumentsValidation.swift
[19/57] Compiling ArgumentParser ParsableCommand.swift
[20/57] Compiling ArgumentParser ArgumentDecoder.swift
[21/57] Compiling ArgumentParser InputOrigin.swift
[22/57] Compiling ArgumentParser Name.swift
[23/57] Compiling ArgumentParser Parsed.swift
[24/57] Compiling ArgumentParser ParsedValues.swift
[25/57] Compiling ArgumentParser ArgumentDefinition.swift
[26/57] Compiling ArgumentParser ArgumentSet.swift
[27/57] Compiling ArgumentParser CommandParser.swift
[28/57] Compiling ArgumentParser InputKey.swift
[29/57] Compiling ArgumentParser Platform.swift
[30/57] Compiling ArgumentParser SequenceExtensions.swift
[31/57] Compiling ArgumentParser StringExtensions.swift
[32/57] Compiling ArgumentParser Tree.swift
[33/57] Compiling Chalk Chalk.swift
[34/57] Emitting module Chalk
[35/57] Compiling ArgumentParser ParserError.swift
[36/57] Compiling ArgumentParser SplitArguments.swift
[37/57] Compiling ArgumentParser DumpHelpGenerator.swift
[38/57] Compiling ArgumentParser HelpCommand.swift
[39/57] Compiling ArgumentParser Flag.swift
[40/57] Compiling ArgumentParser NameSpecification.swift
[41/57] Compiling ArgumentParser Option.swift
[42/57] Compiling ArgumentParser OptionGroup.swift
[43/57] Compiling ArgumentParser ArgumentHelp.swift
[44/57] Compiling ArgumentParser ArgumentVisibility.swift
[45/57] Compiling ArgumentParser CompletionKind.swift
[46/57] Compiling ArgumentParser Errors.swift
[47/57] Compiling ArgumentParser HelpGenerator.swift
[48/57] Compiling ArgumentParser MessageInfo.swift
[49/57] Compiling ArgumentParser UsageGenerator.swift
[50/57] Compiling ArgumentParser CollectionExtensions.swift
[51/57] Compiling ArgumentParser AsyncParsableCommand.swift
[52/57] Compiling ArgumentParser CommandConfiguration.swift
[53/57] Compiling ArgumentParser EnumerableFlag.swift
[54/57] Compiling ArgumentParser ExpressibleByArgument.swift
[55/63] Compiling FileCheck Pattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:27:21: warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
25 | /// leading and trailing whitespace if `.strictWhitespace` is not also
26 | /// passed.
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
| |- warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchFullLines' 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
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:20:21: warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
18 |
19 | /// Do not treat all horizontal whitespace as equivalent.
20 | public static let strictWhitespace = FileCheckOptions(rawValue: 1 << 0)
| |- warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictWhitespace' 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
21 | /// Allow the input file to be empty. This is useful when making checks that
22 | /// some error message does not occur, for example.
[56/63] Compiling FileCheck Diagnostics.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:29:21: warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
| |- warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disableColors' 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
30 | /// Enables scoping for variables defined in patterns. Variables with names
31 | /// that do not start with `$` will be reset at the beginning of each
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Chalk/Chalk.swift:59:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
56 | }
57 |
58 | public struct Style: OptionSet {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
59 | public static let bold = Style(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' 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
60 | public static let dim = Style(rawValue: 1 << 1)
61 | public static let italic = Style(rawValue: 1 << 2)
[57/63] Compiling FileCheck CheckString.swift
[58/63] Compiling FileCheck FileCheck.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:20:21: warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
18 |
19 | /// Do not treat all horizontal whitespace as equivalent.
20 | public static let strictWhitespace = FileCheckOptions(rawValue: 1 << 0)
| |- warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictWhitespace' 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
21 | /// Allow the input file to be empty. This is useful when making checks that
22 | /// some error message does not occur, for example.
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:23:21: warning: static property 'allowEmptyInput' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
21 | /// Allow the input file to be empty. This is useful when making checks that
22 | /// some error message does not occur, for example.
23 | public static let allowEmptyInput = FileCheckOptions(rawValue: 1 << 1)
| |- warning: static property 'allowEmptyInput' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowEmptyInput' 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 | /// Require all positive matches to cover an entire input line. Allows
25 | /// leading and trailing whitespace if `.strictWhitespace` is not also
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:27:21: warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
25 | /// leading and trailing whitespace if `.strictWhitespace` is not also
26 | /// passed.
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
| |- warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchFullLines' 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
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:29:21: warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
| |- warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disableColors' 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
30 | /// Enables scoping for variables defined in patterns. Variables with names
31 | /// that do not start with `$` will be reset at the beginning of each
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:33:21: warning: static property 'scopedVariables' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
31 | /// that do not start with `$` will be reset at the beginning of each
32 | /// `CHECK-LABEL` block.
33 | public static let scopedVariables = FileCheckOptions(rawValue: 1 << 4)
| |- warning: static property 'scopedVariables' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'scopedVariables' 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
34 | }
35 |
[59/63] Compiling FileCheck EditDistance.swift
[60/63] Emitting module FileCheck
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:20:21: warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
18 |
19 | /// Do not treat all horizontal whitespace as equivalent.
20 | public static let strictWhitespace = FileCheckOptions(rawValue: 1 << 0)
| |- warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictWhitespace' 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
21 | /// Allow the input file to be empty. This is useful when making checks that
22 | /// some error message does not occur, for example.
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:23:21: warning: static property 'allowEmptyInput' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
21 | /// Allow the input file to be empty. This is useful when making checks that
22 | /// some error message does not occur, for example.
23 | public static let allowEmptyInput = FileCheckOptions(rawValue: 1 << 1)
| |- warning: static property 'allowEmptyInput' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowEmptyInput' 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 | /// Require all positive matches to cover an entire input line. Allows
25 | /// leading and trailing whitespace if `.strictWhitespace` is not also
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:27:21: warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
25 | /// leading and trailing whitespace if `.strictWhitespace` is not also
26 | /// passed.
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
| |- warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchFullLines' 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
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:29:21: warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
| |- warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disableColors' 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
30 | /// Enables scoping for variables defined in patterns. Variables with names
31 | /// that do not start with `$` will be reset at the beginning of each
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:33:21: warning: static property 'scopedVariables' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
31 | /// that do not start with `$` will be reset at the beginning of each
32 | /// `CHECK-LABEL` block.
33 | public static let scopedVariables = FileCheckOptions(rawValue: 1 << 4)
| |- warning: static property 'scopedVariables' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'scopedVariables' 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
34 | }
35 |
[61/65] Compiling filecheck_tool main.swift
/Users/admin/builder/spi-builder-workspace/Sources/filecheck-tool/main.swift:29: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
27 |
28 | struct FileCheckCommand: ParsableCommand {
29 | static var configuration = CommandConfiguration(commandName: "filecheck")
| |- 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
30 |
31 | @Flag(help: "Disable colorized diagnostics.")
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:29:21: warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
| |- warning: static property 'disableColors' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disableColors' 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
30 | /// Enables scoping for variables defined in patterns. Variables with names
31 | /// that do not start with `$` will be reset at the beginning of each
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:20:21: warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
18 |
19 | /// Do not treat all horizontal whitespace as equivalent.
20 | public static let strictWhitespace = FileCheckOptions(rawValue: 1 << 0)
| |- warning: static property 'strictWhitespace' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictWhitespace' 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
21 | /// Allow the input file to be empty. This is useful when making checks that
22 | /// some error message does not occur, for example.
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:23:21: warning: static property 'allowEmptyInput' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
21 | /// Allow the input file to be empty. This is useful when making checks that
22 | /// some error message does not occur, for example.
23 | public static let allowEmptyInput = FileCheckOptions(rawValue: 1 << 1)
| |- warning: static property 'allowEmptyInput' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowEmptyInput' 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 | /// Require all positive matches to cover an entire input line. Allows
25 | /// leading and trailing whitespace if `.strictWhitespace` is not also
/Users/admin/builder/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:27:21: warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
9 | /// `FileCheckOptions` enumerates supported FileCheck options that can be used
10 | /// to modify the behavior of the checking routine.
11 | public struct FileCheckOptions: OptionSet {
| `- note: consider making struct 'FileCheckOptions' conform to the 'Sendable' protocol
12 | public let rawValue: UInt64
13 |
:
25 | /// leading and trailing whitespace if `.strictWhitespace` is not also
26 | /// passed.
27 | public static let matchFullLines = FileCheckOptions(rawValue: 1 << 2)
| |- warning: static property 'matchFullLines' is not concurrency-safe because non-'Sendable' type 'FileCheckOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'matchFullLines' 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
28 | /// Disable colored diagnostics.
29 | public static let disableColors = FileCheckOptions(rawValue: 1 << 3)
[62/65] Emitting module filecheck_tool
/Users/admin/builder/spi-builder-workspace/Sources/filecheck-tool/main.swift:29: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
27 |
28 | struct FileCheckCommand: ParsableCommand {
29 | static var configuration = CommandConfiguration(commandName: "filecheck")
| |- 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
30 |
31 | @Flag(help: "Disable colorized diagnostics.")
[62/65] Write Objects.LinkFileList
[63/65] Linking filecheck
[64/65] Applying filecheck
Build complete! (26.88s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mxcl/Chalk.git
[1/81] Fetching chalk
[60/11760] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (1.56s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.56s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.56s)
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "chalk",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Chalk.git"
}
],
"manifest_display_name" : "FileCheck",
"name" : "FileCheck",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "filecheck",
"targets" : [
"filecheck-tool"
],
"type" : {
"executable" : null
}
},
{
"name" : "FileCheck",
"targets" : [
"FileCheck"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "filecheck_tool",
"module_type" : "SwiftTarget",
"name" : "filecheck-tool",
"path" : "Sources/filecheck-tool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"filecheck"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"FileCheck"
],
"type" : "executable"
},
{
"c99name" : "FileCheckTests",
"module_type" : "SwiftTarget",
"name" : "FileCheckTests",
"path" : "Tests/FileCheckTests",
"sources" : [
"DAGSpec.swift",
"DefinesSpec.swift",
"EmptySpec.swift",
"FileCheckSpec.swift",
"LabelSpec.swift",
"LineCountSpec.swift",
"MultiPrefixSpec.swift",
"RegexScopeSpec.swift",
"VariableRefSpec.swift"
],
"target_dependencies" : [
"FileCheck"
],
"type" : "test"
},
{
"c99name" : "FileCheck",
"module_type" : "SwiftTarget",
"name" : "FileCheck",
"path" : "Sources/FileCheck",
"product_dependencies" : [
"Chalk"
],
"product_memberships" : [
"filecheck",
"FileCheck"
],
"sources" : [
"CheckString.swift",
"Diagnostics.swift",
"EditDistance.swift",
"FileCheck.swift",
"Pattern.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.