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 Ross with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalonunez/ross.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/gonzalonunez/ross.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/11679] Fetching swift-argument-parser
[11680/72592] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.80s)
[7919/60913] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.74s)
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.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.57s)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[7/20] Write swift-version-24593BA9C3E375BF.txt
[9/60] Emitting module ArgumentParserToolInfo
[10/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/61] Compiling SwiftSyntax AbsolutePosition.swift
[13/61] Compiling SwiftSyntax BumpPtrAllocator.swift
[14/61] Compiling SwiftSyntax CommonAncestor.swift
[15/61] Compiling SwiftSyntax IncrementalParseTransition.swift
[16/61] Compiling SwiftSyntax MemoryLayout.swift
[17/61] Compiling SwiftSyntax RawSyntax.swift
[17/66] Wrapping AST for ArgumentParserToolInfo for debugging
[19/67] Compiling SwiftSyntax SourceLocation.swift
[20/67] Compiling SwiftSyntax SourcePresence.swift
[21/67] Compiling SwiftSyntax Syntax.swift
[22/67] Compiling SwiftSyntax SyntaxArena.swift
[23/67] Compiling SwiftSyntax SyntaxChildren.swift
[24/103] Compiling ArgumentParser Parsed.swift
[25/103] Compiling ArgumentParser ParsedValues.swift
[26/103] Compiling ArgumentParser ParserError.swift
[27/103] Compiling ArgumentParser SplitArguments.swift
[28/103] Compiling ArgumentParser DumpHelpGenerator.swift
[29/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/103] Compiling ArgumentParser CompletionsGenerator.swift
[31/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/103] Compiling ArgumentParser Argument.swift
[34/103] Compiling ArgumentParser ArgumentHelp.swift
[35/103] Compiling ArgumentParser ArgumentVisibility.swift
[36/103] Compiling ArgumentParser CompletionKind.swift
[37/103] Compiling ArgumentParser Errors.swift
[38/103] Compiling ArgumentParser Flag.swift
[39/103] Compiling ArgumentParser NameSpecification.swift
[40/108] Emitting module ArgumentParser
[41/108] Compiling ArgumentParser CollectionExtensions.swift
[42/108] Compiling ArgumentParser Platform.swift
[43/108] Compiling ArgumentParser SequenceExtensions.swift
[44/108] Compiling ArgumentParser StringExtensions.swift
[45/108] Compiling ArgumentParser Tree.swift
[46/108] Compiling ArgumentParser ExpressibleByArgument.swift
[47/108] Compiling ArgumentParser ParsableArguments.swift
[48/108] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/108] Compiling ArgumentParser ParsableCommand.swift
[50/108] Compiling ArgumentParser ArgumentDecoder.swift
[51/108] Compiling ArgumentParser Option.swift
[52/108] Compiling ArgumentParser OptionGroup.swift
[53/108] Compiling ArgumentParser AsyncParsableCommand.swift
[54/108] Compiling ArgumentParser CommandConfiguration.swift
[55/108] Compiling ArgumentParser EnumerableFlag.swift
[56/108] Compiling ArgumentParser ArgumentDefinition.swift
[57/108] Compiling ArgumentParser ArgumentSet.swift
[58/108] Compiling ArgumentParser CommandParser.swift
[59/108] Compiling ArgumentParser InputKey.swift
[60/108] Compiling ArgumentParser InputOrigin.swift
[61/108] Compiling ArgumentParser Name.swift
[67/108] Compiling ArgumentParser HelpCommand.swift
[68/108] Compiling ArgumentParser HelpGenerator.swift
[69/108] Compiling ArgumentParser MessageInfo.swift
[70/108] Compiling ArgumentParser UsageGenerator.swift
[71/109] Wrapping AST for ArgumentParser for debugging
[73/109] Emitting module SwiftSyntax
[99/109] Compiling SwiftSyntax SyntaxTypeNodes.swift
[100/110] Wrapping AST for SwiftSyntax for debugging
[101/110] Write Objects.LinkFileList
[102/116] Archiving libSwiftSyntax.a
[104/116] Compiling SwiftDiagnostics Message.swift
[105/116] Compiling SwiftDiagnostics Note.swift
[106/116] Compiling SwiftDiagnostics FixIt.swift
[107/116] Compiling SwiftDiagnostics Diagnostic.swift
[108/116] Emitting module SwiftDiagnostics
[109/116] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[110/117] Wrapping AST for SwiftDiagnostics for debugging
[112/143] Compiling SwiftParser Lookahead.swift
[113/143] Compiling SwiftParser LoopProgressCondition.swift
[114/143] Compiling SwiftParser Modifiers.swift
[115/143] Compiling SwiftParser Names.swift
[116/146] Compiling SwiftParser TriviaParser.swift
[117/146] Compiling SwiftParser Types.swift
[118/146] Compiling SwiftParser DeclarationAttribute.swift
[119/146] Emitting module SwiftParser
[120/146] Compiling SwiftParser DeclarationModifier.swift
[121/146] Compiling SwiftParser Parser+Entry.swift
[122/146] Compiling SwiftParser TypeAttribute.swift
[123/146] Compiling SwiftParser Nominals.swift
[124/146] Compiling SwiftParser Parser.swift
[125/146] Compiling SwiftParser Patterns.swift
[126/146] Compiling SwiftParser RawTokenKindSubset.swift
[127/146] Compiling SwiftParser Attributes.swift
[128/146] Compiling SwiftParser Availability.swift
[129/146] Compiling SwiftParser CharacterInfo.swift
[130/146] Compiling SwiftParser Declarations.swift
[131/146] Compiling SwiftParser TokenConsumer.swift
[132/146] Compiling SwiftParser TokenPrecedence.swift
[133/146] Compiling SwiftParser TopLevel.swift
[134/146] Compiling SwiftParser Recovery.swift
[135/146] Compiling SwiftParser Statements.swift
[136/146] Compiling SwiftParser SyntaxUtils.swift
[137/146] Compiling SwiftParser Directives.swift
[138/146] Compiling SwiftParser Expressions.swift
[139/146] Compiling SwiftParser Lexer.swift
[140/146] Compiling SwiftParser LexerDiagnosticMessages.swift
[141/147] Wrapping AST for SwiftParser for debugging
[142/147] Write Objects.LinkFileList
[143/152] Archiving libSwiftParser.a
[145/152] Compiling ross RossRunnerError.swift
[146/152] Compiling ross RossRunner.swift
/host/spi-builder-workspace/Sources/ross/RossRunner.swift:44:25: warning: capture of 'directoryURL' with non-sendable type 'URL' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 |         }
43 |         group.addTask {
44 |           let fileURL = directoryURL.appendingPathComponent(file)
   |                         `- warning: capture of 'directoryURL' with non-sendable type 'URL' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |           try await cleanFile(at: fileURL)
46 |         }
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
 1 | public struct URL : ReferenceConvertible, Equatable {
   |               `- note: struct 'URL' does not conform to the 'Sendable' protocol
 2 |     public typealias ReferenceType = NSURL
 3 |     public init?(string: String)
/host/spi-builder-workspace/Sources/ross/RossRunner.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 1 | import Foundation
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 2 | import SwiftParser
 3 | import SwiftSyntax
/host/spi-builder-workspace/Sources/ross/RossRunner.swift:45:21: warning: capture of 'self' with non-sendable type 'RossRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 4 |
 5 | /// A class that runs Ross on Swift files in a given directory.
 6 | struct RossRunner {
   |        `- note: consider making struct 'RossRunner' conform to the 'Sendable' protocol
 7 |
 8 |   // MARK: Internal
   :
43 |         group.addTask {
44 |           let fileURL = directoryURL.appendingPathComponent(file)
45 |           try await cleanFile(at: fileURL)
   |                     `- warning: capture of 'self' with non-sendable type 'RossRunner' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |         }
47 |       }
[147/152] Compiling ross Ross.swift
[148/152] Compiling ross CommentRewriter.swift
[149/152] Emitting module ross
[150/153] Wrapping AST for ross for debugging
[151/153] Write Objects.LinkFileList
[152/153] Linking ross
Build complete! (130.53s)
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" : "/host/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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.