[INFO] cloning repository https://github.com/juh9870/eh_codegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juh9870/eh_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuh9870%2Feh_codegen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuh9870%2Feh_codegen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 709e463e45723961310d746c0d10aa02db5eb3b5 [INFO] checking juh9870/eh_codegen against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuh9870%2Feh_codegen" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/juh9870/eh_codegen [INFO] finished tweaking git repo https://github.com/juh9870/eh_codegen [INFO] tweaked toml for git repo https://github.com/juh9870/eh_codegen written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/juh9870/eh_codegen 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] crate git repo https://github.com/juh9870/eh_codegen 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5d6cae0aec49de5b4a5ce61ed13249bf92ab97b318fc963e6df5a18594d581ac [INFO] running `Command { std: "docker" "start" "-a" "5d6cae0aec49de5b4a5ce61ed13249bf92ab97b318fc963e6df5a18594d581ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d6cae0aec49de5b4a5ce61ed13249bf92ab97b318fc963e6df5a18594d581ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6cae0aec49de5b4a5ce61ed13249bf92ab97b318fc963e6df5a18594d581ac", kill_on_drop: false }` [INFO] [stdout] 5d6cae0aec49de5b4a5ce61ed13249bf92ab97b318fc963e6df5a18594d581ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 21f847b1a79a20f3f6090b56cb7d4d8103fc3f920b7f8be349eae5ed7732a50c [INFO] running `Command { std: "docker" "start" "-a" "21f847b1a79a20f3f6090b56cb7d4d8103fc3f920b7f8be349eae5ed7732a50c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Checking object v0.36.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ordered-float v4.2.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking auto_ops v0.3.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking trash v5.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking color-backtrace v0.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking pretty-duration v0.1.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling duplicate v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling bitcode_derive v0.6.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking diagnostic v0.1.0 (/opt/rustwide/workdir/diagnostic) [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking bitcode v0.6.0 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking tracing-panic v0.1.2 [INFO] [stderr] Checking smart_output v0.1.0 (/opt/rustwide/workdir/smart_output) [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking glam v0.28.0 [INFO] [stderr] Checking serde_json5 v0.1.0 [INFO] [stderr] Checking quick-xml v0.34.0 [INFO] [stderr] Checking codegen_schema v0.1.0 (/opt/rustwide/workdir/codegen_schema) [INFO] [stderr] Checking eh_codegen v0.1.0 (/opt/rustwide/workdir/eh_codegen) [INFO] [stdout] warning: struct `MainErr` is never constructed [INFO] [stdout] --> eh_codegen/src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct MainErr(#[diagnostic_source] Report); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MainErr` is never constructed [INFO] [stdout] --> eh_codegen/src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct MainErr(#[diagnostic_source] Report); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking eh_schema v0.1.0 (/opt/rustwide/workdir/eh_schema) [INFO] [stderr] Checking eh_mod_dev v0.1.0 (/opt/rustwide/workdir/eh_mod_dev) [INFO] [stdout] warning: function `decompress` is never used [INFO] [stdout] --> eh_mod_dev/src/utils.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn decompress(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256` is never used [INFO] [stdout] --> eh_mod_dev/src/utils.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn sha256(data: &[u8]) -> Vec { [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] --> eh_mod_dev/src/database/db_item.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn forget(mut self) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn save(self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn edit(mut self, actions: impl FnOnce(&mut T)) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn with(mut self, actions: impl FnOnce(T) -> T) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/database/extra_item.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read(&self) -> MappedRwLockReadGuard { [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] 35 | pub fn read(&self) -> MappedRwLockReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/database/extra_item.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn write(&self) -> MappedRwLockWriteGuard { [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] 39 | pub fn write(&self) -> MappedRwLockWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/mapping.rs:194:69 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn used_ids<'a>(&'a self, kind: impl Into>) -> IdIter { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 194 | pub fn used_ids<'a>(&'a self, kind: impl Into>) -> IdIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/mapping.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 203 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 206 | ) -> RegexIter { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 206 | ) -> RegexIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decompress` is never used [INFO] [stdout] --> eh_mod_dev/src/utils.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn decompress(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sha256` is never used [INFO] [stdout] --> eh_mod_dev/src/utils.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn sha256(data: &[u8]) -> Vec { [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] --> eh_mod_dev/src/database/db_item.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn forget(mut self) -> T { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn save(self) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn edit(mut self, actions: impl FnOnce(&mut T)) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn with(mut self, actions: impl FnOnce(T) -> T) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | 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] --> eh_mod_dev/src/database/db_item.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new_clone(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | impl> Deref for DbItem { [INFO] [stdout] | --------------------------------------- trait implemented here [INFO] [stdout] 62 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/database/extra_item.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn read(&self) -> MappedRwLockReadGuard { [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] 35 | pub fn read(&self) -> MappedRwLockReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/database/extra_item.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn write(&self) -> MappedRwLockWriteGuard { [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] 39 | pub fn write(&self) -> MappedRwLockWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/mapping.rs:194:69 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn used_ids<'a>(&'a self, kind: impl Into>) -> IdIter { [INFO] [stdout] | -- the lifetime is named here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 194 | pub fn used_ids<'a>(&'a self, kind: impl Into>) -> IdIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> eh_mod_dev/src/mapping.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 203 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 206 | ) -> RegexIter { [INFO] [stdout] | ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 206 | ) -> RegexIter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eh_mod_dev` (lib) due to 5 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `eh_mod_dev` (lib test) due to 5 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21f847b1a79a20f3f6090b56cb7d4d8103fc3f920b7f8be349eae5ed7732a50c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f847b1a79a20f3f6090b56cb7d4d8103fc3f920b7f8be349eae5ed7732a50c", kill_on_drop: false }` [INFO] [stdout] 21f847b1a79a20f3f6090b56cb7d4d8103fc3f920b7f8be349eae5ed7732a50c