[INFO] cloning repository https://github.com/Killer545537/RUST_DSA [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Killer545537/RUST_DSA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiller545537%2FRUST_DSA", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiller545537%2FRUST_DSA'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef5e4741be089362ce87cfdd5d8f7621bf6eded6 [INFO] checking Killer545537/RUST_DSA/ef5e4741be089362ce87cfdd5d8f7621bf6eded6 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKiller545537%2FRUST_DSA" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Killer545537/RUST_DSA on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Killer545537/RUST_DSA [INFO] finished tweaking git repo https://github.com/Killer545537/RUST_DSA [INFO] tweaked toml for git repo https://github.com/Killer545537/RUST_DSA written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Killer545537/RUST_DSA already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e16c7b55f847b7f16127cb71c15e4c790f6bf69d9258f95ea0f3ccccd81e21e7 [INFO] running `Command { std: "docker" "start" "-a" "e16c7b55f847b7f16127cb71c15e4c790f6bf69d9258f95ea0f3ccccd81e21e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e16c7b55f847b7f16127cb71c15e4c790f6bf69d9258f95ea0f3ccccd81e21e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16c7b55f847b7f16127cb71c15e4c790f6bf69d9258f95ea0f3ccccd81e21e7", kill_on_drop: false }` [INFO] [stdout] e16c7b55f847b7f16127cb71c15e4c790f6bf69d9258f95ea0f3ccccd81e21e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97b7e785508f128b0a378d79ab67fc299fb63d5129cd7747d1e365aaba6d8fad [INFO] running `Command { std: "docker" "start" "-a" "97b7e785508f128b0a378d79ab67fc299fb63d5129cd7747d1e365aaba6d8fad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking Data_Structures_Algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/binary_search.rs:562:30 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn minimize_max_distance(coordinates: &[f32], new_stations: i32) { //The new gas stations can be placed between two coordinates such ... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_stations` [INFO] [stdout] --> src/binary_search.rs:562:51 [INFO] [stdout] | [INFO] [stdout] 562 | ...e(coordinates: &[f32], new_stations: i32) { //The new gas stations can be placed between two coordinates such that it is fractional [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/binary_tress.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn vertical_traversal(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/binary_tress.rs:441:19 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn distance_k(root: Option>>, target: Option>>, k: i32) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/binary_tress.rs:441:52 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn distance_k(root: Option>>, target: Option>>, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/binary_tress.rs:441:87 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn distance_k(root: Option>>, target: Option>>, k: i32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `r` is assigned to, but never used [INFO] [stdout] --> src/two_pointer.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let (mut l, mut r) = (0, 0); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_r` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/two_pointer.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | r = i; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphs.rs:1261:25 [INFO] [stdout] | [INFO] [stdout] 1261 | if let Some(mut weight) = positive_graph[u][v] { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ListNode` is more private than the item `add_two_numbers` [INFO] [stdout] --> src/linked_lists.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `add_two_numbers` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ListNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/linked_lists.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | struct ListNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinates` [INFO] [stdout] --> src/binary_search.rs:562:30 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn minimize_max_distance(coordinates: &[f32], new_stations: i32) { //The new gas stations can be placed between two coordinates such ... [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_stations` [INFO] [stdout] --> src/binary_search.rs:562:51 [INFO] [stdout] | [INFO] [stdout] 562 | ...e(coordinates: &[f32], new_stations: i32) { //The new gas stations can be placed between two coordinates such that it is fractional [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/binary_tress.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn vertical_traversal(root: Option>>) -> Vec> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/binary_tress.rs:441:19 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn distance_k(root: Option>>, target: Option>>, k: i32) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/binary_tress.rs:441:52 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn distance_k(root: Option>>, target: Option>>, k: i32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/binary_tress.rs:441:87 [INFO] [stdout] | [INFO] [stdout] 441 | pub fn distance_k(root: Option>>, target: Option>>, k: i32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `r` is assigned to, but never used [INFO] [stdout] --> src/two_pointer.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let (mut l, mut r) = (0, 0); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_r` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `r` is never read [INFO] [stdout] --> src/two_pointer.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | r = i; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graphs.rs:1261:25 [INFO] [stdout] | [INFO] [stdout] 1261 | if let Some(mut weight) = positive_graph[u][v] { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `linked_lists::ListNode` is more private than the item `linked_lists::add_two_numbers` [INFO] [stdout] --> src/linked_lists.rs:160:1 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn add_two_numbers(l1: Option>, l2: Option>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `linked_lists::add_two_numbers` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `linked_lists::ListNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/linked_lists.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | struct ListNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.61s [INFO] running `Command { std: "docker" "inspect" "97b7e785508f128b0a378d79ab67fc299fb63d5129cd7747d1e365aaba6d8fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b7e785508f128b0a378d79ab67fc299fb63d5129cd7747d1e365aaba6d8fad", kill_on_drop: false }` [INFO] [stdout] 97b7e785508f128b0a378d79ab67fc299fb63d5129cd7747d1e365aaba6d8fad