-
-
Notifications
You must be signed in to change notification settings - Fork 555
Open
Description
Platform: Ubuntu
Logs:
(04:09:25) ERROR: Traceback (most recent call last):
File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/c1ae8c47332b131c9b43957de2c838bf/external/toolchains_llvm++llvm+llvm_toolchain/BUILD.bazel", line 306, column 10, in <toplevel>
cc_import(
File "/virtual_builtins_bzl/bazel/exports.bzl", line 40, column 9, in _removed_rule_failure
Error in fail:
This rule has been removed from Bazel. Please add a `load()` statement for it.
This can also be done automatically by running:
buildifier --lint=fix <path-to-BUILD-or-bzl-file>
(04:09:25) ERROR: package contains errors: : Traceback (most recent call last):
File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/c1ae8c47332b131c9b43957de2c838bf/external/toolchains_llvm++llvm+llvm_toolchain/BUILD.bazel", line 306, column 10, in <toplevel>
cc_import(
File "/virtual_builtins_bzl/bazel/exports.bzl", line 40, column 9, in _removed_rule_failure
Error in fail:
This rule has been removed from Bazel. Please add a `load()` statement for it.
This can also be done automatically by running:
buildifier --lint=fix <path-to-BUILD-or-bzl-file>
(04:09:25) ERROR: /var/lib/buildkite-agent/builds/bk-docker-mhwn/bazel-org-repo-root/examples/rust-examples/02-hello-cross/BUILD.bazel:14:12: While resolving toolchains for target //:hello_world_host (9b0dff6): invalid registered toolchain '@llvm_toolchain//:all': Error evaluating '@llvm_toolchain//:all': error loading package '@@toolchains_llvm++llvm+llvm_toolchain//': Package '' contains errors
(04:09:25) ERROR: Analysis of target '//:all' failed; build aborted: Analysis failed
(04:09:25) INFO: Elapsed time: 2.100s
(04:09:25) INFO: 0 processes.
(04:09:25) ERROR: Build did NOT complete successfully
Culprit:
Steps:
git clone https://github.com/bazelbuild/examples
git reset f98ef39 --hard
export USE_BAZEL_VERSION=0abde3e5f3b6036f295c41eb3956073cf56e301d
bazel build --config=ci //:all
CC Greenteam @kotlaja
Metadata
Metadata
Assignees
Labels
No labels