[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 try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeiji163%2Fbokedb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/meiji163/bokedb on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6e015e03e92dd0f9de7ef27d7dd4f8f6a74c63613dfa42e9b9584f07890ff0e [INFO] running `Command { std: "docker" "start" "-a" "d6e015e03e92dd0f9de7ef27d7dd4f8f6a74c63613dfa42e9b9584f07890ff0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6e015e03e92dd0f9de7ef27d7dd4f8f6a74c63613dfa42e9b9584f07890ff0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e015e03e92dd0f9de7ef27d7dd4f8f6a74c63613dfa42e9b9584f07890ff0e", kill_on_drop: false }` [INFO] [stdout] d6e015e03e92dd0f9de7ef27d7dd4f8f6a74c63613dfa42e9b9584f07890ff0e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a102079fd4da31d6b72d7977cdc10579935f679fef3ea15ce9eb09ac1adf6bf [INFO] running `Command { std: "docker" "start" "-a" "7a102079fd4da31d6b72d7977cdc10579935f679fef3ea15ce9eb09ac1adf6bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.7 [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 regex v1.10.6 [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 8.93s [INFO] running `Command { std: "docker" "inspect" "7a102079fd4da31d6b72d7977cdc10579935f679fef3ea15ce9eb09ac1adf6bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a102079fd4da31d6b72d7977cdc10579935f679fef3ea15ce9eb09ac1adf6bf", kill_on_drop: false }` [INFO] [stdout] 7a102079fd4da31d6b72d7977cdc10579935f679fef3ea15ce9eb09ac1adf6bf