[INFO] cloning repository https://github.com/meiji163/bokedb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meiji163/bokedb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeiji163%2Fbokedb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeiji163%2Fbokedb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f04fb7c8c753735286c7121c45fc470ec4d1adce [INFO] checking meiji163/bokedb against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeiji163%2Fbokedb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/meiji163/bokedb [INFO] finished tweaking git repo https://github.com/meiji163/bokedb [INFO] tweaked toml for git repo https://github.com/meiji163/bokedb written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/meiji163/bokedb on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/meiji163/bokedb 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 940df48a4bbbdf15a7b2453bdfa8cd96f1c7eee6c1a868da59ebae6209e44d5a [INFO] running `Command { std: "docker" "start" "-a" "940df48a4bbbdf15a7b2453bdfa8cd96f1c7eee6c1a868da59ebae6209e44d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "940df48a4bbbdf15a7b2453bdfa8cd96f1c7eee6c1a868da59ebae6209e44d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940df48a4bbbdf15a7b2453bdfa8cd96f1c7eee6c1a868da59ebae6209e44d5a", kill_on_drop: false }` [INFO] [stdout] 940df48a4bbbdf15a7b2453bdfa8cd96f1c7eee6c1a868da59ebae6209e44d5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de30582df6501e36fe8b94d27b342659f214c5dfce2c36afb3ec034a6bd895c3 [INFO] running `Command { std: "docker" "start" "-a" "de30582df6501e36fe8b94d27b342659f214c5dfce2c36afb3ec034a6bd895c3", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rustix v1.0.7 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bokedb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `CommitError` is never constructed [INFO] [stdout] --> src/storage.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CommitError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl CommitError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 46 | fn new(msg: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/storage.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | pub const PAGE_SIZE: usize = 1024 * 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commit` is never used [INFO] [stdout] --> src/storage.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait Pager: fmt::Debug { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 112 | fn commit(&mut self); //-> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilePager` is never constructed [INFO] [stdout] --> src/storage.rs:149:16 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct FilePager { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_INDEX_SIZE` is never used [INFO] [stdout] --> src/storage.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | pub const PAGE_INDEX_SIZE: usize = 2 * PAGE_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `read_index`, `write_index`, and `new` are never used [INFO] [stdout] --> src/storage.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 229 | impl FilePager { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 230 | pub fn read_index(&mut self) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn write_index(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn new(file: File) -> FilePager { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pack_bits` is never used [INFO] [stdout] --> src/storage.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn pack_bits(bits: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpack_bits` is never used [INFO] [stdout] --> src/storage.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn unpack_bits(len: usize, bytes: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bytes` and `from_bytes` are never used [INFO] [stdout] --> src/storage.rs:342:16 [INFO] [stdout] | [INFO] [stdout] 311 | impl Page { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn to_bytes(&self) -> [u8; PAGE_SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub fn from_bytes(bs: &[u8]) -> Result<(usize, Self), SerializeError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `traverse` are never used [INFO] [stdout] --> src/storage.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 503 | impl BTree { [INFO] [stdout] | ---------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn new(b: usize, is_unique: bool, pager: Box>) -> BTree { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 902 | fn traverse(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SerializeError` is never used [INFO] [stdout] --> src/types.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SerializeError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_bytes`, `from_bytes`, and `size` are never used [INFO] [stdout] --> src/types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Serializable { [INFO] [stdout] | ------------ associated items in this trait [INFO] [stdout] 16 | fn to_bytes(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | fn from_bytes(bs: &[u8]) -> Result<(usize, Self), SerializeError> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/types.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DateTime` is never constructed [INFO] [stdout] --> src/types.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | DateTime(DateTime), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vtype` is never used [INFO] [stdout] --> src/types.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Value { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 67 | fn vtype(&self) -> Type { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommitError` is never constructed [INFO] [stdout] --> src/storage.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct CommitError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl CommitError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 46 | fn new(msg: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `commit` is never used [INFO] [stdout] --> src/storage.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait Pager: fmt::Debug { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 112 | fn commit(&mut self); //-> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `traverse` is never used [INFO] [stdout] --> src/storage.rs:902:12 [INFO] [stdout] | [INFO] [stdout] 503 | impl BTree { [INFO] [stdout] | ---------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 902 | fn traverse(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/types.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Serializable { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.65s [INFO] running `Command { std: "docker" "inspect" "de30582df6501e36fe8b94d27b342659f214c5dfce2c36afb3ec034a6bd895c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de30582df6501e36fe8b94d27b342659f214c5dfce2c36afb3ec034a6bd895c3", kill_on_drop: false }` [INFO] [stdout] de30582df6501e36fe8b94d27b342659f214c5dfce2c36afb3ec034a6bd895c3