Created
January 17, 2024 07:14
-
-
Save emidoots/b650aff1f75a793ecbad482498d3f13c to your computer and use it in GitHub Desktop.
basel error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sourcegraph % bazel test //cmd/frontend/internal/context/... | |
INFO: Analyzed 3 targets (0 packages loaded, 0 targets configured). | |
ERROR: /Users/[email protected]/work/sourcegraph/cmd/frontend/internal/context/resolvers/BUILD.bazel:21:8: GoCompilePkg cmd/frontend/internal/context/resolvers/resolvers_test.internal.a failed: (Exit 1): builder failed: error executing GoCompilePkg command (from target //cmd/frontend/internal/context/resolvers:resolvers_test) bazel-out/darwin_arm64-opt-exec-ST-13d3ddad9198/bin/external/go_sdk/builder_reset/builder compilepkg -sdk external/go_sdk -installsuffix darwin_arm64_race -tags race -src ... (remaining 73 arguments skipped) | |
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging | |
cmd/frontend/internal/context/resolvers/context_test.go:105:6: no new variables on left side of := | |
compilepkg: error running subcommand GOROOT_FINAL=GOROOT \ | |
GOEXPERIMENT=nocoverageredesign \ | |
GOOS=darwin \ | |
ZERO_AR_DATE=1 \ | |
GOROOT=bazel-out/darwin_arm64-fastbuild-ST-64c6bc4d8460/bin/external/io_bazel_rules_go/stdlib_ \ | |
PATH=/usr/bin:external/local_config_cc:/bin \ | |
GOPATH= \ | |
GOTOOLCHAIN=local \ | |
TMPDIR=/var/folders/j4/fs11plcs72s2kkrtnyf7mgy80000gq/T/ \ | |
CGO_ENABLED=1 \ | |
GOARCH=arm64 \ | |
__CF_USER_TEXT_ENCODING=0x1F7:0x0:0x0 \ | |
external/go_sdk/pkg/tool/darwin_arm64/compile -p github.com/sourcegraph/sourcegraph/cmd/frontend/internal/context/resolvers -importcfg /private/var/tmp/[email protected]/69403ba7de284cb18cde1a2d8eb1a1ad/sandbox/darwin-sandbox/29585/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/cmd/frontend/internal/context/resolvers/importcfg3323426661 -pack -race -trimpath=/private/var/tmp/[email protected]/69403ba7de284cb18cde1a2d8eb1a1ad/sandbox/darwin-sandbox/29585/execroot/__main__ -o /private/var/tmp/[email protected]/69403ba7de284cb18cde1a2d8eb1a1ad/sandbox/darwin-sandbox/29585/execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/cmd/frontend/internal/context/resolvers/resolvers_test.internal.a -- /private/var/tmp/[email protected]/69403ba7de284cb18cde1a2d8eb1a1ad/sandbox/darwin-sandbox/29585/execroot/__main__/cmd/frontend/internal/context/resolvers/context.go /private/var/tmp/[email protected]/69403ba7de284cb18cde1a2d8eb1a1ad/sandbox/darwin-sandbox/29585/execroot/__main__/cmd/frontend/internal/context/resolvers/context_test.go: exit status 2 | |
INFO: Analysis succeeded for only 2 of 3 top-level targets | |
INFO: Found 2 targets and 1 test target... | |
Target //cmd/frontend/internal/context:context up-to-date: | |
bazel-bin/cmd/frontend/internal/context/context.a | |
Target //cmd/frontend/internal/context/resolvers:resolvers up-to-date: | |
bazel-bin/cmd/frontend/internal/context/resolvers/resolvers.a | |
Target //cmd/frontend/internal/context/resolvers:resolvers_test failed to build | |
Aspect @@rules_rust//rust/private:clippy.bzl%rust_clippy_aspect of //cmd/frontend/internal/context:context up-to-date (nothing to build) | |
Aspect @@rules_rust//rust/private:clippy.bzl%rust_clippy_aspect of //cmd/frontend/internal/context/resolvers:resolvers up-to-date (nothing to build) | |
Aspect @@rules_rust//rust/private:clippy.bzl%rust_clippy_aspect of //cmd/frontend/internal/context/resolvers:resolvers_test up-to-date (nothing to build) | |
Use --verbose_failures to see the command lines of failed build steps. | |
INFO: Elapsed time: 0.370s, Critical Path: 0.05s | |
INFO: 2 processes: 2 internal. | |
ERROR: Build did NOT complete successfully | |
//cmd/frontend/internal/context/resolvers:resolvers_test FAILED TO BUILD | |
Executed 0 out of 1 test: 1 fails to build. | |
Error: bazel exited with exit code: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment