[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#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeiji163%2Fbokedb" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/meiji163/bokedb on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a57f99e3014792d682c81f86340bb5f9fccd187d55f4a6900f48745c9c31add [INFO] running `Command { std: "docker" "start" "-a" "1a57f99e3014792d682c81f86340bb5f9fccd187d55f4a6900f48745c9c31add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a57f99e3014792d682c81f86340bb5f9fccd187d55f4a6900f48745c9c31add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a57f99e3014792d682c81f86340bb5f9fccd187d55f4a6900f48745c9c31add", kill_on_drop: false }` [INFO] [stdout] 1a57f99e3014792d682c81f86340bb5f9fccd187d55f4a6900f48745c9c31add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8391932e3903c66d721895ef99e71e8a0c55dcc50811d72dfcd4a5817e1c43e [INFO] running `Command { std: "docker" "start" "-a" "f8391932e3903c66d721895ef99e71e8a0c55dcc50811d72dfcd4a5817e1c43e", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking rustix v1.0.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.76 [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 regex v1.10.6 [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | let mut bs = u32::try_from(date_enc).unwrap().to_le_bytes().to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | bs.extend(u32::try_from(time_enc).unwrap().to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let vtype = Type::try_from(type_id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bokedb` (bin "bokedb") due to 3 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | let mut bs = u32::try_from(date_enc).unwrap().to_le_bytes().to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | bs.extend(u32::try_from(time_enc).unwrap().to_le_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/types.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | let vtype = Type::try_from(type_id).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bokedb` (bin "bokedb" test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8391932e3903c66d721895ef99e71e8a0c55dcc50811d72dfcd4a5817e1c43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8391932e3903c66d721895ef99e71e8a0c55dcc50811d72dfcd4a5817e1c43e", kill_on_drop: false }` [INFO] [stdout] f8391932e3903c66d721895ef99e71e8a0c55dcc50811d72dfcd4a5817e1c43e