[INFO] cloning repository https://github.com/Travispersson/word-counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Travispersson/word-counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTravispersson%2Fword-counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTravispersson%2Fword-counter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d06397a739c99b6c82b61b0d8cbc42c27061cb9 [INFO] checking Travispersson/word-counter against try#eb43a7af9abeacf703345e49daba222ddc0623e9 for pr-95565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTravispersson%2Fword-counter" "/workspace/builds/worker-62/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-62/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Travispersson/word-counter on toolchain eb43a7af9abeacf703345e49daba222ddc0623e9 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Travispersson/word-counter [INFO] finished tweaking git repo https://github.com/Travispersson/word-counter [INFO] tweaked toml for git repo https://github.com/Travispersson/word-counter written to /workspace/builds/worker-62/source/Cargo.toml [INFO] crate git repo https://github.com/Travispersson/word-counter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3baa02b49f95a03b5ac5aaaae4af23b213494dae651b340a05e3ec2783b9293 [INFO] running `Command { std: "docker" "start" "-a" "e3baa02b49f95a03b5ac5aaaae4af23b213494dae651b340a05e3ec2783b9293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3baa02b49f95a03b5ac5aaaae4af23b213494dae651b340a05e3ec2783b9293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3baa02b49f95a03b5ac5aaaae4af23b213494dae651b340a05e3ec2783b9293", kill_on_drop: false }` [INFO] [stdout] e3baa02b49f95a03b5ac5aaaae4af23b213494dae651b340a05e3ec2783b9293 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+eb43a7af9abeacf703345e49daba222ddc0623e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20827e2ac47dc68e9ca6ef175a7c2ff40c34d0e5de6d7fa909f0f8922ef9f571 [INFO] running `Command { std: "docker" "start" "-a" "20827e2ac47dc68e9ca6ef175a7c2ff40c34d0e5de6d7fa909f0f8922ef9f571", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking word_count v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | std::mem::replace(&mut self.buckets, new_buckets); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | std::mem::replace(&mut self.buckets, new_buckets); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*ht` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(val) = ht.lookup(&w_string) { [INFO] [stdout] | -------------------- immutable borrow occurs here [INFO] [stdout] 9 | ht.insert(w_string, val + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `word_count` due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `*ht` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | if let Some(val) = ht.lookup(&w_string) { [INFO] [stdout] | -------------------- immutable borrow occurs here [INFO] [stdout] 9 | ht.insert(w_string, val + 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | immutable borrow later used here [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `word_count` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "20827e2ac47dc68e9ca6ef175a7c2ff40c34d0e5de6d7fa909f0f8922ef9f571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20827e2ac47dc68e9ca6ef175a7c2ff40c34d0e5de6d7fa909f0f8922ef9f571", kill_on_drop: false }` [INFO] [stdout] 20827e2ac47dc68e9ca6ef175a7c2ff40c34d0e5de6d7fa909f0f8922ef9f571