[INFO] fetching crate rsleetcode 0.0.3... [INFO] building rsleetcode-0.0.3 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] extracting crate rsleetcode 0.0.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rsleetcode 0.0.3 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2bb503a5c737a2a10e5d3b66747c54fc04a8e33a29edb366ed8cd52815bb391 [INFO] running `Command { std: "docker" "start" "-a" "f2bb503a5c737a2a10e5d3b66747c54fc04a8e33a29edb366ed8cd52815bb391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2bb503a5c737a2a10e5d3b66747c54fc04a8e33a29edb366ed8cd52815bb391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2bb503a5c737a2a10e5d3b66747c54fc04a8e33a29edb366ed8cd52815bb391", kill_on_drop: false }` [INFO] [stdout] f2bb503a5c737a2a10e5d3b66747c54fc04a8e33a29edb366ed8cd52815bb391 [INFO] building rsleetcode-0.0.3 against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] extracting crate rsleetcode 0.0.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rsleetcode 0.0.3 on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34a89536247347c4a76bb57dbb00a9b80b6b08613f55665a4bfa9355b19f5ebc [INFO] running `Command { std: "docker" "start" "-a" "34a89536247347c4a76bb57dbb00a9b80b6b08613f55665a4bfa9355b19f5ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34a89536247347c4a76bb57dbb00a9b80b6b08613f55665a4bfa9355b19f5ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a89536247347c4a76bb57dbb00a9b80b6b08613f55665a4bfa9355b19f5ebc", kill_on_drop: false }` [INFO] [stdout] 34a89536247347c4a76bb57dbb00a9b80b6b08613f55665a4bfa9355b19f5ebc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f32179c2bb88d4bf8e817ec6a5e36a1e6cd8e5d0c7ce1d707a5a88a1e65641f [INFO] running `Command { std: "docker" "start" "-a" "1f32179c2bb88d4bf8e817ec6a5e36a1e6cd8e5d0c7ce1d707a5a88a1e65641f", 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.46s [INFO] running `Command { std: "docker" "inspect" "1f32179c2bb88d4bf8e817ec6a5e36a1e6cd8e5d0c7ce1d707a5a88a1e65641f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f32179c2bb88d4bf8e817ec6a5e36a1e6cd8e5d0c7ce1d707a5a88a1e65641f", kill_on_drop: false }` [INFO] [stdout] 1f32179c2bb88d4bf8e817ec6a5e36a1e6cd8e5d0c7ce1d707a5a88a1e65641f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0d72b32b2c93be879a7c01ece50f6c2481f8549d661070645eb4915a7967e35 [INFO] running `Command { std: "docker" "start" "-a" "b0d72b32b2c93be879a7c01ece50f6c2481f8549d661070645eb4915a7967e35", 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)]` 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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "b0d72b32b2c93be879a7c01ece50f6c2481f8549d661070645eb4915a7967e35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0d72b32b2c93be879a7c01ece50f6c2481f8549d661070645eb4915a7967e35", kill_on_drop: false }` [INFO] [stdout] b0d72b32b2c93be879a7c01ece50f6c2481f8549d661070645eb4915a7967e35