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 SwiftTypeAdoptionReporter, reference v5.9.1 (d123e1), with Swift 6.1 for Linux on 28 Apr 2025 02:27:16 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/kevinmbeaulieu/star.git
Reference: v5.9.1
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/kevinmbeaulieu/star
 * tag               v5.9.1     -> FETCH_HEAD
HEAD is now at d123e1c Fix lint error (#7)
Cloned https://github.com/kevinmbeaulieu/star.git
Revision (git rev-parse @):
d123e1cede5c14fba8f50901fe839ce9bdf61af8
SUCCESS checkout https://github.com/kevinmbeaulieu/star.git at v5.9.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kevinmbeaulieu/star.git
https://github.com/kevinmbeaulieu/star.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "SwiftTypeAdoptionReporter",
  "name" : "SwiftTypeAdoptionReporter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "star",
      "targets" : [
        "star"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "STARLib",
      "targets" : [
        "STARLib"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "star",
      "module_type" : "SwiftTarget",
      "name" : "star",
      "path" : "Sources/star",
      "product_memberships" : [
        "star"
      ],
      "sources" : [
        "OutputFormat.swift",
        "SyntaxType+ExpressibleByArgument.swift",
        "URL+ExpressibleByArgument.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "STARLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "STARLibTests",
      "module_type" : "SwiftTarget",
      "name" : "STARLibTests",
      "path" : "Tests/STARLibTests",
      "sources" : [
        "FastStrategyTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "STARLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "STARLib",
      "module_type" : "SwiftTarget",
      "name" : "STARLib",
      "path" : "Sources/STARLib",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "star",
        "STARLib"
      ],
      "sources" : [
        "FastStrategy.swift",
        "HumanReadableReportFormatter.swift",
        "JSONReportFormatter.swift",
        "ReportFormatter.swift",
        "Strategy.swift",
        "SyntaxType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax.git
[1/14950] Fetching swift-argument-parser
[14353/85183] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.18s)
[10535/70233] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (7.10s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (7.78s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.97s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Building for debugging...
[0/19] Write sources
[7/19] Write swift-version-24593BA9C3E375BF.txt
[9/23] Emitting module SwiftSyntax509
[10/23] Compiling SwiftSyntax509 Empty.swift
[11/24] Emitting module ArgumentParserToolInfo
[12/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/25] Wrapping AST for SwiftSyntax509 for debugging
[15/25] Wrapping AST for ArgumentParserToolInfo for debugging
[17/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/104] Compiling ArgumentParser CompletionsGenerator.swift
[19/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/104] Compiling ArgumentParser Argument.swift
[22/104] Compiling ArgumentParser ArgumentHelp.swift
[23/104] Compiling ArgumentParser CompletionKind.swift
[24/110] Emitting module ArgumentParser
[25/114] Compiling ArgumentParser CollectionExtensions.swift
[26/114] Compiling ArgumentParser SequenceExtensions.swift
[27/114] Compiling ArgumentParser StringExtensions.swift
[28/114] Compiling ArgumentParser Tree.swift
[31/114] Compiling ArgumentParser Errors.swift
[32/114] Compiling ArgumentParser Flag.swift
[33/114] Compiling ArgumentParser NameSpecification.swift
[34/114] Compiling ArgumentParser ArgumentDefinition.swift
[35/114] Compiling ArgumentParser Option.swift
[36/114] Compiling ArgumentParser OptionGroup.swift
[37/114] Compiling ArgumentParser CommandConfiguration.swift
[38/114] Compiling ArgumentParser EnumerableFlag.swift
[39/114] Compiling ArgumentParser ExpressibleByArgument.swift
[50/114] Compiling ArgumentParser ParsableArguments.swift
[51/114] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/114] Compiling ArgumentParser ParsableCommand.swift
[53/114] Compiling ArgumentParser ArgumentDecoder.swift
[55/114] Compiling ArgumentParser HelpCommand.swift
[56/114] Compiling ArgumentParser HelpGenerator.swift
[57/114] Compiling ArgumentParser MessageInfo.swift
[58/114] Compiling ArgumentParser UsageGenerator.swift
[59/114] Compiling ArgumentParser ParsedValues.swift
[60/114] Compiling ArgumentParser ParserError.swift
[61/114] Compiling ArgumentParser SplitArguments.swift
[62/114] Compiling ArgumentParser DumpHelpGenerator.swift
[63/114] Compiling ArgumentParser ArgumentSet.swift
[64/114] Compiling ArgumentParser CommandParser.swift
[65/114] Compiling ArgumentParser InputOrigin.swift
[66/114] Compiling ArgumentParser Name.swift
[67/114] Compiling ArgumentParser Parsed.swift
[68/115] Wrapping AST for ArgumentParser for debugging
[77/115] Emitting module SwiftSyntax
[78/115] Compiling SwiftSyntax SyntaxDeclNodes.swift
[79/115] Compiling SwiftSyntax SyntaxExprNodes.swift
[80/115] Compiling SwiftSyntax SyntaxNodes.swift
[81/115] Compiling SwiftSyntax SyntaxPatternNodes.swift
[82/115] Compiling SwiftSyntax SyntaxStmtNodes.swift
[83/115] Compiling SwiftSyntax SyntaxTypeNodes.swift
[95/115] Compiling SwiftSyntax SyntaxBaseNodes.swift
[102/115] Compiling SwiftSyntax SyntaxVisitor.swift
[103/115] Compiling SwiftSyntax TokenKind.swift
[104/115] Compiling SwiftSyntax Tokens.swift
[105/115] Compiling SwiftSyntax TriviaPieces.swift
[106/115] Compiling SwiftSyntax RawSyntaxNodes.swift
[107/115] Compiling SwiftSyntax RawSyntaxValidation.swift
[108/116] Wrapping AST for SwiftSyntax for debugging
[110/154] Emitting module SwiftParser
[111/159] Compiling SwiftParser Modifiers.swift
[112/159] Compiling SwiftParser Names.swift
[113/159] Compiling SwiftParser Nominals.swift
[114/159] Compiling SwiftParser Parameters.swift
[115/159] Compiling SwiftParser ParseSourceFile.swift
[116/159] Compiling SwiftParser TokenPrecedence.swift
[117/159] Compiling SwiftParser TokenSpec.swift
[118/159] Compiling SwiftParser TokenSpecSet.swift
[119/159] Compiling SwiftParser TopLevel.swift
[120/159] Compiling SwiftParser TriviaParser.swift
[121/159] Compiling SwiftParser Lexer.swift
[122/159] Compiling SwiftParser RegexLiteralLexer.swift
[123/159] Compiling SwiftParser UnicodeScalarExtensions.swift
[124/159] Compiling SwiftParser Lookahead.swift
[125/159] Compiling SwiftParser LoopProgressCondition.swift
[126/159] Compiling SwiftParser Parser.swift
[127/159] Compiling SwiftParser Patterns.swift
[128/159] Compiling SwiftParser Recovery.swift
[129/159] Compiling SwiftParser Specifiers.swift
[130/159] Compiling SwiftParser Statements.swift
[131/159] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[132/159] Compiling SwiftParser StringLiterals.swift
[133/159] Compiling SwiftParser SwiftParserCompatibility.swift
[134/159] Compiling SwiftParser SyntaxUtils.swift
[135/159] Compiling SwiftParser TokenConsumer.swift
[136/159] Compiling SwiftParser Attributes.swift
[137/159] Compiling SwiftParser Availability.swift
[138/159] Compiling SwiftParser CharacterInfo.swift
[139/159] Compiling SwiftParser CollectionNodes+Parsable.swift
[140/159] Compiling SwiftParser Declarations.swift
[141/159] Compiling SwiftParser Directives.swift
[142/159] Compiling SwiftParser ExperimentalFeatures.swift
[143/159] Compiling SwiftParser Expressions.swift
[144/159] Compiling SwiftParser IncrementalParseTransition.swift
[145/159] Compiling SwiftParser Cursor.swift
[146/159] Compiling SwiftParser Lexeme.swift
[147/159] Compiling SwiftParser LexemeSequence.swift
[148/159] Compiling SwiftParser Types.swift
[149/159] Compiling SwiftParser IsLexerClassified.swift
[150/159] Compiling SwiftParser LayoutNodes+Parsable.swift
[151/159] Compiling SwiftParser Parser+TokenSpecSet.swift
[152/159] Compiling SwiftParser TokenSpecStaticMembers.swift
[153/160] Wrapping AST for SwiftParser for debugging
[155/167] Compiling STARLib HumanReadableReportFormatter.swift
[156/167] Compiling STARLib Strategy.swift
[157/167] Compiling STARLib ReportFormatter.swift
[158/167] Compiling STARLib SyntaxType.swift
[159/167] Compiling STARLib JSONReportFormatter.swift
[160/167] Emitting module STARLib
[161/167] Compiling STARLib FastStrategy.swift
[162/168] Wrapping AST for STARLib for debugging
[163/168] Write Objects.LinkFileList
[164/173] Archiving libSTARLib.a
[166/173] Compiling star URL+ExpressibleByArgument.swift
/host/spi-builder-workspace/Sources/star/URL+ExpressibleByArgument.swift:18:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
16 | import Foundation
17 |
18 | extension URL: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |     public init?(argument: String) {
20 |         self.init(fileURLWithPath: argument)
[167/173] Compiling star OutputFormat.swift
[168/173] Compiling star SyntaxType+ExpressibleByArgument.swift
/host/spi-builder-workspace/Sources/star/SyntaxType+ExpressibleByArgument.swift:18:1: warning: extension declares a conformance of imported type 'SyntaxType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'STARLib' introduce this conformance in the future
16 | import STARLib
17 |
18 | extension SyntaxType: ExpressibleByArgument {}
   | |- warning: extension declares a conformance of imported type 'SyntaxType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'STARLib' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |
[169/173] Emitting module star
/host/spi-builder-workspace/Sources/star/main.swift:20:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | struct MainCommand: ParsableCommand {
 20 |     static let configuration = CommandConfiguration(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         commandName: "star",
 22 |         abstract: "Print how frequently each type has been used."
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/host/spi-builder-workspace/Sources/star/main.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 13 | // limitations under the License.
 14 |
 15 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 16 | import Foundation
 17 | import STARLib
 18 |
 19 | struct MainCommand: ParsableCommand {
 20 |     static let configuration = CommandConfiguration(
    |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         commandName: "star",
 22 |         abstract: "Print how frequently each type has been used."
/host/spi-builder-workspace/Sources/star/SyntaxType+ExpressibleByArgument.swift:18:1: warning: extension declares a conformance of imported type 'SyntaxType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'STARLib' introduce this conformance in the future
16 | import STARLib
17 |
18 | extension SyntaxType: ExpressibleByArgument {}
   | |- warning: extension declares a conformance of imported type 'SyntaxType' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'STARLib' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |
/host/spi-builder-workspace/Sources/star/URL+ExpressibleByArgument.swift:18:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
16 | import Foundation
17 |
18 | extension URL: ExpressibleByArgument {
   | |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |     public init?(argument: String) {
20 |         self.init(fileURLWithPath: argument)
[170/173] Compiling star main.swift
/host/spi-builder-workspace/Sources/star/main.swift:20:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | struct MainCommand: ParsableCommand {
 20 |     static let configuration = CommandConfiguration(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |         commandName: "star",
 22 |         abstract: "Print how frequently each type has been used."
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/host/spi-builder-workspace/Sources/star/main.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 13 | // limitations under the License.
 14 |
 15 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 16 | import Foundation
 17 | import STARLib
 18 |
 19 | struct MainCommand: ParsableCommand {
 20 |     static let configuration = CommandConfiguration(
    |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         commandName: "star",
 22 |         abstract: "Print how frequently each type has been used."
[171/174] Wrapping AST for star for debugging
[172/174] Write Objects.LinkFileList
[173/174] Linking star
Build complete! (124.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "SwiftTypeAdoptionReporter",
  "name" : "SwiftTypeAdoptionReporter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "star",
      "targets" : [
        "star"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "STARLib",
      "targets" : [
        "STARLib"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "star",
      "module_type" : "SwiftTarget",
      "name" : "star",
      "path" : "Sources/star",
      "product_memberships" : [
        "star"
      ],
      "sources" : [
        "OutputFormat.swift",
        "SyntaxType+ExpressibleByArgument.swift",
        "URL+ExpressibleByArgument.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "STARLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "STARLibTests",
      "module_type" : "SwiftTarget",
      "name" : "STARLibTests",
      "path" : "Tests/STARLibTests",
      "sources" : [
        "FastStrategyTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "STARLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "STARLib",
      "module_type" : "SwiftTarget",
      "name" : "STARLib",
      "path" : "Sources/STARLib",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftParser",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "star",
        "STARLib"
      ],
      "sources" : [
        "FastStrategy.swift",
        "HumanReadableReportFormatter.swift",
        "JSONReportFormatter.swift",
        "ReportFormatter.swift",
        "Strategy.swift",
        "SyntaxType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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.