[INFO] fetching crate rsleetcode 0.0.3... [INFO] testing rsleetcode-0.0.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rsleetcode 0.0.3 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsleetcode 0.0.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d150732fb8e90e92251bbd2b55f77d7a131d9432fbb0541448533125896c5b99 [INFO] running `Command { std: "docker" "start" "-a" "d150732fb8e90e92251bbd2b55f77d7a131d9432fbb0541448533125896c5b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d150732fb8e90e92251bbd2b55f77d7a131d9432fbb0541448533125896c5b99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d150732fb8e90e92251bbd2b55f77d7a131d9432fbb0541448533125896c5b99", kill_on_drop: false }` [INFO] [stdout] d150732fb8e90e92251bbd2b55f77d7a131d9432fbb0541448533125896c5b99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32616715a23886fea23e367ae0ac8077e3d348f969297d14e36928ded953482f [INFO] running `Command { std: "docker" "start" "-a" "32616715a23886fea23e367ae0ac8077e3d348f969297d14e36928ded953482f", 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)]` (part of `#[warn(unused)]`) 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.77s [INFO] running `Command { std: "docker" "inspect" "32616715a23886fea23e367ae0ac8077e3d348f969297d14e36928ded953482f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32616715a23886fea23e367ae0ac8077e3d348f969297d14e36928ded953482f", kill_on_drop: false }` [INFO] [stdout] 32616715a23886fea23e367ae0ac8077e3d348f969297d14e36928ded953482f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b20bea79bc6b20128d2e5c7609142fda32accef3c16f4b9dd0dcb3525ace544 [INFO] running `Command { std: "docker" "start" "-a" "0b20bea79bc6b20128d2e5c7609142fda32accef3c16f4b9dd0dcb3525ace544", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling rsleetcode v0.0.3 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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.88s [INFO] running `Command { std: "docker" "inspect" "0b20bea79bc6b20128d2e5c7609142fda32accef3c16f4b9dd0dcb3525ace544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b20bea79bc6b20128d2e5c7609142fda32accef3c16f4b9dd0dcb3525ace544", kill_on_drop: false }` [INFO] [stdout] 0b20bea79bc6b20128d2e5c7609142fda32accef3c16f4b9dd0dcb3525ace544 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d6cff22b6399a28da9f27f64e0e837fd76baa6cdc0d4bad5ea3ea23fc392b72d [INFO] running `Command { std: "docker" "start" "-a" "d6cff22b6399a28da9f27f64e0e837fd76baa6cdc0d4bad5ea3ea23fc392b72d", 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)]` (part of `#[warn(unused)]`) 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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsleetcode-5b3b900ca805c992) [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] [stderr] Running tests/easy_tests.rs (/opt/rustwide/target/debug/deps/easy_tests-e61b71ec8bf698cc) [INFO] [stdout] [INFO] [stdout] running 25 tests [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_add_binary ... ok [INFO] [stdout] test test_find_the_index_of_the_first_occurrence_in_a_string ... ok [INFO] [stdout] test test_length_of_last_word ... ok [INFO] [stdout] test test_maximum_depth_of_binary_tree ... ok [INFO] [stdout] test test_path_sum ... ok [INFO] [stdout] test test_longest_common_prefix ... ok [INFO] [stdout] test test_remove_duplicates_from_sorted_array ... ok [INFO] [stdout] test test_convert_sorted_array_to_binary_search_tree ... ok [INFO] [stdout] test test_remove_duplicates_from_sorted_list ... ok [INFO] [stdout] test test_remove_element ... ok [INFO] [stdout] test test_roman_to_integer ... 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] [stdout] test test_two_sum ... ok [INFO] [stdout] test test_valid_parentheses ... 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_merge_sorted_array ... ok [INFO] [stdout] test test_plus_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/hard_tests.rs (/opt/rustwide/target/debug/deps/hard_tests-a99d10fc50ecd928) [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] [stderr] Running tests/medium_tests.rs (/opt/rustwide/target/debug/deps/medium_tests-1c2d1f49739c24c0) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_add_two_numbers ... ok [INFO] [stdout] test test_container_with_most_water ... 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_zigzag_conversion ... ok [INFO] [stdout] test test_three_sum ... 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] [stderr] Doc-tests rsleetcode [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] running `Command { std: "docker" "inspect" "d6cff22b6399a28da9f27f64e0e837fd76baa6cdc0d4bad5ea3ea23fc392b72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6cff22b6399a28da9f27f64e0e837fd76baa6cdc0d4bad5ea3ea23fc392b72d", kill_on_drop: false }` [INFO] [stdout] d6cff22b6399a28da9f27f64e0e837fd76baa6cdc0d4bad5ea3ea23fc392b72d