[INFO] cloning repository https://github.com/cameron-williams/zkru [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cameron-williams/zkru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcameron-williams%2Fzkru", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcameron-williams%2Fzkru'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 367194b472325b15315566bd7e2249f8d24c4ffd [INFO] checking cameron-williams/zkru against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcameron-williams%2Fzkru" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cameron-williams/zkru on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cameron-williams/zkru [INFO] finished tweaking git repo https://github.com/cameron-williams/zkru [INFO] tweaked toml for git repo https://github.com/cameron-williams/zkru written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/cameron-williams/zkru already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4da9c936c82a23a533a3ab8ca834d8ff9d93925089a6b29fd83948b9d08bedde [INFO] running `Command { std: "docker" "start" "-a" "4da9c936c82a23a533a3ab8ca834d8ff9d93925089a6b29fd83948b9d08bedde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4da9c936c82a23a533a3ab8ca834d8ff9d93925089a6b29fd83948b9d08bedde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4da9c936c82a23a533a3ab8ca834d8ff9d93925089a6b29fd83948b9d08bedde", kill_on_drop: false }` [INFO] [stdout] 4da9c936c82a23a533a3ab8ca834d8ff9d93925089a6b29fd83948b9d08bedde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a52d5971bf1610569527241ad974ebd7de3a7c71101605c534c11b973a4d355c [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" "a52d5971bf1610569527241ad974ebd7de3a7c71101605c534c11b973a4d355c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking zkru v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 163 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 164 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(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] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 131 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 132 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 142 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 143 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 151 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 152 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 163 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 164 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(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] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 131 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 132 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 142 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 143 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 151 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 152 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.39s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking zkru v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 163 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 164 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(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] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 131 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 132 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 163 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 164 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(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] warning: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 131 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 132 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 142 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 143 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 151 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 152 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 142 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 143 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: cannot borrow `current_line` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 115 | let cap = if let Some(c) = pattern.captures(¤t_line) {c} else {break}; [INFO] [stdout] | ------------- immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 151 | current_line.replace_range( [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 152 | cap.get(0).unwrap().range(), [INFO] [stdout] | --- 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "a52d5971bf1610569527241ad974ebd7de3a7c71101605c534c11b973a4d355c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52d5971bf1610569527241ad974ebd7de3a7c71101605c534c11b973a4d355c", kill_on_drop: false }` [INFO] [stdout] a52d5971bf1610569527241ad974ebd7de3a7c71101605c534c11b973a4d355c