[INFO] cloning repository https://github.com/JulienMalcouronne/rust_calculator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JulienMalcouronne/rust_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulienMalcouronne%2Frust_calculator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulienMalcouronne%2Frust_calculator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42c25e589bf56668070de6430ccbe3c6c7e55fd7
[INFO] checking JulienMalcouronne/rust_calculator against try#ae258e1fcbee4a062f5f3d869f06004d7cea088e for pr-135272
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulienMalcouronne%2Frust_calculator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JulienMalcouronne/rust_calculator on toolchain ae258e1fcbee4a062f5f3d869f06004d7cea088e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JulienMalcouronne/rust_calculator
[INFO] finished tweaking git repo https://github.com/JulienMalcouronne/rust_calculator
[INFO] tweaked toml for git repo https://github.com/JulienMalcouronne/rust_calculator written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/JulienMalcouronne/rust_calculator 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" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking JulienMalcouronne/rust_calculator against try#ae258e1fcbee4a062f5f3d869f06004d7cea088e for pr-135272
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJulienMalcouronne%2Frust_calculator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JulienMalcouronne/rust_calculator on toolchain ae258e1fcbee4a062f5f3d869f06004d7cea088e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JulienMalcouronne/rust_calculator
[INFO] finished tweaking git repo https://github.com/JulienMalcouronne/rust_calculator
[INFO] tweaked toml for git repo https://github.com/JulienMalcouronne/rust_calculator written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/JulienMalcouronne/rust_calculator 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" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ba34844f5671874bd9f4f020f496734fb516904678ebe76df478b3890a16960
[INFO] running `Command { std: "docker" "start" "-a" "9ba34844f5671874bd9f4f020f496734fb516904678ebe76df478b3890a16960", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ba34844f5671874bd9f4f020f496734fb516904678ebe76df478b3890a16960", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ba34844f5671874bd9f4f020f496734fb516904678ebe76df478b3890a16960", kill_on_drop: false }`
[INFO] [stdout] 9ba34844f5671874bd9f4f020f496734fb516904678ebe76df478b3890a16960
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3c6168d909b1fb4c35c03d15dfaff2eb408d43e9d690b644c293a6442ce29f62
[INFO] running `Command { std: "docker" "start" "-a" "3c6168d909b1fb4c35c03d15dfaff2eb408d43e9d690b644c293a6442ce29f62", kill_on_drop: false }`
[INFO] [stderr]     Checking calculator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parsed_num`
[INFO] [stdout]   --> src/main.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut parsed_num = num.clone();
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parsed_num`
[INFO] [stdout]   --> src/main.rs:52:25
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut parsed_num = num.clone();
[INFO] [stdout]    |                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parsed_num`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut parsed_num = num.clone();
[INFO] [stdout]    |                     ----^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut parsed_num = num.clone();
[INFO] [stdout]    |                     ----^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Mean` and `Remainder` are never constructed
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Operations {
[INFO] [stdout]   |      ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     Mean,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     Remainder,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Mean` and `Remainder` are never constructed
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum Operations {
[INFO] [stdout]   |      ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 8 |     Mean,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     Remainder,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/main.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut parsed_num = num.clone();
[INFO] [stdout]    |                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `findMean` should have a snake case name
[INFO] [stdout]    --> src/main.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn findMean(values: Vec<i32>) {
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `find_mean`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `findRemainder` should have a snake case name
[INFO] [stdout]    --> src/main.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn findRemainder(values: (i64, f32)) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_remainder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/main.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 |                 let mut parsed_num = num.clone();
[INFO] [stdout]    |                                         ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `findMean` should have a snake case name
[INFO] [stdout]    --> src/main.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn findMean(values: Vec<i32>) {
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `find_mean`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `findRemainder` should have a snake case name
[INFO] [stdout]    --> src/main.rs:140:4
[INFO] [stdout]     |
[INFO] [stdout] 140 | fn findRemainder(values: (i64, f32)) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_remainder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] running `Command { std: "docker" "inspect" "3c6168d909b1fb4c35c03d15dfaff2eb408d43e9d690b644c293a6442ce29f62", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c6168d909b1fb4c35c03d15dfaff2eb408d43e9d690b644c293a6442ce29f62", kill_on_drop: false }`
[INFO] [stdout] 3c6168d909b1fb4c35c03d15dfaff2eb408d43e9d690b644c293a6442ce29f62
