[INFO] cloning repository https://github.com/NavyD/leetcode-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NavyD/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavyD%2Fleetcode-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavyD%2Fleetcode-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf0ceffc326d0571ce578be0ce17e6beae65df04
[INFO] checking NavyD/leetcode-rust against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavyD%2Fleetcode-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NavyD/leetcode-rust
[INFO] finished tweaking git repo https://github.com/NavyD/leetcode-rust
[INFO] tweaked toml for git repo https://github.com/NavyD/leetcode-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NavyD/leetcode-rust on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "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" "+507271bc119683008ec719ecee48814e8ac86c65" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 27 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.10.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded leetcode_prelude v0.2.3
[INFO] [stderr]   Downloaded leetcode_test v0.1.2
[INFO] [stderr]   Downloaded embed-doc-image v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 883efe05196c26291916f75f095712fd8ec0b894ebb8b59788266b59b809e535
[INFO] running `Command { std: "docker" "start" "-a" "883efe05196c26291916f75f095712fd8ec0b894ebb8b59788266b59b809e535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "883efe05196c26291916f75f095712fd8ec0b894ebb8b59788266b59b809e535", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "883efe05196c26291916f75f095712fd8ec0b894ebb8b59788266b59b809e535", kill_on_drop: false }`
[INFO] [stdout] 883efe05196c26291916f75f095712fd8ec0b894ebb8b59788266b59b809e535
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 80f16e92be7cff6b55b56a100c4a36515dfdce7e385c64de31cc65fd9731a474
[INFO] running `Command { std: "docker" "start" "-a" "80f16e92be7cff6b55b56a100c4a36515dfdce7e385c64de31cc65fd9731a474", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling embed-doc-image v0.1.4
[INFO] [stderr]    Compiling leetcode_test v0.1.2
[INFO] [stderr]     Checking leetcode_prelude v0.2.3
[INFO] [stderr]     Checking leetcode-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `LRUCache` is never used
[INFO] [stdout]    --> src/lru_cache.rs:118:7
[INFO] [stdout]     |
[INFO] [stdout] 118 | trait LRUCache: Sized {
[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 `key`, `val`, `prev`, and `next` are never read
[INFO] [stdout]   --> src/lru_cache.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  8 |     struct Node {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout]  9 |         key: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 10 |         val: i32,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 11 |         prev: Option<Rc<RefCell<Node>>>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 12 |         next: Option<Rc<RefCell<Node>>>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `head`, `tail`, `size`, `capacity`, and `cache` are never read
[INFO] [stdout]   --> src/lru_cache.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub struct Solution {
[INFO] [stdout]    |                -------- fields in this struct
[INFO] [stdout] 27 |         head: Rc<RefCell<Node>>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 28 |         tail: Rc<RefCell<Node>>,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 29 |         size: usize,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 30 |         capacity: usize,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 31 |         cache: HashMap<i32, Rc<RefCell<Node>>>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `move_to_head`, `add_to_head`, `remove_node`, and `remove_tail` are never used
[INFO] [stdout]   --> src/lru_cache.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     impl Solution {
[INFO] [stdout]    |     ------------- methods in this implementation
[INFO] [stdout] 35 |         fn move_to_head(&self, node: Rc<RefCell<Node>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |         fn add_to_head(&self, node: Rc<RefCell<Node>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |         fn remove_node(&self, node: Rc<RefCell<Node>>) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |         fn remove_tail(&self) -> Option<Rc<RefCell<Node>>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `RangeModule` is never used
[INFO] [stdout]    --> src/range_module.rs:107:7
[INFO] [stdout]     |
[INFO] [stdout] 107 | trait RangeModule {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `map` is never read
[INFO] [stdout]   --> src/range_module.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub struct Solution {
[INFO] [stdout]    |                -------- field in this struct
[INFO] [stdout] 27 |         map: BTreeMap<i32, i32>,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Solution` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.73s
[INFO] running `Command { std: "docker" "inspect" "80f16e92be7cff6b55b56a100c4a36515dfdce7e385c64de31cc65fd9731a474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80f16e92be7cff6b55b56a100c4a36515dfdce7e385c64de31cc65fd9731a474", kill_on_drop: false }`
[INFO] [stdout] 80f16e92be7cff6b55b56a100c4a36515dfdce7e385c64de31cc65fd9731a474
