[INFO] fetching crate closure_with_lee_study 0.1.0...
[INFO] checking closure_with_lee_study-0.1.0 against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] extracting crate closure_with_lee_study 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate closure_with_lee_study 0.1.0
[INFO] finished tweaking crates.io crate closure_with_lee_study 0.1.0
[INFO] tweaked toml for crates.io crate closure_with_lee_study 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate closure_with_lee_study 0.1.0 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] crate crates.io crate closure_with_lee_study 0.1.0 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ef2ff3df21bb7165cbbeb4c1ddd9c3947e129570a666191be5d1e4fe7894d112
[INFO] running `Command { std: "docker" "start" "-a" "ef2ff3df21bb7165cbbeb4c1ddd9c3947e129570a666191be5d1e4fe7894d112", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef2ff3df21bb7165cbbeb4c1ddd9c3947e129570a666191be5d1e4fe7894d112", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef2ff3df21bb7165cbbeb4c1ddd9c3947e129570a666191be5d1e4fe7894d112", kill_on_drop: false }`
[INFO] [stdout] ef2ff3df21bb7165cbbeb4c1ddd9c3947e129570a666191be5d1e4fe7894d112
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c8c3254ea9e852115553eb4d7fb490b231e895e80adf5467ecba38b5347f1d98
[INFO] running `Command { std: "docker" "start" "-a" "c8c3254ea9e852115553eb4d7fb490b231e895e80adf5467ecba38b5347f1d98", kill_on_drop: false }`
[INFO] [stderr]     Checking closure_with_lee_study v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Counter {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 39 |     fn new() -> Counter {
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]   --> src/lib.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let v2: Vec<_> = v1_iter.map(|x| x + 1).collect();
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut counter = Counter::new();
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `counter`
[INFO] [stdout]   --> src/lib.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let mut counter = Counter::new();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_counter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher` is never constructed
[INFO] [stdout]  --> src/main.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Cacher<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: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/main.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl<T> Cacher<T>
[INFO] [stdout] 13 | | where
[INFO] [stdout] 14 | |     T: Fn(u32) -> u32,
[INFO] [stdout]    | |______________________- associated items in this implementation
[INFO] [stdout] 15 |   {
[INFO] [stdout] 16 |       fn new(calc: T) -> Cacher<T> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       fn value(&mut self, arg: u32) -> u32 {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_workout` is never used
[INFO] [stdout]   --> src/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn generate_workout(instensity: u32, random_number: u32) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cacher` is never constructed
[INFO] [stdout]  --> src/main.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Cacher<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: associated items `new` and `value` are never used
[INFO] [stdout]   --> src/main.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | / impl<T> Cacher<T>
[INFO] [stdout] 13 | | where
[INFO] [stdout] 14 | |     T: Fn(u32) -> u32,
[INFO] [stdout]    | |______________________- associated items in this implementation
[INFO] [stdout] 15 |   {
[INFO] [stdout] 16 |       fn new(calc: T) -> Cacher<T> {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |       fn value(&mut self, arg: u32) -> u32 {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_workout` is never used
[INFO] [stdout]   --> src/main.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn generate_workout(instensity: u32, random_number: u32) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] running `Command { std: "docker" "inspect" "c8c3254ea9e852115553eb4d7fb490b231e895e80adf5467ecba38b5347f1d98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8c3254ea9e852115553eb4d7fb490b231e895e80adf5467ecba38b5347f1d98", kill_on_drop: false }`
[INFO] [stdout] c8c3254ea9e852115553eb4d7fb490b231e895e80adf5467ecba38b5347f1d98
