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.0 for macOS (SPM) on 3 Nov 2024 23:15:26 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinmbeaulieu/star.git
Reference: v5.9.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/12353] Fetching swift-argument-parser
[12354/78752] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.35s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.35s)
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.73s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.78s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "star",
      "name": "SwiftTypeAdoptionReporter",
      "url": "https://github.com/kevinmbeaulieu/star.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/star",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "509.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kevinmbeaulieu/star.git
[1/287] Fetching star
Fetched https://github.com/kevinmbeaulieu/star.git from cache (0.78s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.86s)
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.02s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.02s)
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
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/kevinmbeaulieu/star.git
Working copy of https://github.com/kevinmbeaulieu/star.git resolved at v5.9.1 (d123e1c)
Found 2 product dependencies
  - swift-syntax
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kevinmbeaulieu/star.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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
[3/14] Write star-entitlement.plist
[4/14] Write sources
[8/14] Write swift-version--7754E27361AE5C74.txt
[10/18] Compiling SwiftSyntax509 Empty.swift
[11/18] Emitting module SwiftSyntax509
[12/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/64] Emitting module ArgumentParserToolInfo
[14/99] Compiling ArgumentParser ArgumentSet.swift
[15/99] Compiling ArgumentParser CommandParser.swift
[16/99] Compiling ArgumentParser InputOrigin.swift
[17/99] Compiling ArgumentParser Name.swift
[18/99] Compiling ArgumentParser ParsableArgumentsValidation.swift
[19/104] Compiling ArgumentParser ParsableCommand.swift
[20/104] Compiling ArgumentParser ArgumentDecoder.swift
[21/104] Compiling ArgumentParser ArgumentDefinition.swift
[22/104] Compiling ArgumentParser CommandConfiguration.swift
[23/104] Compiling ArgumentParser EnumerableFlag.swift
[26/104] Compiling ArgumentParser ExpressibleByArgument.swift
[27/104] Compiling ArgumentParser ParsableArguments.swift
[28/104] Compiling ArgumentParser Argument.swift
[29/104] Compiling ArgumentParser ArgumentHelp.swift
[30/104] Compiling ArgumentParser CompletionKind.swift
[31/104] Compiling ArgumentParser Errors.swift
[32/107] Compiling ArgumentParser Parsed.swift
[33/107] Compiling ArgumentParser ParsedValues.swift
[34/107] Compiling ArgumentParser ParserError.swift
[35/107] Compiling ArgumentParser SplitArguments.swift
[36/107] Compiling SwiftSyntax Syntax.swift
[37/107] Compiling SwiftSyntax SyntaxArena.swift
[38/107] Compiling SwiftSyntax SyntaxChildren.swift
[39/107] Compiling SwiftSyntax SyntaxCollection.swift
[40/107] Compiling SwiftSyntax SyntaxData.swift
[41/107] Compiling ArgumentParser SequenceExtensions.swift
[42/107] Compiling ArgumentParser StringExtensions.swift
[43/107] Compiling ArgumentParser Tree.swift
[44/107] Compiling ArgumentParser BashCompletionsGenerator.swift
[45/107] Compiling ArgumentParser CompletionsGenerator.swift
[46/107] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/107] Compiling ArgumentParser ZshCompletionsGenerator.swift
[52/107] Emitting module ArgumentParser
[57/107] Compiling ArgumentParser DumpHelpGenerator.swift
[58/107] Compiling ArgumentParser HelpCommand.swift
[59/107] Compiling ArgumentParser HelpGenerator.swift
[60/107] Compiling ArgumentParser Flag.swift
[61/107] Compiling ArgumentParser NameSpecification.swift
[62/107] Compiling ArgumentParser Option.swift
[63/107] Compiling ArgumentParser OptionGroup.swift
[64/107] Compiling ArgumentParser MessageInfo.swift
[65/107] Compiling ArgumentParser UsageGenerator.swift
[66/107] Compiling ArgumentParser CollectionExtensions.swift
[72/107] Emitting module SwiftSyntax
[80/107] Compiling SwiftSyntax Keyword.swift
[81/107] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[82/107] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[98/107] Compiling SwiftSyntax SyntaxExprNodes.swift
[99/107] Compiling SwiftSyntax SyntaxNodes.swift
[100/107] Compiling SwiftSyntax SyntaxPatternNodes.swift
[101/107] Compiling SwiftSyntax SyntaxStmtNodes.swift
[102/107] Compiling SwiftSyntax SyntaxTypeNodes.swift
[103/146] Compiling SwiftParser Lexeme.swift
[104/146] Compiling SwiftParser LexemeSequence.swift
[105/146] Compiling SwiftParser Lexer.swift
[106/146] Compiling SwiftParser RegexLiteralLexer.swift
[107/146] Compiling SwiftParser Names.swift
[108/146] Compiling SwiftParser Nominals.swift
[109/146] Compiling SwiftParser Parameters.swift
[110/146] Compiling SwiftParser ParseSourceFile.swift
[111/150] Compiling SwiftParser UnicodeScalarExtensions.swift
[112/150] Compiling SwiftParser Lookahead.swift
[113/150] Compiling SwiftParser LoopProgressCondition.swift
[114/150] Compiling SwiftParser Modifiers.swift
[115/150] Compiling SwiftParser SyntaxUtils.swift
[116/150] Compiling SwiftParser TokenConsumer.swift
[117/150] Compiling SwiftParser TokenPrecedence.swift
[118/150] Compiling SwiftParser TokenSpec.swift
[119/150] Compiling SwiftParser Statements.swift
[120/150] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[121/150] Compiling SwiftParser StringLiterals.swift
[122/150] Compiling SwiftParser SwiftParserCompatibility.swift
[123/150] Compiling SwiftParser Parser.swift
[124/150] Compiling SwiftParser Patterns.swift
[125/150] Compiling SwiftParser Recovery.swift
[126/150] Compiling SwiftParser Specifiers.swift
[127/150] Compiling SwiftParser TokenSpecSet.swift
[128/150] Compiling SwiftParser TopLevel.swift
[129/150] Compiling SwiftParser TriviaParser.swift
[130/150] Compiling SwiftParser Types.swift
[131/150] Emitting module SwiftParser
[132/150] Compiling SwiftParser IsLexerClassified.swift
[133/150] Compiling SwiftParser LayoutNodes+Parsable.swift
[134/150] Compiling SwiftParser Parser+TokenSpecSet.swift
[135/150] Compiling SwiftParser TokenSpecStaticMembers.swift
[136/150] Compiling SwiftParser Attributes.swift
[137/150] Compiling SwiftParser Availability.swift
[138/150] Compiling SwiftParser CharacterInfo.swift
[139/150] Compiling SwiftParser CollectionNodes+Parsable.swift
[140/150] Compiling SwiftParser Declarations.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 HumanReadableReportFormatter.swift
[148/157] Compiling STARLib SyntaxType.swift
[149/157] Compiling STARLib JSONReportFormatter.swift
[150/157] Compiling STARLib ReportFormatter.swift
[151/157] Compiling STARLib FastStrategy.swift
[152/157] Emitting module STARLib
[152/157] Write Objects.LinkFileList
[153/162] Archiving libSTARLib.a
[155/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)
[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 OutputFormat.swift
[159/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] Write Objects.LinkFileList
[160/162] Linking star
[161/162] Applying star
Build complete! (41.48s)
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.