[INFO] cloning repository https://github.com/Yougigun/rust_for_rustaceans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yougigun/rust_for_rustaceans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYougigun%2Frust_for_rustaceans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYougigun%2Frust_for_rustaceans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8677dac2ef03217bf2e18a2f90e96bed30bb10c8 [INFO] checking Yougigun/rust_for_rustaceans against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYougigun%2Frust_for_rustaceans" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Yougigun/rust_for_rustaceans [INFO] finished tweaking git repo https://github.com/Yougigun/rust_for_rustaceans [INFO] tweaked toml for git repo https://github.com/Yougigun/rust_for_rustaceans written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Yougigun/rust_for_rustaceans on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Yougigun/rust_for_rustaceans 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" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f320776cb48f48f6f168b8f345cdb6a7a9d335e7dda8bd3d7aba713ba7d0e923 [INFO] running `Command { std: "docker" "start" "-a" "f320776cb48f48f6f168b8f345cdb6a7a9d335e7dda8bd3d7aba713ba7d0e923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f320776cb48f48f6f168b8f345cdb6a7a9d335e7dda8bd3d7aba713ba7d0e923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f320776cb48f48f6f168b8f345cdb6a7a9d335e7dda8bd3d7aba713ba7d0e923", kill_on_drop: false }` [INFO] [stdout] f320776cb48f48f6f168b8f345cdb6a7a9d335e7dda8bd3d7aba713ba7d0e923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af066f34219ba621860593cd2718402f30da2f63fda0df9b98e91b3259c7f639 [INFO] running `Command { std: "docker" "start" "-a" "af066f34219ba621860593cd2718402f30da2f63fda0df9b98e91b3259c7f639", kill_on_drop: false }` [INFO] [stderr] Checking listing_1-2 v0.1.0 (/opt/rustwide/workdir/listing_1-2) [INFO] [stdout] error[E0506]: cannot assign to `x` because it is borrowed [INFO] [stdout] --> listing_1-2/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | let y = &x; [INFO] [stdout] | -- `x` is borrowed here [INFO] [stdout] 8 | // this establishes a second, mutable flow from x: [INFO] [stdout] 9 | x = 43; [INFO] [stdout] | ^^^^^^ `x` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 12 | assert_eq!(*y, 42); [INFO] [stdout] | ------------------ borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0506]: cannot assign to `x` because it is borrowed [INFO] [stdout] --> listing_1-2/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | let y = &x; [INFO] [stdout] | -- `x` is borrowed here [INFO] [stdout] 8 | // this establishes a second, mutable flow from x: [INFO] [stdout] 9 | x = 43; [INFO] [stdout] | ^^^^^^ `x` is assigned to here but it was already borrowed [INFO] [stdout] ... [INFO] [stdout] 12 | assert_eq!(*y, 42); [INFO] [stdout] | ------------------ borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> listing_1-2/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | x = 43; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> listing_1-2/src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | x = 43; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0506`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0506`. [INFO] [stdout] [INFO] [stderr] error: could not compile `listing_1-2` (bin "listing_1-2" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `listing_1-2` (bin "listing_1-2") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "af066f34219ba621860593cd2718402f30da2f63fda0df9b98e91b3259c7f639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af066f34219ba621860593cd2718402f30da2f63fda0df9b98e91b3259c7f639", kill_on_drop: false }` [INFO] [stdout] af066f34219ba621860593cd2718402f30da2f63fda0df9b98e91b3259c7f639