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 0.1.4 (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: 0.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalonunez/ross
 * tag               0.1.4      -> FETCH_HEAD
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 0.1.4
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-syntax.git from cache (3.37s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.66s)
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.61s)
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
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
========================================
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.69s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.91s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.91s)
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.02s)
Creating working copy for https://github.com/gonzalonunez/ross.git
Working copy of https://github.com/gonzalonunez/ross.git resolved at 0.1.4 (83d299d)
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
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
[3/16] Write ross-entitlement.plist
[3/16] Write sources
[8/16] Write swift-version--7754E27361AE5C74.txt
[10/57] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/57] Emitting module ArgumentParserToolInfo
[12/95] Compiling ArgumentParser Flag.swift
[13/95] Compiling ArgumentParser NameSpecification.swift
[14/95] Compiling ArgumentParser Option.swift
[15/95] Compiling ArgumentParser OptionGroup.swift
[16/99] Compiling ArgumentParser BashCompletionsGenerator.swift
[17/99] Compiling ArgumentParser CompletionsGenerator.swift
[18/99] Compiling ArgumentParser FishCompletionsGenerator.swift
[19/99] Compiling ArgumentParser ZshCompletionsGenerator.swift
[20/99] Compiling ArgumentParser Argument.swift
[21/99] Compiling ArgumentParser MessageInfo.swift
[22/99] Compiling ArgumentParser UsageGenerator.swift
[23/99] Compiling ArgumentParser CollectionExtensions.swift
[24/99] Compiling ArgumentParser Platform.swift
[25/103] Emitting module ArgumentParser
[26/103] Compiling ArgumentParser AsyncParsableCommand.swift
[27/103] Compiling ArgumentParser CommandConfiguration.swift
[28/103] Compiling ArgumentParser EnumerableFlag.swift
[29/103] Compiling ArgumentParser ExpressibleByArgument.swift
[30/103] Compiling ArgumentParser ArgumentHelp.swift
[31/103] Compiling ArgumentParser ArgumentVisibility.swift
[32/103] Compiling ArgumentParser CompletionKind.swift
[33/103] Compiling ArgumentParser Errors.swift
[34/103] Compiling ArgumentParser ParsableArguments.swift
[35/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/103] Compiling ArgumentParser ParsableCommand.swift
[37/103] Compiling ArgumentParser ArgumentDecoder.swift
[39/103] Compiling SwiftSyntax SyntaxNodes.swift
[40/103] Compiling SwiftSyntax SyntaxPatternNodes.swift
[41/103] Compiling SwiftSyntax SyntaxStmtNodes.swift
[42/103] Compiling ArgumentParser SplitArguments.swift
[43/103] Compiling ArgumentParser DumpHelpGenerator.swift
[44/103] Compiling ArgumentParser HelpCommand.swift
[45/103] Compiling ArgumentParser HelpGenerator.swift
[46/103] Compiling ArgumentParser ParserError.swift
[50/103] Compiling ArgumentParser ArgumentDefinition.swift
[51/103] Compiling ArgumentParser ArgumentSet.swift
[52/103] Compiling ArgumentParser CommandParser.swift
[53/103] Compiling ArgumentParser InputKey.swift
[54/103] Compiling ArgumentParser InputOrigin.swift
[55/103] Compiling ArgumentParser Name.swift
[56/103] Compiling ArgumentParser Parsed.swift
[57/103] Compiling ArgumentParser ParsedValues.swift
[62/103] Emitting module SwiftSyntax
[96/103] Compiling SwiftSyntax SyntaxTypeNodes.swift
[96/103] Write Objects.LinkFileList
[97/103] Archiving libSwiftSyntax.a
[99/109] Compiling SwiftDiagnostics Note.swift
[100/109] Compiling SwiftDiagnostics Message.swift
[101/109] Compiling SwiftDiagnostics FixIt.swift
[102/109] Emitting module SwiftDiagnostics
[103/109] Compiling SwiftDiagnostics Diagnostic.swift
[104/109] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[105/136] Compiling SwiftParser SyntaxUtils.swift
[106/136] Compiling SwiftParser TokenConsumer.swift
[107/136] Compiling SwiftParser TokenPrecedence.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] Emitting module SwiftParser
[114/138] Compiling SwiftParser RawTokenKindSubset.swift
[115/138] Compiling SwiftParser Recovery.swift
[116/138] Compiling SwiftParser Statements.swift
[117/138] Compiling SwiftParser Lexer.swift
[118/138] Compiling SwiftParser LexerDiagnosticMessages.swift
[119/138] Compiling SwiftParser Lookahead.swift
[120/138] Compiling SwiftParser TopLevel.swift
[121/138] Compiling SwiftParser TriviaParser.swift
[122/138] Compiling SwiftParser Types.swift
[123/138] Compiling SwiftParser DeclarationAttribute.swift
[124/138] Compiling SwiftParser DeclarationModifier.swift
[125/138] Compiling SwiftParser LoopProgressCondition.swift
[126/138] Compiling SwiftParser Modifiers.swift
[127/138] Compiling SwiftParser Names.swift
[128/138] Compiling SwiftParser Attributes.swift
[129/138] Compiling SwiftParser Availability.swift
[130/138] Compiling SwiftParser CharacterInfo.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 Ross.swift
[138/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 |       }
[139/143] Emitting module ross
[140/143] Compiling ross CommentRewriter.swift
[140/143] Write Objects.LinkFileList
[141/143] Linking ross
[142/143] Applying ross
Build complete! (46.51s)
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.