[INFO] cloning repository https://github.com/misssonder/rustdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/misssonder/rustdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5e08c181174f68869e5ed05b6172f9c2569722a [INFO] checking misssonder/rustdb against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisssonder%2Frustdb" "/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/misssonder/rustdb on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/misssonder/rustdb [INFO] finished tweaking git repo https://github.com/misssonder/rustdb [INFO] tweaked toml for git repo https://github.com/misssonder/rustdb written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/misssonder/rustdb 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4545ff4e76617cf4562d6ca7abf0606ede339159777ae57c3786491240692dc2 [INFO] running `Command { std: "docker" "start" "-a" "4545ff4e76617cf4562d6ca7abf0606ede339159777ae57c3786491240692dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4545ff4e76617cf4562d6ca7abf0606ede339159777ae57c3786491240692dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4545ff4e76617cf4562d6ca7abf0606ede339159777ae57c3786491240692dc2", kill_on_drop: false }` [INFO] [stdout] 4545ff4e76617cf4562d6ca7abf0606ede339159777ae57c3786491240692dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 616bc64d6673ebcc2ec611fa4777fc072063e67901630a87a9142553410f46ed [INFO] running `Command { std: "docker" "start" "-a" "616bc64d6673ebcc2ec611fa4777fc072063e67901630a87a9142553410f46ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking rustdb v0.1.0 (/opt/rustwide/workdir/rustdb) [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> rustdb/src/storage/index/b_plus_tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> rustdb/src/buffer/buffer_poll_manager.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BufferPoolManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LruEntry` is never constructed [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct LruEntry { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_sigil` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl LruEntry { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 15 | fn new(key: K) -> LruEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn new_sigil() -> LruEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LruReplacer` is never constructed [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct LruReplacer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detach` and `attach` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 42 | / impl LruReplacer [INFO] [stdout] 43 | | where [INFO] [stdout] 44 | | K: Hash, [INFO] [stdout] | |____________- methods in this implementation [INFO] [stdout] 45 | { [INFO] [stdout] 46 | fn detach(&mut self, node: *mut LruEntry) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn attach(&mut self, node: *mut LruEntry) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `remove_last` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl LruReplacer { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new(cap: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn remove_last(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `victim`, `pin`, `unpin`, and `size` are never used [INFO] [stdout] --> rustdb/src/buffer/lru_replacer.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | impl LruReplacer { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 96 | fn victim(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn pin(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | fn unpin(&mut self, frame_id: FrameId) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> rustdb/src/storage/index/b_plus_tree.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> rustdb/src/storage/index/b_plus_tree.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl Index { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 18 | pub async fn search(&mut self, key: &K) -> RustDBResult> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn search_range(&mut self, range: Range) -> RustDBResult> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub async fn insert(&mut self, key: K, value: RecordId) -> RustDBResult<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub async fn delete(&mut self, key: &K) -> RustDBResult> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub async fn insert_inner( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub async fn delete_inner( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub async fn steal( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | async fn find_leaf(&mut self, key: &K) -> RustDBResult>> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | pub async fn merge( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | async fn init_tree(&mut self, key: K, value: RecordId) -> RustDBResult<()> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | async fn print(&mut self) -> RustDBResult<()> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io::AsyncWriteExt` [INFO] [stdout] --> rustdb/src/storage/index/b_plus_tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::io::AsyncWriteExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> rustdb/src/buffer/buffer_poll_manager.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BufferPoolManager { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pool_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.78s [INFO] running `Command { std: "docker" "inspect" "616bc64d6673ebcc2ec611fa4777fc072063e67901630a87a9142553410f46ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616bc64d6673ebcc2ec611fa4777fc072063e67901630a87a9142553410f46ed", kill_on_drop: false }` [INFO] [stdout] 616bc64d6673ebcc2ec611fa4777fc072063e67901630a87a9142553410f46ed