[INFO] fetching crate lazy-cogs 1.0.0... [INFO] checking lazy-cogs-1.0.0 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate lazy-cogs 1.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lazy-cogs 1.0.0 [INFO] finished tweaking crates.io crate lazy-cogs 1.0.0 [INFO] tweaked toml for crates.io crate lazy-cogs 1.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lazy-cogs 1.0.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] 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] Blocking waiting for file lock on package cache [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-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] ba204c1cc3a00bf9945fa1ce0e80312dc030216e8547b6aa29ca93f227789ade [INFO] running `Command { std: "docker" "start" "-a" "ba204c1cc3a00bf9945fa1ce0e80312dc030216e8547b6aa29ca93f227789ade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba204c1cc3a00bf9945fa1ce0e80312dc030216e8547b6aa29ca93f227789ade", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba204c1cc3a00bf9945fa1ce0e80312dc030216e8547b6aa29ca93f227789ade", kill_on_drop: false }` [INFO] [stdout] ba204c1cc3a00bf9945fa1ce0e80312dc030216e8547b6aa29ca93f227789ade [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] 663abd2aeee044470090d96aa475759af35e51bb8e4b5d39bdd7d3ec7386cf3d [INFO] running `Command { std: "docker" "start" "-a" "663abd2aeee044470090d96aa475759af35e51bb8e4b5d39bdd7d3ec7386cf3d", kill_on_drop: false }` [INFO] [stderr] Checking lazy-cogs 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/lc.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn write(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn take(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn ptr_eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | pub unsafe fn destroy(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/alc.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn read_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn write(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn take(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn ptr_eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn destroy(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lazy-cogs` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/lc.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn read_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn write(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn take(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn ptr_eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | pub unsafe fn destroy(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/lc.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | impl Deref for Lc { [INFO] [stdout] | ------------------------------ trait implemented here [INFO] [stdout] 82 | 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/alc.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read(&self) -> &T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn read_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn write(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn take(&self) -> T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn ptr_eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn destroy(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | 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/alc.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | impl Deref for Alc { [INFO] [stdout] | ------------------------------- trait implemented here [INFO] [stdout] 116 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lazy-cogs` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "663abd2aeee044470090d96aa475759af35e51bb8e4b5d39bdd7d3ec7386cf3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663abd2aeee044470090d96aa475759af35e51bb8e4b5d39bdd7d3ec7386cf3d", kill_on_drop: false }` [INFO] [stdout] 663abd2aeee044470090d96aa475759af35e51bb8e4b5d39bdd7d3ec7386cf3d