[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-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/hgallagher1993/Calculator"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/hgallagher1993/Calculator'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hgallagher1993/Calculator" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/hgallagher1993/Calculator"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hgallagher1993/Calculator on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-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-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/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-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking hgallagher1993/Calculator against try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-2/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e7485cb80668daf3c61a3c14803f8eb9504fc5e52fed12b9e5ce293a0f09499c [INFO] running `"docker" "start" "-a" "e7485cb80668daf3c61a3c14803f8eb9504fc5e52fed12b9e5ce293a0f09499c"` [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: 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: 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.24s [INFO] running `"docker" "inspect" "e7485cb80668daf3c61a3c14803f8eb9504fc5e52fed12b9e5ce293a0f09499c"` [INFO] running `"docker" "rm" "-f" "e7485cb80668daf3c61a3c14803f8eb9504fc5e52fed12b9e5ce293a0f09499c"` [INFO] [stdout] e7485cb80668daf3c61a3c14803f8eb9504fc5e52fed12b9e5ce293a0f09499c