[INFO] cloning repository https://github.com/lampij/HashTable [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lampij/HashTable" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flampij%2FHashTable", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flampij%2FHashTable'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6dd4f350b75ac9d941cf815b203a9fc94bcdba9c [INFO] checking lampij/HashTable against master#5dfe648b45659db8dd0a673a806bba3df84aa3af for pr-134273 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flampij%2FHashTable" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lampij/HashTable on toolchain 5dfe648b45659db8dd0a673a806bba3df84aa3af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lampij/HashTable [INFO] finished tweaking git repo https://github.com/lampij/HashTable [INFO] tweaked toml for git repo https://github.com/lampij/HashTable written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lampij/HashTable 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" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a018bd09572b79ea5a7ac60d03a666115fd21d8b015ba334975bbf1216612070 [INFO] running `Command { std: "docker" "start" "-a" "a018bd09572b79ea5a7ac60d03a666115fd21d8b015ba334975bbf1216612070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a018bd09572b79ea5a7ac60d03a666115fd21d8b015ba334975bbf1216612070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a018bd09572b79ea5a7ac60d03a666115fd21d8b015ba334975bbf1216612070", kill_on_drop: false }` [INFO] [stdout] a018bd09572b79ea5a7ac60d03a666115fd21d8b015ba334975bbf1216612070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+5dfe648b45659db8dd0a673a806bba3df84aa3af" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23f3a9381eef07c9533a4072fb19de5ee524cf1a93c8b58b4106e7750e189819 [INFO] running `Command { std: "docker" "start" "-a" "23f3a9381eef07c9533a4072fb19de5ee524cf1a93c8b58b4106e7750e189819", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking HashTable v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hash_table.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn hash_fun(mut key: &str) -> usize { [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/hash_table.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | let mut key_as_byte_array = key.as_bytes(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HashTable` is never constructed [INFO] [stdout] --> src/hash_table.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HashTable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HashTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `add`, `get`, and `new` are never used [INFO] [stdout] --> src/hash_table.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl HashTable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 8 | pub fn add(&mut self, key: &String, value: &String) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn get(&self, key: &String) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new() -> HashTable { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_fun` is never used [INFO] [stdout] --> src/hash_table.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn hash_fun(mut key: &str) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hash_table.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn hash_fun(mut key: &str) -> usize { [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/hash_table.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | let mut key_as_byte_array = key.as_bytes(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "23f3a9381eef07c9533a4072fb19de5ee524cf1a93c8b58b4106e7750e189819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23f3a9381eef07c9533a4072fb19de5ee524cf1a93c8b58b4106e7750e189819", kill_on_drop: false }` [INFO] [stdout] 23f3a9381eef07c9533a4072fb19de5ee524cf1a93c8b58b4106e7750e189819