[INFO] fetching crate ghost-gc 0.2.1...
[INFO] checking ghost-gc-0.2.1 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0
[INFO] extracting crate ghost-gc 0.2.1 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate ghost-gc 0.2.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate ghost-gc 0.2.1
[INFO] tweaked toml for crates.io crate ghost-gc 0.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ghost-gc 0.2.1 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 ghost-gc 0.2.1 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] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] abd3debe0abc4b0be7d774651c19ea9eb136fe45f9f642dc39d0a504c21c22f0
[INFO] running `Command { std: "docker" "start" "-a" "abd3debe0abc4b0be7d774651c19ea9eb136fe45f9f642dc39d0a504c21c22f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abd3debe0abc4b0be7d774651c19ea9eb136fe45f9f642dc39d0a504c21c22f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abd3debe0abc4b0be7d774651c19ea9eb136fe45f9f642dc39d0a504c21c22f0", kill_on_drop: false }`
[INFO] [stdout] abd3debe0abc4b0be7d774651c19ea9eb136fe45f9f642dc39d0a504c21c22f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cf1c36e6f9e3f5519b3d975384f454e9dfb1aa667c279aec06e20b3e14b537a1
[INFO] running `Command { std: "docker" "start" "-a" "cf1c36e6f9e3f5519b3d975384f454e9dfb1aa667c279aec06e20b3e14b537a1", kill_on_drop: false }`
[INFO] [stderr]     Checking ghost-gc v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/gc.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn write(&self) -> &Write<T> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     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/gc.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn unlock(&self) -> &T::Unlocked
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     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/gc.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn as_ptr(&self) -> *mut T {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     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/gc.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn long_ref(&self) -> &'b T {
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]  --> src/gc_vtable.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              --------- in this derive macro expansion
[INFO] [stdout] 7 | pub struct GcVTable {
[INFO] [stdout] 8 |     collect: unsafe fn(GcBox<Erased>, &Collector),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the address of the same function can vary between different codegen units
[INFO] [stdout]   = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]   = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]   = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]  --> src/gc_vtable.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 9 |     drop_in_place: unsafe fn(GcBox<Erased>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the address of the same function can vary between different codegen units
[INFO] [stdout]   = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]   = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/unique_gc.rs:248:19
[INFO] [stdout]     |
[INFO] [stdout] 248 |     pub fn as_ptr(&self) -> *const T {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 | impl<T: ?Sized> Deref for UniqueGc<'_, T> {
[INFO] [stdout]     | ----------------------------------------- trait implemented here
[INFO] [stdout] 285 |     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/unique_gc.rs:252:23
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn as_ptr_mut(&mut self) -> *mut T {
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 | impl<T: ?Sized> Deref for UniqueGc<'_, T> {
[INFO] [stdout]     | ----------------------------------------- trait implemented here
[INFO] [stdout] 285 |     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/gc.rs:31:18
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn write(&self) -> &Write<T> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     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/gc.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn unlock(&self) -> &T::Unlocked
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     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/gc.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub fn as_ptr(&self) -> *mut T {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     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/gc.rs:48:21
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn long_ref(&self) -> &'b T {
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | impl<T: ?Sized> Deref for Gc<'_, T> {
[INFO] [stdout]    | ----------------------------------- trait implemented here
[INFO] [stdout] 66 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]  --> src/gc_vtable.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              --------- in this derive macro expansion
[INFO] [stdout] 7 | pub struct GcVTable {
[INFO] [stdout] 8 |     collect: unsafe fn(GcBox<Erased>, &Collector),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the address of the same function can vary between different codegen units
[INFO] [stdout]   = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]   = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]   = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]  --> src/gc_vtable.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              --------- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 9 |     drop_in_place: unsafe fn(GcBox<Erased>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the address of the same function can vary between different codegen units
[INFO] [stdout]   = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]   = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]    --> src/unique_gc.rs:248:19
[INFO] [stdout]     |
[INFO] [stdout] 248 |     pub fn as_ptr(&self) -> *const T {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 | impl<T: ?Sized> Deref for UniqueGc<'_, T> {
[INFO] [stdout]     | ----------------------------------------- trait implemented here
[INFO] [stdout] 285 |     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/unique_gc.rs:252:23
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn as_ptr_mut(&mut self) -> *mut T {
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 284 | impl<T: ?Sized> Deref for UniqueGc<'_, T> {
[INFO] [stdout]     | ----------------------------------------- trait implemented here
[INFO] [stdout] 285 |     type Target = T;
[INFO] [stdout]     |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ghost-gc` (lib test) due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ghost-gc` (lib) due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cf1c36e6f9e3f5519b3d975384f454e9dfb1aa667c279aec06e20b3e14b537a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf1c36e6f9e3f5519b3d975384f454e9dfb1aa667c279aec06e20b3e14b537a1", kill_on_drop: false }`
[INFO] [stdout] cf1c36e6f9e3f5519b3d975384f454e9dfb1aa667c279aec06e20b3e14b537a1
