[INFO] fetching crate lookups 0.2.0... [INFO] checking lookups-0.2.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate lookups 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate lookups 0.2.0 [INFO] finished tweaking crates.io crate lookups 0.2.0 [INFO] tweaked toml for crates.io crate lookups 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lookups 0.2.0 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 62 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.16.1) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.26.1) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e596d29f5f5db94db6f82aa34b08d224d675941e8d63c6969b5acacf8c79b73c [INFO] running `Command { std: "docker" "start" "-a" "e596d29f5f5db94db6f82aa34b08d224d675941e8d63c6969b5acacf8c79b73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e596d29f5f5db94db6f82aa34b08d224d675941e8d63c6969b5acacf8c79b73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e596d29f5f5db94db6f82aa34b08d224d675941e8d63c6969b5acacf8c79b73c", kill_on_drop: false }` [INFO] [stdout] e596d29f5f5db94db6f82aa34b08d224d675941e8d63c6969b5acacf8c79b73c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9a49818bdb9425cb49391c238dcebbbb536fca47a8a7f9a6227a7fea074e6f8e [INFO] running `Command { std: "docker" "start" "-a" "9a49818bdb9425cb49391c238dcebbbb536fca47a8a7f9a6227a7fea074e6f8e", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking regex-lite v0.1.9 [INFO] [stderr] Checking condtype v1.3.0 [INFO] [stderr] Checking lookups v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/collections/list/ro.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn contains_lkup_key(&self, key: Q) -> bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl Deref for LkupList { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 104 | type Target = I; [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] --> src/collections/list/ro.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_by_lkup_key(&self, key: Q) -> impl Iterator [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl Deref for LkupList { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 104 | type Target = I; [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] --> src/collections/list/ro.rs:77:41 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_by_many_lkup_keys(&self, keys: It) -> impl Iterator [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl Deref for LkupList { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 104 | type Target = I; [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] --> src/collections/list/ro.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn lkup_ext(&self) -> &S::Target [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl Deref for LkupList { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 104 | type Target = I; [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] --> src/collections/list/ro.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn create_lkup_view<'a, It>(&'a self, keys: It) -> View> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | impl Deref for LkupList { [INFO] [stdout] | ----------------------------------- trait implemented here [INFO] [stdout] 104 | type Target = I; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/collections/map/ro.rs:119:38 [INFO] [stdout] | [INFO] [stdout] 117 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 118 | keys: It, [INFO] [stdout] 119 | ) -> View>> [INFO] [stdout] | ^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 119 - ) -> View>> [INFO] [stdout] 119 + ) -> View>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lookups` (lib) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9a49818bdb9425cb49391c238dcebbbb536fca47a8a7f9a6227a7fea074e6f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a49818bdb9425cb49391c238dcebbbb536fca47a8a7f9a6227a7fea074e6f8e", kill_on_drop: false }` [INFO] [stdout] 9a49818bdb9425cb49391c238dcebbbb536fca47a8a7f9a6227a7fea074e6f8e