[INFO] cloning repository https://github.com/Navneet7716/rusmem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Navneet7716/rusmem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavneet7716%2Frusmem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavneet7716%2Frusmem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81a3a27ac99ab6c84f7478145eaf70a0fbf9463b [INFO] checking Navneet7716/rusmem against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavneet7716%2Frusmem" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Navneet7716/rusmem on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Navneet7716/rusmem [INFO] finished tweaking git repo https://github.com/Navneet7716/rusmem [INFO] tweaked toml for git repo https://github.com/Navneet7716/rusmem written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Navneet7716/rusmem 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Navneet7716/rusmem against try#d8a5ee01b913730aca7ab44c72c8f2722c0533ff for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNavneet7716%2Frusmem" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Navneet7716/rusmem on toolchain d8a5ee01b913730aca7ab44c72c8f2722c0533ff [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Navneet7716/rusmem [INFO] finished tweaking git repo https://github.com/Navneet7716/rusmem [INFO] tweaked toml for git repo https://github.com/Navneet7716/rusmem written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Navneet7716/rusmem 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" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85882bcb7ea049cf531cd2c959fddc505474c27c4c87ecccd59b78dba069ccfd [INFO] running `Command { std: "docker" "start" "-a" "85882bcb7ea049cf531cd2c959fddc505474c27c4c87ecccd59b78dba069ccfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85882bcb7ea049cf531cd2c959fddc505474c27c4c87ecccd59b78dba069ccfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85882bcb7ea049cf531cd2c959fddc505474c27c4c87ecccd59b78dba069ccfd", kill_on_drop: false }` [INFO] [stdout] 85882bcb7ea049cf531cd2c959fddc505474c27c4c87ecccd59b78dba069ccfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+d8a5ee01b913730aca7ab44c72c8f2722c0533ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f26512ec05825c317a0181705aa2eaff847348527b02b1a1f13b1b77f387930 [INFO] running `Command { std: "docker" "start" "-a" "2f26512ec05825c317a0181705aa2eaff847348527b02b1a1f13b1b77f387930", kill_on_drop: false }` [INFO] [stderr] Checking rredis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/persistence.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 39 | mu: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | current_tx: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/persistence.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 39 | mu: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 40 | current_tx: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/persistence.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut file = File::create(&self.data_file)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/persistence.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut file = File::create(&self.data_file)?; [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: unused variable: `kv_clone` [INFO] [stdout] --> src/main.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | fn handle_client(mut stream: TcpStream, kv_clone: Arc, persistence_clone: Arc) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `persistence_clone` [INFO] [stdout] --> src/main.rs:9:71 [INFO] [stdout] | [INFO] [stdout] 9 | fn handle_client(mut stream: TcpStream, kv_clone: Arc, persistence_clone: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_persistence_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/persistence.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut file = File::create(&self.data_file)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/persistence.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut file = File::create(&self.data_file)?; [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: unused variable: `kv_clone` [INFO] [stdout] --> src/main.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | fn handle_client(mut stream: TcpStream, kv_clone: Arc, persistence_clone: Arc) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kv_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `persistence_clone` [INFO] [stdout] --> src/main.rs:9:71 [INFO] [stdout] | [INFO] [stdout] 9 | fn handle_client(mut stream: TcpStream, kv_clone: Arc, persistence_clone: Arc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_persistence_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `score` and `member` are never read [INFO] [stdout] --> src/persistence.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SortedSetMember { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | score: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | member: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/persistence.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct KeyValueStore { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 16 | strings: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | lists: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | hashes: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | sets: HashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | sorted_sets: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | expirations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | mu: Arc>, // Using Arc> for synchronization [INFO] [stdout] | ^^ [INFO] [stdout] 23 | current_tx: Option, // Using Option for nullable current transaction [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | total_commands_processed: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | connected_clients: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kv`, `mu`, and `should_save` are never read [INFO] [stdout] --> src/persistence.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Persistence { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 46 | kv: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | data_file: String, [INFO] [stdout] 48 | mu: Mutex<()>, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | should_save: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_data` is never used [INFO] [stdout] --> src/persistence.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Persistence { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn save_data(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `score` and `member` are never read [INFO] [stdout] --> src/persistence.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct SortedSetMember { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | score: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | member: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/persistence.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct KeyValueStore { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 16 | strings: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | lists: HashMap>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | hashes: HashMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | sets: HashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | sorted_sets: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | expirations: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | mu: Arc>, // Using Arc> for synchronization [INFO] [stdout] | ^^ [INFO] [stdout] 23 | current_tx: Option, // Using Option for nullable current transaction [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | total_commands_processed: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | connected_clients: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kv`, `mu`, and `should_save` are never read [INFO] [stdout] --> src/persistence.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Persistence { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 46 | kv: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] 47 | data_file: String, [INFO] [stdout] 48 | mu: Mutex<()>, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | should_save: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_data` is never used [INFO] [stdout] --> src/persistence.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl Persistence { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn save_data(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "2f26512ec05825c317a0181705aa2eaff847348527b02b1a1f13b1b77f387930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f26512ec05825c317a0181705aa2eaff847348527b02b1a1f13b1b77f387930", kill_on_drop: false }` [INFO] [stdout] 2f26512ec05825c317a0181705aa2eaff847348527b02b1a1f13b1b77f387930