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 PackageGeneratorPlugin, reference 0.7.2 (001bfe), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 5 Nov 2024 00:39:13 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PackageGeneratorPlugin-Package -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mackoj/PackageGeneratorPlugin.git
Reference: 0.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mackoj/PackageGeneratorPlugin
 * tag               0.7.2      -> FETCH_HEAD
HEAD is now at 001bfeb update cli version
Cloned https://github.com/mackoj/PackageGeneratorPlugin.git
Revision (git rev-parse @):
001bfeb6fdaedbd4e5e6fbfd6aaa32bf1caddc46
SUCCESS checkout https://github.com/mackoj/PackageGeneratorPlugin.git at 0.7.2
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mackoj/PackageGeneratorPlugin.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  PackageGeneratorPlugin: /Users/admin/builder/spi-builder-workspace
resolved source packages: PackageGeneratorPlugin
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PackageGeneratorPlugin",
  "name" : "PackageGeneratorPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "PackageGenerator",
      "targets" : [
        "Package Generator"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "package_generator_cli",
      "module_type" : "BinaryTarget",
      "name" : "package-generator-cli",
      "path" : "remote/archive/package-generator-cli-arm64-apple-macosx.artifactbundle.zip",
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Package_Generator",
      "module_type" : "PluginTarget",
      "name" : "Package Generator",
      "path" : "Plugins/PackageGenerator",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate the Package.swift based on packageGenerator.json",
          "type" : "custom",
          "verb" : "package-generator"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This plug-in need to update the Package.swift in the package folder.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
        "AppleSDKs.swift",
        "FileURLCodable.swift",
        "PackageGenerator.swift",
        "PackageGeneratorConfiguration.swift",
        "PackageInformation.swift",
        "ParsedPackage.swift",
        "Plugin.swift",
        "RunCLI.swift",
        "Sequence+Helpers.swift",
        "String+Helper.swift",
        "ToolConfiguration.swift"
      ],
      "target_dependencies" : [
        "package-generator-cli"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "PackageGeneratorPlugin-Package"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme PackageGeneratorPlugin-Package -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme PackageGeneratorPlugin-Package -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  PackageGeneratorPlugin: /Users/admin/builder/spi-builder-workspace
Prepare packages
Compile plug-in “Package Generator” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Package_Generator
[debug]: Using compiler /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: f65fad583a8731543fb67cd00ba6db676402f03d567d1b38c40b314cf048550d
Process build tool plug-in results
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'PackageGenerator' in project 'PackageGeneratorPlugin'
        ➜ Explicit dependency on target 'Package Generator' in project 'PackageGeneratorPlugin'
    Target 'Package Generator' in project 'PackageGeneratorPlugin' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -x c -c /dev/null
Build description signature: 034d6dc59317b098f77c12b193cc0542
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/034d6dc59317b098f77c12b193cc0542.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PackageGeneratorPlugin.build/Debug/Package\ Generator.build/Package\ Generator.DependencyMetadataFileList (in target 'Package Generator' from project 'PackageGeneratorPlugin')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PackageGeneratorPlugin.build/Debug/Package\ Generator.build/Package\ Generator.DependencyMetadataFileList
** BUILD SUCCEEDED **
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PackageGeneratorPlugin",
  "name" : "PackageGeneratorPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "PackageGenerator",
      "targets" : [
        "Package Generator"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "package_generator_cli",
      "module_type" : "BinaryTarget",
      "name" : "package-generator-cli",
      "path" : "remote/archive/package-generator-cli-arm64-apple-macosx.artifactbundle.zip",
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Package_Generator",
      "module_type" : "PluginTarget",
      "name" : "Package Generator",
      "path" : "Plugins/PackageGenerator",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate the Package.swift based on packageGenerator.json",
          "type" : "custom",
          "verb" : "package-generator"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This plug-in need to update the Package.swift in the package folder.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "PackageGenerator"
      ],
      "sources" : [
        "AppleSDKs.swift",
        "FileURLCodable.swift",
        "PackageGenerator.swift",
        "PackageGeneratorConfiguration.swift",
        "PackageInformation.swift",
        "ParsedPackage.swift",
        "Plugin.swift",
        "RunCLI.swift",
        "Sequence+Helpers.swift",
        "String+Helper.swift",
        "ToolConfiguration.swift"
      ],
      "target_dependencies" : [
        "package-generator-cli"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.10"
}
Done.