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.1 for macOS (SPM) on 28 Apr 2025 10:05:41 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.68s)
[1/70245] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.04s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.23s)
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.46s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
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
========================================
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": "resourcerewriterforxcode",
      "name": "Resource Rewriter for Xcode",
      "url": "https://github.com/idrougge/ResourceRewriterForXcode.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResourceRewriterForXcode",
      "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.git",
          "version": "509.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/idrougge/ResourceRewriterForXcode.git
[1/27] Fetching resourcerewriterforxcode
Fetched https://github.com/idrougge/ResourceRewriterForXcode.git from cache (0.62s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.75s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.75s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.82s)
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.04s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/idrougge/ResourceRewriterForXcode.git
Working copy of https://github.com/idrougge/ResourceRewriterForXcode.git resolved at main (fe94bf2)
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 2 product dependencies
  - swift-argument-parser
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/idrougge/ResourceRewriterForXcode.git
https://github.com/idrougge/ResourceRewriterForXcode.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Plugins/Rewrite colour resource strings/plugin.swift:9:8: error: no such module 'XcodeProjectPlugin'
 7 |
 8 | import PackagePlugin
 9 | import XcodeProjectPlugin
   |        `- error: no such module 'XcodeProjectPlugin'
10 | import Foundation
11 |
[1/1] Compiling plugin Rewrite colour resource strings
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Plugins/Rewrite colour resource strings/plugin.swift:9:8: error: no such module 'XcodeProjectPlugin'
 7 |
 8 | import PackagePlugin
 9 | import XcodeProjectPlugin
   |        `- error: no such module 'XcodeProjectPlugin'
10 | import Foundation
11 |
[1/1] Compiling plugin Rewrite colour resource strings
BUILD FAILURE 6.1 macosSpm