Skip to content

Multiple targets failing on analysis #1147

@reginaldl

Description

@reginaldl

Hi,

I just ran buck2 targets -A --json //... on the repo and it failed right away on multiple errors, here's the first one:

Error parsing gh_facebook_buck2//docs/buck2_lab/greeter_lib
Error parsing: `gh_facebook_buck2//docs/buck2_lab/greeter_lib:BUCK`

Caused by:
    error: Parse error: unexpected new indentation block here, expected one of "\n", "(", "+", "-", "...", "DEDENT", "FLOAT", "FSTRING", "IDENTIFIER", "INTEGER", "STRING", "[", "break", "continue", "def", "for", "if", "lambda", "load", "not", "pass", "return", "{" or "~"
      --> docs/buck2_lab/greeter_lib/BUCK:16:1
       |
    16 |     rust_test( # @oss-enable
       | ^^^^
       |

I think it might be worth adding a github action to run builds or at least analysis on PRs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions