[INFO] fetching crate refs 0.37.0...
[INFO] checking refs-0.37.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied
[INFO] extracting crate refs 0.37.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate refs 0.37.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate refs 0.37.0
[INFO] tweaked toml for crates.io crate refs 0.37.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate refs 0.37.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] crate crates.io crate refs 0.37.0 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b6006adeda115a0e240855687a3bf0093b9298f704e65c85f558e211eb1060aa
[INFO] running `Command { std: "docker" "start" "-a" "b6006adeda115a0e240855687a3bf0093b9298f704e65c85f558e211eb1060aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6006adeda115a0e240855687a3bf0093b9298f704e65c85f558e211eb1060aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6006adeda115a0e240855687a3bf0093b9298f704e65c85f558e211eb1060aa", kill_on_drop: false }`
[INFO] [stdout] b6006adeda115a0e240855687a3bf0093b9298f704e65c85f558e211eb1060aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 84e161e52964df590e5165985519ce8b793707385677c8c7b0c4baa4a9f07f2f
[INFO] running `Command { std: "docker" "start" "-a" "84e161e52964df590e5165985519ce8b793707385677c8c7b0c4baa4a9f07f2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.108
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling plat v0.5.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.15
[INFO] [stderr]    Compiling wasm-bindgen v0.2.108
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking pollster v0.4.0
[INFO] [stderr]     Checking sdd v3.0.10
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]    Compiling hreads v0.12.0
[INFO] [stderr]     Checking scc v2.4.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.58
[INFO] [stderr]    Compiling serial_test_derive v3.3.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.108
[INFO] [stderr]     Checking js-sys v0.3.85
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking serial_test v3.3.1
[INFO] [stderr]     Checking refs v0.37.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.58
[INFO] [stderr]     Checking wasm-bindgen-test v0.3.58
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/own.rs:50:33
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn downcast<U: 'static>(&self) -> Option<Weak<U>> {
[INFO] [stdout]    |                                 ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 | impl<T: ?Sized> Deref for Own<T> {
[INFO] [stdout]    | -------------------------------- trait implemented here
[INFO] [stdout] 86 |     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/own.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl<T: ?Sized> Deref for Own<T> {
[INFO] [stdout]     | -------------------------------- trait implemented here
[INFO] [stdout]  86 |     type Target = T;
[INFO] [stdout]     |     ----------- with `Target` set here
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn weak(&self) -> Weak<T> {
[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/own.rs:109:16
[INFO] [stdout]     |
[INFO] [stdout]  85 | impl<T: ?Sized> Deref for Own<T> {
[INFO] [stdout]     | -------------------------------- trait implemented here
[INFO] [stdout]  86 |     type Target = T;
[INFO] [stdout]     |     ----------- with `Target` set here
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn raw(&self) -> RawPointer {
[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/rglica.rs:51:20
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn is_null(&self) -> bool {
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 | impl<T: ?Sized> Deref for Rglica<T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 73 |     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/rglica.rs:55:18
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn is_ok(&self) -> bool {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 | impl<T: ?Sized> Deref for Rglica<T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 73 |     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/rglica.rs:59:19
[INFO] [stdout]    |
[INFO] [stdout] 59 |     pub fn as_ptr(&self) -> *mut T {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 | impl<T: ?Sized> Deref for Rglica<T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 73 |     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/rglica.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn get(&mut self) -> Option<&mut T> {
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 | impl<T: ?Sized> Deref for Rglica<T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 73 |     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/weak.rs:44:18
[INFO] [stdout]     |
[INFO] [stdout]  44 |     pub fn sized(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:66:16
[INFO] [stdout]     |
[INFO] [stdout]  66 |     pub fn raw(&self) -> RawPointer {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:97:28
[INFO] [stdout]     |
[INFO] [stdout]  97 |     pub fn was_initialized(&self) -> bool {
[INFO] [stdout]     |                            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:101:18
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn is_ok(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:114:20
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn is_null(&self) -> bool {
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:118:16
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn get(&self) -> Option<&T> {
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:126:20
[INFO] [stdout]     |
[INFO] [stdout] 126 |     pub fn get_mut(&mut self) -> Option<&mut T> {
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:136:35
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub unsafe fn deref_unchecked(&self) -> &T {
[INFO] [stdout]     |                                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:142:39
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub unsafe fn deref_unchecked_mut(&mut self) -> &mut T {
[INFO] [stdout]     |                                       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:148:29
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pub unsafe fn to_rglica(&self) -> Rglica<T> {
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:185:18
[INFO] [stdout]     |
[INFO] [stdout] 185 |     pub fn erase(&self) -> Weak {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/weak.rs:224:33
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub fn downcast<U: 'static>(&self) -> Option<Weak<U>> {
[INFO] [stdout]     |                                 ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 | impl<T: ?Sized> Deref for Weak<T> {
[INFO] [stdout]     | --------------------------------- trait implemented here
[INFO] [stdout] 231 |     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/main_lock/main_lock.rs:66:20
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn get_mut(&self) -> &mut T {
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 | impl<T: Default + 'static> Deref for MainLock<T> {
[INFO] [stdout]    | ------------------------------------------------ trait implemented here
[INFO] [stdout] 72 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `refs` (lib) due to 20 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "84e161e52964df590e5165985519ce8b793707385677c8c7b0c4baa4a9f07f2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84e161e52964df590e5165985519ce8b793707385677c8c7b0c4baa4a9f07f2f", kill_on_drop: false }`
[INFO] [stdout] 84e161e52964df590e5165985519ce8b793707385677c8c7b0c4baa4a9f07f2f
