[INFO] cloning repository https://github.com/pigfox/rust-borrow-lab
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pigfox/rust-borrow-lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-borrow-lab", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-borrow-lab'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 010c5b90ccb7e1db608dc2c4cf4c53931cf0130f
[INFO] checking pigfox/rust-borrow-lab against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpigfox%2Frust-borrow-lab" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/pigfox/rust-borrow-lab
[INFO] finished tweaking git repo https://github.com/pigfox/rust-borrow-lab
[INFO] tweaked toml for git repo https://github.com/pigfox/rust-borrow-lab written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pigfox/rust-borrow-lab on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pigfox/rust-borrow-lab 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1
[INFO] running `Command { std: "docker" "start" "1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]     Checking borrow-lab v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0499]: cannot borrow `v` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/two_muts.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a = &mut v;
[INFO] [stdout]    |             ------ first mutable borrow occurs here
[INFO] [stdout] 21 |     let b = &mut v;
[INFO] [stdout]    |             ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 22 |     a.push(4);
[INFO] [stdout]    |     - first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `borrow-lab` (bin "two_muts") due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let first = &v[0];
[INFO] [stdout]    |                  - immutable borrow occurs here
[INFO] [stdout] 25 |     v.push(4);
[INFO] [stdout]    |     ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 26 |     println!("{first}");
[INFO] [stdout]    |                ----- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `v` as mutable more than once at a time
[INFO] [stdout]   --> src/bin/two_muts.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a = &mut v;
[INFO] [stdout]    |             ------ first mutable borrow occurs here
[INFO] [stdout] 21 |     let b = &mut v;
[INFO] [stdout]    |             ^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 22 |     a.push(4);
[INFO] [stdout]    |     - first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `v` as mutable because it is also borrowed as immutable
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let first = &v[0];
[INFO] [stdout]    |                  - immutable borrow occurs here
[INFO] [stdout] 25 |     v.push(4);
[INFO] [stdout]    |     ^^^^^^^^^ mutable borrow occurs here
[INFO] [stdout] 26 |     println!("{first}");
[INFO] [stdout]    |                ----- immutable borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `borrow-lab` (bin "two_muts" test) due to 1 previous error
[INFO] [stderr] error: could not compile `borrow-lab` (bin "main") due to 1 previous error
[INFO] [stderr] error: could not compile `borrow-lab` (bin "main" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1", kill_on_drop: false }`
[INFO] [stdout] 1866b2d18d0bf87f544c6e1212d8ed4933a00332c4cd054d2d380dcc267ffcd1
