[INFO] fetching crate hipool 0.3.4... [INFO] checking hipool-0.3.4 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate hipool 0.3.4 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate hipool 0.3.4 [INFO] finished tweaking crates.io crate hipool 0.3.4 [INFO] tweaked toml for crates.io crate hipool 0.3.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hipool 0.3.4 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] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.4) [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-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] 6a562ebf66e7a3da20c181650d8f82cdf72035b11c02f39a1e2e85125f6e483f [INFO] running `Command { std: "docker" "start" "-a" "6a562ebf66e7a3da20c181650d8f82cdf72035b11c02f39a1e2e85125f6e483f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a562ebf66e7a3da20c181650d8f82cdf72035b11c02f39a1e2e85125f6e483f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a562ebf66e7a3da20c181650d8f82cdf72035b11c02f39a1e2e85125f6e483f", kill_on_drop: false }` [INFO] [stdout] 6a562ebf66e7a3da20c181650d8f82cdf72035b11c02f39a1e2e85125f6e483f [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] fff5960cd86699f6051f842cc6413f9a56bb0fc7635167b58ab4922bb38526e1 [INFO] running `Command { std: "docker" "start" "-a" "fff5960cd86699f6051f842cc6413f9a56bb0fc7635167b58ab4922bb38526e1", kill_on_drop: false }` [INFO] [stderr] Checking hierr v0.2.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking hipool v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/boxed.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | pub const fn as_ptr(&self) -> *mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:235:31 [INFO] [stdout] | [INFO] [stdout] 235 | pub unsafe fn as_other(&self) -> &U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn as_other_mut(&mut self) -> &mut U { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | pub unsafe fn as_slice(&self, len: usize) -> &[U] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | pub unsafe fn as_slice_mut(&mut self, len: usize) -> &mut [U] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | pub unsafe fn cast(self) -> core::result::Result, Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn cast_unchecked(self) -> Boxed<'a, U, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:283:33 [INFO] [stdout] | [INFO] [stdout] 283 | pub unsafe fn cast_slice(self, len: usize) -> core::result::Result, Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:296:43 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn cast_slice_unchecked(self, len: usize) -> Boxed<'a, [U], A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn leak(self) -> (&'a mut T, Layout, &'a A) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn leak_boxed(self) -> Boxed<'a, T, NullAlloc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn to_any(self) -> Boxed<'a, dyn Any, A> { [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/boxed.rs:547:30 [INFO] [stdout] | [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn upcast(self, f: impl FnOnce(&T) -> &U) -> core::result::Result, Self> { [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/boxed.rs:563:19 [INFO] [stdout] | [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn layout(&self) -> Layout { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/boxed.rs:601:27 [INFO] [stdout] | [INFO] [stdout] 601 | assert_eq!(1, DROP); [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/boxed.rs:658:24 [INFO] [stdout] | [INFO] [stdout] 658 | assert_eq!(D, 1); [INFO] [stdout] | ^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/buf.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | assert_eq!(COUNT, 9); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem.rs:662:24 [INFO] [stdout] | [INFO] [stdout] 662 | assert_eq!(CNT, 9); [INFO] [stdout] | ^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/rc.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | pub unsafe fn get_mut_unchecked(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn to_any(self) -> Rc<'a, dyn Any, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe fn cast_unchecked(self) -> Rc<'a, U, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rc.rs:337:33 [INFO] [stdout] | [INFO] [stdout] 337 | unsafe { assert_eq!(DROP, 0) }; [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rc.rs:339:29 [INFO] [stdout] | [INFO] [stdout] 339 | unsafe { assert_eq!(DROP, 1) }; [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/arc.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | pub unsafe fn get_mut_unchecked(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn to_any(self) -> Arc<'a, dyn Any, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | pub unsafe fn cast_unchecked(self) -> Arc<'a, U, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/arc.rs:334:33 [INFO] [stdout] | [INFO] [stdout] 334 | unsafe { assert_eq!(DROP, 0) }; [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/arc.rs:336:29 [INFO] [stdout] | [INFO] [stdout] 336 | unsafe { assert_eq!(DROP, 1) }; [INFO] [stdout] | ^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(100, DROP_CNT); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(100, DROP_CNT); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hipool` (lib test) due to 26 previous errors; 10 warnings emitted [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/boxed.rs:229:25 [INFO] [stdout] | [INFO] [stdout] 229 | pub const fn as_ptr(&self) -> *mut T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:235:31 [INFO] [stdout] | [INFO] [stdout] 235 | pub unsafe fn as_other(&self) -> &U { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | pub unsafe fn as_other_mut(&mut self) -> &mut U { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:249:31 [INFO] [stdout] | [INFO] [stdout] 249 | pub unsafe fn as_slice(&self, len: usize) -> &[U] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | pub unsafe fn as_slice_mut(&mut self, len: usize) -> &mut [U] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | pub unsafe fn cast(self) -> core::result::Result, Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:274:37 [INFO] [stdout] | [INFO] [stdout] 274 | pub unsafe fn cast_unchecked(self) -> Boxed<'a, U, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:283:33 [INFO] [stdout] | [INFO] [stdout] 283 | pub unsafe fn cast_slice(self, len: usize) -> core::result::Result, Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:296:43 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn cast_slice_unchecked(self, len: usize) -> Boxed<'a, [U], A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn leak(self) -> (&'a mut T, Layout, &'a A) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn leak_boxed(self) -> Boxed<'a, T, NullAlloc> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | 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/boxed.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 517 | pub fn to_any(self) -> Boxed<'a, dyn Any, A> { [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/boxed.rs:547:30 [INFO] [stdout] | [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn upcast(self, f: impl FnOnce(&T) -> &U) -> core::result::Result, Self> { [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/boxed.rs:563:19 [INFO] [stdout] | [INFO] [stdout] 345 | impl Deref for Boxed<'_, T, A> { [INFO] [stdout] | ------------------------------------------------------- trait implemented here [INFO] [stdout] 346 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn layout(&self) -> Layout { [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/rc.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | pub unsafe fn get_mut_unchecked(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:121:19 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn to_any(self) -> Rc<'a, dyn Any, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/rc.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | pub unsafe fn cast_unchecked(self) -> Rc<'a, U, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | impl Deref for Rc<'_, T, A> { [INFO] [stdout] | ---------------------------------------------------- trait implemented here [INFO] [stdout] 231 | 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/arc.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn as_ptr(&self) -> *const T { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 94 | pub unsafe fn get_mut_unchecked(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hipool` (lib) due to 26 previous errors [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/arc.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn to_any(self) -> Arc<'a, dyn Any, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | 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/arc.rs:181:37 [INFO] [stdout] | [INFO] [stdout] 181 | pub unsafe fn cast_unchecked(self) -> Arc<'a, U, A> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | impl Deref for Arc<'_, T, A> { [INFO] [stdout] | ----------------------------------------------------- trait implemented here [INFO] [stdout] 228 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fff5960cd86699f6051f842cc6413f9a56bb0fc7635167b58ab4922bb38526e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff5960cd86699f6051f842cc6413f9a56bb0fc7635167b58ab4922bb38526e1", kill_on_drop: false }` [INFO] [stdout] fff5960cd86699f6051f842cc6413f9a56bb0fc7635167b58ab4922bb38526e1