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 Ross, reference main (83d299), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 09:06:17 UTC.

Swift 6 data race errors: 0

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalonunez/ross.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalonunez/ross
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 83d299d Preserve header comments
Cloned https://github.com/gonzalonunez/ross.git
Revision (git rev-parse @):
83d299d66320639255ba866cebc01f542cc21996
SUCCESS checkout https://github.com/gonzalonunez/ross.git at main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
[1/12395] Fetching swift-argument-parser
[12396/79078] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (3.45s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.46s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.60s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50800.0-SNAPSHOT-2022-12-29-a (0.63s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50800.0-SNAPSHOT-2022-12-29-a
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.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": "ross",
      "name": "Ross",
      "url": "https://github.com/gonzalonunez/ross.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ross",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-syntax",
          "name": "SwiftSyntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "0.50800.0-SNAPSHOT-2022-12-29-a",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/gonzalonunez/ross.git
[1/135] Fetching ross
Fetched https://github.com/gonzalonunez/ross.git from cache (0.67s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Fetched https://github.com/apple/swift-syntax.git from cache (0.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.44s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50800.0-SNAPSHOT-2022-12-29-a (0.03s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50800.0-SNAPSHOT-2022-12-29-a
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
Creating working copy for https://github.com/gonzalonunez/ross.git
Working copy of https://github.com/gonzalonunez/ross.git resolved at main (83d299d)
Found 2 product dependencies
  - swift-argument-parser
  - SwiftSyntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/gonzalonunez/ross.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "0.50800.0-SNAPSHOT-2022-12-29-a"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "Ross",
  "name" : "Ross",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ross",
      "targets" : [
        "ross"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ross",
      "module_type" : "SwiftTarget",
      "name" : "ross",
      "path" : "Sources/ross",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftParser",
        "SwiftSyntax"
      ],
      "product_memberships" : [
        "ross"
      ],
      "sources" : [
        "CommentRewriter.swift",
        "Ross.swift",
        "RossRunner.swift",
        "RossRunnerError.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RossTests",
      "module_type" : "SwiftTarget",
      "name" : "RossTests",
      "path" : "Tests/RossTests",
      "sources" : [
        "RossTests.swift"
      ],
      "target_dependencies" : [
        "ross"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.6"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/16] Write sources
[2/16] Write ross-entitlement.plist
[2/16] Write sources
[8/16] Write swift-version--7754E27361AE5C74.txt
[10/57] Emitting module ArgumentParserToolInfo
[11/57] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/95] Compiling ArgumentParser MessageInfo.swift
[13/95] Compiling ArgumentParser UsageGenerator.swift
[14/95] Compiling ArgumentParser CollectionExtensions.swift
[15/95] Compiling SwiftSyntax SyntaxData.swift
[16/99] Compiling ArgumentParser ArgumentHelp.swift
[17/99] Compiling ArgumentParser ArgumentVisibility.swift
[18/99] Compiling ArgumentParser CompletionKind.swift
[19/99] Compiling ArgumentParser Errors.swift
[20/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[21/103] Compiling ArgumentParser CompletionsGenerator.swift
[22/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[23/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[24/103] Compiling ArgumentParser Argument.swift
[25/103] Compiling ArgumentParser Flag.swift
[26/103] Compiling ArgumentParser NameSpecification.swift
[27/103] Compiling ArgumentParser Option.swift
[28/103] Compiling ArgumentParser OptionGroup.swift
[34/103] Compiling ArgumentParser Platform.swift
[35/103] Compiling ArgumentParser SequenceExtensions.swift
[36/103] Compiling ArgumentParser StringExtensions.swift
[37/103] Compiling ArgumentParser Tree.swift
[38/103] Emitting module ArgumentParser
[39/103] Compiling ArgumentParser AsyncParsableCommand.swift
[40/103] Compiling ArgumentParser CommandConfiguration.swift
[41/103] Compiling ArgumentParser EnumerableFlag.swift
[42/103] Compiling ArgumentParser ExpressibleByArgument.swift
[43/103] Compiling ArgumentParser ParsableArguments.swift
[44/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/103] Compiling ArgumentParser ParsableCommand.swift
[46/103] Compiling ArgumentParser ArgumentDecoder.swift
[47/103] Compiling ArgumentParser ArgumentDefinition.swift
[48/103] Compiling ArgumentParser ArgumentSet.swift
[49/103] Compiling ArgumentParser CommandParser.swift
[50/103] Compiling ArgumentParser InputKey.swift
[55/103] Compiling ArgumentParser InputOrigin.swift
[56/103] Compiling ArgumentParser Name.swift
[57/103] Compiling ArgumentParser Parsed.swift
[58/103] Compiling ArgumentParser ParsedValues.swift
[59/103] Compiling ArgumentParser HelpGenerator.swift
[63/103] Compiling ArgumentParser ParserError.swift
[64/103] Compiling ArgumentParser SplitArguments.swift
[65/103] Compiling ArgumentParser DumpHelpGenerator.swift
[66/103] Compiling ArgumentParser HelpCommand.swift
[67/103] Emitting module SwiftSyntax
[96/103] Compiling SwiftSyntax SyntaxTypeNodes.swift
[96/103] Write Objects.LinkFileList
[97/103] Archiving libSwiftSyntax.a
[99/109] Compiling SwiftDiagnostics Message.swift
[100/109] Compiling SwiftDiagnostics Note.swift
[101/109] Compiling SwiftDiagnostics FixIt.swift
[102/109] Compiling SwiftDiagnostics Diagnostic.swift
[103/109] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[104/109] Emitting module SwiftDiagnostics
[105/136] Compiling SwiftParser LoopProgressCondition.swift
[106/136] Compiling SwiftParser Modifiers.swift
[107/136] Compiling SwiftParser Names.swift
[108/138] Compiling SwiftParser Parser+Entry.swift
[109/138] Compiling SwiftParser TypeAttribute.swift
[110/138] Compiling SwiftParser Nominals.swift
[111/138] Compiling SwiftParser Parser.swift
[112/138] Compiling SwiftParser Patterns.swift
[113/138] Compiling SwiftParser TopLevel.swift
[114/138] Compiling SwiftParser TriviaParser.swift
[115/138] Compiling SwiftParser Types.swift
[116/138] Compiling SwiftParser DeclarationAttribute.swift
[117/138] Compiling SwiftParser DeclarationModifier.swift
[118/138] Emitting module SwiftParser
[119/138] Compiling SwiftParser Attributes.swift
[120/138] Compiling SwiftParser Availability.swift
[121/138] Compiling SwiftParser CharacterInfo.swift
[122/138] Compiling SwiftParser RawTokenKindSubset.swift
[123/138] Compiling SwiftParser Recovery.swift
[124/138] Compiling SwiftParser Statements.swift
[125/138] Compiling SwiftParser SyntaxUtils.swift
[126/138] Compiling SwiftParser TokenConsumer.swift
[127/138] Compiling SwiftParser TokenPrecedence.swift
[128/138] Compiling SwiftParser Lexer.swift
[129/138] Compiling SwiftParser LexerDiagnosticMessages.swift
[130/138] Compiling SwiftParser Lookahead.swift
[131/138] Compiling SwiftParser Declarations.swift
[132/138] Compiling SwiftParser Directives.swift
[133/138] Compiling SwiftParser Expressions.swift
[133/138] Write Objects.LinkFileList
[134/138] Archiving libSwiftParser.a
[136/143] Compiling ross RossRunnerError.swift
[137/143] Compiling ross RossRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/ross/RossRunner.swift:43:23: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
41 |           continue
42 |         }
43 |         group.addTask {
   |                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
44 |           let fileURL = directoryURL.appendingPathComponent(file)
45 |           try await cleanFile(at: fileURL)
   |                     `- note: closure captures 'self' which is accessible to code in the current task
46 |         }
47 |       }
[138/143] Compiling ross Ross.swift
[139/143] Compiling ross CommentRewriter.swift
[140/143] Emitting module ross
[140/143] Write Objects.LinkFileList
[141/143] Linking ross
[142/143] Applying ross
Build complete! (45.39s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "exact" : [
          "0.50800.0-SNAPSHOT-2022-12-29-a"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "Ross",
  "name" : "Ross",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ross",
      "targets" : [
        "ross"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ross",
      "module_type" : "SwiftTarget",
      "name" : "ross",
      "path" : "Sources/ross",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftParser",
        "SwiftSyntax"
      ],
      "product_memberships" : [
        "ross"
      ],
      "sources" : [
        "CommentRewriter.swift",
        "Ross.swift",
        "RossRunner.swift",
        "RossRunnerError.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RossTests",
      "module_type" : "SwiftTarget",
      "name" : "RossTests",
      "path" : "Tests/RossTests",
      "sources" : [
        "RossTests.swift"
      ],
      "target_dependencies" : [
        "ross"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.6"
}
Done.