[INFO] updating cached repository https://github.com/hgallagher1993/Calculator [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d9a503417e94bb8d5beef654147b5cf798d55c40 [INFO] checking hgallagher1993/Calculator against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhgallagher1993%2FCalculator" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hgallagher1993/Calculator on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/hgallagher1993/Calculator [INFO] finished tweaking git repo https://github.com/hgallagher1993/Calculator [INFO] tweaked toml for git repo https://github.com/hgallagher1993/Calculator written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/hgallagher1993/Calculator already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: path `/workspace/builds/worker-4/source/src/Calculator.rs` was erroneously implicitly accepted for binary `Calculator`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2e1dc0dd3cf95157e79a9a4e751edcb74554612ccd34480c29e7ea41f2c347b [INFO] running `"docker" "start" "-a" "a2e1dc0dd3cf95157e79a9a4e751edcb74554612ccd34480c29e7ea41f2c347b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: path `/opt/rustwide/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/rustwide/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: 4 warnings emitted [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: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `"docker" "inspect" "a2e1dc0dd3cf95157e79a9a4e751edcb74554612ccd34480c29e7ea41f2c347b"` [INFO] running `"docker" "rm" "-f" "a2e1dc0dd3cf95157e79a9a4e751edcb74554612ccd34480c29e7ea41f2c347b"` [INFO] [stdout] a2e1dc0dd3cf95157e79a9a4e751edcb74554612ccd34480c29e7ea41f2c347b