[INFO] cloning repository https://github.com/nifey/urp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nifey/urp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Furp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Furp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cb9787317e253e1fcc7da1ef6ab29a2cccd127e [INFO] checking nifey/urp against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnifey%2Furp" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nifey/urp on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nifey/urp [INFO] finished tweaking git repo https://github.com/nifey/urp [INFO] tweaked toml for git repo https://github.com/nifey/urp written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/nifey/urp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a032ce7e4540f4fefc6623dde2894eccdedb35165015bdb2add47566da62d92f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a032ce7e4540f4fefc6623dde2894eccdedb35165015bdb2add47566da62d92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a032ce7e4540f4fefc6623dde2894eccdedb35165015bdb2add47566da62d92f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a032ce7e4540f4fefc6623dde2894eccdedb35165015bdb2add47566da62d92f", kill_on_drop: false }` [INFO] [stdout] a032ce7e4540f4fefc6623dde2894eccdedb35165015bdb2add47566da62d92f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1d6d4d8378d20eed8166daf160bf09eade92e9c19e5518f31072bfae2325077 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f1d6d4d8378d20eed8166daf160bf09eade92e9c19e5518f31072bfae2325077", kill_on_drop: false }` [INFO] [stderr] Checking urp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cubelist.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(cubelist_2) = index.get(&input2) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 103 | index.insert(output, cubelist_1.and(cubelist_2)); [INFO] [stdout] | ^^^^^ mutable borrow occurs here ---------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(cubelist_1) = index.get(&input) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 87 | index.insert(output, cubelist_1.complement()); [INFO] [stdout] | ^^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(cubelist_2) = index.get(&input2) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 122 | index.insert(output, cubelist_1.or(cubelist_2)); [INFO] [stdout] | ^^^^^ mutable borrow occurs here ---------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `urp` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(cubelist_2) = index.get(&input2) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 103 | index.insert(output, cubelist_1.and(cubelist_2)); [INFO] [stdout] | ^^^^^ mutable borrow occurs here ---------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(cubelist_1) = index.get(&input) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 87 | index.insert(output, cubelist_1.complement()); [INFO] [stdout] | ^^^^^ ---------- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot borrow `*index` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(cubelist_2) = index.get(&input2) { [INFO] [stdout] | ----- immutable borrow occurs here [INFO] [stdout] 122 | index.insert(output, cubelist_1.or(cubelist_2)); [INFO] [stdout] | ^^^^^ mutable borrow occurs here ---------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut cube_y = Cube::from(vec![1, 0, -1]); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | let mut cube_x = Cube::from(vec![1, 0, 0]); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cube.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut cube_z = Cube::from(vec![1, 0, -1]); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f1d6d4d8378d20eed8166daf160bf09eade92e9c19e5518f31072bfae2325077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d6d4d8378d20eed8166daf160bf09eade92e9c19e5518f31072bfae2325077", kill_on_drop: false }` [INFO] [stdout] f1d6d4d8378d20eed8166daf160bf09eade92e9c19e5518f31072bfae2325077