[INFO] fetching crate owning_ref_lockable 0.4.2... [INFO] checking owning_ref_lockable-0.4.2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate owning_ref_lockable 0.4.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate owning_ref_lockable 0.4.2 [INFO] finished tweaking crates.io crate owning_ref_lockable 0.4.2 [INFO] tweaked toml for crates.io crate owning_ref_lockable 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate owning_ref_lockable 0.4.2 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 8 packages to latest compatible versions [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7426222154adea2e959f17508329d2cc3148d25d17b25e6e9f905d9cbaeffc32 [INFO] running `Command { std: "docker" "start" "-a" "7426222154adea2e959f17508329d2cc3148d25d17b25e6e9f905d9cbaeffc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7426222154adea2e959f17508329d2cc3148d25d17b25e6e9f905d9cbaeffc32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7426222154adea2e959f17508329d2cc3148d25d17b25e6e9f905d9cbaeffc32", kill_on_drop: false }` [INFO] [stdout] 7426222154adea2e959f17508329d2cc3148d25d17b25e6e9f905d9cbaeffc32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0de20b3c1b14f717cd7706ee2021e560fe11ccb5c0929f4b6fdc7e432d99a9b3 [INFO] running `Command { std: "docker" "start" "-a" "0de20b3c1b14f717cd7706ee2021e560fe11ccb5c0929f4b6fdc7e432d99a9b3", kill_on_drop: false }` [INFO] [stderr] Checking owning_ref_lockable v0.4.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1130:28 [INFO] [stdout] | [INFO] [stdout] 1130 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1130 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] 1130 + where O: Send, for<'a> &'a T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1132:28 [INFO] [stdout] | [INFO] [stdout] 1132 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1132 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] 1132 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1135:28 [INFO] [stdout] | [INFO] [stdout] 1135 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1135 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] 1135 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1137:28 [INFO] [stdout] | [INFO] [stdout] 1137 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1137 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] 1137 + where O: Sync, for<'a> &'a mut T: Sync {} [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] --> src/lib.rs:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn map(self, f: F) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:387:41 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn map_with_owner(self, f: F) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:419:37 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn try_map(self, f: F) -> Result, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:452:48 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn try_map_with_owner(self, f: F) -> Result, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | pub unsafe fn map_owner(self, f: F) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:483:26 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn map_owner_box(self) -> OwningRef, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:522:28 [INFO] [stdout] | [INFO] [stdout] 522 | pub fn erase_owner<'a>(self) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:534:21 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:539:23 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1003 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 1004 | 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] --> src/lib.rs:602:30 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn map(mut self, f: F) -> OwningRef [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:632:34 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn map_mut(mut self, f: F) -> OwningRefMut [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:664:37 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn try_map(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:696:41 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn try_map_mut(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:711:35 [INFO] [stdout] | [INFO] [stdout] 711 | pub unsafe fn map_owner(self, f: F) -> OwningRefMut [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:727:26 [INFO] [stdout] | [INFO] [stdout] 727 | pub fn map_owner_box(self) -> OwningRefMut, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:766:28 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn erase_owner<'a>(self) -> OwningRefMut [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:778:21 [INFO] [stdout] | [INFO] [stdout] 778 | pub fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:783:25 [INFO] [stdout] | [INFO] [stdout] 783 | pub fn as_owner_mut(&mut self) -> &mut O { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | 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] --> src/lib.rs:788:23 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 1014 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `owning_ref_lockable` (lib) due to 19 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0de20b3c1b14f717cd7706ee2021e560fe11ccb5c0929f4b6fdc7e432d99a9b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0de20b3c1b14f717cd7706ee2021e560fe11ccb5c0929f4b6fdc7e432d99a9b3", kill_on_drop: false }` [INFO] [stdout] 0de20b3c1b14f717cd7706ee2021e560fe11ccb5c0929f4b6fdc7e432d99a9b3