Build Information
Successful build of FileCheck with Swift 6.0 for Linux.
Swift 6 data race errors: 5
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/llvm-swift/filecheck.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[82/11795] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (0.85s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.62s)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/18] Emitting module ArgumentParserToolInfo
[9/18] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/19] Wrapping AST for ArgumentParserToolInfo for debugging
[12/56] Emitting module ArgumentParser
[13/61] Compiling Chalk Chalk.swift
[14/61] Emitting module Chalk
[15/62] Wrapping AST for Chalk for debugging
[17/68] Compiling ArgumentParser ArgumentVisibility.swift
[18/68] Compiling ArgumentParser CompletionKind.swift
[19/68] Compiling ArgumentParser Errors.swift
[20/68] Compiling ArgumentParser Flag.swift
[21/68] Compiling ArgumentParser NameSpecification.swift
[22/68] Compiling ArgumentParser Name.swift
[23/68] Compiling ArgumentParser Parsed.swift
[24/68] Compiling ArgumentParser ParsedValues.swift
[25/68] Compiling ArgumentParser ParserError.swift
[26/68] Compiling ArgumentParser SplitArguments.swift
[27/68] Compiling ArgumentParser DumpHelpGenerator.swift
[28/68] Compiling ArgumentParser HelpCommand.swift
[29/68] Compiling ArgumentParser HelpGenerator.swift
[30/68] Compiling ArgumentParser MessageInfo.swift
[31/68] Compiling ArgumentParser UsageGenerator.swift
[32/68] Compiling FileCheck EditDistance.swift
[33/68] Compiling FileCheck Diagnostics.swift
/host/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
/host/spi-builder-workspace/Sources/FileCheck/Diagnostics.swift:5:73: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | func diagnose(_ kind : DiagnosticKind, at loc : CheckLocation, with message : String, options: FileCheckOptions) {
5 | let disableColors = options.contains(.disableColors) || isatty(fileno(stdout)) != 1
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
6 | if disableColors {
7 | print("\(kind): \(message)")
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/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)
[34/68] Compiling ArgumentParser Option.swift
[35/68] Compiling ArgumentParser OptionGroup.swift
[36/68] Compiling ArgumentParser AsyncParsableCommand.swift
[37/68] Compiling ArgumentParser CommandConfiguration.swift
[38/68] Compiling ArgumentParser EnumerableFlag.swift
[39/68] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/68] Compiling ArgumentParser CompletionsGenerator.swift
[41/68] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/68] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/68] Compiling ArgumentParser Argument.swift
[44/68] Compiling ArgumentParser ArgumentHelp.swift
[45/68] Compiling ArgumentParser ExpressibleByArgument.swift
[46/68] Compiling ArgumentParser ParsableArguments.swift
[47/68] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/68] Compiling ArgumentParser ParsableCommand.swift
[49/68] Compiling ArgumentParser ArgumentDecoder.swift
[50/68] Compiling ArgumentParser ArgumentDefinition.swift
[51/68] Compiling ArgumentParser ArgumentSet.swift
[52/68] Compiling ArgumentParser CommandParser.swift
[53/68] Compiling ArgumentParser InputKey.swift
[54/68] Compiling ArgumentParser InputOrigin.swift
[55/68] Compiling ArgumentParser CollectionExtensions.swift
[56/68] Compiling ArgumentParser Platform.swift
[57/68] Compiling ArgumentParser SequenceExtensions.swift
[58/68] Compiling ArgumentParser StringExtensions.swift
[59/68] Compiling ArgumentParser Tree.swift
[60/69] Wrapping AST for ArgumentParser for debugging
[62/69] Compiling FileCheck Pattern.swift
/host/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)
/host/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.
[63/69] Emitting module FileCheck
/host/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.
/host/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
/host/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)
/host/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
/host/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 |
[64/69] Compiling FileCheck CheckString.swift
[65/69] Compiling FileCheck FileCheck.swift
/host/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.
/host/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
/host/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)
/host/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
/host/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 |
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:63:22: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 | case .stdout:
62 | #if os(Linux)
63 | return Glibc.stdout
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | #else
65 | return Darwin.stdout
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/FileCheck/FileCheck.swift:69:22: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | case .stderr:
68 | #if os(Linux)
69 | return Glibc.stderr
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
70 | #else
71 | return Darwin.stderr
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[66/70] Wrapping AST for FileCheck for debugging
[68/72] Emitting module filecheck_tool
/host/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.")
[69/72] Compiling filecheck_tool main.swift
/host/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.")
/host/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
/host/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.
/host/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
/host/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)
[70/73] Wrapping AST for filecheck-tool for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking filecheck
Build complete! (26.79s)
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" : "/host/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.