The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-dependencies-macro, reference main (9bc899), with Swift 6.4 for Linux on 23 Sep 2026 12:10:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ryu0118/swift-dependencies-macro.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Ryu0118/swift-dependencies-macro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/apple/swift-syntax.git
[1/7591] Fetching swift-dependencies
[7592/8593] Fetching swift-dependencies, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-dependencies (0.53s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.54s)
[1/80014] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.10s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (4.25s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.17s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16477] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (3.10s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (3.27s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (1.15s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (1.33s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.72s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.81s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.20s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
[1/1446] Fetching swift-clocks
[1447/2504] Fetching swift-clocks, swift-concurrency-extras
[2347/5190] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers
Fetched https://github.com/pointfreeco/swift-clocks (0.50s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.50s)
[2633/2686] Fetching combine-schedulers
Fetched https://github.com/pointfreeco/combine-schedulers (0.53s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.71s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.18s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8295] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git (0.70s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.94s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.17s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.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.19.6
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
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.7.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.17.1
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.2.2
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) /host/spi-builder-workspace->github.com/pointfreeco/swift-dependencies->github.com/swiftlang/swift-syntax (B) /host/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-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) /host/spi-builder-workspace->github.com/pointfreeco/swift-dependencies->github.com/swiftlang/swift-syntax (B) /host/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) /host/spi-builder-workspace->github.com/pointfreeco/swift-dependencies->github.com/swiftlang/swift-syntax (B) /host/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-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) /host/spi-builder-workspace->github.com/pointfreeco/swift-dependencies->github.com/swiftlang/swift-syntax (B) /host/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-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) /host/spi-builder-workspace->github.com/pointfreeco/swift-dependencies->github.com/swiftlang/swift-syntax (B) /host/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) /host/spi-builder-workspace->github.com/pointfreeco/swift-dependencies->github.com/swiftlang/swift-syntax (B) /host/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.
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 890]
[Planning deferred tasks]
[179 / 371] SwiftSyntax510
[201 / 398] OpenCombine
[201 / 398] ConcurrencyExtras
[204 / 398] OpenCombine
[220 / 398] OpenCombine
[228 / 400] OpenCombine
[230 / 401] SwiftSyntax510
[232 / 401] SwiftSyntax510
[233 / 401] OpenCombine
[234 / 401] IssueReporting-product
[239 / 401] ConcurrencyExtras
[241 / 401] ConcurrencyExtras
[245 / 401] ConcurrencyExtras-product
[254 / 405] OpenCombineFoundation
[261 / 426] SwiftSyntax
[263 / 426] OpenCombine
[269 / 427] SwiftSyntax
[269 / 427] OpenCombineFoundation
[272 / 427] OpenCombineFoundation
[273 / 427] OpenCombineFoundation
[278 / 427] SwiftSyntax
[280 / 427] OpenCombineFoundation
[283 / 427] OpenCombineFoundation
[284 / 427] OpenCombineDispatch
[287 / 428] ConcurrencyExtras
[295 / 438] Clocks
[298 / 438] Clocks
[302 / 438] Clocks
[305 / 439] OpenCombineDispatch
[311 / 442] OpenCombineShim
[322 / 444] Clocks
[330 / 454] CombineSchedulers
[334 / 454] CombineSchedulers
[339 / 454] CombineSchedulers
[343 / 464] Dependencies
[344 / 464] Dependencies
[345 / 464] Dependencies
[351 / 465] Dependencies
[352 / 465] Dependencies-product
[353 / 465] Dependencies
[354 / 465] Dependencies
[355 / 465] Dependencies
[358 / 465] Dependencies
[361 / 466] SwiftSyntax
[374 / 493] SwiftParser
[375 / 493] SwiftDiagnostics
[384 / 493] SwiftBasicFormat
[389 / 493] SwiftParser
[392 / 493] SwiftParser
[396 / 493] SwiftParser
[398 / 493] SwiftDiagnostics
[400 / 493] SwiftOperators
[402 / 493] SwiftDiagnostics
[403 / 493] SwiftDiagnostics
[404 / 493] SwiftBasicFormat
[406 / 493] SwiftParserDiagnostics
[407 / 493] SwiftDiagnostics
[410 / 494] SwiftDiagnostics
[414 / 504] SwiftParserDiagnostics
[416 / 505] SwiftParserDiagnostics
[417 / 505] SwiftParserDiagnostics
[418 / 505] SwiftParserDiagnostics
[424 / 505] SwiftParserDiagnostics
[426 / 505] SwiftSyntaxBuilder
[430 / 516] SwiftOperators
[433 / 526] SwiftOperators
[434 / 526] SwiftParserDiagnostics
[436 / 526] SwiftSyntaxBuilder
[449 / 526] SwiftSyntaxBuilder
[450 / 526] SwiftParser
[452 / 526] SwiftParser
[453 / 526] SwiftOperators
[456 / 526] SwiftOperators
[457 / 526] SwiftOperators
[464 / 529] SwiftSyntaxMacros
[469 / 538] SwiftSyntaxMacros
[478 / 538] SwiftSyntaxMacroExpansion
[483 / 549] SwiftSyntaxMacros
[487 / 550] SwiftSyntaxMacros
[494 / 550] SwiftSyntaxMacroExpansion
[501 / 560] SwiftCompilerPluginMessageHandling
[503 / 560] SwiftCompilerPluginMessageHandling
[504 / 560] SwiftCompilerPluginMessageHandling
[508 / 560] SwiftCompilerPluginMessageHandling
[517 / 564] SwiftCompilerPlugin
[522 / 564] SwiftCompilerPlugin
[524 / 565] SwiftSyntax
[524 / 565] SwiftCompilerPluginMessageHandling
[526 / 566] SwiftSyntax
[529 / 567] SwiftSyntax
[536 / 567] SwiftSyntaxMacros
[549 / 569] DependenciesMacroPlugin
[558 / 579] DependenciesMacroPlugin
[561 / 579] DependenciesMacroPlugin
/host/spi-builder-workspace/Sources/DependenciesMacroPlugin/DependenciesMacro.swift:18:51: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
19 |             .map(\.bindings)
20 |             .flatMap { $0 }
/host/spi-builder-workspace/Sources/DependenciesMacroPlugin/DependenciesMacro.swift:23:30: warning: 'as' is deprecated: This cast will always succeed [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
24 |             .first ?? "internal"
25 |         let arguments = storedPropertyBindings
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[565 / 580] DependenciesMacroPlugin
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacro.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile PublicInitMacro.swift
[565 / 580] PublicInitMacroPlugin
/host/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacro.swift:50:69: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 48 |                              TypeSyntax(
 49 |                                 AttributedTypeSyntax(
 50 |                                     attributes: AttributeListSyntax {
    |                                                                     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 51 |                                         AttributeSyntax.escaping
 52 |                                     },
/host/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 }
/host/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacro.swift:82:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 80 |             .compactMap { $0.pattern.as(IdentifierPatternSyntax.self)?.identifier.text }
 81 |             .map { "self.\($0) = \($0)" }
 82 |             .joined(separator: "\n")
    |              `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
 83 |
 84 |         return [
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacro.swift /host/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacroDiagnostic.swift /host/spi-builder-workspace/Sources/PublicInitMacroPlugin/PublicInitMacroPlugin.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/Objects-normal/x86_64/PublicInitMacro.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/Objects-normal/x86_64/PublicInitMacro.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/Objects-normal/x86_64/PublicInitMacro.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/Objects-normal/x86_64/PublicInitMacro.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PublicInitMacroPlugin -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/Objects-normal/x86_64/PublicInitMacroPlugin_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/Objects-normal/x86_64/PublicInitMacro.o -index-unit-output-path /swift-dependencies-macro.build/Debug-linux-x86_64/PublicInitMacroPlugin-t.build/Objects-normal/x86_64/PublicInitMacro.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux