[INFO] cloning repository https://github.com/ritvikos/idx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ritvikos/idx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fidx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fidx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33b7a4e9410601ffe74ce9ccc40cbc2abe4bcf2a [INFO] checking ritvikos/idx against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fidx" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ritvikos/idx [INFO] finished tweaking git repo https://github.com/ritvikos/idx [INFO] tweaked toml for git repo https://github.com/ritvikos/idx written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ritvikos/idx on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 111 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.8.2) [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.16.1) [INFO] [stderr] Adding html2text v0.12.6 (available: v0.16.7) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] [stderr] Adding unicode-width v0.1.13 (available: v0.1.14) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1473c7119ee9dccea46f8e977d4785065fb7faf4fcec57778405a0e841c9028 [INFO] running `Command { std: "docker" "start" "-a" "d1473c7119ee9dccea46f8e977d4785065fb7faf4fcec57778405a0e841c9028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1473c7119ee9dccea46f8e977d4785065fb7faf4fcec57778405a0e841c9028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1473c7119ee9dccea46f8e977d4785065fb7faf4fcec57778405a0e841c9028", kill_on_drop: false }` [INFO] [stdout] d1473c7119ee9dccea46f8e977d4785065fb7faf4fcec57778405a0e841c9028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 687f12165e2b85006aa66cf827f06c24fc45ca9c59fde2678448ea636d371863 [INFO] running `Command { std: "docker" "start" "-a" "687f12165e2b85006aa66cf827f06c24fc45ca9c59fde2678448ea636d371863", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking html2text v0.12.6 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking idx v0.0.1 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> lib/src/core.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_capacity(capacity: usize, threshold: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Adjective`, `Noun`, `Punctuation`, and `Verb` are never constructed [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Pos { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | Adjective, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Noun, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Punctuation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Verb, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lookup` is never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Lemmatizer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | lookup: Lookup>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exceptions`, `index`, and `rules` are never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Lookup> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | exceptions: Map>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | index: Map>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | rules: Map, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/src/core.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn iter(&self) -> EntriesIter { [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] 208 | pub fn iter(&self) -> EntriesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/src/index.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reader(&self) -> IndexReader { [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] 117 | pub fn reader(&self) -> IndexReader<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/src/index.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn writer(&mut self) -> IndexWriter { [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] 129 | pub fn writer(&mut self) -> IndexWriter<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> lib/src/util.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn inner_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / impl Deref for Counter [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Copy + Unsigned + AddAssign + SubAssign, [INFO] [stdout] | |_______________________________________________- trait implemented here [INFO] [stdout] 50 | { [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> lib/src/util.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / impl Deref for Counter [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Copy + Unsigned + AddAssign + SubAssign, [INFO] [stdout] | |_______________________________________________- trait implemented here [INFO] [stdout] 50 | { [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> lib/src/util.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decrement(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / impl Deref for Counter [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Copy + Unsigned + AddAssign + SubAssign, [INFO] [stdout] | |_______________________________________________- trait implemented here [INFO] [stdout] 50 | { [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `idx` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> lib/src/core.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_capacity(capacity: usize, threshold: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Adjective`, `Noun`, `Punctuation`, and `Verb` are never constructed [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Pos { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | Adjective, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Noun, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Punctuation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Verb, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lookup` is never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Lemmatizer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | lookup: Lookup>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exceptions`, `index`, and `rules` are never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Lookup> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | exceptions: Map>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | index: Map>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | rules: Map, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Html` is never constructed [INFO] [stdout] --> lib/src/tokenizer/html.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Html { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/src/tokenizer/html.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Html { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/src/core.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn iter(&self) -> EntriesIter { [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] 208 | pub fn iter(&self) -> EntriesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/src/index.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reader(&self) -> IndexReader { [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] 117 | pub fn reader(&self) -> IndexReader<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lib/src/index.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn writer(&mut self) -> IndexWriter { [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] 129 | pub fn writer(&mut self) -> IndexWriter<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> lib/src/util.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn inner_ref(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / impl Deref for Counter [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Copy + Unsigned + AddAssign + SubAssign, [INFO] [stdout] | |_______________________________________________- trait implemented here [INFO] [stdout] 50 | { [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> lib/src/util.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / impl Deref for Counter [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Copy + Unsigned + AddAssign + SubAssign, [INFO] [stdout] | |_______________________________________________- trait implemented here [INFO] [stdout] 50 | { [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> lib/src/util.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn decrement(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | / impl Deref for Counter [INFO] [stdout] 48 | | where [INFO] [stdout] 49 | | T: Copy + Unsigned + AddAssign + SubAssign, [INFO] [stdout] | |_______________________________________________- trait implemented here [INFO] [stdout] 50 | { [INFO] [stdout] 51 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `idx` (lib) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "687f12165e2b85006aa66cf827f06c24fc45ca9c59fde2678448ea636d371863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687f12165e2b85006aa66cf827f06c24fc45ca9c59fde2678448ea636d371863", kill_on_drop: false }` [INFO] [stdout] 687f12165e2b85006aa66cf827f06c24fc45ca9c59fde2678448ea636d371863