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

Failed to build Resource Rewriter for Xcode, reference main (fe94bf), with Swift 6.0 for watchOS using Xcode 16.0 on 4 Nov 2024 09:18:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Resource Rewriter for Xcode -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/idrougge/ResourceRewriterForXcode.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/idrougge/ResourceRewriterForXcode
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fe94bf2 Merge pull request #2 from idrougge/colour
Cloned https://github.com/idrougge/ResourceRewriterForXcode.git
Revision (git rev-parse @):
fe94bf2424c91b6c28af54c94216147d90f1252d
SUCCESS checkout https://github.com/idrougge/ResourceRewriterForXcode.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/idrougge/ResourceRewriterForXcode.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
Fetching from https://github.com/apple/swift-argument-parser.git
Fetching from https://github.com/apple/swift-syntax.git
Creating working copy of package ‘swift-argument-parser’
Checking out 1.5.0 of package ‘swift-argument-parser’
Creating working copy of package ‘swift-syntax’
Checking out 509.1.1 of package ‘swift-syntax’
Resolve Package Graph
Resolved source packages:
  swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
  Resource Rewriter for Xcode: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-syntax, swift-argument-parser, Resource Rewriter for Xcode
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "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" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "Resource Rewriter for Xcode",
  "name" : "Resource Rewriter for Xcode",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Rewrite image resource strings",
      "targets" : [
        "Rewrite image resource strings"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "Rewrite colour resource strings",
      "targets" : [
        "Rewrite colour resource strings"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "ResourceRewriterForXcode",
      "targets" : [
        "ResourceRewriterForXcode"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Rewrite_image_resource_strings",
      "module_type" : "PluginTarget",
      "name" : "Rewrite image resource strings",
      "path" : "Plugins/Rewrite image resource strings",
      "plugin_capability" : {
        "intent" : {
          "type" : "sourceCodeFormatting"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Your `UIImage(named:)` calls will be rewritten as `UImage(resource:)` calls.\nPlease commit before running.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Rewrite image resource strings"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "ResourceRewriterForXcode"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Rewrite_colour_resource_strings",
      "module_type" : "PluginTarget",
      "name" : "Rewrite colour resource strings",
      "path" : "Plugins/Rewrite colour resource strings",
      "plugin_capability" : {
        "intent" : {
          "type" : "sourceCodeFormatting"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Your `UIColor(named:)` calls will be rewritten as `UIColor(resource:)` calls.\nPlease commit before running.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Rewrite colour resource strings"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "ResourceRewriterForXcode"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ResourceRewriterForXcodeTests",
      "module_type" : "SwiftTarget",
      "name" : "ResourceRewriterForXcodeTests",
      "path" : "Tests",
      "sources" : [
        "ColourTests.swift",
        "ImageTests.swift"
      ],
      "target_dependencies" : [
        "ResourceRewriterForXcode"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ResourceRewriterForXcode",
      "module_type" : "SwiftTarget",
      "name" : "ResourceRewriterForXcode",
      "path" : "Sources",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftSyntax",
        "SwiftParser"
      ],
      "product_memberships" : [
        "Rewrite image resource strings",
        "Rewrite colour resource strings",
        "ResourceRewriterForXcode"
      ],
      "sources" : [
        "ResourceRewriterForXcode.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Resource Rewriter for Xcode"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Resource Rewriter for Xcode -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 "Resource Rewriter for Xcode" -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:
  swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
  Resource Rewriter for Xcode: /Users/admin/builder/spi-builder-workspace
Prepare packages
Compile plug-in “Rewrite colour resource strings” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_colour_resource_strings
[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: 58f33a323105ce190c17f8c85e651f0c5bd2100afde55e530d9cdd3c64261acd
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -L /Applications/Xcode-16.1.0.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/PluginAPI -lPackagePlugin -Xlinker -rpath -Xlinker /Applications/Xcode-16.1.0.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/PluginAPI -target arm64-apple-macos13.0 -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -g -swift-version 5 -package-description-version 5.9.0 -I /Applications/Xcode-16.1.0.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/PluginAPI -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -parse-as-library -Xfrontend -serialize-diagnostics-path -Xfrontend /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_image_resource_strings.dia /Users/admin/builder/spi-builder-workspace/Plugins/Rewrite\ image\ resource\ strings/plugin.swift -o /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_image_resource_strings
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_image_resource_strings
[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: bd069aa2b9ea970b6ddcb60666a0ab73863407b3706f63aa51a7d7c958ca061a
Process build tool plug-in results
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (9 targets)
    Target 'ResourceRewriterForXcode' in project 'Resource Rewriter for Xcode'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
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
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: 29257652bcb3898af1a76a1ea5b03f07
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/29257652bcb3898af1a76a1ea5b03f07.xcbuilddata
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'ResourceRewriterForXcode' from project 'Resource Rewriter for Xcode')
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'ResourceRewriterForXcode' from project 'Resource Rewriter for Xcode')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Resource Rewriter for Xcode
(1 failure)
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 "Resource Rewriter for Xcode" -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
Resolved source packages:
  swift-syntax: https://github.com/apple/swift-syntax.git @ 509.1.1
  Resource Rewriter for Xcode: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.5.0
Prepare packages
Compile plug-in “Rewrite image resource strings” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_image_resource_strings
[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: bd069aa2b9ea970b6ddcb60666a0ab73863407b3706f63aa51a7d7c958ca061a
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -L /Applications/Xcode-16.1.0.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/PluginAPI -lPackagePlugin -Xlinker -rpath -Xlinker /Applications/Xcode-16.1.0.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/PluginAPI -target arm64-apple-macos13.0 -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -g -swift-version 5 -package-description-version 5.9.0 -I /Applications/Xcode-16.1.0.app/Contents/SharedFrameworks/SwiftPM.framework/SharedSupport/PluginAPI -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -parse-as-library -Xfrontend -serialize-diagnostics-path -Xfrontend /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_colour_resource_strings.dia /Users/admin/builder/spi-builder-workspace/Plugins/Rewrite\ colour\ resource\ strings/plugin.swift -o /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_colour_resource_strings
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/Rewrite_colour_resource_strings
[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: 58f33a323105ce190c17f8c85e651f0c5bd2100afde55e530d9cdd3c64261acd
Process build tool plug-in results
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (9 targets)
    Target 'ResourceRewriterForXcode' in project 'Resource Rewriter for Xcode'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SwiftParser' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'ResourceRewriterForXcode' from project 'Resource Rewriter for Xcode')
error: The package product 'SwiftSyntax' requires minimum platform version 6.0 for the watchOS platform, but this target supports 5.0 (in target 'ResourceRewriterForXcode' from project 'Resource Rewriter for Xcode')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme Resource Rewriter for Xcode
(1 failure)
BUILD FAILURE 6.0 watchOS