hundreds-father-404
08/07/2020, 9:08 PME Exception: Rules with errors: 2
E
E @rule(pants.engine.internals.graph:435:addresses_with_origins_from_filesystem_specs(FilesystemSpecs, GlobalOptions) -> AddressesWithOrigins, gets=[Get(Snapshot, PathGlobs), Get(Owners, OwnersRequest)]):
E Was not reachable, either because no rules could produce the params or because it was shadowed by another @rule.
E
E @rule(pants.engine.internals.graph:481:resolve_addresses_with_origins(Specs) -> AddressesWithOrigins, gets=[Get(AddressesWithOrigins, AddressSpecs), Get(AddressesWithOrigins, FilesystemSpecs)]):
E Was not reachable, either because no rules could produce the params or because it was shadowed by another @rule.
FilesystemSpecs
as RootRule
. The issue is that AddressSpecs
is RootRule
in that test, so the Specs -> AddressesWithOrigins
rule has issuesSpecs -> AddressesWithOrigins
rule?witty-crayon-22786
08/07/2020, 9:57 PMhundreds-father-404
08/07/2020, 9:58 PMwitty-crayon-22786
08/07/2020, 9:58 PMhundreds-father-404
08/07/2020, 10:00 PMSpecs
into the graph rather than AddressSpecs
. Then I don’t need to register it as a new RootRule
witty-crayon-22786
08/10/2020, 5:21 PMhundreds-father-404
08/10/2020, 5:21 PMwitty-crayon-22786
08/10/2020, 5:25 PM