The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-dependencies-macro, reference main (9bc899), with Swift 6.2 for macOS (SPM) on 1 Dec 2025 14:40:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ryu0118/swift-dependencies-macro.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Ryu0118/swift-dependencies-macro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9bc8992 Merge pull request #5 from Ryu0118/Ryu0118-patch-1
Cloned https://github.com/Ryu0118/swift-dependencies-macro.git
Revision (git rev-parse @):
9bc899259e6164f3434577af5d374fb29fa30ade
SUCCESS checkout https://github.com/Ryu0118/swift-dependencies-macro.git at main
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/932] Fetching swift-macro-testing
[113/7368] Fetching swift-macro-testing, swift-dependencies
[242/9906] Fetching swift-macro-testing, swift-dependencies, combine-schedulers
[268/11205] Fetching swift-macro-testing, swift-dependencies, combine-schedulers, swift-clocks
[923/16805] Fetching swift-macro-testing, swift-dependencies, combine-schedulers, swift-clocks, xctest-dynamic-overlay
[14734/32438] Fetching swift-macro-testing, swift-dependencies, combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-snapshot-testing
[14735/105438] Fetching swift-macro-testing, swift-dependencies, combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-dependencies from cache (3.24s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (3.24s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (3.24s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.24s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (3.66s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (3.66s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.66s)
Computing version for https://github.com/pointfreeco/swift-dependencies
[1/886] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.91s)
Computed https://github.com/pointfreeco/swift-dependencies at 1.0.0 (6.64s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.61s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.0.0 (0.61s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.0 (0.62s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.0 (0.62s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.70s)
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.4 (0.52s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.53s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.08s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.0.0 (0.00s)
Computed https://github.com/pointfreeco/swift-clocks at 1.0.0 (0.00s)
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.0 (0.00s)
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.00s)
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.4 (0.00s)
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.7 (0.61s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.7
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.4
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip (0.15s)
========================================
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": "swift-dependencies-macro",
      "name": "swift-dependencies-macro",
      "url": "https://github.com/Ryu0118/swift-dependencies-macro.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dependencies-macro",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "600.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-dependencies",
          "name": "swift-dependencies",
          "url": "https://github.com/pointfreeco/swift-dependencies",
          "version": "1.10.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dependencies",
          "dependencies": [
            {
              "identity": "combine-schedulers",
              "name": "combine-schedulers",
              "url": "https://github.com/pointfreeco/combine-schedulers",
              "version": "1.1.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/combine-schedulers",
              "dependencies": [
                {
                  "identity": "swift-concurrency-extras",
                  "name": "swift-concurrency-extras",
                  "url": "https://github.com/pointfreeco/swift-concurrency-extras",
                  "version": "1.3.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "xctest-dynamic-overlay",
                  "name": "xctest-dynamic-overlay",
                  "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
                  "version": "1.7.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-clocks",
              "name": "swift-clocks",
              "url": "https://github.com/pointfreeco/swift-clocks",
              "version": "1.0.6",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-clocks",
              "dependencies": [
                {
                  "identity": "swift-concurrency-extras",
                  "name": "swift-concurrency-extras",
                  "url": "https://github.com/pointfreeco/swift-concurrency-extras",
                  "version": "1.3.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
                  "dependencies": [
                  ]
                },
                {
                  "identity": "xctest-dynamic-overlay",
                  "name": "xctest-dynamic-overlay",
                  "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
                  "version": "1.7.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "swift-concurrency-extras",
              "name": "swift-concurrency-extras",
              "url": "https://github.com/pointfreeco/swift-concurrency-extras",
              "version": "1.3.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-concurrency-extras",
              "dependencies": [
              ]
            },
            {
              "identity": "xctest-dynamic-overlay",
              "name": "xctest-dynamic-overlay",
              "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
              "version": "1.7.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-syntax",
              "name": "swift-syntax",
              "url": "https://github.com/apple/swift-syntax.git",
              "version": "600.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Ryu0118/swift-dependencies-macro.git
[1/135] Fetching swift-dependencies-macro
Fetched https://github.com/Ryu0118/swift-dependencies-macro.git from cache (0.66s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetching https://github.com/pointfreeco/swift-dependencies from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.89s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.89s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.97s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.10.0 (0.54s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetching https://github.com/pointfreeco/swift-clocks from cache
Fetching https://github.com/pointfreeco/combine-schedulers from cache
Fetching https://github.com/pointfreeco/swift-concurrency-extras from cache
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.48s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.56s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.56s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.56s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.11s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.53s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.53s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (0.52s)
Creating working copy for https://github.com/Ryu0118/swift-dependencies-macro.git
Working copy of https://github.com/Ryu0118/swift-dependencies-macro.git resolved at main (9bc8992)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.1.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.10.0
warning: 'swift-dependencies': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /users/admin/builder/spi-builder-workspace/.resolve-product-dependencies->github.com/ryu0118/swift-dependencies-macro->github.com/pointfreeco/swift-dependencies->github.com/swiftlang/swift-syntax (B) /users/admin/builder/spi-builder-workspace/.resolve-product-dependencies->github.com/ryu0118/swift-dependencies-macro->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Found 2 product dependencies
  - swift-syntax
  - swift-dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Ryu0118/swift-dependencies-macro.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[4/18] Write DependenciesMacroClient-entitlement.plist
[9/18] Write sources
[10/18] Write swift-version-49B95AFC49DCD68C.txt
[12/45] Compiling ConcurrencyExtras UncheckedSendable.swift
[13/45] Compiling PublicInitMacroPlugin PublicInitMacroDiagnostic.swift
[14/45] Compiling PublicInitMacroPlugin PublicInitMacroPlugin.swift
[15/45] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[16/45] Compiling XCTestDynamicOverlay Deprecations.swift
[17/45] Compiling DependenciesMacroPlugin DependencyValuesMacro.swift
[18/45] Compiling DependenciesMacroPlugin DependenciesMacroPlugin.swift
[19/45] Compiling DependenciesMacroPlugin DependencyValueMacroDiagnostic.swift
[20/45] Compiling DependenciesMacroPlugin DependenciesMacroDiagnostic.swift
[21/45] Emitting module DependenciesMacroPlugin
[22/45] Compiling DependenciesMacroPlugin DependenciesMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependenciesMacroPlugin/DependenciesMacro.swift:18:51: warning: 'as' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
16 |         let storedPropertyBindings = structDecl.memberBlock.members
17 |             .compactMap { $0.decl.as(VariableDeclSyntax.self) }
18 |             .filter { !$0.modifiers.contains { $0.as(DeclModifierSyntax.self)?.name.text == "static" } }
   |                                                   `- warning: 'as' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
19 |             .map(\.bindings)
20 |             .flatMap { $0 }
/Users/admin/builder/spi-builder-workspace/Sources/DependenciesMacroPlugin/DependenciesMacro.swift:23:30: warning: 'as' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
21 |             .filter { $0.accessorBlock == nil }
22 |         let modifier = declaration.modifiers
23 |             .compactMap { $0.as(DeclModifierSyntax.self)?.name.text }
   |                              `- warning: 'as' is deprecated: This cast will always succeed [#DeprecatedDeclaration]
24 |             .first ?? "internal"
25 |         let arguments = storedPropertyBindings
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/45] Write Objects.LinkFileList
[23/45] Linking DependenciesMacroPlugin-tool
[25/45] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[26/45] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[27/45] Compiling ConcurrencyExtras ActorIsolated.swift
[28/45] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[29/45] Emitting module ConcurrencyExtras
[30/45] Compiling ConcurrencyExtras AsyncStream.swift
[31/45] Emitting module XCTestDynamicOverlay
[32/45] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[33/45] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[34/45] Compiling ConcurrencyExtras MainSerialExecutor.swift
[35/45] Compiling ConcurrencyExtras Task.swift
[36/45] Compiling ConcurrencyExtras LockIsolated.swift
[37/45] Compiling XCTestDynamicOverlay Unimplemented.swift
[38/45] Compiling XCTestDynamicOverlay XCTFail.swift
[39/67] Emitting module PublicInitMacroPlugin
[40/67] Compiling PublicInitMacroPlugin PublicInitMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacro.swift:14:13: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 12 |     ) throws -> [DeclSyntax] {
 13 |         let structDecl = try decodeExpansion(of: node, attachedTo: declaration, in: context)
 14 |         let storedPropertyBindings = structDecl.memberBlock.members
    |             `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 15 |             .compactMap { $0.decl.as(VariableDeclSyntax.self) }
 16 |             .filter { !$0.modifiers.contains { $0.as(DeclModifierSyntax.self)?.name.text == "static" } }
/Users/admin/builder/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacro.swift:78:52: error: cannot infer key path type from context; consider explicitly specifying a root type
 76 |             }
 77 |
 78 |         let arguments = storedPropertyBindings.map(\.description).joined(separator: ", \n")
    |                                                    `- error: cannot infer key path type from context; consider explicitly specifying a root type
 79 |         let assigns = storedPropertyBindings
 80 |             .compactMap { $0.pattern.as(IdentifierPatternSyntax.self)?.identifier.text }
warning: 'swift-macro-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /users/admin/builder/spi-builder-workspace->github.com/pointfreeco/swift-macro-testing->github.com/swiftlang/swift-syntax (B) /users/admin/builder/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'swift-snapshot-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /users/admin/builder/spi-builder-workspace->github.com/pointfreeco/swift-macro-testing->github.com/swiftlang/swift-syntax (B) /users/admin/builder/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
BUILD FAILURE 6.2 macosSpm