Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bazel CI]rustc returned with exit code 101 #538

Open
sgowroji opened this issue Jan 6, 2025 · 0 comments
Open

[Bazel CI]rustc returned with exit code 101 #538

sgowroji opened this issue Jan 6, 2025 · 0 comments

Comments

@sgowroji
Copy link
Member

sgowroji commented Jan 6, 2025

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4379#019439cb-26fe-44ec-8810-1f6b1bb34680

Platform: Ubuntu

Logs:

ERROR: �[0m/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/external/rules_rust+/crate_universe/private/module_extensions/cargo_bazel_bootstrap.bzl:66:17: Traceback (most recent call last):
fail: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/modextwd/rules_rust++crate/cargo-bazel generate --cargo-lockfile /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/modextwd/rules_rust++crate/crates/splicing-output/Cargo.lock --config /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/modextwd/rules_rust++crate/crates/config.json --splicing-manifest /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/modextwd/rules_rust++crate/crates/splicing_manifest.json --repository-dir /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/modextwd/rules_rust++crate/crates --metadata /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/modextwd/rules_rust++crate/crates/splicing-output/metadata.json --repin --lockfile /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/modextwd/rules_rust++crate/crates/lockfile.json --cargo /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/external/rules_rust++rust_host_tools+rust_host_tools/bin/cargo --rustc /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/6ac85da4cde518af4221f7f38bbaa85c/external/rules_rust++rust_host_tools+rust_host_tools/bin/rustc returned with exit code 101:
ERROR: �[0mAnalysis of target '//rest_tokio:bin' failed; build aborted: error evaluating module extension @@rules_rust+//crate_universe:extension.bzl%crate
ERROR: �[0mBuild did NOT complete successfully

Culprit:

Steps:

git clone https://github.com/bazelbuild/examples
git reset b51e3bdd468ce8c4a516d7dca993909dcc84af32  --hard
export USE_BAZEL_VERSION=fa48bc66e7118ca251c73bdad2c94039f51b5301
bazel build //... 

CC Greenteam @Wyverald

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant