[INFO] cloning repository https://github.com/michael-jaquier/rust-ffi-leetcode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michael-jaquier/rust-ffi-leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-jaquier%2Frust-ffi-leetcode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-jaquier%2Frust-ffi-leetcode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 45b069f0f843aff01293f4f40621b0601c073b64
[INFO] checking michael-jaquier/rust-ffi-leetcode against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-jaquier%2Frust-ffi-leetcode" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/michael-jaquier/rust-ffi-leetcode
[INFO] finished tweaking git repo https://github.com/michael-jaquier/rust-ffi-leetcode
[INFO] tweaked toml for git repo https://github.com/michael-jaquier/rust-ffi-leetcode written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/michael-jaquier/rust-ffi-leetcode on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/michael-jaquier/rust-ffi-leetcode already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--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: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 702eabe74708ec0b026fc226900c0ccf87c42b4c5d4ce686d1ce3f22f798e1cb
[INFO] running `Command { std: "docker" "start" "-a" "702eabe74708ec0b026fc226900c0ccf87c42b4c5d4ce686d1ce3f22f798e1cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "702eabe74708ec0b026fc226900c0ccf87c42b4c5d4ce686d1ce3f22f798e1cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "702eabe74708ec0b026fc226900c0ccf87c42b4c5d4ce686d1ce3f22f798e1cb", kill_on_drop: false }`
[INFO] [stdout] 702eabe74708ec0b026fc226900c0ccf87c42b4c5d4ce686d1ce3f22f798e1cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d742410ce975d9015938185368a9fe5673e40169b6be868b433d7be6e54d7df8
[INFO] running `Command { std: "docker" "start" "-a" "d742410ce975d9015938185368a9fe5673e40169b6be868b433d7be6e54d7df8", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cc v1.2.37
[INFO] [stderr]    Compiling ffi_leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]  --> src/lib.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_char` and `c_int`
[INFO] [stdout]  --> src/lib.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::raw::{c_char, c_int};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]  --> src/problems/easy/stack/valid_parentheses.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::panic;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ptr::slice_from_raw_parts`
[INFO] [stdout]  --> src/problems/easy/stack/valid_parentheses.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashMap, ptr::slice_from_raw_parts};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/easy/dynamic_programming/max_subarray.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `null_mut` and `self`
[INFO] [stdout]  --> src/problems/medium/linked_list/add_two_numbers.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::{self, null_mut};
[INFO] [stdout]   |                ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/problems/medium/sliding_window/longest_substring.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/medium/hash_map/group_anagrams.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]  --> src/problems/medium/hash_map/group_anagrams.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_char`
[INFO] [stdout]  --> src/problems/medium/hash_map/group_anagrams.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::raw::c_char;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryHeap` and `HashMap`
[INFO] [stdout]   --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 | use std::collections::{HashMap, BinaryHeap};
[INFO] [stdout]    |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]   --> src/problems/medium/dfs_tree/directory_size_calculator.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | use std::collections::HashSet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/problems/hard/bfs_tree/level_order.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]    --> src/problems/mod.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub use easy::*;
[INFO] [stdout]     |         ^^^^^^^ the name `hash_map` in the type namespace is first re-exported here
[INFO] [stdout] 116 | pub use hard::*;
[INFO] [stdout] 117 | pub use medium::*;
[INFO] [stdout]     |         --------- but the name `hash_map` in the type namespace is also re-exported here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout]     = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]    --> src/problems/mod.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub use easy::*;
[INFO] [stdout]     |         ^^^^^^^ the name `two_pointers` in the type namespace is first re-exported here
[INFO] [stdout] 116 | pub use hard::*;
[INFO] [stdout] 117 | pub use medium::*;
[INFO] [stdout]     |         --------- but the name `two_pointers` in the type namespace is also re-exported here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]  --> src/lib.rs:2:16
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_char` and `c_int`
[INFO] [stdout]  --> src/lib.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::raw::{c_char, c_int};
[INFO] [stdout]   |                    ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]    --> src/problems/easy/hash_map/two_sum.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |     use std::collections::HashMap;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::panic`
[INFO] [stdout]  --> src/problems/easy/stack/valid_parentheses.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::panic;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ptr::slice_from_raw_parts`
[INFO] [stdout]  --> src/problems/easy/stack/valid_parentheses.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{collections::HashMap, ptr::slice_from_raw_parts};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/easy/dynamic_programming/max_subarray.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `null_mut` and `self`
[INFO] [stdout]  --> src/problems/medium/linked_list/add_two_numbers.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ptr::{self, null_mut};
[INFO] [stdout]   |                ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::data_structures::*`
[INFO] [stdout]   --> src/problems/medium/linked_list/add_two_numbers.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use crate::data_structures::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/problems/medium/sliding_window/longest_substring.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/problems/medium/hash_map/group_anagrams.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]  --> src/problems/medium/hash_map/group_anagrams.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_char`
[INFO] [stdout]  --> src/problems/medium/hash_map/group_anagrams.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::os::raw::c_char;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BinaryHeap` and `HashMap`
[INFO] [stdout]   --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 | use std::collections::{HashMap, BinaryHeap};
[INFO] [stdout]    |                        ^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]   --> src/problems/medium/dfs_tree/directory_size_calculator.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | use std::collections::HashSet;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::VecDeque`
[INFO] [stdout]  --> src/problems/hard/bfs_tree/level_order.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::VecDeque;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]    --> src/problems/mod.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub use easy::*;
[INFO] [stdout]     |         ^^^^^^^ the name `hash_map` in the type namespace is first re-exported here
[INFO] [stdout] 116 | pub use hard::*;
[INFO] [stdout] 117 | pub use medium::*;
[INFO] [stdout]     |         --------- but the name `hash_map` in the type namespace is also re-exported here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout]     = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: ambiguous glob re-exports
[INFO] [stdout]    --> src/problems/mod.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub use easy::*;
[INFO] [stdout]     |         ^^^^^^^ the name `two_pointers` in the type namespace is first re-exported here
[INFO] [stdout] 116 | pub use hard::*;
[INFO] [stdout] 117 | pub use medium::*;
[INFO] [stdout]     |         --------- but the name `two_pointers` in the type namespace is also re-exported here
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #107880 <https://github.com/rust-lang/rust/issues/107880>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/problems/easy/binary_search/binary_search.rs:127:67
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub extern "C" fn search_insert(nums: *const i32, nums_size: i32, target: i32) -> i32 {
[INFO] [stdout]     |                                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str_slice`
[INFO] [stdout]   --> src/problems/medium/sliding_window/longest_substring.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let str_slice = match c_str.to_str() {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/problems/medium/sliding_window/rate_limiter.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     user_id: i32,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_time_seconds`
[INFO] [stdout]   --> src/problems/medium/sliding_window/rate_limiter.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 |     current_time_seconds: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_time_seconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limiter_ref`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let limiter_ref = unsafe { &mut *limiter };
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limiter_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     user_id: i32,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_time_seconds`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 |     current_time_seconds: i64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_time_seconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 |     user_id: i32,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_time_seconds`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:169:5
[INFO] [stdout]     |
[INFO] [stdout] 169 |     current_time_seconds: i64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_time_seconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height_slice`
[INFO] [stdout]   --> src/problems/medium/two_pointers/max_area.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let height_slice = unsafe { std::slice::from_raw_parts(height, height_size as usize) };
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_height_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals_slice`
[INFO] [stdout]   --> src/problems/medium/intervals/merge_intervals.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let intervals_slice =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals_size`
[INFO] [stdout]    --> src/problems/medium/intervals/merge_intervals.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     intervals_size: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_interval`
[INFO] [stdout]    --> src/problems/medium/intervals/merge_intervals.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     new_interval: Interval,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals_col_size`
[INFO] [stdout]   --> src/problems/medium/heap/meeting_rooms.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     intervals_col_size: *const i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals_col_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text_str`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let text_str = match std::str::from_utf8(text) {
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     word: *const u8,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word_len`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     word_len: i32,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffi_leetcode` (lib) due to 4 previous errors; 44 warnings emitted
[INFO] [stdout] warning: unused variable: `global_frequencies`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 |     global_frequencies: *mut std::ffi::c_void, // Opaque pointer to internal state
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_frequencies`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `path_str`
[INFO] [stdout]   --> src/problems/medium/dfs_tree/directory_size_calculator.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let path_str = match std::str::from_utf8(path_bytes) {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_path_len`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     root_path_len: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `follow_symlinks`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     follow_symlinks: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follow_symlinks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_path`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     root_path: *const u8,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_path_len`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     root_path_len: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_depth`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     max_depth: i32,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prerequisites_col_size`
[INFO] [stdout]   --> src/problems/medium/graph_dfs/course_schedule.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     prerequisites_col_size: *const i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prerequisites_col_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get(&mut self, key: i32) -> i32 {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn put(&mut self, key: i32, value: i32) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:65:37
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn put(&mut self, key: i32, value: i32) {
[INFO] [stdout]    |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HeapEntry` is never constructed
[INFO] [stdout]   --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | struct HeapEntry {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `capacity`, `cache`, and `usage_order` are never read
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct LRUCache {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 38 |     capacity: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 39 |     cache: HashMap<i32, i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 40 |     usage_order: Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/problems/easy/binary_search/binary_search.rs:127:67
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub extern "C" fn search_insert(nums: *const i32, nums_size: i32, target: i32) -> i32 {
[INFO] [stdout]     |                                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/problems/medium/linked_list/add_two_numbers.rs:138:18
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let l2 = unsafe {
[INFO] [stdout]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str_slice`
[INFO] [stdout]   --> src/problems/medium/sliding_window/longest_substring.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let str_slice = match c_str.to_str() {
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]   --> src/problems/medium/sliding_window/rate_limiter.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     user_id: i32,
[INFO] [stdout]    |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_time_seconds`
[INFO] [stdout]   --> src/problems/medium/sliding_window/rate_limiter.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 |     current_time_seconds: i64,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_time_seconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limiter_ref`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let limiter_ref = unsafe { &mut *limiter };
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_limiter_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     user_id: i32,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_time_seconds`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 |     current_time_seconds: i64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_time_seconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_id`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 |     user_id: i32,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_time_seconds`
[INFO] [stdout]    --> src/problems/medium/sliding_window/rate_limiter.rs:169:5
[INFO] [stdout]     |
[INFO] [stdout] 169 |     current_time_seconds: i64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_time_seconds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height_slice`
[INFO] [stdout]   --> src/problems/medium/two_pointers/max_area.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let height_slice = unsafe { std::slice::from_raw_parts(height, height_size as usize) };
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_height_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals_slice`
[INFO] [stdout]   --> src/problems/medium/intervals/merge_intervals.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let intervals_slice =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals_slice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals_size`
[INFO] [stdout]    --> src/problems/medium/intervals/merge_intervals.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 115 |     intervals_size: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_interval`
[INFO] [stdout]    --> src/problems/medium/intervals/merge_intervals.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     new_interval: Interval,
[INFO] [stdout]     |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/problems/medium/intervals/merge_intervals.rs:224:13
[INFO] [stdout]     |
[INFO] [stdout] 224 |         let result = merge_intervals(
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> src/problems/medium/intervals/merge_intervals.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |         let result = insert_interval(
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intervals_col_size`
[INFO] [stdout]   --> src/problems/medium/heap/meeting_rooms.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 |     intervals_col_size: *const i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intervals_col_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text_str`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let text_str = match std::str::from_utf8(text) {
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 |     word: *const u8,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_word`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `word_len`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     word_len: i32,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_word_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `global_frequencies`
[INFO] [stdout]    --> src/problems/medium/hash_map_heap/top_k_frequent_words.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 |     global_frequencies: *mut std::ffi::c_void, // Opaque pointer to internal state
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_frequencies`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path_str`
[INFO] [stdout]   --> src/problems/medium/dfs_tree/directory_size_calculator.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let path_str = match std::str::from_utf8(path_bytes) {
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_path_len`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 161 |     root_path_len: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `follow_symlinks`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:162:5
[INFO] [stdout]     |
[INFO] [stdout] 162 |     follow_symlinks: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follow_symlinks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_path`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     root_path: *const u8,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root_path_len`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     root_path_len: i32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_depth`
[INFO] [stdout]    --> src/problems/medium/dfs_tree/directory_size_calculator.rs:189:5
[INFO] [stdout]     |
[INFO] [stdout] 189 |     max_depth: i32,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_depth`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prerequisites_col_size`
[INFO] [stdout]   --> src/problems/medium/graph_dfs/course_schedule.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |     prerequisites_col_size: *const i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prerequisites_col_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:52:27
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn get(&mut self, key: i32) -> i32 {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:65:27
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn put(&mut self, key: i32, value: i32) {
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:65:37
[INFO] [stdout]    |
[INFO] [stdout] 65 |     pub fn put(&mut self, key: i32, value: i32) {
[INFO] [stdout]    |                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `capacity`, `cache`, and `usage_order` are never read
[INFO] [stdout]   --> src/problems/hard/hash_map_linked_list/lru_cache.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct LRUCache {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 38 |     capacity: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 39 |     cache: HashMap<i32, i32>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 40 |     usage_order: Vec<i32>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ffi_leetcode` (lib test) due to 4 previous errors; 48 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d742410ce975d9015938185368a9fe5673e40169b6be868b433d7be6e54d7df8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d742410ce975d9015938185368a9fe5673e40169b6be868b433d7be6e54d7df8", kill_on_drop: false }`
[INFO] [stdout] d742410ce975d9015938185368a9fe5673e40169b6be868b433d7be6e54d7df8
