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 PackageGeneratorCLI, reference main (b9ec12), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:57:39 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mackoj/PackageGeneratorCLI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorCLI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b9ec120 make it code from docc folder
Cloned https://github.com/mackoj/PackageGeneratorCLI.git
Revision (git rev-parse @):
b9ec1206333e0995f38e947ee06707d5407893e6
SUCCESS checkout https://github.com/mackoj/PackageGeneratorCLI.git at main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/apple/swift-syntax
[1/1231] Fetching files
[1085/13584] Fetching files, swift-argument-parser
Fetched https://github.com/JohnSundell/Files from cache (0.97s)
[124/12353] Fetching swift-argument-parser
[12354/78753] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (10.11s)
Fetched https://github.com/apple/swift-argument-parser from cache (10.11s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.1 (0.81s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.1.4 (0.73s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.2.0 (0.71s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.1
========================================
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": "packagegeneratorcli",
      "name": "PackageGeneratorCLI",
      "url": "https://github.com/mackoj/PackageGeneratorCLI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PackageGeneratorCLI",
      "dependencies": [
        {
          "identity": "files",
          "name": "Files",
          "url": "https://github.com/JohnSundell/Files.git",
          "version": "4.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax",
          "version": "510.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/mackoj/PackageGeneratorCLI.git
[3/204] Fetching packagegeneratorcli
Fetched https://github.com/mackoj/PackageGeneratorCLI.git from cache (0.67s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/apple/swift-syntax from cache
Fetching https://github.com/JohnSundell/Files.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.84s)
Fetched https://github.com/apple/swift-syntax from cache (0.84s)
Fetched https://github.com/JohnSundell/Files.git from cache (0.84s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 4.2.0 (0.64s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.3 (0.04s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.54s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.3
Creating working copy for https://github.com/mackoj/PackageGeneratorCLI.git
Working copy of https://github.com/mackoj/PackageGeneratorCLI.git resolved at main (b9ec120)
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 4.2.0
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 1.5.0
Found 3 product dependencies
  - Files
  - swift-argument-parser
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mackoj/PackageGeneratorCLI.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
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/15] Write sources
[6/15] Write package-generator-cli-entitlement.plist
[7/15] Write sources
[11/15] Write swift-version--7754E27361AE5C74.txt
[13/26] Compiling SwiftSyntax509 Empty.swift
[14/26] Emitting module SwiftSyntax509
[15/26] Emitting module SwiftSyntax510
[16/26] Compiling SwiftSyntax510 Empty.swift
[17/88] Emitting module ArgumentParserToolInfo
[18/88] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/125] Compiling ArgumentParser OptionGroup.swift
[20/125] Compiling ArgumentParser AsyncParsableCommand.swift
[21/125] Compiling ArgumentParser CommandConfiguration.swift
[22/125] Compiling ArgumentParser EnumerableFlag.swift
[23/128] Compiling ArgumentParser InputOrigin.swift
[24/128] Compiling ArgumentParser Name.swift
[25/128] Compiling ArgumentParser Parsed.swift
[26/128] Compiling ArgumentParser ParsedValues.swift
[27/128] Compiling ArgumentParser SequenceExtensions.swift
[28/128] Compiling ArgumentParser StringExtensions.swift
[29/128] Compiling ArgumentParser Tree.swift
[30/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/128] Compiling ArgumentParser CompletionsGenerator.swift
[32/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/128] Compiling ArgumentParser Errors.swift
[35/128] Compiling ArgumentParser Flag.swift
[36/128] Compiling ArgumentParser NameSpecification.swift
[37/134] Emitting module Files
[45/134] Compiling ArgumentParser Option.swift
[46/134] Emitting module ArgumentParser
[47/134] Compiling ArgumentParser Argument.swift
[48/134] Compiling ArgumentParser ArgumentHelp.swift
[49/134] Compiling ArgumentParser ArgumentVisibility.swift
[50/134] Compiling ArgumentParser CompletionKind.swift
[51/134] Compiling ArgumentParser HelpGenerator.swift
[52/134] Compiling ArgumentParser MessageInfo.swift
[53/134] Compiling ArgumentParser UsageGenerator.swift
[54/134] Compiling ArgumentParser ArgumentDecoder.swift
[55/134] Compiling ArgumentParser ArgumentDefinition.swift
[56/134] Compiling ArgumentParser ArgumentSet.swift
[57/134] Compiling ArgumentParser CommandParser.swift
[58/134] Compiling ArgumentParser SplitArguments.swift
[59/134] Compiling ArgumentParser DumpHelpGenerator.swift
[60/134] Compiling ArgumentParser HelpCommand.swift
[61/134] Compiling ArgumentParser ExpressibleByArgument.swift
[62/134] Compiling ArgumentParser ParsableArguments.swift
[63/134] Compiling ArgumentParser ParsableArgumentsValidation.swift
[64/134] Compiling ArgumentParser ParsableCommand.swift
[65/134] Compiling PackageGeneratorModels ParsedPackage.swift
[66/134] Compiling PackageGeneratorModels PackageInformation.swift
[67/134] Emitting module PackageGeneratorModels
[68/134] Compiling ArgumentParser ParserError.swift
[83/134] Compiling ArgumentParser CollectionExtensions.swift
[84/134] Compiling Files Files.swift
[99/134] Emitting module SwiftSyntax
[100/134] Compiling SwiftSyntax MemoryLayout.swift
[101/134] Compiling SwiftSyntax MissingNodeInitializers.swift
[102/134] Compiling SwiftSyntax RawSyntax.swift
[103/134] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[104/134] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[105/134] Compiling SwiftSyntax RawSyntaxTokenView.swift
[106/134] Compiling SwiftSyntax SourceLength.swift
[107/134] Compiling SwiftSyntax RawSyntaxNodesC.swift
[108/134] Compiling SwiftSyntax RawSyntaxNodesD.swift
[109/134] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[110/134] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[111/134] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[112/134] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[117/134] Compiling SwiftSyntax SyntaxNodesC.swift
[118/134] Compiling SwiftSyntax SyntaxNodesD.swift
[119/134] Compiling SwiftSyntax TokenSequence.swift
[120/134] Compiling SwiftSyntax TokenSyntax.swift
[121/134] Compiling SwiftSyntax Trivia.swift
[122/134] Compiling SwiftSyntax Utils.swift
[123/134] Compiling SwiftSyntax ChildNameForKeyPath.swift
[124/134] Compiling SwiftSyntax Keyword.swift
[125/134] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[126/134] Compiling SwiftSyntax SyntaxNodesEF.swift
[127/134] Compiling SwiftSyntax SyntaxNodesGHI.swift
[128/134] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[129/134] Compiling SwiftSyntax SyntaxNodesOP.swift
[130/134] Compiling SwiftSyntax SyntaxNodesQRS.swift
[131/134] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[132/173] Compiling SwiftParser Lexeme.swift
[133/173] Compiling SwiftParser LexemeSequence.swift
[134/173] Compiling SwiftParser Lexer.swift
[135/173] Compiling SwiftParser RegexLiteralLexer.swift
[136/177] Compiling SwiftParser UnicodeScalarExtensions.swift
[137/177] Compiling SwiftParser Lookahead.swift
[138/177] Compiling SwiftParser LoopProgressCondition.swift
[139/177] Compiling SwiftParser Modifiers.swift
[140/177] Compiling SwiftParser Statements.swift
[141/177] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[142/177] Compiling SwiftParser StringLiterals.swift
[143/177] Compiling SwiftParser SwiftParserCompatibility.swift
[144/177] Compiling SwiftParser TokenSpecSet.swift
[145/177] Compiling SwiftParser TopLevel.swift
[146/177] Compiling SwiftParser TriviaParser.swift
[147/177] Compiling SwiftParser Types.swift
[148/177] Compiling SwiftParser Names.swift
[149/177] Compiling SwiftParser Nominals.swift
[150/177] Compiling SwiftParser Parameters.swift
[151/177] Compiling SwiftParser ParseSourceFile.swift
[152/177] Compiling SwiftParser Attributes.swift
[153/177] Compiling SwiftParser Availability.swift
[154/177] Compiling SwiftParser CharacterInfo.swift
[155/177] Compiling SwiftParser CollectionNodes+Parsable.swift
[156/177] Compiling SwiftParser Declarations.swift
[157/177] Emitting module SwiftParser
[158/177] Compiling SwiftParser IsLexerClassified.swift
[159/177] Compiling SwiftParser LayoutNodes+Parsable.swift
[160/177] Compiling SwiftParser Parser+TokenSpecSet.swift
[161/177] Compiling SwiftParser TokenSpecStaticMembers.swift
[162/177] Compiling SwiftParser Parser.swift
[163/177] Compiling SwiftParser Patterns.swift
[164/177] Compiling SwiftParser Recovery.swift
[165/177] Compiling SwiftParser Specifiers.swift
[166/177] Compiling SwiftParser SyntaxUtils.swift
[167/177] Compiling SwiftParser TokenConsumer.swift
[168/177] Compiling SwiftParser TokenPrecedence.swift
[169/177] Compiling SwiftParser TokenSpec.swift
[170/177] Compiling SwiftParser Directives.swift
[171/177] Compiling SwiftParser ExperimentalFeatures.swift
[172/177] Compiling SwiftParser Expressions.swift
[173/177] Compiling SwiftParser IncrementalParseTransition.swift
[174/177] Compiling SwiftParser Cursor.swift
[175/182] Compiling PackageGeneratorCLI FileURL+ExpressibleByArgument.swift
/Users/admin/builder/spi-builder-workspace/Sources/PackageGeneratorCLI/FileURL+ExpressibleByArgument.swift:4: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
2 | import ArgumentParser
3 |
4 | extension FileURL: 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
5 |   public init?(argument: String) {
6 |     self.init(fileURLWithPath: argument)
[176/182] Compiling PackageGeneratorCLI GetImportVisitor.swift
[177/182] Emitting module PackageGeneratorCLI
/Users/admin/builder/spi-builder-workspace/Sources/PackageGeneratorCLI/FileURL+ExpressibleByArgument.swift:4: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
2 | import ArgumentParser
3 |
4 | extension FileURL: 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
5 |   public init?(argument: String) {
6 |     self.init(fileURLWithPath: argument)
[178/182] Compiling PackageGeneratorCLI FileURLCodable.swift
[179/182] Compiling PackageGeneratorCLI cli.swift
[179/182] Write Objects.LinkFileList
[180/182] Linking package-generator-cli
[181/182] Applying package-generator-cli
Build complete! (44.37s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "files",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/Files.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    }
  ],
  "manifest_display_name" : "PackageGeneratorCLI",
  "name" : "PackageGeneratorCLI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "package-generator-cli",
      "targets" : [
        "PackageGeneratorCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PackageGeneratorModels",
      "targets" : [
        "PackageGeneratorModels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PackageGeneratorModels",
      "module_type" : "SwiftTarget",
      "name" : "PackageGeneratorModels",
      "path" : "Sources/PackageGeneratorModels",
      "product_memberships" : [
        "package-generator-cli",
        "PackageGeneratorModels"
      ],
      "sources" : [
        "PackageInformation.swift",
        "ParsedPackage.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PackageGeneratorCLI",
      "module_type" : "SwiftTarget",
      "name" : "PackageGeneratorCLI",
      "path" : "Sources/PackageGeneratorCLI",
      "product_dependencies" : [
        "Files",
        "SwiftParser",
        "SwiftSyntax",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "package-generator-cli"
      ],
      "sources" : [
        "FileURL+ExpressibleByArgument.swift",
        "FileURLCodable.swift",
        "GetImportVisitor.swift",
        "cli.swift"
      ],
      "target_dependencies" : [
        "PackageGeneratorModels"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.