[INFO] updating cached repository https://github.com/agraven/rusty-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] 8329b708e3a69571730be9386e830f969bb7e838 [INFO] checking agraven/rusty-calculator against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fagraven%2Frusty-calculator" "/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/agraven/rusty-calculator on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/agraven/rusty-calculator [INFO] finished tweaking git repo https://github.com/agraven/rusty-calculator [INFO] tweaked toml for git repo https://github.com/agraven/rusty-calculator written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/agraven/rusty-calculator already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "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" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "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] 8a63baecf21ba1fc9ff75416cb0e3686ea369fdcf6d933a721b20450e1946250 [INFO] running `"docker" "start" "-a" "8a63baecf21ba1fc9ff75416cb0e3686ea369fdcf6d933a721b20450e1946250"` [INFO] [stderr] Checking rusty-calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected one of `=>`, `if`, or `|`, found `(` [INFO] [stderr] --> src/calculate.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | _(ref mut prev_val: f64) => *prev_val = prev_val.powf(val), [INFO] [stderr] | ^ expected one of `=>`, `if`, or `|` [INFO] [stderr] [INFO] [stderr] error: expected one of `=>`, `if`, or `|`, found `(` [INFO] [stderr] --> src/calculate.rs:56:6 [INFO] [stderr] | [INFO] [stderr] 56 | _(ref mut prev_val: f64) => *prev_val = prev_val.powf(val), [INFO] [stderr] | ^ expected one of `=>`, `if`, or `|` [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/calculate.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 55 | match operations[index-1] { [INFO] [stderr] | _____________- [INFO] [stderr] 56 | | _(ref mut prev_val: f64) => *prev_val = prev_val.powf(val), [INFO] [stderr] 57 | | /*Add(ref mut prev_val) => *prev_val = prev_val.powf(val), [INFO] [stderr] 58 | | Subtract(ref mut prev_val) => *prev_val = prev_val.powf(val), [INFO] [stderr] ... | [INFO] [stderr] 62 | | _ => return Err("Operation not implemented yet"), [INFO] [stderr] 63 | | } [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] 64 | operations.remove(index); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `rusty-calculator`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/calculate.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 55 | match operations[index-1] { [INFO] [stderr] | _____________- [INFO] [stderr] 56 | | _(ref mut prev_val: f64) => *prev_val = prev_val.powf(val), [INFO] [stderr] 57 | | /*Add(ref mut prev_val) => *prev_val = prev_val.powf(val), [INFO] [stderr] 58 | | Subtract(ref mut prev_val) => *prev_val = prev_val.powf(val), [INFO] [stderr] ... | [INFO] [stderr] 62 | | _ => return Err("Operation not implemented yet"), [INFO] [stderr] 63 | | } [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] 64 | operations.remove(index); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `rusty-calculator`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8a63baecf21ba1fc9ff75416cb0e3686ea369fdcf6d933a721b20450e1946250"` [INFO] running `"docker" "rm" "-f" "8a63baecf21ba1fc9ff75416cb0e3686ea369fdcf6d933a721b20450e1946250"` [INFO] [stdout] 8a63baecf21ba1fc9ff75416cb0e3686ea369fdcf6d933a721b20450e1946250