[INFO] fetching crate ccl_owning_ref 0.4.2... [INFO] checking ccl_owning_ref-0.4.2 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate ccl_owning_ref 0.4.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ccl_owning_ref 0.4.2 [INFO] finished tweaking crates.io crate ccl_owning_ref 0.4.2 [INFO] tweaked toml for crates.io crate ccl_owning_ref 0.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ccl_owning_ref 0.4.2 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 18 packages to latest compatible versions [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fa0d44f5cc39f827bd8a1a669b3121d5af890cd5cbdc6d88241cacb5cd03c494 [INFO] running `Command { std: "docker" "start" "-a" "fa0d44f5cc39f827bd8a1a669b3121d5af890cd5cbdc6d88241cacb5cd03c494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa0d44f5cc39f827bd8a1a669b3121d5af890cd5cbdc6d88241cacb5cd03c494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0d44f5cc39f827bd8a1a669b3121d5af890cd5cbdc6d88241cacb5cd03c494", kill_on_drop: false }` [INFO] [stdout] fa0d44f5cc39f827bd8a1a669b3121d5af890cd5cbdc6d88241cacb5cd03c494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 97080ec88f86e64dcd3d65471726fafda1f5c4b1954d4df8796fa425ae0d3fa1 [INFO] running `Command { std: "docker" "start" "-a" "97080ec88f86e64dcd3d65471726fafda1f5c4b1954d4df8796fa425ae0d3fa1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking ccl_stable_deref_trait v1.0.2 [INFO] [stderr] Checking ccl_owning_ref v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1009:28 [INFO] [stdout] | [INFO] [stdout] 1009 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1009 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] 1009 + where O: Send, for<'a> &'a T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1011:28 [INFO] [stdout] | [INFO] [stdout] 1011 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1011 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] 1011 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1014:28 [INFO] [stdout] | [INFO] [stdout] 1014 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1014 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] 1014 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1016:28 [INFO] [stdout] | [INFO] [stdout] 1016 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1016 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] 1016 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1009:28 [INFO] [stdout] | [INFO] [stdout] 1009 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1009 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] 1009 + where O: Send, for<'a> &'a T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1011:28 [INFO] [stdout] | [INFO] [stdout] 1011 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1011 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] 1011 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1014:28 [INFO] [stdout] | [INFO] [stdout] 1014 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1014 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] 1014 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1016:28 [INFO] [stdout] | [INFO] [stdout] 1016 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1016 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] 1016 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1018:16 [INFO] [stdout] | [INFO] [stdout] 1018 | impl Debug for Erased { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1018 | impl Debug for dyn Erased { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1138:23 [INFO] [stdout] | [INFO] [stdout] 1138 | type Erased = Box; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 | type Erased = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1144:22 [INFO] [stdout] | [INFO] [stdout] 1144 | type Erased = Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1144 | type Erased = Rc; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1150:23 [INFO] [stdout] | [INFO] [stdout] 1150 | type Erased = Arc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1150 | type Erased = Arc; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1157:42 [INFO] [stdout] | [INFO] [stdout] 1157 | pub type ErasedBoxRef = OwningRef, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1157 | pub type ErasedBoxRef = OwningRef, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1159:40 [INFO] [stdout] | [INFO] [stdout] 1159 | pub type ErasedRcRef = OwningRef, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1159 | pub type ErasedRcRef = OwningRef, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1161:42 [INFO] [stdout] | [INFO] [stdout] 1161 | pub type ErasedArcRef = OwningRef, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1161 | pub type ErasedArcRef = OwningRef, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1164:48 [INFO] [stdout] | [INFO] [stdout] 1164 | pub type ErasedBoxRefMut = OwningRefMut, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1164 | pub type ErasedBoxRefMut = OwningRefMut, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1018:16 [INFO] [stdout] | [INFO] [stdout] 1018 | impl Debug for Erased { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1018 | impl Debug for dyn Erased { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1138:23 [INFO] [stdout] | [INFO] [stdout] 1138 | type Erased = Box; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 | type Erased = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1144:22 [INFO] [stdout] | [INFO] [stdout] 1144 | type Erased = Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1144 | type Erased = Rc; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1150:23 [INFO] [stdout] | [INFO] [stdout] 1150 | type Erased = Arc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1150 | type Erased = Arc; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1157:42 [INFO] [stdout] | [INFO] [stdout] 1157 | pub type ErasedBoxRef = OwningRef, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1157 | pub type ErasedBoxRef = OwningRef, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1159:40 [INFO] [stdout] | [INFO] [stdout] 1159 | pub type ErasedRcRef = OwningRef, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1159 | pub type ErasedRcRef = OwningRef, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1161:42 [INFO] [stdout] | [INFO] [stdout] 1161 | pub type ErasedArcRef = OwningRef, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1161 | pub type ErasedArcRef = OwningRef, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1164:48 [INFO] [stdout] | [INFO] [stdout] 1164 | pub type ErasedBoxRefMut = OwningRefMut, U>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1164 | pub type ErasedBoxRefMut = OwningRefMut, U>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1287:27 [INFO] [stdout] | [INFO] [stdout] 1287 | let o: BoxRef = o.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1287 | let o: BoxRef = o.erase_owner(); [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:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn map(self, f: F) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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/lib.rs:387:37 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn try_map(self, f: F) -> Result, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:402:35 [INFO] [stdout] | [INFO] [stdout] 402 | pub unsafe fn map_owner(self, f: F) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:418:26 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn map_owner_box(self) -> OwningRef, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:457:28 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn erase_owner<'a>(self) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:469:21 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:474:23 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:537:30 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn map(mut self, f: F) -> OwningRef [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:567:34 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn map_mut(mut self, f: F) -> OwningRefMut [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:599:37 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn try_map(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:631:41 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn try_map_mut(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:646:35 [INFO] [stdout] | [INFO] [stdout] 646 | pub unsafe fn map_owner(self, f: F) -> OwningRefMut [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:662:26 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn map_owner_box(self) -> OwningRefMut, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:701:28 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn erase_owner<'a>(self) -> OwningRefMut [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:713:21 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn as_owner_mut(&mut self) -> &mut O { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:723:23 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1408:33 [INFO] [stdout] | [INFO] [stdout] 1408 | let e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1408 | let e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1409:33 [INFO] [stdout] | [INFO] [stdout] 1409 | let f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1409 | let f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ccl_owning_ref` (lib) due to 17 previous errors; 12 warnings emitted [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1425:35 [INFO] [stdout] | [INFO] [stdout] 1425 | let _e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1425 | let _e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1426:35 [INFO] [stdout] | [INFO] [stdout] 1426 | let _f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1426 | let _f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1434:24 [INFO] [stdout] | [INFO] [stdout] 1434 | let y: Box = x; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1434 | let y: Box = x; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1444:24 [INFO] [stdout] | [INFO] [stdout] 1444 | let y: Box = x; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1444 | let y: Box = x; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1725:30 [INFO] [stdout] | [INFO] [stdout] 1725 | let o: BoxRefMut = o.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1725 | let o: BoxRefMut = o.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1827:38 [INFO] [stdout] | [INFO] [stdout] 1827 | let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1827 | let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1828:38 [INFO] [stdout] | [INFO] [stdout] 1828 | let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1828 | let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1841:38 [INFO] [stdout] | [INFO] [stdout] 1841 | let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1841 | let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1842:38 [INFO] [stdout] | [INFO] [stdout] 1842 | let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1842 | let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1850:24 [INFO] [stdout] | [INFO] [stdout] 1850 | let y: Box = x; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1850 | let y: Box = x; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1860:24 [INFO] [stdout] | [INFO] [stdout] 1860 | let y: Box = x; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1860 | let y: Box = x; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1870:24 [INFO] [stdout] | [INFO] [stdout] 1870 | let y: Box = x; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1870 | let y: Box = x; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1880:24 [INFO] [stdout] | [INFO] [stdout] 1880 | let y: Box = x; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1880 | let y: Box = x; [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:355:30 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn map(self, f: F) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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/lib.rs:387:37 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn try_map(self, f: F) -> Result, E> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:402:35 [INFO] [stdout] | [INFO] [stdout] 402 | pub unsafe fn map_owner(self, f: F) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:418:26 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn map_owner_box(self) -> OwningRef, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:457:28 [INFO] [stdout] | [INFO] [stdout] 457 | pub fn erase_owner<'a>(self) -> OwningRef [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:469:21 [INFO] [stdout] | [INFO] [stdout] 469 | pub fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:474:23 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 882 | impl Deref for OwningRef { [INFO] [stdout] | -------------------------------------------- trait implemented here [INFO] [stdout] 883 | 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:537:30 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn map(mut self, f: F) -> OwningRef [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:567:34 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn map_mut(mut self, f: F) -> OwningRefMut [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:599:37 [INFO] [stdout] | [INFO] [stdout] 599 | pub fn try_map(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:631:41 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn try_map_mut(mut self, f: F) -> Result, E> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:646:35 [INFO] [stdout] | [INFO] [stdout] 646 | pub unsafe fn map_owner(self, f: F) -> OwningRefMut [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:662:26 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn map_owner_box(self) -> OwningRefMut, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:701:28 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn erase_owner<'a>(self) -> OwningRefMut [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:713:21 [INFO] [stdout] | [INFO] [stdout] 713 | pub fn as_owner(&self) -> &O { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:718:25 [INFO] [stdout] | [INFO] [stdout] 718 | pub fn as_owner_mut(&mut self) -> &mut O { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | 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:723:23 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn into_owner(self) -> O { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 892 | impl Deref for OwningRefMut { [INFO] [stdout] | ----------------------------------------------- trait implemented here [INFO] [stdout] 893 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/lib.rs:1436:13 [INFO] [stdout] | [INFO] [stdout] 1436 | OwningRef::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [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] 1436 | let _ = OwningRef::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_err` that must be used [INFO] [stdout] --> src/lib.rs:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | OwningRef::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1446 | let _ = OwningRef::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_err(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:1639:53 [INFO] [stdout] | [INFO] [stdout] 1639 | let mut_s: &'static mut [u8] = unsafe { &mut MUT_S }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1639 | let mut_s: &'static mut [u8] = unsafe { &raw mut MUT_S }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/lib.rs:1852:13 [INFO] [stdout] | [INFO] [stdout] 1852 | OwningRefMut::new(y).try_map_mut(|x| x.downcast_mut::().ok_or(())).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1852 | let _ = OwningRefMut::new(y).try_map_mut(|x| x.downcast_mut::().ok_or(())).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_err` that must be used [INFO] [stdout] --> src/lib.rs:1862:13 [INFO] [stdout] | [INFO] [stdout] 1862 | OwningRefMut::new(y).try_map_mut(|x| x.downcast_mut::().ok_or(())).is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1862 | let _ = OwningRefMut::new(y).try_map_mut(|x| x.downcast_mut::().ok_or(())).is_err(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/lib.rs:1872:13 [INFO] [stdout] | [INFO] [stdout] 1872 | OwningRefMut::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1872 | let _ = OwningRefMut::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_err` that must be used [INFO] [stdout] --> src/lib.rs:1882:13 [INFO] [stdout] | [INFO] [stdout] 1882 | OwningRefMut::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1882 | let _ = OwningRefMut::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_err(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ccl_owning_ref` (lib test) due to 17 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "97080ec88f86e64dcd3d65471726fafda1f5c4b1954d4df8796fa425ae0d3fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97080ec88f86e64dcd3d65471726fafda1f5c4b1954d4df8796fa425ae0d3fa1", kill_on_drop: false }` [INFO] [stdout] 97080ec88f86e64dcd3d65471726fafda1f5c4b1954d4df8796fa425ae0d3fa1