Skip to content

test: add test for custom build def and rework build stmt checked

5383e64
Select commit
Loading
Failed to load commit list.
Closed

WIP: fix trimming support in plz export #3496

test: add test for custom build def and rework build stmt checked
5383e64
Select commit
Loading
Failed to load commit list.
Cirrus CI / main failed Mar 20, 2026 in 1m 29s

Task Summary

Instruction build failed in 00:51

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:11 clone
✅ 00:21 install
❌ 00:51 build

	{build_rule //src/plz:plz {plz-out/gen/go/build_defs/go.build_defs 13899 14198}}
	{go_repo //third_party/go:all {third_party/go/BUILD 4712 4795}}
	{_module_rule_name //third_party/go:all {plz-out/gen/go/build_defs/go.build_defs 50333 50373}}
	{go_repo //third_party/go:all {third_party/go/BUILD 4906 5002}}
	{filegroup //src/core:core {plz-out/gen/build_defs/benchmark.build_defs 732 956}}
Build stopped after 3.15s. 5 targets failed:
    //src/output:output
plz-out/gen/go/build_defs/go.build_defs:488:12: error: runtime error: index out of range [7] with length 7

    return build_rule(
           ^
        name = name,

Traceback:
plz-out/gen/go/build_defs/go.build_defs:488:12:       return build_rule(

plz-out/gen/go/build_defs/go.build_defs:735:16:       lib_rule = go_library(
                       src/output/BUILD: 23: 1:   go_test(
    //src/plzinit:plzinit
src/plzinit/BUILD:1:1: error: runtime error: index out of range [14] with length 14

go_library(
^
    name = "plzinit",

    ///third_party/go/github.com_thought-machine_go-flags//:go-flags
plz-out/gen/go/build_defs/go.build_defs:1218:23: error: runtime error: index out of range [19] with length 18
    if not download:
        download, _ = go_mod_download(
                      ^
            name = tag(name, "dl"),

Traceback:
plz-out/gen/go/build_defs/go.build_defs:1218:23:           download, _ = go_mod_download(

plz-out/gen/go/build_defs/go.build_defs:1217: 5:       if not download:
                   third_party/go/BUILD: 282: 1:   go_repo(
    //src/scm:scm
plz-out/gen/go/build_defs/go.build_defs:277:17: error: runtime error: index out of range [17] with length 17

    hdrs_rule = filegroup(
                ^
        name = name,

Traceback:
plz-out/gen/go/build_defs/go.build_defs:277:17:       hdrs_rule = filegroup(

plz-out/gen/go/build_defs/go.build_defs:792:16:       lib_rule = go_library(
                          src/scm/BUILD: 17: 1:   go_test(
    ///go//tools:please_go
runtime error: index out of range [19] with length 19
Traceback:
misc_rules.build_defs:1:29545:   """Miscellaneous rules that aren't language-specific."""

          tools/BUILD:1:  553:   <source unavailable>
exit status 1