This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

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/kevinmbeaulieu/star.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kevinmbeaulieu/star
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kevinmbeaulieu/star.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/14] Write sources
[2/14] Write star-entitlement.plist
[2/14] Write sources
[8/14] Write swift-version-6F35C1178C84523A.txt
[10/18] Emitting module ArgumentParserToolInfo
[11/18] Emitting module SwiftSyntax509
[12/18] Compiling SwiftSyntax509 Empty.swift
[13/18] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/99] Compiling ArgumentParser BashCompletionsGenerator.swift
[15/99] Compiling ArgumentParser CompletionsGenerator.swift
[16/99] Compiling ArgumentParser FishCompletionsGenerator.swift
[17/99] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/99] Compiling ArgumentParser Argument.swift
[19/104] Compiling SwiftSyntax MemoryLayout.swift
[20/104] Compiling SwiftSyntax MissingNodeInitializers.swift
[21/104] Compiling SwiftSyntax RawSyntax.swift
[22/104] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/104] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/104] Compiling ArgumentParser Option.swift
[25/104] Compiling ArgumentParser OptionGroup.swift
[26/104] Compiling ArgumentParser CommandConfiguration.swift
[27/104] Compiling ArgumentParser EnumerableFlag.swift
[28/104] Compiling ArgumentParser ExpressibleByArgument.swift
[29/104] Compiling ArgumentParser ArgumentHelp.swift
[30/104] Compiling ArgumentParser CompletionKind.swift
[31/104] Compiling ArgumentParser Errors.swift
[32/104] Compiling ArgumentParser Flag.swift
[33/104] Compiling ArgumentParser NameSpecification.swift
[46/107] Emitting module ArgumentParser
[50/107] Compiling ArgumentParser ParsableArguments.swift
[51/107] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/107] Compiling ArgumentParser ParsableCommand.swift
[53/107] Compiling ArgumentParser ArgumentDecoder.swift
[54/107] Compiling ArgumentParser ArgumentDefinition.swift
[55/107] Compiling ArgumentParser SequenceExtensions.swift
[56/107] Compiling ArgumentParser StringExtensions.swift
[57/107] Compiling ArgumentParser Tree.swift
[58/107] Compiling ArgumentParser MessageInfo.swift
[59/107] Compiling ArgumentParser UsageGenerator.swift
[60/107] Compiling ArgumentParser CollectionExtensions.swift
[61/107] Compiling ArgumentParser ArgumentSet.swift
[62/107] Compiling ArgumentParser CommandParser.swift
[63/107] Compiling ArgumentParser InputOrigin.swift
[64/107] Compiling ArgumentParser Name.swift
[65/107] Compiling ArgumentParser Parsed.swift
[66/107] Compiling ArgumentParser ParsedValues.swift
[67/107] Compiling ArgumentParser ParserError.swift
[68/107] Compiling ArgumentParser SplitArguments.swift
[69/107] Compiling ArgumentParser DumpHelpGenerator.swift
[70/107] Compiling ArgumentParser HelpCommand.swift
[71/107] Compiling ArgumentParser HelpGenerator.swift
[72/107] Emitting module SwiftSyntax
[83/107] Compiling SwiftSyntax SyntaxExprNodes.swift
[84/107] Compiling SwiftSyntax SyntaxNodes.swift
[85/107] Compiling SwiftSyntax SyntaxPatternNodes.swift
[86/107] Compiling SwiftSyntax SyntaxStmtNodes.swift
[87/107] Compiling SwiftSyntax SyntaxTypeNodes.swift
[90/107] Compiling SwiftSyntax SyntaxTransform.swift
[91/107] Compiling SwiftSyntax SyntaxVisitor.swift
[92/107] Compiling SwiftSyntax TokenKind.swift
[103/146] Compiling SwiftParser Names.swift
[104/146] Compiling SwiftParser Nominals.swift
[105/146] Compiling SwiftParser Parameters.swift
[106/146] Compiling SwiftParser ParseSourceFile.swift
[107/150] Compiling SwiftParser Statements.swift
[108/150] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[109/150] Compiling SwiftParser StringLiterals.swift
[110/150] Compiling SwiftParser SwiftParserCompatibility.swift
[111/150] Compiling SwiftParser TokenSpecSet.swift
[112/150] Compiling SwiftParser TopLevel.swift
[113/150] Compiling SwiftParser TriviaParser.swift
[114/150] Compiling SwiftParser Types.swift
[115/150] Compiling SwiftParser Attributes.swift
[116/150] Compiling SwiftParser Availability.swift
[117/150] Compiling SwiftParser CharacterInfo.swift
[118/150] Compiling SwiftParser CollectionNodes+Parsable.swift
[119/150] Compiling SwiftParser Declarations.swift
[120/150] Emitting module SwiftParser
[121/150] Compiling SwiftParser IsLexerClassified.swift
[122/150] Compiling SwiftParser LayoutNodes+Parsable.swift
[123/150] Compiling SwiftParser Parser+TokenSpecSet.swift
[124/150] Compiling SwiftParser TokenSpecStaticMembers.swift
[125/150] Compiling SwiftParser Parser.swift
[126/150] Compiling SwiftParser Patterns.swift
[127/150] Compiling SwiftParser Recovery.swift
[128/150] Compiling SwiftParser Specifiers.swift
[129/150] Compiling SwiftParser UnicodeScalarExtensions.swift
[130/150] Compiling SwiftParser Lookahead.swift
[131/150] Compiling SwiftParser LoopProgressCondition.swift
[132/150] Compiling SwiftParser Modifiers.swift
[133/150] Compiling SwiftParser SyntaxUtils.swift
[134/150] Compiling SwiftParser TokenConsumer.swift
[135/150] Compiling SwiftParser TokenPrecedence.swift
[136/150] Compiling SwiftParser TokenSpec.swift
[137/150] Compiling SwiftParser Lexeme.swift
[138/150] Compiling SwiftParser LexemeSequence.swift
[139/150] Compiling SwiftParser Lexer.swift
[140/150] Compiling SwiftParser RegexLiteralLexer.swift
[141/150] Compiling SwiftParser Directives.swift
[142/150] Compiling SwiftParser ExperimentalFeatures.swift
[143/150] Compiling SwiftParser Expressions.swift
[144/150] Compiling SwiftParser IncrementalParseTransition.swift
[145/150] Compiling SwiftParser Cursor.swift
[146/157] Compiling STARLib Strategy.swift
[147/157] Compiling STARLib SyntaxType.swift
[148/157] Compiling STARLib ReportFormatter.swift
[149/157] Compiling STARLib HumanReadableReportFormatter.swift
[150/157] Compiling STARLib JSONReportFormatter.swift
[151/157] Emitting module STARLib
[152/157] Compiling STARLib FastStrategy.swift
[152/157] Write Objects.LinkFileList
[153/162] Archiving libSTARLib.a
[155/162] Compiling star OutputFormat.swift
[156/162] Compiling star SyntaxType+ExpressibleByArgument.swift
/Users/admin/builder/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 |
[157/162] Emitting module star
/Users/admin/builder/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."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/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: 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
 21 |         commandName: "star",
 22 |         abstract: "Print how frequently each type has been used."
/Users/admin/builder/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 |
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |     public init?(argument: String) {
20 |         self.init(fileURLWithPath: argument)
[158/162] Compiling star main.swift
/Users/admin/builder/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."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/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: 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
 21 |         commandName: "star",
 22 |         abstract: "Print how frequently each type has been used."
[159/162] Compiling star URL+ExpressibleByArgument.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
19 |     public init?(argument: String) {
20 |         self.init(fileURLWithPath: argument)
[159/162] Write Objects.LinkFileList
[160/162] Linking star
[161/162] Applying star
Build complete! (66.00s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/11679] Fetching swift-argument-parser
[11680/72566] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (15.05s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (15.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.5.0 (0.65s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.76s)
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.0.2
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" : "/Users/admin/builder/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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.