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 main (d123e1), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 23:15:28 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: 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
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/12353] Fetching swift-argument-parser
[10872/78752] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.25s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.24s)
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.69s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (0.75s)
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
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
========================================
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.75s)
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-argument-parser.git from cache (0.85s)
Fetched https://github.com/apple/swift-syntax.git from cache (0.85s)
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.03s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.03s)
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
Creating working copy for https://github.com/kevinmbeaulieu/star.git
Working copy of https://github.com/kevinmbeaulieu/star.git resolved at main (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
[4/14] Write star-entitlement.plist
[4/14] Write sources
[8/14] Write swift-version--7754E27361AE5C74.txt
[10/18] Emitting module SwiftSyntax509
[11/18] Compiling SwiftSyntax509 Empty.swift
[12/64] Emitting module ArgumentParserToolInfo
[13/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/99] Compiling ArgumentParser CommandConfiguration.swift
[15/99] Compiling ArgumentParser EnumerableFlag.swift
[16/99] Compiling ArgumentParser ExpressibleByArgument.swift
[17/99] Compiling ArgumentParser ParsableArguments.swift
[18/99] Compiling ArgumentParser ParsableArgumentsValidation.swift
[19/104] Compiling ArgumentParser Argument.swift
[20/104] Compiling ArgumentParser ArgumentHelp.swift
[21/104] Compiling ArgumentParser CompletionKind.swift
[22/104] Compiling ArgumentParser Errors.swift
[23/107] Compiling SwiftSyntax RawSyntaxTokenView.swift
[24/107] Compiling SwiftSyntax SourceLength.swift
[25/107] Compiling SwiftSyntax SourceLocation.swift
[26/107] Compiling SwiftSyntax SourcePresence.swift
[27/107] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[28/107] Compiling ArgumentParser Parsed.swift
[29/107] Compiling ArgumentParser ParsedValues.swift
[30/107] Compiling ArgumentParser ParserError.swift
[31/107] Compiling ArgumentParser SplitArguments.swift
[36/107] Compiling ArgumentParser SequenceExtensions.swift
[37/107] Compiling ArgumentParser StringExtensions.swift
[38/107] Compiling ArgumentParser Tree.swift
[39/107] Compiling SwiftSyntax SyntaxChildren.swift
[40/107] Compiling SwiftSyntax SyntaxCollection.swift
[41/107] Compiling SwiftSyntax SyntaxData.swift
[42/107] Emitting module ArgumentParser
[46/107] Compiling ArgumentParser ArgumentSet.swift
[47/107] Compiling ArgumentParser CommandParser.swift
[48/107] Compiling ArgumentParser InputOrigin.swift
[49/107] Compiling ArgumentParser Name.swift
[55/107] Compiling ArgumentParser ParsableCommand.swift
[56/107] Compiling ArgumentParser ArgumentDecoder.swift
[57/107] Compiling ArgumentParser ArgumentDefinition.swift
[58/107] Compiling ArgumentParser BashCompletionsGenerator.swift
[59/107] Compiling ArgumentParser CompletionsGenerator.swift
[60/107] Compiling ArgumentParser FishCompletionsGenerator.swift
[61/107] Compiling ArgumentParser ZshCompletionsGenerator.swift
[62/107] Compiling ArgumentParser Flag.swift
[63/107] Compiling ArgumentParser NameSpecification.swift
[64/107] Compiling ArgumentParser Option.swift
[65/107] Compiling ArgumentParser OptionGroup.swift
[66/107] Compiling ArgumentParser MessageInfo.swift
[67/107] Compiling ArgumentParser UsageGenerator.swift
[68/107] Compiling ArgumentParser CollectionExtensions.swift
[69/107] Compiling ArgumentParser DumpHelpGenerator.swift
[70/107] Compiling ArgumentParser HelpCommand.swift
[71/107] Compiling ArgumentParser HelpGenerator.swift
[77/107] Emitting module SwiftSyntax
[88/107] Compiling SwiftSyntax SyntaxExprNodes.swift
[89/107] Compiling SwiftSyntax SyntaxNodes.swift
[90/107] Compiling SwiftSyntax SyntaxPatternNodes.swift
[91/107] Compiling SwiftSyntax SyntaxStmtNodes.swift
[92/107] Compiling SwiftSyntax SyntaxTypeNodes.swift
[103/146] Compiling SwiftParser SyntaxUtils.swift
[104/146] Compiling SwiftParser TokenConsumer.swift
[105/146] Compiling SwiftParser TokenPrecedence.swift
[106/146] Compiling SwiftParser TokenSpec.swift
[107/150] Compiling SwiftParser UnicodeScalarExtensions.swift
[108/150] Compiling SwiftParser Lookahead.swift
[109/150] Compiling SwiftParser LoopProgressCondition.swift
[110/150] Compiling SwiftParser Modifiers.swift
[111/150] Compiling SwiftParser Statements.swift
[112/150] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[113/150] Compiling SwiftParser StringLiterals.swift
[114/150] Compiling SwiftParser SwiftParserCompatibility.swift
[115/150] Compiling SwiftParser Parser.swift
[116/150] Compiling SwiftParser Patterns.swift
[117/150] Compiling SwiftParser Recovery.swift
[118/150] Compiling SwiftParser Specifiers.swift
[119/150] Compiling SwiftParser Lexeme.swift
[120/150] Compiling SwiftParser LexemeSequence.swift
[121/150] Compiling SwiftParser Lexer.swift
[122/150] Compiling SwiftParser RegexLiteralLexer.swift
[123/150] Compiling SwiftParser TokenSpecSet.swift
[124/150] Compiling SwiftParser TopLevel.swift
[125/150] Compiling SwiftParser TriviaParser.swift
[126/150] Compiling SwiftParser Types.swift
[127/150] Compiling SwiftParser Attributes.swift
[128/150] Compiling SwiftParser Availability.swift
[129/150] Compiling SwiftParser CharacterInfo.swift
[130/150] Compiling SwiftParser CollectionNodes+Parsable.swift
[131/150] Compiling SwiftParser Declarations.swift
[132/150] Emitting module SwiftParser
[133/150] Compiling SwiftParser IsLexerClassified.swift
[134/150] Compiling SwiftParser LayoutNodes+Parsable.swift
[135/150] Compiling SwiftParser Parser+TokenSpecSet.swift
[136/150] Compiling SwiftParser TokenSpecStaticMembers.swift
[137/150] Compiling SwiftParser Names.swift
[138/150] Compiling SwiftParser Nominals.swift
[139/150] Compiling SwiftParser Parameters.swift
[140/150] Compiling SwiftParser ParseSourceFile.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 ReportFormatter.swift
[147/157] Compiling STARLib Strategy.swift
[148/157] Compiling STARLib JSONReportFormatter.swift
[149/157] Compiling STARLib SyntaxType.swift
[150/157] Compiling STARLib HumanReadableReportFormatter.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 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 |
[156/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)
[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 OutputFormat.swift
[159/162] Write Objects.LinkFileList
[160/162] Linking star
[161/162] Applying star
Build complete! (41.72s)
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.