[INFO] cloning repository https://github.com/tonymushah/shrink_fit_wrapper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonymushah/shrink_fit_wrapper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonymushah%2Fshrink_fit_wrapper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonymushah%2Fshrink_fit_wrapper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cef68c1800a8ff2efef640b341f5c6ebfb0d7c3d [INFO] checking tonymushah/shrink_fit_wrapper 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%2Ftonymushah%2Fshrink_fit_wrapper" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tonymushah/shrink_fit_wrapper [INFO] finished tweaking git repo https://github.com/tonymushah/shrink_fit_wrapper [INFO] tweaked toml for git repo https://github.com/tonymushah/shrink_fit_wrapper written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tonymushah/shrink_fit_wrapper 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/tonymushah/shrink_fit_wrapper 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0a9fdae821c113699ed9879b53835b1d3155d4ec142106dee6cb767aba1373eb [INFO] running `Command { std: "docker" "start" "-a" "0a9fdae821c113699ed9879b53835b1d3155d4ec142106dee6cb767aba1373eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a9fdae821c113699ed9879b53835b1d3155d4ec142106dee6cb767aba1373eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a9fdae821c113699ed9879b53835b1d3155d4ec142106dee6cb767aba1373eb", kill_on_drop: false }` [INFO] [stdout] 0a9fdae821c113699ed9879b53835b1d3155d4ec142106dee6cb767aba1373eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 54496ff5aedfc1c63956ff765c3355ce200ab20a2f5f3d1bef9eeab6fbd20778 [INFO] running `Command { std: "docker" "start" "-a" "54496ff5aedfc1c63956ff765c3355ce200ab20a2f5f3d1bef9eeab6fbd20778", kill_on_drop: false }` [INFO] [stderr] Checking shrink_fit_wrapper v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lib.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_shrink_duration_cycle(mut self, cycle_duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn no_cycle(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn last_shrink(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn into_inner(self) -> S { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_mut(&mut self) -> ShrinkFitWrapperMutGuard<'_, S> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn shrink_to_fit(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn disarm(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | / impl<'a, S> Deref for ShrinkFitWrapperMutGuard<'a, S> [INFO] [stdout] 152 | | where [INFO] [stdout] 153 | | S: ShrinkFitable, [INFO] [stdout] | |_____________________- trait implemented here [INFO] [stdout] 154 | { [INFO] [stdout] 155 | type Target = S; [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:38 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_shrink_duration_cycle(mut self, cycle_duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn no_cycle(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn last_shrink(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn into_inner(self) -> S { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn as_mut(&mut self) -> ShrinkFitWrapperMutGuard<'_, S> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn shrink_to_fit(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | impl Deref for ShrinkFitWrapper { [INFO] [stdout] | ------------------------------------- trait implemented here [INFO] [stdout] 129 | type Target = S; [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:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn disarm(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | / impl<'a, S> Deref for ShrinkFitWrapperMutGuard<'a, S> [INFO] [stdout] 152 | | where [INFO] [stdout] 153 | | S: ShrinkFitable, [INFO] [stdout] | |_____________________- trait implemented here [INFO] [stdout] 154 | { [INFO] [stdout] 155 | type Target = S; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shrink_fit_wrapper` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shrink_fit_wrapper` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "54496ff5aedfc1c63956ff765c3355ce200ab20a2f5f3d1bef9eeab6fbd20778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54496ff5aedfc1c63956ff765c3355ce200ab20a2f5f3d1bef9eeab6fbd20778", kill_on_drop: false }` [INFO] [stdout] 54496ff5aedfc1c63956ff765c3355ce200ab20a2f5f3d1bef9eeab6fbd20778