[INFO] cloning repository https://github.com/feniljain/lrust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/feniljain/lrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffeniljain%2Flrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffeniljain%2Flrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96d9ae75aa4e193c6184b0c546510e3c13542793
[INFO] checking feniljain/lrust against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffeniljain%2Flrust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/feniljain/lrust
[INFO] finished tweaking git repo https://github.com/feniljain/lrust
[INFO] tweaked toml for git repo https://github.com/feniljain/lrust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/feniljain/lrust on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/feniljain/lrust 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quickcheck_macros v1.0.0
[INFO] [stderr]   Downloaded syn v1.0.101
[INFO] [stderr]   Downloaded libc v0.2.134
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 977c5218e2e2211070f228cc030801d8e20cc5fbc4e66f37ba272ffa127a1382
[INFO] running `Command { std: "docker" "start" "-a" "977c5218e2e2211070f228cc030801d8e20cc5fbc4e66f37ba272ffa127a1382", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "977c5218e2e2211070f228cc030801d8e20cc5fbc4e66f37ba272ffa127a1382", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "977c5218e2e2211070f228cc030801d8e20cc5fbc4e66f37ba272ffa127a1382", kill_on_drop: false }`
[INFO] [stdout] 977c5218e2e2211070f228cc030801d8e20cc5fbc4e66f37ba272ffa127a1382
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7cebfa88f45cdc4eeeadc14494b8dec22dfc4267159b87ecd8b4156f57c454c5
[INFO] running `Command { std: "docker" "start" "-a" "7cebfa88f45cdc4eeeadc14494b8dec22dfc4267159b87ecd8b4156f57c454c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]    Compiling proc-macro2 v1.0.46
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling syn v1.0.101
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking quickcheck v1.0.3
[INFO] [stderr]    Compiling quickcheck_macros v1.0.0
[INFO] [stderr]     Checking lrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `mglru::MGLRU as MGLRU`
[INFO] [stdout]  --> src/mglru/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use mglru::MGLRU as MGLRU;
[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 import: `mglru::MGLRU as MGLRU`
[INFO] [stdout]  --> src/mglru/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use mglru::MGLRU as MGLRU;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl<'a, T: Copy + Default + Display, const CAP: usize> LRUCache<T, CAP> {
[INFO] [stdout]    | ------------------------------------------------------------------------ associated function in this implementation
[INFO] [stdout] 40 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MGLRU` is never constructed
[INFO] [stdout]  --> src/mglru/mglru.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct MGLRU<T: Display + Copy, const LRU_N: usize, const LRU_CAP: usize> {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/mglru/mglru.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T: Display + Copy + Default, const LRU_N: usize, const LRU_CAP: usize>
[INFO] [stdout] 12 | |     MGLRU<T, LRU_N, LRU_CAP>
[INFO] [stdout]    | |____________________________- associated items in this implementation
[INFO] [stdout] 13 |   {
[INFO] [stdout] 14 |       pub fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |       pub fn len(&self) -> usize {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |       pub fn clear(&mut self) {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |       pub fn insert(&mut self, val: T) -> Option<T> {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |       pub fn iter(&'a self) -> Iter<T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |       fn iter_internal(&'a self) -> IterInternal<T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |       pub fn front(&self) -> Option<&T> {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |       pub fn front_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |       fn remove(&mut self, lru_idx: usize, ele_idx: usize) {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |       pub fn touch<F>(&mut self, mut pred: F) -> bool
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Iter` is never constructed
[INFO] [stdout]    --> src/mglru/mglru.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub struct Iter<'a, T: Display + Copy + Default, const LRU_N: usize, const LRU_CAP: usize> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/mglru/mglru.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | / impl<'a, T: Display + Copy + Default, const LRU_N: usize, const LRU_CAP: usize>
[INFO] [stdout] 129 | |     Iter<'a, T, LRU_N, LRU_CAP>
[INFO] [stdout]     | |_______________________________- associated function in this implementation
[INFO] [stdout] 130 |   {
[INFO] [stdout] 131 |       fn new(cache: &'a MGLRU<T, LRU_N, LRU_CAP>) -> Iter<'a, T, LRU_N, LRU_CAP> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IterInternal` is never constructed
[INFO] [stdout]    --> src/mglru/mglru.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub struct IterInternal<'a, T: Display + Copy + Default, const LRU_N: usize, const LRU_CAP: usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/mglru/mglru.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 171 | / impl<'a, T: Display + Copy + Default, const LRU_N: usize, const LRU_CAP: usize>
[INFO] [stdout] 172 | |     IterInternal<'a, T, LRU_N, LRU_CAP>
[INFO] [stdout]     | |_______________________________________- associated function in this implementation
[INFO] [stdout] 173 |   {
[INFO] [stdout] 174 |       fn new(cache: &'a MGLRU<T, LRU_N, LRU_CAP>) -> IterInternal<'a, T, LRU_N, LRU_CAP> {
[INFO] [stdout]     |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mglru/mglru.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn iter(&'a self) -> Iter<T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                  --          ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn iter(&'a self) -> Iter<'a, T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mglru/mglru.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn iter_internal(&'a self) -> IterInternal<T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                       --          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn iter_internal(&'a self) -> IterInternal<'a, T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `front` and `front_mut` are never used
[INFO] [stdout]   --> src/mglru/mglru.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<'a, T: Display + Copy + Default, const LRU_N: usize, const LRU_CAP: usize>
[INFO] [stdout] 12 | |     MGLRU<T, LRU_N, LRU_CAP>
[INFO] [stdout]    | |____________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |       pub fn front(&self) -> Option<&T> {
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |       pub fn front_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mglru/mglru.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn iter(&'a self) -> Iter<T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                  --          ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn iter(&'a self) -> Iter<'a, T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/mglru/mglru.rs:57:35
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn iter_internal(&'a self) -> IterInternal<T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                       --          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn iter_internal(&'a self) -> IterInternal<'a, T, LRU_N, LRU_CAP> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.92s
[INFO] running `Command { std: "docker" "inspect" "7cebfa88f45cdc4eeeadc14494b8dec22dfc4267159b87ecd8b4156f57c454c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cebfa88f45cdc4eeeadc14494b8dec22dfc4267159b87ecd8b4156f57c454c5", kill_on_drop: false }`
[INFO] [stdout] 7cebfa88f45cdc4eeeadc14494b8dec22dfc4267159b87ecd8b4156f57c454c5
