[INFO] cloning repository https://github.com/ducnd58233/mini-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ducnd58233/mini-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducnd58233%2Fmini-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducnd58233%2Fmini-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7d85960cb31cd57b3eed6711be516fbf95e7f5c [INFO] checking ducnd58233/mini-db against try#d336647335db03a0fc5b24fc5325cd3905c5b8e8 for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducnd58233%2Fmini-db" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ducnd58233/mini-db [INFO] finished tweaking git repo https://github.com/ducnd58233/mini-db [INFO] tweaked toml for git repo https://github.com/ducnd58233/mini-db written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ducnd58233/mini-db on toolchain d336647335db03a0fc5b24fc5325cd3905c5b8e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ducnd58233/mini-db 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" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33a24d6b1be4dd064bf3e10369891178ff6f0000a24780076b2e69af705557a6 [INFO] running `Command { std: "docker" "start" "-a" "33a24d6b1be4dd064bf3e10369891178ff6f0000a24780076b2e69af705557a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33a24d6b1be4dd064bf3e10369891178ff6f0000a24780076b2e69af705557a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a24d6b1be4dd064bf3e10369891178ff6f0000a24780076b2e69af705557a6", kill_on_drop: false }` [INFO] [stdout] 33a24d6b1be4dd064bf3e10369891178ff6f0000a24780076b2e69af705557a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+d336647335db03a0fc5b24fc5325cd3905c5b8e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a216f4c9cd3f9bc8f8f3ece2c2ab16e5b892244e6a5b611282f3ec9121a968a [INFO] running `Command { std: "docker" "start" "-a" "4a216f4c9cd3f9bc8f8f3ece2c2ab16e5b892244e6a5b611282f3ec9121a968a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking tempfile v3.24.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking mini-db v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: ambiguous glob re-exports [INFO] [stdout] --> src/btree/page/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use internal::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `MAX_KEY_SIZE` in the value namespace is first re-exported here [INFO] [stdout] 7 | pub use leaf::*; [INFO] [stdout] | ------- but the name `MAX_KEY_SIZE` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #107880 [INFO] [stdout] = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DbError` and `Result` [INFO] [stdout] --> src/schema/record.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{DbError, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/schema/table.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RangeRecord` [INFO] [stdout] --> src/schema/table.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use super::record::{RangeRecord, Record}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous glob re-exports [INFO] [stdout] --> src/btree/page/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use internal::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `MAX_KEY_SIZE` in the value namespace is first re-exported here [INFO] [stdout] 7 | pub use leaf::*; [INFO] [stdout] | ------- but the name `MAX_KEY_SIZE` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #107880 [INFO] [stdout] = note: `#[deny(ambiguous_glob_reexports)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DbError` and `Result` [INFO] [stdout] --> src/schema/record.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{DbError, Result}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/schema/table.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RangeRecord` [INFO] [stdout] --> src/schema/table.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use super::record::{RangeRecord, Record}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kv` [INFO] [stdout] --> src/btree/iterator.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | while let Some(kv) = iter.deref() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_kv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/schema/table.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let mut tdef = TableDef::new("users", 10) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/storage/kv_store.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | while let Some((key, val)) = iter.current() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/storage/kv_store.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | while let Some((key, val)) = iter.current() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> src/btree/disk.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BPTreeDisk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 43 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pointer` is never read [INFO] [stdout] --> src/btree/iterator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct PathData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pointer: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathData` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/kv_store.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter_from(&mut self, start_key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter_from(&mut self, start_key: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> src/btree/disk.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct BPTreeDisk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 43 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pointer` is never read [INFO] [stdout] --> src/btree/iterator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct PathData { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | pointer: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathData` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/kv_store.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter_from(&mut self, start_key: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter_from(&mut self, start_key: &[u8]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-db` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mini-db` (lib) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4a216f4c9cd3f9bc8f8f3ece2c2ab16e5b892244e6a5b611282f3ec9121a968a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a216f4c9cd3f9bc8f8f3ece2c2ab16e5b892244e6a5b611282f3ec9121a968a", kill_on_drop: false }` [INFO] [stdout] 4a216f4c9cd3f9bc8f8f3ece2c2ab16e5b892244e6a5b611282f3ec9121a968a