[INFO] fetching crate bgr 0.1.3... [INFO] testing bgr-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bgr 0.1.3 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bgr 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2b1e138ff7c33b466d8ae651a9604ccf8c986b5c033b04a030e7d5711fa6a74 [INFO] running `Command { std: "docker" "start" "-a" "e2b1e138ff7c33b466d8ae651a9604ccf8c986b5c033b04a030e7d5711fa6a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2b1e138ff7c33b466d8ae651a9604ccf8c986b5c033b04a030e7d5711fa6a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b1e138ff7c33b466d8ae651a9604ccf8c986b5c033b04a030e7d5711fa6a74", kill_on_drop: false }` [INFO] [stdout] e2b1e138ff7c33b466d8ae651a9604ccf8c986b5c033b04a030e7d5711fa6a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ae1e45d9aa07f6cad72aeb3f11d6f50c562081eb71101e4ba72cf6935b005ed [INFO] running `Command { std: "docker" "start" "-a" "3ae1e45d9aa07f6cad72aeb3f11d6f50c562081eb71101e4ba72cf6935b005ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling rustyline v10.1.1 [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), // Advanced filtering: [?(@.status=="active")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 16.84s [INFO] running `Command { std: "docker" "inspect" "3ae1e45d9aa07f6cad72aeb3f11d6f50c562081eb71101e4ba72cf6935b005ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ae1e45d9aa07f6cad72aeb3f11d6f50c562081eb71101e4ba72cf6935b005ed", kill_on_drop: false }` [INFO] [stdout] 3ae1e45d9aa07f6cad72aeb3f11d6f50c562081eb71101e4ba72cf6935b005ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7ed9a618a5f1d7881e10c14d6830e457cbb71bbbe136f343190c718167d1ba1 [INFO] running `Command { std: "docker" "start" "-a" "c7ed9a618a5f1d7881e10c14d6830e457cbb71bbbe136f343190c718167d1ba1", 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), // Advanced filtering: [?(@.status=="active")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling bgr v0.1.3 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "c7ed9a618a5f1d7881e10c14d6830e457cbb71bbbe136f343190c718167d1ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7ed9a618a5f1d7881e10c14d6830e457cbb71bbbe136f343190c718167d1ba1", kill_on_drop: false }` [INFO] [stdout] c7ed9a618a5f1d7881e10c14d6830e457cbb71bbbe136f343190c718167d1ba1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f8cadd27c888bf234df67d72dfebd085ad536c19ed05243128ffcda61cded53 [INFO] running `Command { std: "docker" "start" "-a" "9f8cadd27c888bf234df67d72dfebd085ad536c19ed05243128ffcda61cded53", 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), // Advanced filtering: [?(@.status=="active")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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, [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) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils/buggu_hash_set.rs:843:18 [INFO] [stderr] | [INFO] [stderr] 843 | pub fn entry(&mut self, key: K) -> BugguEntry { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 843 | pub fn entry(&mut self, key: K) -> BugguEntry<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils/buggu_hash_set.rs:1066:22 [INFO] [stderr] | [INFO] [stderr] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1066 | pub fn iter_keys(&self) -> BugguKeyIterator<'_, K, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils/buggu_hash_set.rs:1076:21 [INFO] [stderr] | [INFO] [stderr] 1076 | pub fn iter_mut(&mut self) -> BugguIterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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 (run `cargo fix --lib -p bgr` to apply 3 suggestions) [INFO] [stderr] warning: `bgr` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bgr-e0cb51637c030633) [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 4.97s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bgr-041dd61b15cca89c) [INFO] [stdout] [INFO] [stderr] Doc-tests bgr [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] [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" "9f8cadd27c888bf234df67d72dfebd085ad536c19ed05243128ffcda61cded53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f8cadd27c888bf234df67d72dfebd085ad536c19ed05243128ffcda61cded53", kill_on_drop: false }` [INFO] [stdout] 9f8cadd27c888bf234df67d72dfebd085ad536c19ed05243128ffcda61cded53