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 FileCheck, reference 0.2.6 (f7c5f1), with Swift 6.1 for Linux on 26 Apr 2025 21:15:48 UTC.

Swift 6 data race errors: 5

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/filecheck.git
Reference: 0.2.6
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
 * tag               0.2.6      -> FETCH_HEAD
HEAD is now at f7c5f1a fixup! Upgrade Argument Parser to 1.1.0
Cloned https://github.com/llvm-swift/filecheck.git
Revision (git rev-parse @):
f7c5f1a9479b33a876a6f5632ca2b92a7ce4b667
SUCCESS checkout https://github.com/llvm-swift/filecheck.git at 0.2.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/llvm-swift/filecheck.git
https://github.com/llvm-swift/filecheck.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
[82/15031] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (0.70s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (1.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.43s)
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.5.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/57] Compiling ArgumentParser OptionGroup.swift
[13/57] Compiling ArgumentParser AsyncParsableCommand.swift
[14/57] Compiling ArgumentParser CommandConfiguration.swift
[15/57] Compiling ArgumentParser CommandGroup.swift
[16/57] Compiling ArgumentParser EnumerableFlag.swift
[17/62] Compiling ArgumentParser ArgumentVisibility.swift
[18/62] Compiling ArgumentParser CompletionKind.swift
[19/62] Compiling ArgumentParser Errors.swift
[20/62] Compiling ArgumentParser Flag.swift
[21/62] Compiling ArgumentParser NameSpecification.swift
[22/62] Compiling ArgumentParser Option.swift
[23/62] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/62] Compiling ArgumentParser CompletionsGenerator.swift
[25/62] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/62] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/62] Compiling ArgumentParser Argument.swift
[28/62] Compiling ArgumentParser ArgumentHelp.swift
[29/62] Compiling ArgumentParser CollectionExtensions.swift
[30/62] Compiling ArgumentParser Platform.swift
[31/62] Compiling ArgumentParser SequenceExtensions.swift
[32/62] Compiling ArgumentParser StringExtensions.swift
[33/62] Compiling ArgumentParser Tree.swift
[34/62] Compiling ArgumentParser ExpressibleByArgument.swift
[35/62] Compiling ArgumentParser ParsableArguments.swift
[36/62] Compiling ArgumentParser ParsableArgumentsValidation.swift
[37/62] Compiling ArgumentParser ParsableCommand.swift
[38/62] Compiling ArgumentParser ArgumentDecoder.swift
[39/62] Emitting module Chalk
[40/62] Compiling Chalk Chalk.swift
[42/63] Emitting module ArgumentParser
[43/63] Compiling ArgumentParser DumpHelpGenerator.swift
[44/63] Compiling ArgumentParser HelpCommand.swift
[45/63] Compiling ArgumentParser HelpGenerator.swift
[46/63] Compiling ArgumentParser MessageInfo.swift
[47/63] Compiling ArgumentParser UsageGenerator.swift
[48/63] Compiling ArgumentParser ArgumentDefinition.swift
[49/63] Compiling ArgumentParser ArgumentSet.swift
[50/63] Compiling ArgumentParser CommandParser.swift
[51/63] Compiling ArgumentParser InputKey.swift
[52/63] Compiling ArgumentParser InputOrigin.swift
[53/63] Compiling ArgumentParser Name.swift
[54/63] Compiling ArgumentParser Parsed.swift
[55/63] Compiling ArgumentParser ParsedValues.swift
[56/63] Compiling ArgumentParser ParserError.swift
[57/63] Compiling ArgumentParser SplitArguments.swift
[57/64] Wrapping AST for Chalk for debugging
[59/70] Wrapping AST for ArgumentParser for debugging
[61/70] 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: add '@MainActor' to make static property 'strictWhitespace' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'allowEmptyInput' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'matchFullLines' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'disableColors' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'scopedVariables' part of global actor 'MainActor'
    |                     `- 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
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/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
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[62/70] Compiling FileCheck EditDistance.swift
[63/70] 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: add '@MainActor' to make static property 'strictWhitespace' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'allowEmptyInput' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'matchFullLines' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'disableColors' part of global actor 'MainActor'
    |                     `- 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: add '@MainActor' to make static property 'scopedVariables' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 | }
 35 |
[64/70] Compiling FileCheck Diagnostics.swift
/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)")
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[65/70] Compiling FileCheck CheckString.swift
[66/70] Compiling FileCheck Pattern.swift
[67/71] Wrapping AST for FileCheck for debugging
[69/73] 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 nonisolated 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 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
 30 |
 31 |     @Flag(help: "Disable colorized diagnostics.")
[70/73] 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 nonisolated 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 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
 30 |
 31 |     @Flag(help: "Disable colorized diagnostics.")
[71/74] Wrapping AST for filecheck-tool for debugging
[72/74] Write Objects.LinkFileList
[73/74] Linking filecheck
Build complete! (10.61s)
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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.