[INFO] fetching crate failure_without_backtrace 0.1.2... [INFO] testing failure_without_backtrace-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate failure_without_backtrace 0.1.2 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate failure_without_backtrace 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate failure_without_backtrace 0.1.2 [INFO] finished tweaking crates.io crate failure_without_backtrace 0.1.2 [INFO] tweaked toml for crates.io crate failure_without_backtrace 0.1.2 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afc312536e90378a19ee010c5f9dd9232e5afc0a9410e85e6c8939ef2862cf39 [INFO] running `Command { std: "docker" "start" "-a" "afc312536e90378a19ee010c5f9dd9232e5afc0a9410e85e6c8939ef2862cf39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afc312536e90378a19ee010c5f9dd9232e5afc0a9410e85e6c8939ef2862cf39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc312536e90378a19ee010c5f9dd9232e5afc0a9410e85e6c8939ef2862cf39", kill_on_drop: false }` [INFO] [stdout] afc312536e90378a19ee010c5f9dd9232e5afc0a9410e85e6c8939ef2862cf39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3350d2527cded6931b9c3edcf6636cc70ba5c3cd6e2474fb2b9d67f878cd9c7a [INFO] running `Command { std: "docker" "start" "-a" "3350d2527cded6931b9c3edcf6636cc70ba5c3cd6e2474fb2b9d67f878cd9c7a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling failure_derive_without_backtrace v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling failure_without_backtrace v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 187 | impl Fail { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] 187 - impl Fail { [INFO] [stdout] 187 + impl dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | impl Fail for 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] 258 - impl Fail for Box { [INFO] [stdout] 258 + impl Fail for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/box_std.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoxStd(pub 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] 5 - pub struct BoxStd(pub Box); [INFO] [stdout] 5 + pub struct BoxStd(pub Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | fail: Option<&'f Fail>, [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] 270 - fail: Option<&'f Fail>, [INFO] [stdout] 270 + fail: Option<&'f dyn Fail>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | inner: 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] 8 - inner: Box>, [INFO] [stdout] 8 + inner: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_root_cause(mut fail: &Fail) -> &Fail { [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] 283 - fn find_root_cause(mut fail: &Fail) -> &Fail { [INFO] [stdout] 283 + fn find_root_cause(mut fail: &Fail) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_root_cause(mut fail: &Fail) -> &Fail { [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] 283 - fn find_root_cause(mut fail: &Fail) -> &Fail { [INFO] [stdout] 283 + fn find_root_cause(mut fail: &dyn Fail) -> &Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&Fail> { [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] 117 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 117 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | fn root_cause(&self) -> &Fail [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] 174 - fn root_cause(&self) -> &Fail [INFO] [stdout] 174 + fn root_cause(&self) -> &dyn Fail [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn find_root_cause(&self) -> &Fail { [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] 219 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 219 + pub fn find_root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:243:34 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn root_cause(&self) -> &Fail { [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] 243 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 243 + pub fn root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | fn cause(&self) -> Option<&Fail> { [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] 259 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 259 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | type Item = &'f Fail; [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] 274 - type Item = &'f Fail; [INFO] [stdout] 274 + type Item = &'f dyn Fail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:275:38 [INFO] [stdout] | [INFO] [stdout] 275 | fn next(&mut self) -> Option<&'f Fail> { [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] 275 - fn next(&mut self) -> Option<&'f Fail> { [INFO] [stdout] 275 + fn next(&mut self) -> Option<&'f dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compat.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | impl From for 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] 42 - impl From for Box { [INFO] [stdout] 42 + impl From for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compat.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn from(error: Error) -> 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] 43 - fn from(error: Error) -> Box { [INFO] [stdout] 43 + fn from(error: Error) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | fn cause(&self) -> Option<&Fail> { [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] 84 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 84 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn as_cause(&self) -> Option<&Fail> { [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] 118 - fn as_cause(&self) -> Option<&Fail> { [INFO] [stdout] 118 + fn as_cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl AsRef for Error { [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] 199 - impl AsRef for Error { [INFO] [stdout] 199 + impl AsRef for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn from_boxed_compat(err: Box) -> Error { [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] 63 - pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] 63 + pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn as_fail(&self) -> &Fail { [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] 69 - pub fn as_fail(&self) -> &Fail { [INFO] [stdout] 69 + pub fn as_fail(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn cause(&self) -> &Fail { [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] 80 - pub fn cause(&self) -> &Fail { [INFO] [stdout] 80 + pub fn cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn find_root_cause(&self) -> &Fail { [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] 131 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 131 + pub fn find_root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn root_cause(&self) -> &Fail { [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] 171 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 171 + pub fn root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | fn as_ref(&self) -> &Fail { [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] 200 - fn as_ref(&self) -> &Fail { [INFO] [stdout] 200 + fn as_ref(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn failure(&self) -> &Fail { [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] 29 - pub(crate) fn failure(&self) -> &Fail { [INFO] [stdout] 29 + pub(crate) fn failure(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn failure_mut(&mut self) -> &mut Fail { [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] 33 - pub(crate) fn failure_mut(&mut self) -> &mut Fail { [INFO] [stdout] 33 + pub(crate) fn failure_mut(&mut self) -> &mut dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:193:45 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe { Some(&*(self as *const Fail as *const T)) } [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] 193 - unsafe { Some(&*(self as *const Fail as *const T)) } [INFO] [stdout] 193 + unsafe { Some(&*(self as *const dyn Fail as *const T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:205:47 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe { Some(&mut *(self as *mut Fail as *mut T)) } [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] 205 - unsafe { Some(&mut *(self as *mut Fail as *mut T)) } [INFO] [stdout] 205 + unsafe { Some(&mut *(self as *mut dyn Fail as *mut T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.26s [INFO] running `Command { std: "docker" "inspect" "3350d2527cded6931b9c3edcf6636cc70ba5c3cd6e2474fb2b9d67f878cd9c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3350d2527cded6931b9c3edcf6636cc70ba5c3cd6e2474fb2b9d67f878cd9c7a", kill_on_drop: false }` [INFO] [stdout] 3350d2527cded6931b9c3edcf6636cc70ba5c3cd6e2474fb2b9d67f878cd9c7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7644fa2eeb102586fca15f2001c65ed37b42860d850f48d31c5cdf945c6e10e6 [INFO] running `Command { std: "docker" "start" "-a" "7644fa2eeb102586fca15f2001c65ed37b42860d850f48d31c5cdf945c6e10e6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 187 | impl Fail { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] 187 - impl Fail { [INFO] [stdout] 187 + impl dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | impl Fail for 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] 258 - impl Fail for Box { [INFO] [stdout] 258 + impl Fail for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/box_std.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoxStd(pub 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] 5 - pub struct BoxStd(pub Box); [INFO] [stdout] 5 + pub struct BoxStd(pub Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | fail: Option<&'f Fail>, [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] 270 - fail: Option<&'f Fail>, [INFO] [stdout] 270 + fail: Option<&'f dyn Fail>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | inner: 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] 8 - inner: Box>, [INFO] [stdout] 8 + inner: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_root_cause(mut fail: &Fail) -> &Fail { [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] 283 - fn find_root_cause(mut fail: &Fail) -> &Fail { [INFO] [stdout] 283 + fn find_root_cause(mut fail: &Fail) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_root_cause(mut fail: &Fail) -> &Fail { [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] 283 - fn find_root_cause(mut fail: &Fail) -> &Fail { [INFO] [stdout] 283 + fn find_root_cause(mut fail: &dyn Fail) -> &Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&Fail> { [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] 117 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 117 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | fn root_cause(&self) -> &Fail [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] 174 - fn root_cause(&self) -> &Fail [INFO] [stdout] 174 + fn root_cause(&self) -> &dyn Fail [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn find_root_cause(&self) -> &Fail { [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] 219 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 219 + pub fn find_root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:243:34 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn root_cause(&self) -> &Fail { [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] 243 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 243 + pub fn root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | fn cause(&self) -> Option<&Fail> { [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] 259 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 259 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | type Item = &'f Fail; [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] 274 - type Item = &'f Fail; [INFO] [stdout] 274 + type Item = &'f dyn Fail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:275:38 [INFO] [stdout] | [INFO] [stdout] 275 | fn next(&mut self) -> Option<&'f Fail> { [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] 275 - fn next(&mut self) -> Option<&'f Fail> { [INFO] [stdout] 275 + fn next(&mut self) -> Option<&'f dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compat.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | impl From for 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] 42 - impl From for Box { [INFO] [stdout] 42 + impl From for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling failure_without_backtrace v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compat.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn from(error: Error) -> 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] 43 - fn from(error: Error) -> Box { [INFO] [stdout] 43 + fn from(error: Error) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | fn cause(&self) -> Option<&Fail> { [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] 84 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 84 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn as_cause(&self) -> Option<&Fail> { [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] 118 - fn as_cause(&self) -> Option<&Fail> { [INFO] [stdout] 118 + fn as_cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl AsRef for Error { [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] 199 - impl AsRef for Error { [INFO] [stdout] 199 + impl AsRef for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn from_boxed_compat(err: Box) -> Error { [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] 63 - pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] 63 + pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn as_fail(&self) -> &Fail { [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] 69 - pub fn as_fail(&self) -> &Fail { [INFO] [stdout] 69 + pub fn as_fail(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn cause(&self) -> &Fail { [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] 80 - pub fn cause(&self) -> &Fail { [INFO] [stdout] 80 + pub fn cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn find_root_cause(&self) -> &Fail { [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] 131 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 131 + pub fn find_root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn root_cause(&self) -> &Fail { [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] 171 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 171 + pub fn root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | fn as_ref(&self) -> &Fail { [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] 200 - fn as_ref(&self) -> &Fail { [INFO] [stdout] 200 + fn as_ref(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn failure(&self) -> &Fail { [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] 29 - pub(crate) fn failure(&self) -> &Fail { [INFO] [stdout] 29 + pub(crate) fn failure(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn failure_mut(&mut self) -> &mut Fail { [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] 33 - pub(crate) fn failure_mut(&mut self) -> &mut Fail { [INFO] [stdout] 33 + pub(crate) fn failure_mut(&mut self) -> &mut dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:193:45 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe { Some(&*(self as *const Fail as *const T)) } [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] 193 - unsafe { Some(&*(self as *const Fail as *const T)) } [INFO] [stdout] 193 + unsafe { Some(&*(self as *const dyn Fail as *const T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:205:47 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe { Some(&mut *(self as *mut Fail as *mut T)) } [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] 205 - unsafe { Some(&mut *(self as *mut Fail as *mut T)) } [INFO] [stdout] 205 + unsafe { Some(&mut *(self as *mut dyn Fail as *mut T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> examples/simple.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `failure` [INFO] [stdout] --> examples/bail_ensure.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Fail` in this scope [INFO] [stdout] --> examples/simple.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/simple.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[fail(display = "my error")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Fail` in this scope [INFO] [stdout] --> examples/simple.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/simple.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[fail(display = "my wrapping error")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fail` in this scope [INFO] [stdout] --> examples/simple.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | struct WrappingError(#[fail(cause)] MyError); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fail` [INFO] [stdout] --> examples/simple.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | for cause in Fail::iter_causes(&bad_function().unwrap_err()) { [INFO] [stdout] | ^^^^ use of undeclared type `Fail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bail` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | bail!("ruh {}", "roh"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ensure!(true, "true is false"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `ensure` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ensure!(false, "false is false"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 187 | impl Fail { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [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] 187 - impl Fail { [INFO] [stdout] 187 + impl dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | impl Fail for 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] 258 - impl Fail for Box { [INFO] [stdout] 258 + impl Fail for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/box_std.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoxStd(pub 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] 5 - pub struct BoxStd(pub Box); [INFO] [stdout] 5 + pub struct BoxStd(pub Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | fail: Option<&'f Fail>, [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] 270 - fail: Option<&'f Fail>, [INFO] [stdout] 270 + fail: Option<&'f dyn Fail>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | inner: 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] 8 - inner: Box>, [INFO] [stdout] 8 + inner: Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_root_cause(mut fail: &Fail) -> &Fail { [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] 283 - fn find_root_cause(mut fail: &Fail) -> &Fail { [INFO] [stdout] 283 + fn find_root_cause(mut fail: &Fail) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | fn find_root_cause(mut fail: &Fail) -> &Fail { [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] 283 - fn find_root_cause(mut fail: &Fail) -> &Fail { [INFO] [stdout] 283 + fn find_root_cause(mut fail: &dyn Fail) -> &Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | fn cause(&self) -> Option<&Fail> { [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] 117 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 117 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 174 | fn root_cause(&self) -> &Fail [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] 174 - fn root_cause(&self) -> &Fail [INFO] [stdout] 174 + fn root_cause(&self) -> &dyn Fail [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn find_root_cause(&self) -> &Fail { [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] 219 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 219 + pub fn find_root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:243:34 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn root_cause(&self) -> &Fail { [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] 243 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 243 + pub fn root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:259:32 [INFO] [stdout] | [INFO] [stdout] 259 | fn cause(&self) -> Option<&Fail> { [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] 259 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 259 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:274:21 [INFO] [stdout] | [INFO] [stdout] 274 | type Item = &'f Fail; [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] 274 - type Item = &'f Fail; [INFO] [stdout] 274 + type Item = &'f dyn Fail; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:275:38 [INFO] [stdout] | [INFO] [stdout] 275 | fn next(&mut self) -> Option<&'f Fail> { [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] 275 - fn next(&mut self) -> Option<&'f Fail> { [INFO] [stdout] 275 + fn next(&mut self) -> Option<&'f dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compat.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | impl From for 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] 42 - impl From for Box { [INFO] [stdout] 42 + impl From for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/compat.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn from(error: Error) -> 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] 43 - fn from(error: Error) -> Box { [INFO] [stdout] 43 + fn from(error: Error) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | fn cause(&self) -> Option<&Fail> { [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] 84 - fn cause(&self) -> Option<&Fail> { [INFO] [stdout] 84 + fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | fn as_cause(&self) -> Option<&Fail> { [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] 118 - fn as_cause(&self) -> Option<&Fail> { [INFO] [stdout] 118 + fn as_cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl AsRef for Error { [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] 199 - impl AsRef for Error { [INFO] [stdout] 199 + impl AsRef for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn from_boxed_compat(err: Box) -> Error { [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] 63 - pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] 63 + pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn as_fail(&self) -> &Fail { [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] 69 - pub fn as_fail(&self) -> &Fail { [INFO] [stdout] 69 + pub fn as_fail(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn cause(&self) -> &Fail { [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] 80 - pub fn cause(&self) -> &Fail { [INFO] [stdout] 80 + pub fn cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn find_root_cause(&self) -> &Fail { [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] 131 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 131 + pub fn find_root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn root_cause(&self) -> &Fail { [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] 171 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 171 + pub fn root_cause(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/mod.rs:200:26 [INFO] [stdout] | [INFO] [stdout] 200 | fn as_ref(&self) -> &Fail { [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] 200 - fn as_ref(&self) -> &Fail { [INFO] [stdout] 200 + fn as_ref(&self) -> &dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `failure_without_backtrace` due to 8 previous errors [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error/error_impl.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn failure(&self) -> &Fail { [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] 29 - pub(crate) fn failure(&self) -> &Fail { [INFO] [stdout] 29 + pub(crate) fn failure(&self) -> &dyn Fail { [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/error/error_impl.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn failure_mut(&mut self) -> &mut Fail { [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] 33 - pub(crate) fn failure_mut(&mut self) -> &mut Fail { [INFO] [stdout] 33 + pub(crate) fn failure_mut(&mut self) -> &mut dyn Fail { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | fn bailer() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> examples/bail_ensure.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | fn ensures() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `failure_without_backtrace` due to 7 previous errors [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:193:45 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe { Some(&*(self as *const Fail as *const T)) } [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] 193 - unsafe { Some(&*(self as *const Fail as *const T)) } [INFO] [stdout] 193 + unsafe { Some(&*(self as *const dyn Fail as *const T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:205:47 [INFO] [stdout] | [INFO] [stdout] 205 | unsafe { Some(&mut *(self as *mut Fail as *mut T)) } [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] 205 - unsafe { Some(&mut *(self as *mut Fail as *mut T)) } [INFO] [stdout] 205 + unsafe { Some(&mut *(self as *mut dyn Fail as *mut T)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7644fa2eeb102586fca15f2001c65ed37b42860d850f48d31c5cdf945c6e10e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7644fa2eeb102586fca15f2001c65ed37b42860d850f48d31c5cdf945c6e10e6", kill_on_drop: false }` [INFO] [stdout] 7644fa2eeb102586fca15f2001c65ed37b42860d850f48d31c5cdf945c6e10e6