[INFO] fetching crate rsleetcode 0.0.3... [INFO] testing rsleetcode-0.0.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rsleetcode 0.0.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rsleetcode 0.0.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rsleetcode 0.0.3 [INFO] tweaked toml for crates.io crate rsleetcode 0.0.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsleetcode 0.0.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0ec1eed14cf509ef96e33de88d676e2c5abc91eaab7c4df90f455a9ff246a31 [INFO] running `Command { std: "docker" "start" "-a" "a0ec1eed14cf509ef96e33de88d676e2c5abc91eaab7c4df90f455a9ff246a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0ec1eed14cf509ef96e33de88d676e2c5abc91eaab7c4df90f455a9ff246a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ec1eed14cf509ef96e33de88d676e2c5abc91eaab7c4df90f455a9ff246a31", kill_on_drop: false }` [INFO] [stdout] a0ec1eed14cf509ef96e33de88d676e2c5abc91eaab7c4df90f455a9ff246a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3bd75786997544a2d82cba6af63805c4166159e550198c706dcd619e540e28bf [INFO] running `Command { std: "docker" "start" "-a" "3bd75786997544a2d82cba6af63805c4166159e550198c706dcd619e540e28bf", kill_on_drop: false }` [INFO] [stderr] Compiling rsleetcode v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num_rows` [INFO] [stdout] --> src/easy.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn pascals_triangle(num_rows: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_index` [INFO] [stdout] --> src/easy.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn pascals_triangle_ii(row_index: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/easy.rs:412:40 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn best_time_to_buy_and_sell_stock(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn valid_palindrome(s: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/easy.rs:426:39 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn binary_tree_preorder_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/easy.rs:430:40 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn binary_tree_postorder_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: `column_number` [INFO] [stdout] --> src/easy.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn excel_sheet_column_title(column_number: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_title` [INFO] [stdout] --> src/easy.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn excel_sheet_column_number(column_title: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/easy.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn reverse_bits(x: u32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn number_of_1_bits(n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn happy_number(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:466:36 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/easy.rs:466:65 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/easy.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:474:28 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn reverse_linked_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:478:27 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:482:30 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/easy.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/easy.rs:486:34 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn count_complete_tree_nodes(root: Option>>) -> i32 { [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/easy.rs:492:27 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn invert_binary_tree(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:496:23 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn power_of_two(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn palindrome_linked_list(head: Option>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/easy.rs:510:33 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "3bd75786997544a2d82cba6af63805c4166159e550198c706dcd619e540e28bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd75786997544a2d82cba6af63805c4166159e550198c706dcd619e540e28bf", kill_on_drop: false }` [INFO] [stdout] 3bd75786997544a2d82cba6af63805c4166159e550198c706dcd619e540e28bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d05c640c155e67d010fb14428615c29b41d78f60e9f3f71aee3b2d8d77ed6f85 [INFO] running `Command { std: "docker" "start" "-a" "d05c640c155e67d010fb14428615c29b41d78f60e9f3f71aee3b2d8d77ed6f85", kill_on_drop: false }` [INFO] [stderr] Compiling rsleetcode v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num_rows` [INFO] [stdout] --> src/easy.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn pascals_triangle(num_rows: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_index` [INFO] [stdout] --> src/easy.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn pascals_triangle_ii(row_index: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/easy.rs:412:40 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn best_time_to_buy_and_sell_stock(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn valid_palindrome(s: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/easy.rs:426:39 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn binary_tree_preorder_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/easy.rs:430:40 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn binary_tree_postorder_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: `column_number` [INFO] [stdout] --> src/easy.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn excel_sheet_column_title(column_number: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_title` [INFO] [stdout] --> src/easy.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn excel_sheet_column_number(column_title: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/easy.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn reverse_bits(x: u32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn number_of_1_bits(n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn happy_number(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:466:36 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/easy.rs:466:65 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/easy.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:474:28 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn reverse_linked_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:478:27 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:482:30 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/easy.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/easy.rs:486:34 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn count_complete_tree_nodes(root: Option>>) -> i32 { [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/easy.rs:492:27 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn invert_binary_tree(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:496:23 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn power_of_two(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn palindrome_linked_list(head: Option>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/easy.rs:510:33 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_rows` [INFO] [stdout] --> src/easy.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn pascals_triangle(num_rows: i32) -> Vec> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_rows` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_index` [INFO] [stdout] --> src/easy.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn pascals_triangle_ii(row_index: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prices` [INFO] [stdout] --> src/easy.rs:412:40 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn best_time_to_buy_and_sell_stock(prices: Vec) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn valid_palindrome(s: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/easy.rs:426:39 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn binary_tree_preorder_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/easy.rs:430:40 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn binary_tree_postorder_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: `column_number` [INFO] [stdout] --> src/easy.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | pub fn excel_sheet_column_title(column_number: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column_title` [INFO] [stdout] --> src/easy.rs:450:34 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn excel_sheet_column_number(column_title: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/easy.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn reverse_bits(x: u32) -> u32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn number_of_1_bits(n: i32) -> i32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:462:21 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn happy_number(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:466:36 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/easy.rs:466:65 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/easy.rs:470:38 [INFO] [stdout] | [INFO] [stdout] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:474:28 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn reverse_linked_list(head: Option>) -> Option> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:478:27 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:482:30 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/easy.rs:482:46 [INFO] [stdout] | [INFO] [stdout] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/easy.rs:486:34 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn count_complete_tree_nodes(root: Option>>) -> i32 { [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/easy.rs:492:27 [INFO] [stdout] | [INFO] [stdout] 492 | pub fn invert_binary_tree(root: Option>>) -> Option>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nums` [INFO] [stdout] --> src/easy.rs:496:23 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/easy.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | pub fn power_of_two(n: i32) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/easy.rs:506:31 [INFO] [stdout] | [INFO] [stdout] 506 | pub fn palindrome_linked_list(head: Option>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/easy.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/easy.rs:510:33 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "d05c640c155e67d010fb14428615c29b41d78f60e9f3f71aee3b2d8d77ed6f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05c640c155e67d010fb14428615c29b41d78f60e9f3f71aee3b2d8d77ed6f85", kill_on_drop: false }` [INFO] [stdout] d05c640c155e67d010fb14428615c29b41d78f60e9f3f71aee3b2d8d77ed6f85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d3a9b24a7f757d281c1bbf82045f18f44e9f0eee1fd3e62d546b92c1dc2697bb [INFO] running `Command { std: "docker" "start" "-a" "d3a9b24a7f757d281c1bbf82045f18f44e9f0eee1fd3e62d546b92c1dc2697bb", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `num_rows` [INFO] [stderr] --> src/easy.rs:404:25 [INFO] [stderr] | [INFO] [stderr] 404 | pub fn pascals_triangle(num_rows: i32) -> Vec> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_rows` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `row_index` [INFO] [stderr] --> src/easy.rs:408:28 [INFO] [stderr] | [INFO] [stderr] 408 | pub fn pascals_triangle_ii(row_index: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prices` [INFO] [stderr] --> src/easy.rs:412:40 [INFO] [stderr] | [INFO] [stderr] 412 | pub fn best_time_to_buy_and_sell_stock(prices: Vec) -> i32 { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prices` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/easy.rs:416:25 [INFO] [stderr] | [INFO] [stderr] 416 | pub fn valid_palindrome(s: String) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nums` [INFO] [stderr] --> src/easy.rs:420:22 [INFO] [stderr] | [INFO] [stderr] 420 | pub fn single_number(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/easy.rs:426:39 [INFO] [stderr] | [INFO] [stderr] 426 | pub fn binary_tree_preorder_traversal(root: Option>>) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/easy.rs:430:40 [INFO] [stderr] | [INFO] [stderr] 430 | pub fn binary_tree_postorder_traversal(root: Option>>) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `column_number` [INFO] [stderr] --> src/easy.rs:440:33 [INFO] [stderr] | [INFO] [stderr] 440 | pub fn excel_sheet_column_title(column_number: i32) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_number` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nums` [INFO] [stderr] --> src/easy.rs:444:25 [INFO] [stderr] | [INFO] [stderr] 444 | pub fn majority_element(nums: Vec) -> i32 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `column_title` [INFO] [stderr] --> src/easy.rs:450:34 [INFO] [stderr] | [INFO] [stderr] 450 | pub fn excel_sheet_column_number(column_title: String) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_column_title` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/easy.rs:454:21 [INFO] [stderr] | [INFO] [stderr] 454 | pub fn reverse_bits(x: u32) -> u32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/easy.rs:458:25 [INFO] [stderr] | [INFO] [stderr] 458 | pub fn number_of_1_bits(n: i32) -> i32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/easy.rs:462:21 [INFO] [stderr] | [INFO] [stderr] 462 | pub fn happy_number(n: i32) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `head` [INFO] [stderr] --> src/easy.rs:466:36 [INFO] [stderr] | [INFO] [stderr] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> src/easy.rs:466:65 [INFO] [stderr] | [INFO] [stderr] 466 | pub fn remove_linked_list_elements(head: Option>, val: i32) -> Option> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/easy.rs:470:27 [INFO] [stderr] | [INFO] [stderr] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/easy.rs:470:38 [INFO] [stderr] | [INFO] [stderr] 470 | pub fn isomorphic_strings(s: String, t: String) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `head` [INFO] [stderr] --> src/easy.rs:474:28 [INFO] [stderr] | [INFO] [stderr] 474 | pub fn reverse_linked_list(head: Option>) -> Option> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nums` [INFO] [stderr] --> src/easy.rs:478:27 [INFO] [stderr] | [INFO] [stderr] 478 | pub fn contains_duplicate(nums: Vec) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nums` [INFO] [stderr] --> src/easy.rs:482:30 [INFO] [stderr] | [INFO] [stderr] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `k` [INFO] [stderr] --> src/easy.rs:482:46 [INFO] [stderr] | [INFO] [stderr] 482 | pub fn contains_duplicate_ii(nums: Vec, k: i32) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/easy.rs:486:34 [INFO] [stderr] | [INFO] [stderr] 486 | pub fn count_complete_tree_nodes(root: Option>>) -> i32 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `root` [INFO] [stderr] --> src/easy.rs:492:27 [INFO] [stderr] | [INFO] [stderr] 492 | pub fn invert_binary_tree(root: Option>>) -> Option>> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nums` [INFO] [stderr] --> src/easy.rs:496:23 [INFO] [stderr] | [INFO] [stderr] 496 | pub fn summary_ranges(nums: Vec) -> Vec { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nums` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/easy.rs:500:21 [INFO] [stderr] | [INFO] [stderr] 500 | pub fn power_of_two(n: i32) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `head` [INFO] [stderr] --> src/easy.rs:506:31 [INFO] [stderr] | [INFO] [stderr] 506 | pub fn palindrome_linked_list(head: Option>) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/easy.rs:510:22 [INFO] [stderr] | [INFO] [stderr] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/easy.rs:510:33 [INFO] [stderr] | [INFO] [stderr] 510 | pub fn valid_anagram(s: String, t: String) -> bool { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: `rsleetcode` (lib) generated 28 warnings [INFO] [stderr] warning: `rsleetcode` (lib test) generated 28 warnings (28 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rsleetcode-76e918497aa6a322) [INFO] [stderr] Running tests/easy_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/easy_tests-a91796c278fa7463) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test test_add_binary ... ok [INFO] [stdout] test test_balanced_binary_tree ... ok [INFO] [stdout] test test_climbing_stairs ... ok [INFO] [stdout] test test_binary_tree_inorder_traversal ... ok [INFO] [stdout] test test_convert_sorted_array_to_binary_search_tree ... ok [INFO] [stdout] test test_length_of_last_word ... ok [INFO] [stdout] test test_longest_common_prefix ... ok [INFO] [stdout] test test_find_the_index_of_the_first_occurrence_in_a_string ... ok [INFO] [stdout] test test_maximum_depth_of_binary_tree ... ok [INFO] [stdout] test test_merge_sorted_array ... ok [INFO] [stdout] test test_merge_two_sorted_lists ... ok [INFO] [stdout] test test_minimum_depth_of_binary_tree ... ok [INFO] [stdout] test test_palindrome_number ... ok [INFO] [stdout] test test_path_sum ... ok [INFO] [stdout] test test_plus_one ... ok [INFO] [stdout] test test_remove_duplicates_from_sorted_array ... ok [INFO] [stdout] test test_remove_duplicates_from_sorted_list ... ok [INFO] [stdout] test test_remove_element ... ok [INFO] [stdout] test test_same_tree ... ok [INFO] [stdout] test test_search_insert_position ... ok [INFO] [stdout] test test_sqrt_x ... ok [INFO] [stdout] test test_symmetric_tree ... ok [INFO] [stderr] Running tests/hard_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hard_tests-ea51c08347b5964e) [INFO] [stdout] test test_roman_to_integer ... ok [INFO] [stderr] Running tests/medium_tests.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/medium_tests-e7719c40f1f9065d) [INFO] [stdout] test test_two_sum ... ok [INFO] [stdout] test test_valid_parentheses ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_container_with_most_water ... ok [INFO] [stdout] test test_add_two_numbers ... ok [INFO] [stdout] test test_integer_to_roman ... ok [INFO] [stdout] test test_longest_palindromic_substring ... ok [INFO] [stdout] test test_longest_substring_without_repeating_characters ... ok [INFO] [stdout] test test_reverse_integer ... ok [INFO] [stdout] test test_string_to_integer_atoi ... ok [INFO] [stdout] test test_three_sum ... ok [INFO] [stdout] test test_zigzag_conversion ... ok [INFO] [stdout] test test_three_sum_closest ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d3a9b24a7f757d281c1bbf82045f18f44e9f0eee1fd3e62d546b92c1dc2697bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a9b24a7f757d281c1bbf82045f18f44e9f0eee1fd3e62d546b92c1dc2697bb", kill_on_drop: false }` [INFO] [stdout] d3a9b24a7f757d281c1bbf82045f18f44e9f0eee1fd3e62d546b92c1dc2697bb