[INFO] cloning repository https://github.com/YangchenYe323/gitqlite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YangchenYe323/gitqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYangchenYe323%2Fgitqlite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYangchenYe323%2Fgitqlite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7255e3716bd0d8384697c356cc60114685a486cd [INFO] checking YangchenYe323/gitqlite against try#f70ee28831acc074c109afab32d287057c3eca46 for pr-149389 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYangchenYe323%2Fgitqlite" "/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/YangchenYe323/gitqlite [INFO] finished tweaking git repo https://github.com/YangchenYe323/gitqlite [INFO] tweaked toml for git repo https://github.com/YangchenYe323/gitqlite written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/YangchenYe323/gitqlite on toolchain f70ee28831acc074c109afab32d287057c3eca46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/YangchenYe323/gitqlite 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" "+f70ee28831acc074c109afab32d287057c3eca46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.21.0 [INFO] [stderr] Downloaded cc v1.0.99 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a53fcfd65e4ed425382d24ae6235c92233ae5c0c7cb6c6f5d836e95a3405fd90 [INFO] running `Command { std: "docker" "start" "-a" "a53fcfd65e4ed425382d24ae6235c92233ae5c0c7cb6c6f5d836e95a3405fd90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a53fcfd65e4ed425382d24ae6235c92233ae5c0c7cb6c6f5d836e95a3405fd90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a53fcfd65e4ed425382d24ae6235c92233ae5c0c7cb6c6f5d836e95a3405fd90", kill_on_drop: false }` [INFO] [stdout] a53fcfd65e4ed425382d24ae6235c92233ae5c0c7cb6c6f5d836e95a3405fd90 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+f70ee28831acc074c109afab32d287057c3eca46" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e6083f3f9a60ff40faf33e34b0bcf7c2e2e113f619d795ff4573f2c94524cf [INFO] running `Command { std: "docker" "start" "-a" "d9e6083f3f9a60ff40faf33e34b0bcf7c2e2e113f619d795ff4573f2c94524cf", kill_on_drop: false }` [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking rust-ini v0.21.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking gitqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/repo/db/head.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | let head = serde_json::from_str(&s).map_err(|e| anyhow!("Invalid head string: {}", s))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/repo/db/head.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | let head = serde_json::from_str(&s).map_err(|e| anyhow!("Invalid head string: {}", s))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blob` is never constructed [INFO] [stdout] --> src/repo/db/blob.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Blob> { [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 items `new` and `with_id` are never used [INFO] [stdout] --> src/repo/db/blob.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Blob { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(data: Vec) -> Blob { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn with_id(self) -> Blob { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Commit` is never constructed [INFO] [stdout] --> src/repo/db/commit.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Commit> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_id` are never used [INFO] [stdout] --> src/repo/db/commit.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Commit { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_id(self) -> Commit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hashable` is never used [INFO] [stdout] --> src/repo/db/hash.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Hashable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Head` is never used [INFO] [stdout] --> src/repo/db/head.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Head { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Index` is never constructed [INFO] [stdout] --> src/repo/db/index.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Index { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MergeStage` is never used [INFO] [stdout] --> src/repo/db/index.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum MergeStage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexEntry` is never constructed [INFO] [stdout] --> src/repo/db/index.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct IndexEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `remove` are never used [INFO] [stdout] --> src/repo/db/index.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Index { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 69 | fn new() -> Index { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn remove( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileType` is never used [INFO] [stdout] --> src/repo/db/object.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum FileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `num` is never used [INFO] [stdout] --> src/repo/db/object.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 13 | pub fn num(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ObjectType` is never used [INFO] [stdout] --> src/repo/db/object.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ObjectType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Object` is never used [INFO] [stdout] --> src/repo/db/object.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Object: Sized { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> src/repo/db/reference.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ref { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create_table`, `read_from_with_name`, and `persist` are never used [INFO] [stdout] --> src/repo/db/reference.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Ref { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn create_table(txn: &Transaction) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn read_from_with_name(txn: &Transaction, name: &str) -> crate::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn persist(&self, txn: &Transaction) -> crate::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [INFO] [stdout] --> src/repo/db/tree.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tree> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeEntry` is never constructed [INFO] [stdout] --> src/repo/db/tree.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct TreeEntry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_id` is never used [INFO] [stdout] --> src/repo/db/tree.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Tree { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 58 | pub fn with_id(self) -> Tree { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo/db/tree.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let mut entries2 = entries1.clone(); [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: enum `Head` is never used [INFO] [stdout] --> src/repo/db/head.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Head { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `num` is never used [INFO] [stdout] --> src/repo/db/object.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl FileType { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 13 | pub fn num(self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `type_` is never used [INFO] [stdout] --> src/repo/db/object.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait Object: Sized { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 35 | fn type_(&self) -> ObjectType; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hint::black_box` [INFO] [stdout] --> benches/ignore_bench.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, fs, hint::black_box, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.53s [INFO] running `Command { std: "docker" "inspect" "d9e6083f3f9a60ff40faf33e34b0bcf7c2e2e113f619d795ff4573f2c94524cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e6083f3f9a60ff40faf33e34b0bcf7c2e2e113f619d795ff4573f2c94524cf", kill_on_drop: false }` [INFO] [stdout] d9e6083f3f9a60ff40faf33e34b0bcf7c2e2e113f619d795ff4573f2c94524cf