mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:51:57 +00:00
Closes https://github.com/sourcegraph/sourcegraph/issues/54847 ## Test plan Sample deliberate error: ``` $ bazel build //dev/sg INFO: Analyzed target //dev/sg:sg (0 packages loaded, 0 targets configured). INFO: Found 1 target... ERROR: /home/noah/Sourcegraph/sourcegraph/dev/sg/BUILD.bazel:128:10: GoCompilePkg dev/sg/sg.a failed: (Exit 1): builder failed: error executing command (from target //dev/sg:sg) bazel-out/k8-opt-exec-2B5CBBC6/bin/external/go_sdk/builder_reset/builder compilepkg -sdk external/go_sdk -installsuffix linux_amd64 -src dev/sg/analytics.go -src dev/sg/checks.go -src ... (remaining 245 arguments skipped) Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging compilepkg: nogo: errors found by nogo during build-time code analysis: dev/sg/sg_run.go:28:4: use of `signal.Notify` forbidden because "breaks dev/sg/internal/interrupt" (forbidigo) Aspect @rules_rust//rust/private:clippy.bzl%rust_clippy_aspect of //dev/sg:sg up-to-date (nothing to build) INFO: Elapsed time: 52.557s, Critical Path: 26.79s INFO: 1435 processes: 2 internal, 1433 linux-sandbox. FAILED: Build did NOT complete successfully ``` |
||
|---|---|---|
| .. | ||
| bodyclose | ||
| dbconn | ||
| depguard | ||
| exportloopref | ||
| forbidigo | ||
| gocheckcompilerdirectives | ||
| gocritic | ||
| ineffassign | ||
| nolint | ||
| staticcheck | ||
| tracinglibraries | ||
| unparam | ||
| unused | ||
| go.mod | ||
| go.sum | ||