[INFO] cloning repository https://github.com/mohammedsahil74/rust_problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mohammedsahil74/rust_problems" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammedsahil74%2Frust_problems", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammedsahil74%2Frust_problems'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92f93a48d054c85837fe02202d9a4d9514da9dc2 [INFO] building mohammedsahil74/rust_problems against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmohammedsahil74%2Frust_problems" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mohammedsahil74/rust_problems [INFO] finished tweaking git repo https://github.com/mohammedsahil74/rust_problems [INFO] tweaked toml for git repo https://github.com/mohammedsahil74/rust_problems written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mohammedsahil74/rust_problems on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mohammedsahil74/rust_problems 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c907dbd2a33f922087044a472ea4f532bf807af2f72916b97694fc198c968034 [INFO] running `Command { std: "docker" "start" "-a" "c907dbd2a33f922087044a472ea4f532bf807af2f72916b97694fc198c968034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c907dbd2a33f922087044a472ea4f532bf807af2f72916b97694fc198c968034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c907dbd2a33f922087044a472ea4f532bf807af2f72916b97694fc198c968034", kill_on_drop: false }` [INFO] [stdout] c907dbd2a33f922087044a472ea4f532bf807af2f72916b97694fc198c968034 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d9fc20ed531dcf12c8a65ffca16666c436cbd6fe61a931a15f62f8ab6573b31 [INFO] running `Command { std: "docker" "start" "-a" "5d9fc20ed531dcf12c8a65ffca16666c436cbd6fe61a931a15f62f8ab6573b31", kill_on_drop: false }` [INFO] [stderr] Compiling rust_problems v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: cannot multiply `f64` by `u64` [INFO] [stdout] --> src/bin/problem7.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | return price*quantity; [INFO] [stdout] | ^ no implementation for `f64 * u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul` is not implemented for `f64` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&f64` implements `Mul` [INFO] [stdout] `&f64` implements `Mul` [INFO] [stdout] `f64` implements `Mul<&f64>` [INFO] [stdout] `f64` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/problem_1.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let mut counter = 5; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_problems` (bin "problem7") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5d9fc20ed531dcf12c8a65ffca16666c436cbd6fe61a931a15f62f8ab6573b31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d9fc20ed531dcf12c8a65ffca16666c436cbd6fe61a931a15f62f8ab6573b31", kill_on_drop: false }` [INFO] [stdout] 5d9fc20ed531dcf12c8a65ffca16666c436cbd6fe61a931a15f62f8ab6573b31