[INFO] cloning repository https://github.com/AnchitSingh/bgr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnchitSingh/bgr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchitSingh%2Fbgr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchitSingh%2Fbgr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e7400bf61423e2a0cf6aa5f838a8b6cf7e4f8b2
[INFO] testing AnchitSingh/bgr against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnchitSingh%2Fbgr" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AnchitSingh/bgr
[INFO] finished tweaking git repo https://github.com/AnchitSingh/bgr
[INFO] tweaked toml for git repo https://github.com/AnchitSingh/bgr written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AnchitSingh/bgr on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AnchitSingh/bgr 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fd-lock v3.0.13
[INFO] [stderr]   Downloaded rustyline v10.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d9cdb975e09b52c85b324da3817e356b6deff12a8eead224201e5bd6f21cb7b
[INFO] running `Command { std: "docker" "start" "-a" "6d9cdb975e09b52c85b324da3817e356b6deff12a8eead224201e5bd6f21cb7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d9cdb975e09b52c85b324da3817e356b6deff12a8eead224201e5bd6f21cb7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d9cdb975e09b52c85b324da3817e356b6deff12a8eead224201e5bd6f21cb7b", kill_on_drop: false }`
[INFO] [stdout] 6d9cdb975e09b52c85b324da3817e356b6deff12a8eead224201e5bd6f21cb7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 529dca16e07c5089e0434257a8c11aed2a343622b60828e5184e0567ce73bbdf
[INFO] running `Command { std: "docker" "start" "-a" "529dca16e07c5089e0434257a8c11aed2a343622b60828e5184e0567ce73bbdf", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling clap_builder v4.5.41
[INFO] [stderr]    Compiling fd-lock v3.0.13
[INFO] [stderr]    Compiling rustyline v10.1.1
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling clap v4.5.41
[INFO] [stderr]    Compiling 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<FilterExpr>), // 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<Tok>,
[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<DocId, MetaEntry>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/utils/buggu_hash_set.rs:843:18
[INFO] [stdout]     |
[INFO] [stdout] 843 |     pub fn entry(&mut self, key: K) -> BugguEntry<K, V> {
[INFO] [stdout]     |                  ^^^^^^^^^             ---------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/utils/buggu_hash_set.rs:1066:22
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<K, V> {
[INFO] [stdout]      |                      ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                      |
[INFO] [stdout]      |                      this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> {
[INFO] [stdout]      |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/utils/buggu_hash_set.rs:1076:21
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     pub fn iter_mut(&mut self) -> BugguIterMut<K, V> {
[INFO] [stdout]      |                     ^^^^^^^^^     ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 1m 32s
[INFO] running `Command { std: "docker" "inspect" "529dca16e07c5089e0434257a8c11aed2a343622b60828e5184e0567ce73bbdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "529dca16e07c5089e0434257a8c11aed2a343622b60828e5184e0567ce73bbdf", kill_on_drop: false }`
[INFO] [stdout] 529dca16e07c5089e0434257a8c11aed2a343622b60828e5184e0567ce73bbdf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce6e773802c2957a1e0a4681158745b3c7ecd0a3579ce1b5bb93d17f91a092e6
[INFO] running `Command { std: "docker" "start" "-a" "ce6e773802c2957a1e0a4681158745b3c7ecd0a3579ce1b5bb93d17f91a092e6", kill_on_drop: false }`
[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<FilterExpr>), // 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<Tok>,
[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<DocId, MetaEntry>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/utils/buggu_hash_set.rs:843:18
[INFO] [stdout]     |
[INFO] [stdout] 843 |     pub fn entry(&mut self, key: K) -> BugguEntry<K, V> {
[INFO] [stdout]     |                  ^^^^^^^^^             ---------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/utils/buggu_hash_set.rs:1066:22
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<K, V> {
[INFO] [stdout]      |                      ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                      |
[INFO] [stdout]      |                      this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> {
[INFO] [stdout]      |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bgr v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/utils/buggu_hash_set.rs:1076:21
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     pub fn iter_mut(&mut self) -> BugguIterMut<K, V> {
[INFO] [stdout]      |                     ^^^^^^^^^     ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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<FilterExpr>), // 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<Tok>,
[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<DocId, MetaEntry>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/utils/buggu_hash_set.rs:843:18
[INFO] [stdout]     |
[INFO] [stdout] 843 |     pub fn entry(&mut self, key: K) -> BugguEntry<K, V> {
[INFO] [stdout]     |                  ^^^^^^^^^             ---------------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/utils/buggu_hash_set.rs:1066:22
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<K, V> {
[INFO] [stdout]      |                      ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]      |                      |
[INFO] [stdout]      |                      this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> {
[INFO] [stdout]      |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/utils/buggu_hash_set.rs:1076:21
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     pub fn iter_mut(&mut self) -> BugguIterMut<K, V> {
[INFO] [stdout]      |                     ^^^^^^^^^     ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]      |                     |
[INFO] [stdout]      |                     this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]      |
[INFO] [stdout] 1076 |     pub fn iter_mut(&mut self) -> BugguIterMut<'_, K, V> {
[INFO] [stdout]      |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.12s
[INFO] running `Command { std: "docker" "inspect" "ce6e773802c2957a1e0a4681158745b3c7ecd0a3579ce1b5bb93d17f91a092e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce6e773802c2957a1e0a4681158745b3c7ecd0a3579ce1b5bb93d17f91a092e6", kill_on_drop: false }`
[INFO] [stdout] ce6e773802c2957a1e0a4681158745b3c7ecd0a3579ce1b5bb93d17f91a092e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6529e539adf4acd0d3e927571659cd94d600705f3fbac8c223cf7d8e2ec4d9cc
[INFO] running `Command { std: "docker" "start" "-a" "6529e539adf4acd0d3e927571659cd94d600705f3fbac8c223cf7d8e2ec4d9cc", kill_on_drop: false }`
[INFO] [stderr] warning: variant `FilterExpression` is never constructed
[INFO] [stderr]   --> src/buggudb.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | enum PathSegment {
[INFO] [stderr]    |      ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 29 |     FilterExpression(Box<FilterExpr>), // Advanced filtering: [?(@.status=="active")]
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Equals`, `GreaterThan`, and `LessThan` are never constructed
[INFO] [stderr]   --> src/buggudb.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | enum FilterExpr {
[INFO] [stderr]    |      ---------- variants in this enum
[INFO] [stderr] 33 |     Equals(String, String),
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 34 |     GreaterThan(String, f64),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 35 |     LessThan(String, f64),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `tokens` is never read
[INFO] [stderr]   --> src/buggudb.rs:45:5
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub struct MetaEntry {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] 44 |     /// The sequence of tokens generated from the document's content.
[INFO] [stderr] 45 |     tokens: Vec<Tok>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MetaEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `max_postings` and `stale_secs` are never read
[INFO] [stderr]    --> src/buggudb.rs:431:5
[INFO] [stderr]     |
[INFO] [stderr] 417 | pub struct BugguDB {
[INFO] [stderr]     |            ------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 431 |     max_postings: usize,
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr] 432 |     /// The time in seconds after which a document is considered stale.
[INFO] [stderr] 433 |     stale_secs: u64,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `BugguDB` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `remove`, `empty`, and `retain_docs` are never used
[INFO] [stderr]    --> src/buggudb.rs:486:8
[INFO] [stderr]     |
[INFO] [stderr] 451 | impl Posting {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 486 |     fn remove(&mut self, id: DocId) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 520 |     fn empty(&self) -> bool {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 530 |     fn retain_docs(&mut self, docs: &BugguHashSet<DocId, MetaEntry>) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/utils/buggu_hash_set.rs:843:18
[INFO] [stderr]     |
[INFO] [stderr] 843 |     pub fn entry(&mut self, key: K) -> BugguEntry<K, V> {
[INFO] [stderr]     |                  ^^^^^^^^^             ---------------- the lifetime gets resolved as `'_`
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 843 |     pub fn entry(&mut self, key: K) -> BugguEntry<'_, K, V> {
[INFO] [stderr]     |                                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]     --> src/utils/buggu_hash_set.rs:1066:22
[INFO] [stderr]      |
[INFO] [stderr] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<K, V> {
[INFO] [stderr]      |                      ^^^^^     ---------------------- the lifetime gets resolved as `'_`
[INFO] [stderr]      |                      |
[INFO] [stderr]      |                      this lifetime flows to the output
[INFO] [stderr]      |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]      |
[INFO] [stderr] 1066 |     pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> {
[INFO] [stderr]      |                                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]     --> src/utils/buggu_hash_set.rs:1076:21
[INFO] [stderr]      |
[INFO] [stderr] 1076 |     pub fn iter_mut(&mut self) -> BugguIterMut<K, V> {
[INFO] [stderr]      |                     ^^^^^^^^^     ------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]      |                     |
[INFO] [stderr]      |                     this lifetime flows to the output
[INFO] [stderr]      |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]      |
[INFO] [stderr] 1076 |     pub fn iter_mut(&mut self) -> BugguIterMut<'_, K, V> {
[INFO] [stderr]      |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: `bgr` (lib) generated 8 warnings
[INFO] [stderr] warning: `bgr` (lib test) generated 8 warnings (8 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bgr-70e2d04981b87d6c)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test buggudb::tests::test_json_search ... ok
[INFO] [stdout] test buggudb::tests::test_jsonpath_features_performance ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.51s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bgr-de8a553d1d444382)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bgr
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6529e539adf4acd0d3e927571659cd94d600705f3fbac8c223cf7d8e2ec4d9cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6529e539adf4acd0d3e927571659cd94d600705f3fbac8c223cf7d8e2ec4d9cc", kill_on_drop: false }`
[INFO] [stdout] 6529e539adf4acd0d3e927571659cd94d600705f3fbac8c223cf7d8e2ec4d9cc
