[INFO] fetching crate ccl_owning_ref 0.4.2... [INFO] testing ccl_owning_ref-0.4.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate ccl_owning_ref 0.4.2 into /workspace/builds/worker-76/source [INFO] validating manifest of crates.io crate ccl_owning_ref 0.4.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-76/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ccl_stable_deref_trait v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 225033a1b1e911e7e2741d2934b176ae7271c50f34b123052d496b49d2fe5734 [INFO] running `Command { std: "docker" "start" "-a" "225033a1b1e911e7e2741d2934b176ae7271c50f34b123052d496b49d2fe5734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "225033a1b1e911e7e2741d2934b176ae7271c50f34b123052d496b49d2fe5734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225033a1b1e911e7e2741d2934b176ae7271c50f34b123052d496b49d2fe5734", kill_on_drop: false }` [INFO] [stdout] 225033a1b1e911e7e2741d2934b176ae7271c50f34b123052d496b49d2fe5734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dce4c71e35a23663c05b42ea58db4bf484fab529c53af05428a158f8b6c0370 [INFO] running `Command { std: "docker" "start" "-a" "7dce4c71e35a23663c05b42ea58db4bf484fab529c53af05428a158f8b6c0370", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling ccl_stable_deref_trait v1.0.2 [INFO] [stderr] Compiling 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)]` 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1018 - impl Debug for Erased { [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1157 - pub type ErasedBoxRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1159 - pub type ErasedRcRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1161 - pub type ErasedArcRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1164 - pub type ErasedBoxRefMut = OwningRefMut, U>; [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 - type Erased = Box; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1144 - type Erased = Rc; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1150 - type Erased = Arc; [INFO] [stdout] 1150 + type Erased = Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.61s [INFO] running `Command { std: "docker" "inspect" "7dce4c71e35a23663c05b42ea58db4bf484fab529c53af05428a158f8b6c0370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dce4c71e35a23663c05b42ea58db4bf484fab529c53af05428a158f8b6c0370", kill_on_drop: false }` [INFO] [stdout] 7dce4c71e35a23663c05b42ea58db4bf484fab529c53af05428a158f8b6c0370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3cdf3165458be0837e81d84cf31a8310b82d3cf0c0c53b707ac7daed9501477 [INFO] running `Command { std: "docker" "start" "-a" "d3cdf3165458be0837e81d84cf31a8310b82d3cf0c0c53b707ac7daed9501477", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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)]` 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] [stderr] Compiling ccl_owning_ref v0.4.2 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1018 - impl Debug for Erased { [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1157 - pub type ErasedBoxRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1159 - pub type ErasedRcRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1161 - pub type ErasedArcRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1164 - pub type ErasedBoxRefMut = OwningRefMut, U>; [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 - type Erased = Box; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1144 - type Erased = Rc; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1150 - type Erased = Arc; [INFO] [stdout] 1150 + type Erased = Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [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)]` 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1018 - impl Debug for Erased { [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1157 - pub type ErasedBoxRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1159 - pub type ErasedRcRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1161 - pub type ErasedArcRef = OwningRef, U>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1164 - pub type ErasedBoxRefMut = OwningRefMut, U>; [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1138 - type Erased = Box; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1144 - type Erased = Rc; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1150 - type Erased = Arc; [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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1287 - let o: BoxRef = o.erase_owner(); [INFO] [stdout] 1287 + let o: BoxRef = 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1408 - let e: OwningRef, [u8]> = c.erase_owner(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1409 - let f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stdout] 1409 + 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1425 - let _e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stdout] 1425 + 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: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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1426 - let _f: OwningRef, [u8]> = d.erase_owner(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1434 - let y: Box = x; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1444 - let y: Box = x; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1725 - let o: BoxRefMut = o.erase_owner(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1827 - let _e: OwningRefMut, [u8]> = c.erase_owner(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1828 - let _f: OwningRefMut, [u8]> = d.erase_owner(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1841 - let _e: OwningRefMut, [u8]> = c.erase_owner(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1842 - let _f: OwningRefMut, [u8]> = d.erase_owner(); [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1850 - let y: Box = x; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1860 - let y: Box = x; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1870 - let y: Box = x; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1880 - let y: Box = x; [INFO] [stdout] 1880 + let y: Box = x; [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: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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "d3cdf3165458be0837e81d84cf31a8310b82d3cf0c0c53b707ac7daed9501477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3cdf3165458be0837e81d84cf31a8310b82d3cf0c0c53b707ac7daed9501477", kill_on_drop: false }` [INFO] [stdout] d3cdf3165458be0837e81d84cf31a8310b82d3cf0c0c53b707ac7daed9501477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 595ab28459e13060ae90d465c39bf743ef150b26dfab35f2648a5cd134c9d06a [INFO] running `Command { std: "docker" "start" "-a" "595ab28459e13060ae90d465c39bf743ef150b26dfab35f2648a5cd134c9d06a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] running 61 tests [INFO] [stderr] --> src/lib.rs:1009:28 [INFO] [stdout] test tests::owning_handle::nested ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_handle::owning_handle_mut_safe ... ok [INFO] [stderr] 1009 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] test tests::owning_handle::owning_handle ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test tests::owning_handle::owning_handle_safe_2 ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_handle::try_owning_handle_ok ... ok [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] test tests::owning_ref::as_owner ... ok [INFO] [stderr] help: remove these parentheses [INFO] [stdout] test tests::owning_ref::borrow ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref::cmp ... ok [INFO] [stderr] 1009 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] test tests::owning_ref::eq ... ok [INFO] [stderr] 1009 + where O: Send, for<'a> &'a T: Send {} [INFO] [stdout] test tests::owning_ref::erased_owner ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref::fmt_debug ... ok [INFO] [stderr] [INFO] [stdout] test tests::owning_ref::hash ... ok [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] test tests::owning_ref::into ... ok [INFO] [stderr] --> src/lib.rs:1011:28 [INFO] [stdout] test tests::owning_ref::into_owner ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref::map_chained ... ok [INFO] [stderr] 1011 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] test tests::owning_ref::map_chained_inference ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test tests::owning_ref::map_heap_ref ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref::map_offset_ref ... ok [INFO] [stderr] help: remove these parentheses [INFO] [stdout] test tests::owning_ref::map_static_ref ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref::non_static_erased_owner ... ok [INFO] [stderr] 1011 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] test tests::owning_ref::new_deref ... ok [INFO] [stderr] 1011 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stdout] test tests::owning_ref::partial_cmp ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_handle::owning_handle_safe ... ok [INFO] [stderr] [INFO] [stdout] test tests::owning_handle::try_owning_handle_err ... ok [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] test tests::owning_ref::raii_locks ... ok [INFO] [stderr] --> src/lib.rs:1014:28 [INFO] [stdout] test tests::owning_ref::total_erase ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref::total_erase_box ... ok [INFO] [stderr] 1014 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] test tests::owning_ref::try_map1 ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test tests::owning_ref::try_map2 ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::as_owner ... ok [INFO] [stderr] help: remove these parentheses [INFO] [stdout] test tests::owning_ref_mut::borrow ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::cmp ... ok [INFO] [stderr] 1014 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] test tests::owning_ref_mut::eq ... ok [INFO] [stderr] 1014 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stdout] test tests::owning_ref_mut::erased_owner ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::fmt_debug ... ok [INFO] [stderr] [INFO] [stdout] test tests::owning_ref_mut::hash ... ok [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] test tests::owning_ref_mut::into ... ok [INFO] [stderr] --> src/lib.rs:1016:28 [INFO] [stdout] test tests::owning_ref_mut::into_owner ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::into_owning_ref ... ok [INFO] [stderr] 1016 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] test tests::owning_ref_mut::map_chained_inference ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test tests::owning_ref_mut::map_heap_ref ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::map_mut_heap_ref ... ok [INFO] [stderr] help: remove these parentheses [INFO] [stdout] test tests::owning_ref_mut::map_mut_chained ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::map_mut_offset_ref ... ok [INFO] [stderr] 1016 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] test tests::owning_ref_mut::map_mut_static_ref ... ok [INFO] [stderr] 1016 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stdout] test tests::owning_ref_mut::map_offset_ref ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::map_static_ref ... ok [INFO] [stderr] [INFO] [stdout] test tests::owning_ref_mut::mutate ... ok [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] test tests::owning_ref_mut::new_deref ... ok [INFO] [stderr] --> src/lib.rs:1018:16 [INFO] [stdout] test tests::owning_ref_mut::new_deref_mut ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::non_static_erased_owner ... ok [INFO] [stderr] 1018 | impl Debug for Erased { [INFO] [stdout] test tests::owning_ref_mut::raii_locks ... ok [INFO] [stderr] | ^^^^^^ [INFO] [stdout] test tests::owning_ref_mut::partial_cmp ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::ref_mut ... ok [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] test tests::owning_ref_mut::total_erase ... ok [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] test tests::owning_ref_mut::total_erase_box ... ok [INFO] [stderr] = note: for more information, see [INFO] [stdout] test tests::owning_ref_mut::try_map1 ... ok [INFO] [stderr] help: use `dyn` [INFO] [stdout] test tests::owning_ref_mut::try_map2 ... ok [INFO] [stderr] | [INFO] [stdout] test tests::owning_ref_mut::try_map4 ... ok [INFO] [stderr] 1018 - impl Debug for Erased { [INFO] [stdout] test tests::owning_ref_mut::try_map3 ... ok [INFO] [stderr] 1018 + impl Debug for dyn Erased { [INFO] [stdout] test tests::owning_ref_mut::try_map_mut ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 61 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:1157:42 [INFO] [stderr] | [INFO] [stderr] 1157 | pub type ErasedBoxRef = OwningRef, U>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1157 - pub type ErasedBoxRef = OwningRef, U>; [INFO] [stderr] 1157 + pub type ErasedBoxRef = OwningRef, U>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1159:40 [INFO] [stderr] | [INFO] [stderr] 1159 | pub type ErasedRcRef = OwningRef, U>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1159 - pub type ErasedRcRef = OwningRef, U>; [INFO] [stderr] 1159 + pub type ErasedRcRef = OwningRef, U>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1161:42 [INFO] [stderr] | [INFO] [stderr] 1161 | pub type ErasedArcRef = OwningRef, U>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1161 - pub type ErasedArcRef = OwningRef, U>; [INFO] [stderr] 1161 + pub type ErasedArcRef = OwningRef, U>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1164:48 [INFO] [stderr] | [INFO] [stderr] 1164 | pub type ErasedBoxRefMut = OwningRefMut, U>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1164 - pub type ErasedBoxRefMut = OwningRefMut, U>; [INFO] [stderr] 1164 + pub type ErasedBoxRefMut = OwningRefMut, U>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1138:23 [INFO] [stderr] | [INFO] [stderr] 1138 | type Erased = Box; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1138 - type Erased = Box; [INFO] [stderr] 1138 + type Erased = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1144:22 [INFO] [stderr] | [INFO] [stderr] 1144 | type Erased = Rc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1144 - type Erased = Rc; [INFO] [stderr] 1144 + type Erased = Rc; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1150:23 [INFO] [stderr] | [INFO] [stderr] 1150 | type Erased = Arc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1150 - type Erased = Arc; [INFO] [stderr] 1150 + type Erased = Arc; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1287:27 [INFO] [stderr] | [INFO] [stderr] 1287 | let o: BoxRef = o.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1287 - let o: BoxRef = o.erase_owner(); [INFO] [stderr] 1287 + let o: BoxRef = o.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1408:33 [INFO] [stderr] | [INFO] [stderr] 1408 | let e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1408 - let e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stderr] 1408 + let e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1409:33 [INFO] [stderr] | [INFO] [stderr] 1409 | let f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1409 - let f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stderr] 1409 + let f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1425:35 [INFO] [stderr] | [INFO] [stderr] 1425 | let _e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1425 - let _e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stderr] 1425 + let _e: OwningRef, [u8]> = c.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1426:35 [INFO] [stderr] | [INFO] [stderr] 1426 | let _f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1426 - let _f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stderr] 1426 + let _f: OwningRef, [u8]> = d.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1434:24 [INFO] [stderr] | [INFO] [stderr] 1434 | let y: Box = x; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1434 - let y: Box = x; [INFO] [stderr] 1434 + let y: Box = x; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1444:24 [INFO] [stderr] | [INFO] [stderr] 1444 | let y: Box = x; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1444 - let y: Box = x; [INFO] [stderr] 1444 + let y: Box = x; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1725:30 [INFO] [stderr] | [INFO] [stderr] 1725 | let o: BoxRefMut = o.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1725 - let o: BoxRefMut = o.erase_owner(); [INFO] [stderr] 1725 + let o: BoxRefMut = o.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1827:38 [INFO] [stderr] | [INFO] [stderr] 1827 | let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1827 - let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stderr] 1827 + let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1828:38 [INFO] [stderr] | [INFO] [stderr] 1828 | let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1828 - let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stderr] 1828 + let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1841:38 [INFO] [stderr] | [INFO] [stderr] 1841 | let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1841 - let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stderr] 1841 + let _e: OwningRefMut, [u8]> = c.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1842:38 [INFO] [stderr] | [INFO] [stderr] 1842 | let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1842 - let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stderr] 1842 + let _f: OwningRefMut, [u8]> = d.erase_owner(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1850:24 [INFO] [stderr] | [INFO] [stderr] 1850 | let y: Box = x; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1850 - let y: Box = x; [INFO] [stderr] 1850 + let y: Box = x; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1860:24 [INFO] [stderr] | [INFO] [stderr] 1860 | let y: Box = x; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1860 - let y: Box = x; [INFO] [stderr] 1860 + let y: Box = x; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1870:24 [INFO] [stderr] | [INFO] [stderr] 1870 | let y: Box = x; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1870 - let y: Box = x; [INFO] [stderr] 1870 + let y: Box = x; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1880:24 [INFO] [stderr] | [INFO] [stderr] 1880 | let y: Box = x; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1880 - let y: Box = x; [INFO] [stderr] 1880 + let y: Box = x; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/lib.rs:1436:13 [INFO] [stderr] | [INFO] [stderr] 1436 | OwningRef::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_err` that must be used [INFO] [stderr] --> src/lib.rs:1446:13 [INFO] [stderr] | [INFO] [stderr] 1446 | OwningRef::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_err(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/lib.rs:1852:13 [INFO] [stderr] | [INFO] [stderr] 1852 | OwningRefMut::new(y).try_map_mut(|x| x.downcast_mut::().ok_or(())).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_err` that must be used [INFO] [stderr] --> src/lib.rs:1862:13 [INFO] [stderr] | [INFO] [stderr] 1862 | OwningRefMut::new(y).try_map_mut(|x| x.downcast_mut::().ok_or(())).is_err(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/lib.rs:1872:13 [INFO] [stderr] | [INFO] [stderr] 1872 | OwningRefMut::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_err` that must be used [INFO] [stderr] --> src/lib.rs:1882:13 [INFO] [stderr] | [INFO] [stderr] 1882 | OwningRefMut::new(y).try_map(|x| x.downcast_ref::().ok_or(())).is_err(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stderr] [INFO] [stderr] warning: `ccl_owning_ref` (lib) generated 12 warnings [INFO] [stderr] warning: `ccl_owning_ref` (lib test) generated 34 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ccl_owning_ref-98e424a2a1c59e40) [INFO] [stderr] Doc-tests ccl_owning_ref [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1009:28 [INFO] [stderr] | [INFO] [stderr] 1009 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1009 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stderr] 1009 + where O: Send, for<'a> &'a T: Send {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1011:28 [INFO] [stderr] | [INFO] [stderr] 1011 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1011 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stderr] 1011 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1014:28 [INFO] [stderr] | [INFO] [stderr] 1014 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1014 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stderr] 1014 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1016:28 [INFO] [stderr] | [INFO] [stderr] 1016 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1016 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stderr] 1016 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stdout] running 20 tests [INFO] [stderr] [INFO] [stdout] test src/lib.rs - (line 12) ... ignored [INFO] [stdout] test src/lib.rs - (line 132) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - (line 219) ... FAILED [INFO] [stdout] test src/lib.rs - (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::try_map (line 372) ... FAILED [INFO] [stdout] test src/lib.rs - (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::try_map (line 584) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::try_map_mut (line 616) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::new (line 302) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::erase_owner (line 674) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::map (line 342) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::new (line 484) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::erase_owner (line 430) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::map_mut (line 554) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::map (line 524) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 132) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RcRef` [INFO] [stdout] --> src/lib.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 7 | let rc: RcRef<[i32]> = RcRef::new(Rc::new([1, 2, 3, 4]) as Rc<[i32]>); [INFO] [stdout] | ^^^^^ use of undeclared type `RcRef` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RcRef` in this scope [INFO] [stdout] --> src/lib.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 7 | let rc: RcRef<[i32]> = RcRef::new(Rc::new([1, 2, 3, 4]) as Rc<[i32]>); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RcRef` in this scope [INFO] [stdout] --> src/lib.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 10 | let rc_a: RcRef<[i32]> = rc.clone().map(|s| &s[0..2]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 106) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecRef` [INFO] [stdout] --> src/lib.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 6 | let v = VecRef::new(vec![1, 2, 3, 4, 5]).map(|v| &v[3]); [INFO] [stdout] | ^^^^^^ use of undeclared type `VecRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 219) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefMutRefMut` [INFO] [stdout] --> src/lib.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 10 | let mut refmut_refmut = RefMutRefMut::new(refcell.borrow_mut()).map_mut(|x| &mut x.3); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RefMutRefMut` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 155) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArcRef` in this scope [INFO] [stdout] --> src/lib.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 9 | fn par_sum(rc: ArcRef<[i32]>) -> i32 { [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `AsRef` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArcRef` in this scope [INFO] [stdout] --> src/lib.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 26 | let rc: ArcRef<[i32]> = rc.into(); [INFO] [stdout] | ^^^^^^ help: a trait with a similar name exists: `AsRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 188) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefRef` [INFO] [stdout] --> src/lib.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 11 | let refref = RefRef::new(refcell.borrow()).map(|x| &x.3); [INFO] [stdout] | ^^^^^^ use of undeclared type `RefRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::try_map (line 372) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OwningRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 118) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StringRef` [INFO] [stdout] --> src/lib.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 6 | let s = StringRef::new("hello world".to_owned()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `StringRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::try_map (line 584) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:585:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:589:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OwningRefMut` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::try_map_mut (line 616) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:621:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OwningRefMut` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::new (line 302) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new(42)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OwningRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::erase_owner (line 674) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:675:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:683:11 [INFO] [stdout] | [INFO] [stdout] 10 | = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OwningRefMut` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:686:11 [INFO] [stdout] | [INFO] [stdout] 13 | = OwningRefMut::new(Box::new(vec![(0, false), (1, true)])); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OwningRefMut` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:682:27 [INFO] [stdout] | [INFO] [stdout] 9 | let owning_ref_mut_a: OwningRefMut, [i32; 4]> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:685:27 [INFO] [stdout] | [INFO] [stdout] 12 | let owning_ref_mut_b: OwningRefMut>, Vec<(i32, bool)>> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:688:27 [INFO] [stdout] | [INFO] [stdout] 15 | let owning_ref_mut_a: OwningRefMut, i32> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:691:27 [INFO] [stdout] | [INFO] [stdout] 18 | let owning_ref_mut_b: OwningRefMut>, i32> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:694:27 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs_mut: [OwningRefMut, i32>; 2] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Erased` in this scope [INFO] [stdout] --> src/lib.rs:694:44 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs_mut: [OwningRefMut, i32>; 2] [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::map (line 342) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:347:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OwningRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::new (line 484) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:485:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:489:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new(42)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OwningRefMut` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 7 | let or = OwningRef::new(v); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OwningRef` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 5 | fn return_owned_and_referenced() -> OwningRef, [u8]> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::erase_owner (line 430) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:439:11 [INFO] [stdout] | [INFO] [stdout] 10 | = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OwningRef` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:442:11 [INFO] [stdout] | [INFO] [stdout] 13 | = OwningRef::new(Box::new(vec![(0, false), (1, true)])); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `OwningRef` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:438:23 [INFO] [stdout] | [INFO] [stdout] 9 | let owning_ref_a: OwningRef, [i32; 4]> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 12 | let owning_ref_b: OwningRef>, Vec<(i32, bool)>> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:444:23 [INFO] [stdout] | [INFO] [stdout] 15 | let owning_ref_a: OwningRef, i32> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:447:23 [INFO] [stdout] | [INFO] [stdout] 18 | let owning_ref_b: OwningRef>, i32> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs: [OwningRef, i32>; 2] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Erased` in this scope [INFO] [stdout] --> src/lib.rs:450:37 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs: [OwningRef, i32>; 2] [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::map_mut (line 554) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:555:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:559:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OwningRefMut` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::map (line 524) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:525:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:529:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `OwningRefMut` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 78) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxRef` [INFO] [stdout] --> src/lib.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 14 | let or = BoxRef::new(Box::new(foo)).map(|foo| { [INFO] [stdout] | ^^^^^^ use of undeclared type `BoxRef` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxRef` [INFO] [stdout] --> src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 10 | let arr: BoxRef<[i32]> = BoxRef::new(arr); [INFO] [stdout] | ^^^^^^ use of undeclared type `BoxRef` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxRef` in this scope [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 10 | let arr: BoxRef<[i32]> = BoxRef::new(arr); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxRef` in this scope [INFO] [stdout] --> src/lib.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 14 | let arr: BoxRef<[i32]> = arr.map(|arr| &arr[1..3]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 118) [INFO] [stdout] src/lib.rs - (line 132) [INFO] [stdout] src/lib.rs - (line 155) [INFO] [stdout] src/lib.rs - (line 188) [INFO] [stdout] src/lib.rs - (line 219) [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] src/lib.rs - (line 78) [INFO] [stdout] src/lib.rs - OwningRef::erase_owner (line 430) [INFO] [stdout] src/lib.rs - OwningRef::map (line 342) [INFO] [stdout] src/lib.rs - OwningRef::new (line 302) [INFO] [stdout] src/lib.rs - OwningRef::try_map (line 372) [INFO] [stdout] src/lib.rs - OwningRefMut::erase_owner (line 674) [INFO] [stdout] src/lib.rs - OwningRefMut::map (line 524) [INFO] [stdout] src/lib.rs - OwningRefMut::map_mut (line 554) [INFO] [stdout] src/lib.rs - OwningRefMut::new (line 484) [INFO] [stdout] src/lib.rs - OwningRefMut::try_map (line 584) [INFO] [stdout] src/lib.rs - OwningRefMut::try_map_mut (line 616) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.71s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "595ab28459e13060ae90d465c39bf743ef150b26dfab35f2648a5cd134c9d06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595ab28459e13060ae90d465c39bf743ef150b26dfab35f2648a5cd134c9d06a", kill_on_drop: false }` [INFO] [stdout] 595ab28459e13060ae90d465c39bf743ef150b26dfab35f2648a5cd134c9d06a