[INFO] cloning repository https://github.com/krlvi/wc-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krlvi/wc-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrlvi%2Fwc-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrlvi%2Fwc-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b89da8176c9215a7ec0ca69d1f418ca06808e901 [INFO] checking krlvi/wc-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrlvi%2Fwc-rs" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/krlvi/wc-rs 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/krlvi/wc-rs [INFO] finished tweaking git repo https://github.com/krlvi/wc-rs [INFO] tweaked toml for git repo https://github.com/krlvi/wc-rs written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/krlvi/wc-rs 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hashbrown v0.3.0 [INFO] [stderr] Downloaded spmc v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] [stdout] fdef030e67043c60acabd3beee66acf75068fadeeb1ec1ecf3383897adffbd09 [INFO] running `Command { std: "docker" "start" "-a" "fdef030e67043c60acabd3beee66acf75068fadeeb1ec1ecf3383897adffbd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdef030e67043c60acabd3beee66acf75068fadeeb1ec1ecf3383897adffbd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdef030e67043c60acabd3beee66acf75068fadeeb1ec1ecf3383897adffbd09", kill_on_drop: false }` [INFO] [stdout] fdef030e67043c60acabd3beee66acf75068fadeeb1ec1ecf3383897adffbd09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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] 997e1eab9ba4a2f3fcd2ffdd141b069a9d74879766202d8caba75e55f7d4ab3a [INFO] running `Command { std: "docker" "start" "-a" "997e1eab9ba4a2f3fcd2ffdd141b069a9d74879766202d8caba75e55f7d4ab3a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking spmc v0.2.2 [INFO] [stderr] Checking hashbrown v0.3.0 [INFO] [stderr] Checking wc-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: cannot borrow `dict` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(val) = dict.get(word) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 19 | dict.insert(String::from(word), *val + 1); [INFO] [stdout] | ^^^^ mutable borrow occurs here ---- 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 `re` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 62 | match re.get(&k) { [INFO] [stdout] | -- immutable borrow occurs here [INFO] [stdout] 63 | Some(ev) => { [INFO] [stdout] 64 | re.insert(k, ev + v); [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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `dict` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(val) = dict.get(word) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 19 | dict.insert(String::from(word), *val + 1); [INFO] [stdout] | ^^^^ mutable borrow occurs here ---- 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 `re` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 62 | match re.get(&k) { [INFO] [stdout] | -- immutable borrow occurs here [INFO] [stdout] 63 | Some(ev) => { [INFO] [stdout] 64 | re.insert(k, ev + v); [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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.14s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking wc-rs v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: cannot borrow `dict` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(val) = dict.get(word) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 19 | dict.insert(String::from(word), *val + 1); [INFO] [stdout] | ^^^^ mutable borrow occurs here ---- 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 `re` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 62 | match re.get(&k) { [INFO] [stdout] | -- immutable borrow occurs here [INFO] [stdout] 63 | Some(ev) => { [INFO] [stdout] 64 | re.insert(k, ev + v); [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] warning: cannot borrow `dict` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(val) = dict.get(word) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 19 | dict.insert(String::from(word), *val + 1); [INFO] [stdout] | ^^^^ mutable borrow occurs here ---- 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 `re` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 62 | match re.get(&k) { [INFO] [stdout] | -- immutable borrow occurs here [INFO] [stdout] 63 | Some(ev) => { [INFO] [stdout] 64 | re.insert(k, ev + v); [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] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "997e1eab9ba4a2f3fcd2ffdd141b069a9d74879766202d8caba75e55f7d4ab3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997e1eab9ba4a2f3fcd2ffdd141b069a9d74879766202d8caba75e55f7d4ab3a", kill_on_drop: false }` [INFO] [stdout] 997e1eab9ba4a2f3fcd2ffdd141b069a9d74879766202d8caba75e55f7d4ab3a