-
Notifications
You must be signed in to change notification settings - Fork 511
Open
Description
We use Bazel and Rust in the Selenium project. Currently, I am trying to update the version of rulest_rust in our WORKSPACE, as follows:
http_archive(
name = "rules_rust",
- integrity = "sha256-eEXiHXSGUH6qD1bdI5KXZ/B04m0wIUeoyM7pmujzbbQ=",
- urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.55.5/rules_rust-0.55.5.tar.gz"],
+ integrity = "sha256-2GH766nwQzOgrmnkSO6D1pF/JC3bt/41xo/CEqarpUY=",
+ urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.64.0/rules_rust-0.64.0.tar.gz"],
)
But after synchronizing the lock file, I get the following error:
boni@slimbook:~/dev/selenium$ CARGO_BAZEL_REPIN=true bazel sync --only=crates
boni@slimbook:~/dev/selenium$ bazel build //rust:selenium-manager
WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead.
WARNING: Option 'local_cpu_resources' is deprecated: --local_cpu_resources is deprecated, please use --local_resources=cpu= instead.
WARNING: Option 'local_ram_resources' is deprecated: --local_ram_resources is deprecated, please use --local_resources=memory= instead.
WARNING: Option 'local_cpu_resources' is deprecated: --local_cpu_resources is deprecated, please use --local_resources=cpu= instead.
ERROR: no such package '@@rules_rust_ctve__toml-0.8.20//': The repository '@@rules_rust_ctve__toml-0.8.20' could not be resolved: Repository '@@rules_rust_ctve__toml-0.8.20' is not defined
ERROR: /home/boni/.cache/bazel/_bazel_boni/9e7fe06a1a741c30384ec144b4d06379/external/rules_rust/cargo/cargo_toml_variable_extractor/3rdparty/crates/BUILD.bazel:76:6: no such package '@@rules_rust_ctve__toml-0.8.20//': The repository '@@rules_rust_ctve__toml-0.8.20' could not be resolved: Repository '@@rules_rust_ctve__toml-0.8.20' is not defined and referenced by '@@rules_rust//cargo/cargo_toml_variable_extractor/3rdparty/crates:toml'
ERROR: Analysis of target '//rust:selenium-manager' failed; build aborted: Analysis failed
INFO: Elapsed time: 3.720s, Critical Path: 0.01s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
FAILED:
Fetching repository @@crates__cc-1.1.30; starting
Fetching repository @@crates__object-0.32.2; starting
Fetching repository @@crates__linux-raw-sys-0.9.4; starting
Fetching repository @@crates__linux-raw-sys-0.4.14; starting
Fetching repository @@crates__ring-0.17.8; starting
Fetching repository @@crates__slab-0.4.9; starting
Fetching repository @@crates__powerfmt-0.2.0; starting
Fetching repository @@crates__futures-task-0.3.30; starting ... (14 fetches)
Any idea to avoid this problem? Thanks!
Metadata
Metadata
Assignees
Labels
No labels