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 VersionFilePlugin, reference main (23349c), with Swift 6.0 for watchOS using Xcode 16.0 on 4 Nov 2024 11:39:08 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 VersionFilePlugin-Package -destination generic/platform=watchOS 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/mobelux/swift-version-file-plugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mobelux/swift-version-file-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 23349c4 Fix Unknown Case Warning (#3)
Cloned https://github.com/mobelux/swift-version-file-plugin.git
Revision (git rev-parse @):
23349c4f7c66eed19dee3cccd186e131eebc503f
SUCCESS checkout https://github.com/mobelux/swift-version-file-plugin.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mobelux/swift-version-file-plugin.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:
  VersionFilePlugin: /Users/admin/builder/spi-builder-workspace
resolved source packages: VersionFilePlugin
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VersionFilePlugin",
  "name" : "VersionFilePlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VersionFile",
      "targets" : [
        "VersionFile"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "semver",
      "module_type" : "BinaryTarget",
      "name" : "semver",
      "path" : "Artifacts/semver.artifactbundle",
      "product_memberships" : [
        "VersionFile"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "VersionFile",
      "module_type" : "PluginTarget",
      "name" : "VersionFile",
      "path" : "Plugins/VersionFile",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generates and increments `Version.swift`",
          "type" : "custom",
          "verb" : "version-file"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This command writes `Version.swift` to the source root.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "VersionFile"
      ],
      "sources" : [
        "Extensions/PackagePlugin+Utils.swift",
        "Extensions/String+Utils.swift",
        "VersionFile.swift"
      ],
      "target_dependencies" : [
        "semver"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "VersionFilePlugin-Package"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme VersionFilePlugin-Package -destination generic/platform=watchOS 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 VersionFilePlugin-Package -destination generic/platform=watchOS "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:
  VersionFilePlugin: /Users/admin/builder/spi-builder-workspace
Prepare packages
Compile plug-in “VersionFile” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/VersionFile
[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: c9f2f1b7b9a380d57e87c2af2ae8de3d9270840f8119cde011baede7c40bb5d8
/Users/admin/builder/spi-builder-workspace/Plugins/VersionFile/Extensions/String+Utils.swift:11:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 |
10 | /// Easily throw generic errors with a text description.
11 | extension String: LocalizedError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public var errorDescription: String? {
13 |         return self
/Users/admin/builder/spi-builder-workspace/Plugins/VersionFile/Extensions/String+Utils.swift:11:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 |
10 | /// Easily throw generic errors with a text description.
11 | extension String: LocalizedError {
   | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public var errorDescription: String? {
13 |         return self
Process build tool plug-in results
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'VersionFile' in project 'VersionFilePlugin'
        ➜ Explicit dependency on target 'VersionFile' in project 'VersionFilePlugin'
    Target 'VersionFile' in project 'VersionFilePlugin' (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
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/WatchOS.platform/Developer/SDKs/WatchOS11.1.sdk -x c -c /dev/null
Build description signature: 011d2fcf348d8396c132ee0c5970fc86
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/011d2fcf348d8396c132ee0c5970fc86.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-watchos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
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/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
    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-watchos
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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VersionFilePlugin.build/Debug/VersionFile.build/VersionFile.DependencyMetadataFileList (in target 'VersionFile' from project 'VersionFilePlugin')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/VersionFilePlugin.build/Debug/VersionFile.build/VersionFile.DependencyMetadataFileList
** BUILD SUCCEEDED **
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VersionFilePlugin",
  "name" : "VersionFilePlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VersionFile",
      "targets" : [
        "VersionFile"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "semver",
      "module_type" : "BinaryTarget",
      "name" : "semver",
      "path" : "Artifacts/semver.artifactbundle",
      "product_memberships" : [
        "VersionFile"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "VersionFile",
      "module_type" : "PluginTarget",
      "name" : "VersionFile",
      "path" : "Plugins/VersionFile",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generates and increments `Version.swift`",
          "type" : "custom",
          "verb" : "version-file"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This command writes `Version.swift` to the source root.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "VersionFile"
      ],
      "sources" : [
        "Extensions/PackagePlugin+Utils.swift",
        "Extensions/String+Utils.swift",
        "VersionFile.swift"
      ],
      "target_dependencies" : [
        "semver"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
Done.