[INFO] updating cached repository hgallagher1993/Calculator [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hgallagher1993/Calculator [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hgallagher1993/Calculator" "work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/hgallagher1993/Calculator"` [INFO] [stderr] Cloning into 'work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/hgallagher1993/Calculator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hgallagher1993/Calculator" "work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/hgallagher1993/Calculator"` [INFO] [stderr] Cloning into 'work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/hgallagher1993/Calculator'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d9a503417e94bb8d5beef654147b5cf798d55c40 [INFO] sha for GitHub repo hgallagher1993/Calculator: d9a503417e94bb8d5beef654147b5cf798d55c40 [INFO] validating manifest of hgallagher1993/Calculator on toolchain master#c43d03a19f326f4a323569328cc501e86eb6d22e [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hgallagher1993/Calculator on toolchain try#75eff020d0923c035c2fe220db4a0465cd847048 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing hgallagher1993/Calculator [INFO] finished frobbing hgallagher1993/Calculator [INFO] frobbed toml for hgallagher1993/Calculator written to work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/hgallagher1993/Calculator/Cargo.toml [INFO] started frobbing hgallagher1993/Calculator [INFO] finished frobbing hgallagher1993/Calculator [INFO] frobbed toml for hgallagher1993/Calculator written to work/ex/pr-63565/sources/try#75eff020d0923c035c2fe220db4a0465cd847048/gh/hgallagher1993/Calculator/Cargo.toml [INFO] crate hgallagher1993/Calculator already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+75eff020d0923c035c2fe220db4a0465cd847048-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking hgallagher1993/Calculator against master#c43d03a19f326f4a323569328cc501e86eb6d22e for pr-63565 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63565/worker-1/master#c43d03a19f326f4a323569328cc501e86eb6d22e:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63565/sources/master#c43d03a19f326f4a323569328cc501e86eb6d22e/gh/hgallagher1993/Calculator:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c43d03a19f326f4a323569328cc501e86eb6d22e-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1767c28690a73aa1090ced4b090edb036748e4034854cdff47e64446c7afdc40 [INFO] running `"docker" "start" "-a" "1767c28690a73aa1090ced4b090edb036748e4034854cdff47e64446c7afdc40"` [INFO] [stderr] warning: path `/opt/crater/workdir/src/Calculator.rs` was erroneously implicitly accepted for binary `Calculator`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Checking Calculator v0.0.1 (/opt/crater/workdir) [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/Calculator.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | if(flag == false) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/Calculator.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | if(operator == '=') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/Calculator.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | let mut operator: char = operator_string.chars() [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `Calculator` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `calculator` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/Calculator.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | if(flag == false) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/Calculator.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | if(operator == '=') [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/Calculator.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | let mut operator: char = operator_string.chars() [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: crate `Calculator` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `calculator` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `"docker" "inspect" "1767c28690a73aa1090ced4b090edb036748e4034854cdff47e64446c7afdc40"` [INFO] running `"docker" "rm" "-f" "1767c28690a73aa1090ced4b090edb036748e4034854cdff47e64446c7afdc40"` [INFO] [stdout] 1767c28690a73aa1090ced4b090edb036748e4034854cdff47e64446c7afdc40