[INFO] cloning repository https://github.com/kajstof/RustCrashCourse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kajstof/RustCrashCourse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajstof%2FRustCrashCourse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajstof%2FRustCrashCourse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7775f74297feea7b3aa5604e788118eb5717f33f [INFO] building kajstof/RustCrashCourse against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkajstof%2FRustCrashCourse" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kajstof/RustCrashCourse [INFO] finished tweaking git repo https://github.com/kajstof/RustCrashCourse [INFO] tweaked toml for git repo https://github.com/kajstof/RustCrashCourse written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kajstof/RustCrashCourse 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/kajstof/RustCrashCourse 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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 24106edfe3f83e81a27e37daf53f97190d27f46ea3e7410893c1e57419c77676 [INFO] running `Command { std: "docker" "start" "-a" "24106edfe3f83e81a27e37daf53f97190d27f46ea3e7410893c1e57419c77676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24106edfe3f83e81a27e37daf53f97190d27f46ea3e7410893c1e57419c77676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24106edfe3f83e81a27e37daf53f97190d27f46ea3e7410893c1e57419c77676", kill_on_drop: false }` [INFO] [stdout] 24106edfe3f83e81a27e37daf53f97190d27f46ea3e7410893c1e57419c77676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ce834990148c7ee14978d067d80be08f5d1d4cd46abdd49877e41b24fb74308b [INFO] running `Command { std: "docker" "start" "-a" "ce834990148c7ee14978d067d80be08f5d1d4cd46abdd49877e41b24fb74308b", kill_on_drop: false }` [INFO] [stderr] Compiling rust_crash_course v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pointer_ref.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut vec2 = &vec1; [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] [stdout] error[E0596]: cannot borrow `*vec2` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/pointer_ref.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | vec2.push(5); [INFO] [stdout] | ^^^^ `vec2` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 14 | let mut vec2 = &mut vec1; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_crash_course` (bin "rust_crash_course") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ce834990148c7ee14978d067d80be08f5d1d4cd46abdd49877e41b24fb74308b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce834990148c7ee14978d067d80be08f5d1d4cd46abdd49877e41b24fb74308b", kill_on_drop: false }` [INFO] [stdout] ce834990148c7ee14978d067d80be08f5d1d4cd46abdd49877e41b24fb74308b