[INFO] cloning repository https://github.com/stescobedo92/unique_ptr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stescobedo92/unique_ptr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstescobedo92%2Funique_ptr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstescobedo92%2Funique_ptr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b3d3c20b61d5c6f253761ec9281ec2a7561a355c
[INFO] checking stescobedo92/unique_ptr against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstescobedo92%2Funique_ptr" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/stescobedo92/unique_ptr
[INFO] finished tweaking git repo https://github.com/stescobedo92/unique_ptr
[INFO] tweaked toml for git repo https://github.com/stescobedo92/unique_ptr written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/stescobedo92/unique_ptr 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/stescobedo92/unique_ptr 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 636f5fc0184cc970757af4f407f6b97531dcaf1a3e836e4d0d0d22b3c42179d5
[INFO] running `Command { std: "docker" "start" "-a" "636f5fc0184cc970757af4f407f6b97531dcaf1a3e836e4d0d0d22b3c42179d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "636f5fc0184cc970757af4f407f6b97531dcaf1a3e836e4d0d0d22b3c42179d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "636f5fc0184cc970757af4f407f6b97531dcaf1a3e836e4d0d0d22b3c42179d5", kill_on_drop: false }`
[INFO] [stdout] 636f5fc0184cc970757af4f407f6b97531dcaf1a3e836e4d0d0d22b3c42179d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 99cdea2d4bb084afd4c42fabeaeccaed5ff89a9ed8c9d00a9efe8c6c8fe35a9c
[INFO] running `Command { std: "docker" "start" "-a" "99cdea2d4bb084afd4c42fabeaeccaed5ff89a9ed8c9d00a9efe8c6c8fe35a9c", kill_on_drop: false }`
[INFO] [stderr]     Checking unique_ptr v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Box::from_raw(self.ptr);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let _ = Box::from_raw(self.ptr);
[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:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn reset(&mut self, ptr: *mut T) {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Box::from_raw(self.ptr);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let _ = Box::from_raw(self.ptr);
[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:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn release(&mut self) -> *mut T {
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn swap(&mut self, other: &mut Self) {
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn get(&self) -> *mut T {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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:92:24
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn get_deleter(&self) -> &Deleter {
[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:108:21
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]     | ---------------------------------------------------------- trait implemented here
[INFO] [stdout]  78 |     type Target = T;
[INFO] [stdout]     |     ----------- with `Target` set here
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn into_raw(self) -> *mut T {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `unique_ptr` (lib) due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |             Box::from_raw(self.ptr);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |             let _ = Box::from_raw(self.ptr);
[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:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn reset(&mut self, ptr: *mut T) {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Box::from_raw(self.ptr);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 52 |             let _ = Box::from_raw(self.ptr);
[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:57:20
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn release(&mut self) -> *mut T {
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn swap(&mut self, other: &mut Self) {
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn get(&self) -> *mut T {
[INFO] [stdout]    |                ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     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:92:24
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]    | ---------------------------------------------------------- trait implemented here
[INFO] [stdout] 78 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn get_deleter(&self) -> &Deleter {
[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:108:21
[INFO] [stdout]     |
[INFO] [stdout]  77 | impl<T, Deleter> std::ops::Deref for UniquePtr<T, Deleter> {
[INFO] [stdout]     | ---------------------------------------------------------- trait implemented here
[INFO] [stdout]  78 |     type Target = T;
[INFO] [stdout]     |     ----------- with `Target` set here
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub fn into_raw(self) -> *mut T {
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `unique_ptr` (lib test) due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "99cdea2d4bb084afd4c42fabeaeccaed5ff89a9ed8c9d00a9efe8c6c8fe35a9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99cdea2d4bb084afd4c42fabeaeccaed5ff89a9ed8c9d00a9efe8c6c8fe35a9c", kill_on_drop: false }`
[INFO] [stdout] 99cdea2d4bb084afd4c42fabeaeccaed5ff89a9ed8c9d00a9efe8c6c8fe35a9c
