[INFO] fetching crate poolshark 0.2.6... [INFO] checking poolshark-0.2.6 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] extracting crate poolshark 0.2.6 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate poolshark 0.2.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate poolshark 0.2.6 [INFO] tweaked toml for crates.io crate poolshark 0.2.6 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate poolshark 0.2.6 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 poolshark 0.2.6 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] 9076f1da381bde376aff3f28f071fa9cd87a42816fdb76afa5d2ff1cd0c3abb5 [INFO] running `Command { std: "docker" "start" "-a" "9076f1da381bde376aff3f28f071fa9cd87a42816fdb76afa5d2ff1cd0c3abb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9076f1da381bde376aff3f28f071fa9cd87a42816fdb76afa5d2ff1cd0c3abb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9076f1da381bde376aff3f28f071fa9cd87a42816fdb76afa5d2ff1cd0c3abb5", kill_on_drop: false }` [INFO] [stdout] 9076f1da381bde376aff3f28f071fa9cd87a42816fdb76afa5d2ff1cd0c3abb5 [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] fd9382122eeaa53d5f89e4b4760a1be956ce2313d97c9cf0133347201e2d4191 [INFO] running `Command { std: "docker" "start" "-a" "fd9382122eeaa53d5f89e4b4760a1be956ce2313d97c9cf0133347201e2d4191", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking clap_builder v4.5.51 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking clap v4.5.51 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling poolshark_derive v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking triomphe v0.1.14 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking poolshark v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/mod.rs:395:19 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn assign(&mut self, pool: &Pool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | impl Deref for GPooled { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 419 | 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/global/mod.rs:403:19 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn detach(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | impl Deref for GPooled { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 419 | 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/global/arc.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_arc!( [INFO] [stdout] 166 | | TArc, [INFO] [stdout] 167 | | TArcInner, [INFO] [stdout] 168 | | TArcInner::is_unique, [INFO] [stdout] ... | [INFO] [stdout] 178 | | ```" [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_arc!( [INFO] [stdout] 166 | | TArc, [INFO] [stdout] 167 | | TArcInner, [INFO] [stdout] 168 | | TArcInner::is_unique, [INFO] [stdout] ... | [INFO] [stdout] 178 | | ```" [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn as_ptr(&self) -> *const (WeakPool, T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_arc!( [INFO] [stdout] 166 | | TArc, [INFO] [stdout] 167 | | TArcInner, [INFO] [stdout] 168 | | TArcInner::is_unique, [INFO] [stdout] ... | [INFO] [stdout] 178 | | ```" [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn make_mut<'a>(&'a mut self) -> &'a mut T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | / impl_arc!( [INFO] [stdout] 166 | | TArc, [INFO] [stdout] 167 | | TArcInner, [INFO] [stdout] 168 | | TArcInner::is_unique, [INFO] [stdout] ... | [INFO] [stdout] 178 | | ```" [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn is_unique(&self) -> bool { [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/global/arc.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / impl_arc!( [INFO] [stdout] 191 | | Arc, [INFO] [stdout] 192 | | ArcInner, [INFO] [stdout] 193 | | |a| ArcInner::get_mut(a).is_some(), [INFO] [stdout] ... | [INFO] [stdout] 211 | | - Slightly larger memory footprint (stores pool pointer)" [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn strong_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / impl_arc!( [INFO] [stdout] 191 | | Arc, [INFO] [stdout] 192 | | ArcInner, [INFO] [stdout] 193 | | |a| ArcInner::get_mut(a).is_some(), [INFO] [stdout] ... | [INFO] [stdout] 211 | | - Slightly larger memory footprint (stores pool pointer)" [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn as_ptr(&self) -> *const (WeakPool, T) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / impl_arc!( [INFO] [stdout] 191 | | Arc, [INFO] [stdout] 192 | | ArcInner, [INFO] [stdout] 193 | | |a| ArcInner::get_mut(a).is_some(), [INFO] [stdout] ... | [INFO] [stdout] 211 | | - Slightly larger memory footprint (stores pool pointer)" [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn make_mut<'a>(&'a mut self) -> &'a mut T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | / impl_arc!( [INFO] [stdout] 191 | | Arc, [INFO] [stdout] 192 | | ArcInner, [INFO] [stdout] 193 | | |a| ArcInner::get_mut(a).is_some(), [INFO] [stdout] ... | [INFO] [stdout] 211 | | - Slightly larger memory footprint (stores pool pointer)" [INFO] [stdout] 212 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_arc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poolshark` (lib) due to 14 previous errors [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/global/arc.rs:223:23 [INFO] [stdout] | [INFO] [stdout] 66 | impl Deref for $name { [INFO] [stdout] | ------------------------------------ trait implemented here [INFO] [stdout] 67 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn weak_count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [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/local/mod.rs:339:19 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn detach(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | impl Deref for LPooled { [INFO] [stdout] | ----------------------------------------- trait implemented here [INFO] [stdout] 359 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd9382122eeaa53d5f89e4b4760a1be956ce2313d97c9cf0133347201e2d4191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9382122eeaa53d5f89e4b4760a1be956ce2313d97c9cf0133347201e2d4191", kill_on_drop: false }` [INFO] [stdout] fd9382122eeaa53d5f89e4b4760a1be956ce2313d97c9cf0133347201e2d4191