[INFO] cloning repository https://github.com/quantanotes/kv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quantanotes/kv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquantanotes%2Fkv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquantanotes%2Fkv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36615ce06c6bcfe7c683b21abc110fc133a164f2 [INFO] checking quantanotes/kv against master#4d1bd0db7f489b22c6d8aa2385937a95412c015b for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquantanotes%2Fkv" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quantanotes/kv on toolchain 4d1bd0db7f489b22c6d8aa2385937a95412c015b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quantanotes/kv [INFO] finished tweaking git repo https://github.com/quantanotes/kv [INFO] tweaked toml for git repo https://github.com/quantanotes/kv written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/quantanotes/kv 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" "+4d1bd0db7f489b22c6d8aa2385937a95412c015b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking quantanotes/kv against try#785364c7e5e0804473a3fddfb579798ea14e3493 for pr-114682 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquantanotes%2Fkv" "/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/quantanotes/kv on toolchain 785364c7e5e0804473a3fddfb579798ea14e3493 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quantanotes/kv [INFO] finished tweaking git repo https://github.com/quantanotes/kv [INFO] tweaked toml for git repo https://github.com/quantanotes/kv written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/quantanotes/kv 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" "+785364c7e5e0804473a3fddfb579798ea14e3493" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b191435dd03d2616e9acaa930823e6324443d5159652d818f480cafdbcc2667 [INFO] running `Command { std: "docker" "start" "-a" "1b191435dd03d2616e9acaa930823e6324443d5159652d818f480cafdbcc2667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b191435dd03d2616e9acaa930823e6324443d5159652d818f480cafdbcc2667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b191435dd03d2616e9acaa930823e6324443d5159652d818f480cafdbcc2667", kill_on_drop: false }` [INFO] [stdout] 1b191435dd03d2616e9acaa930823e6324443d5159652d818f480cafdbcc2667 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+785364c7e5e0804473a3fddfb579798ea14e3493" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3da10732314e21bc56e863740824a39b0ebd5625f232021166cd3b09f1ff4350 [INFO] running `Command { std: "docker" "start" "-a" "3da10732314e21bc56e863740824a39b0ebd5625f232021166cd3b09f1ff4350", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling virtue v0.0.13 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling bincode_derive v2.0.0-rc.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking memmap2 v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking bincode v2.0.0-rc.3 [INFO] [stderr] Checking kv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/tree.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn search(&self, key: &[u8]) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/tree.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | Node::Leaf(node) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/tree.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | fn search_recursive(&self, node: &Node, key: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BoundsError` is never constructed [INFO] [stdout] --> src/disk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum DiskError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | BoundsError(usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskError` 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: struct `Disk` is never constructed [INFO] [stdout] --> src/disk.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Disk { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, `write`, `allocate`, `size`, and `page_range` are never used [INFO] [stdout] --> src/disk.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Disk { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn read(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn write(&mut self, index: usize, page: &Page) -> Result<(), DiskError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn allocate(&mut self, size: usize) -> Result<(), DiskError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn page_range(index: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/tree.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `search`, `insert`, `insert_recursive`, and `search_recursive` are never used [INFO] [stdout] --> src/tree.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(path: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn search(&self, key: &[u8]) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | pub fn insert(&mut self, key: &[u8], value: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn insert_recursive(&self, node: &mut Node, key: &[u8], value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn search_recursive(&self, node: &Node, key: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/tree.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn search(&self, key: &[u8]) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/tree.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | Node::Leaf(node) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/tree.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | fn search_recursive(&self, node: &Node, key: &[u8]) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `disk` and `root` are never read [INFO] [stdout] --> src/tree.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Tree { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | disk: Disk, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | root: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search`, `insert`, `insert_recursive`, and `search_recursive` are never used [INFO] [stdout] --> src/tree.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Tree { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn search(&self, key: &[u8]) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | pub fn insert(&mut self, key: &[u8], value: &[u8]) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn insert_recursive(&self, node: &mut Node, key: &[u8], value: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn search_recursive(&self, node: &Node, key: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tree.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | disk.write(0, &page); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = disk.write(0, &page); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/tree.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | disk.write(0, &page); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | let _ = disk.write(0, &page); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.40s [INFO] running `Command { std: "docker" "inspect" "3da10732314e21bc56e863740824a39b0ebd5625f232021166cd3b09f1ff4350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3da10732314e21bc56e863740824a39b0ebd5625f232021166cd3b09f1ff4350", kill_on_drop: false }` [INFO] [stdout] 3da10732314e21bc56e863740824a39b0ebd5625f232021166cd3b09f1ff4350