[INFO] cloning repository https://github.com/ajesh-mishra/rust_leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ajesh-mishra/rust_leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajesh-mishra%2Frust_leetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajesh-mishra%2Frust_leetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1376d42835d4b07dd64653b6fd4a88f7cfa4df46 [INFO] building ajesh-mishra/rust_leetcode against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fajesh-mishra%2Frust_leetcode" "/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/ajesh-mishra/rust_leetcode on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ajesh-mishra/rust_leetcode [INFO] finished tweaking git repo https://github.com/ajesh-mishra/rust_leetcode [INFO] tweaked toml for git repo https://github.com/ajesh-mishra/rust_leetcode written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ajesh-mishra/rust_leetcode 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3d8745007380be76b84ab0b8622faee5346d2dc07531c830ae1b631a43b5e9d [INFO] running `Command { std: "docker" "start" "-a" "e3d8745007380be76b84ab0b8622faee5346d2dc07531c830ae1b631a43b5e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3d8745007380be76b84ab0b8622faee5346d2dc07531c830ae1b631a43b5e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3d8745007380be76b84ab0b8622faee5346d2dc07531c830ae1b631a43b5e9d", kill_on_drop: false }` [INFO] [stdout] e3d8745007380be76b84ab0b8622faee5346d2dc07531c830ae1b631a43b5e9d [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06b9f3f89a292a0a77d4f442c0fb85db1cdf4fbf3a60e64d3c0c60878fa41717 [INFO] running `Command { std: "docker" "start" "-a" "06b9f3f89a292a0a77d4f442c0fb85db1cdf4fbf3a60e64d3c0c60878fa41717", kill_on_drop: false }` [INFO] [stderr] Compiling one_leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `lc_2094_finding_3_digit_even_numbers` [INFO] [stdout] --> src/lib.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | pub mod lc_2094_finding_3_digit_even_numbers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_2094_finding_3_digit_even_numbers`, create file "src/lc_2094_finding_3_digit_even_numbers.rs" or "src/lc_2094_finding_3_digit_even_numbers/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_2094_finding_3_digit_even_numbers` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lc_2477_minimum_fuel_cost_to_report_to_the_capital` [INFO] [stdout] --> src/lib.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | pub mod lc_2477_minimum_fuel_cost_to_report_to_the_capital; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_2477_minimum_fuel_cost_to_report_to_the_capital`, create file "src/lc_2477_minimum_fuel_cost_to_report_to_the_capital.rs" or "src/lc_2477_minimum_fuel_cost_to_report_to_the_capital/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_2477_minimum_fuel_cost_to_report_to_the_capital` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lc_1827_minimum_operations_to_make_the_array_increasing` [INFO] [stdout] --> src/lib.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 163 | pub mod lc_1827_minimum_operations_to_make_the_array_increasing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_1827_minimum_operations_to_make_the_array_increasing`, create file "src/lc_1827_minimum_operations_to_make_the_array_increasing.rs" or "src/lc_1827_minimum_operations_to_make_the_array_increasing/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_1827_minimum_operations_to_make_the_array_increasing` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lc_3090_maximum_length_substring_with_two_occurrences` [INFO] [stdout] --> src/lib.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | pub mod lc_3090_maximum_length_substring_with_two_occurrences; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_3090_maximum_length_substring_with_two_occurrences`, create file "src/lc_3090_maximum_length_substring_with_two_occurrences.rs" or "src/lc_3090_maximum_length_substring_with_two_occurrences/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_3090_maximum_length_substring_with_two_occurrences` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lc_678_valid_parenthesis_string` [INFO] [stdout] --> src/lib.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 172 | pub mod lc_678_valid_parenthesis_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_678_valid_parenthesis_string`, create file "src/lc_678_valid_parenthesis_string.rs" or "src/lc_678_valid_parenthesis_string/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_678_valid_parenthesis_string` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lc_463_island_perimeter` [INFO] [stdout] --> src/lib.rs:183:1 [INFO] [stdout] | [INFO] [stdout] 183 | pub mod lc_463_island_perimeter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_463_island_perimeter`, create file "src/lc_463_island_perimeter.rs" or "src/lc_463_island_perimeter/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_463_island_perimeter` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lc_834_sum_of_distances_in_tree` [INFO] [stdout] --> src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | pub mod lc_834_sum_of_distances_in_tree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_834_sum_of_distances_in_tree`, create file "src/lc_834_sum_of_distances_in_tree.rs" or "src/lc_834_sum_of_distances_in_tree/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_834_sum_of_distances_in_tree` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `lc_1325_delete_leaves_with_a_given_value` [INFO] [stdout] --> src/lib.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub mod lc_1325_delete_leaves_with_a_given_value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `lc_1325_delete_leaves_with_a_given_value`, create file "src/lc_1325_delete_leaves_with_a_given_value.rs" or "src/lc_1325_delete_leaves_with_a_given_value/mod.rs" [INFO] [stdout] = note: if there is a `mod lc_1325_delete_leaves_with_a_given_value` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lc_104_maximum_depth_of_binary_tree.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some((node, mut depth)) = stack.pop() { [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: value assigned to `end` is never read [INFO] [stdout] --> src/lc_1190_reverse_substrings_between_each_pair_of_parentheses.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut start, mut end) = (0, 0); [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] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `one_leetcode` (lib) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "06b9f3f89a292a0a77d4f442c0fb85db1cdf4fbf3a60e64d3c0c60878fa41717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b9f3f89a292a0a77d4f442c0fb85db1cdf4fbf3a60e64d3c0c60878fa41717", kill_on_drop: false }` [INFO] [stdout] 06b9f3f89a292a0a77d4f442c0fb85db1cdf4fbf3a60e64d3c0c60878fa41717