[INFO] fetching crate bgr 0.1.3... [INFO] checking bgr-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bgr 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate bgr 0.1.3 [INFO] finished tweaking crates.io crate bgr 0.1.3 [INFO] tweaked toml for crates.io crate bgr 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bgr 0.1.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bgr 0.1.3 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f316310d957124236be4b4ab73ec8f95cd2a21ead792ef9b9014ddff8c9f84c4 [INFO] running `Command { std: "docker" "start" "-a" "f316310d957124236be4b4ab73ec8f95cd2a21ead792ef9b9014ddff8c9f84c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f316310d957124236be4b4ab73ec8f95cd2a21ead792ef9b9014ddff8c9f84c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f316310d957124236be4b4ab73ec8f95cd2a21ead792ef9b9014ddff8c9f84c4", kill_on_drop: false }` [INFO] [stdout] f316310d957124236be4b4ab73ec8f95cd2a21ead792ef9b9014ddff8c9f84c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e3cb413c0a293f93d1fc0b502649a35588bdcb3d476949077feb7c9fac7abf9 [INFO] running `Command { std: "docker" "start" "-a" "3e3cb413c0a293f93d1fc0b502649a35588bdcb3d476949077feb7c9fac7abf9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking rustyline v10.1.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking bgr v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `FilterExpression` is never constructed [INFO] [stdout] --> src/buggudb.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum PathSegment { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | FilterExpression(Box), // Advanced filtering: [?(@.status=="active")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equals`, `GreaterThan`, and `LessThan` are never constructed [INFO] [stdout] --> src/buggudb.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum FilterExpr { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 33 | Equals(String, String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | GreaterThan(String, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | LessThan(String, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/buggudb.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MetaEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 44 | /// The sequence of tokens generated from the document's content. [INFO] [stdout] 45 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaEntry` 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: fields `max_postings` and `stale_secs` are never read [INFO] [stdout] --> src/buggudb.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct BugguDB { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | max_postings: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 432 | /// The time in seconds after which a document is considered stale. [INFO] [stdout] 433 | stale_secs: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BugguDB` 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: methods `remove`, `empty`, and `retain_docs` are never used [INFO] [stdout] --> src/buggudb.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 451 | impl Posting { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 486 | fn remove(&mut self, id: DocId) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | fn retain_docs(&mut self, docs: &BugguHashSet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:843:18 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn entry(&mut self, key: K) -> BugguEntry { [INFO] [stdout] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 843 | pub fn entry(&mut self, key: K) -> BugguEntry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:1066:22 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:1076:21 [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FilterExpression` is never constructed [INFO] [stdout] --> src/buggudb.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum PathSegment { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 29 | FilterExpression(Box), // Advanced filtering: [?(@.status=="active")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equals`, `GreaterThan`, and `LessThan` are never constructed [INFO] [stdout] --> src/buggudb.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum FilterExpr { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 33 | Equals(String, String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | GreaterThan(String, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | LessThan(String, f64), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/buggudb.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MetaEntry { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 44 | /// The sequence of tokens generated from the document's content. [INFO] [stdout] 45 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaEntry` 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: fields `max_postings` and `stale_secs` are never read [INFO] [stdout] --> src/buggudb.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 417 | pub struct BugguDB { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | max_postings: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 432 | /// The time in seconds after which a document is considered stale. [INFO] [stdout] 433 | stale_secs: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BugguDB` 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: methods `remove`, `empty`, and `retain_docs` are never used [INFO] [stdout] --> src/buggudb.rs:486:8 [INFO] [stdout] | [INFO] [stdout] 451 | impl Posting { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 486 | fn remove(&mut self, id: DocId) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | fn retain_docs(&mut self, docs: &BugguHashSet) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:843:18 [INFO] [stdout] | [INFO] [stdout] 843 | pub fn entry(&mut self, key: K) -> BugguEntry { [INFO] [stdout] | ^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 843 | pub fn entry(&mut self, key: K) -> BugguEntry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:1066:22 [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator { [INFO] [stdout] | ^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/buggu_hash_set.rs:1076:21 [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.22s [INFO] running `Command { std: "docker" "inspect" "3e3cb413c0a293f93d1fc0b502649a35588bdcb3d476949077feb7c9fac7abf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3cb413c0a293f93d1fc0b502649a35588bdcb3d476949077feb7c9fac7abf9", kill_on_drop: false }` [INFO] [stdout] 3e3cb413c0a293f93d1fc0b502649a35588bdcb3d476949077feb7c9fac7abf9