[INFO] fetching crate drone-mirror-failure 0.1.2... [INFO] testing drone-mirror-failure-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate drone-mirror-failure 0.1.2 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate drone-mirror-failure 0.1.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 drone-mirror-failure 0.1.2 [INFO] finished tweaking crates.io crate drone-mirror-failure 0.1.2 [INFO] tweaked toml for crates.io crate drone-mirror-failure 0.1.2 written to /workspace/builds/worker-27/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] cab1fe5cdf16e1ea64018a5616f0e8fd3ff1ba735a77e1ca201408772b88b918 [INFO] running `Command { std: "docker" "start" "-a" "cab1fe5cdf16e1ea64018a5616f0e8fd3ff1ba735a77e1ca201408772b88b918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cab1fe5cdf16e1ea64018a5616f0e8fd3ff1ba735a77e1ca201408772b88b918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab1fe5cdf16e1ea64018a5616f0e8fd3ff1ba735a77e1ca201408772b88b918", kill_on_drop: false }` [INFO] [stdout] cab1fe5cdf16e1ea64018a5616f0e8fd3ff1ba735a77e1ca201408772b88b918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] f94cc7248c995afdb50ecadb1fc08929fc47c71574a95ee565da89581013f071 [INFO] running `Command { std: "docker" "start" "-a" "f94cc7248c995afdb50ecadb1fc08929fc47c71574a95ee565da89581013f071", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling drone-mirror-failure v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/backtrace/internal.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; [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(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/backtrace/internal.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | static ENABLED: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [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] 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:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 - impl AsRef for Error { [INFO] [stdout] 201 + 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:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 - pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] 65 + 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:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 71 - pub fn as_fail(&self) -> &Fail { [INFO] [stdout] 71 + 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:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | 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] 82 - pub fn cause(&self) -> &Fail { [INFO] [stdout] 82 + 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:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 133 + 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:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | 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] 173 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 173 + 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:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 202 - fn as_ref(&self) -> &Fail { [INFO] [stdout] 202 + 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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.48s [INFO] running `Command { std: "docker" "inspect" "f94cc7248c995afdb50ecadb1fc08929fc47c71574a95ee565da89581013f071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94cc7248c995afdb50ecadb1fc08929fc47c71574a95ee565da89581013f071", kill_on_drop: false }` [INFO] [stdout] f94cc7248c995afdb50ecadb1fc08929fc47c71574a95ee565da89581013f071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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] a5b6db577affb116e027ed5d26dd05085df878fe1ac0c1484efb223c7fd67097 [INFO] running `Command { std: "docker" "start" "-a" "a5b6db577affb116e027ed5d26dd05085df878fe1ac0c1484efb223c7fd67097", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/backtrace/internal.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; [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(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/backtrace/internal.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | static ENABLED: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [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] [stderr] Compiling drone-mirror-failure v0.1.2 (/opt/rustwide/workdir) [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:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 - impl AsRef for Error { [INFO] [stdout] 201 + 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:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 - pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] 65 + 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:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 71 - pub fn as_fail(&self) -> &Fail { [INFO] [stdout] 71 + 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:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | 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] 82 - pub fn cause(&self) -> &Fail { [INFO] [stdout] 82 + 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:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 133 + 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:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | 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] 173 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 173 + 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:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 202 - fn as_ref(&self) -> &Fail { [INFO] [stdout] 202 + 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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `name` is not a member of trait `failure::Fail` [INFO] [stdout] --> examples/simple.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ not a member of trait `failure::Fail` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0407]: method `name` is not a member of trait `failure::Fail` [INFO] [stdout] --> examples/simple.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ not a member of trait `failure::Fail` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/backtrace/internal.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; [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(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/backtrace/internal.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | static ENABLED: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AsFail` in `failure` [INFO] [stdout] --> examples/simple.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ could not find `AsFail` in `failure` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 - impl AsRef for Error { [INFO] [stdout] 201 + 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:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | 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] 65 - pub fn from_boxed_compat(err: Box) -> Error { [INFO] [stdout] 65 + 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:71:31 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 71 - pub fn as_fail(&self) -> &Fail { [INFO] [stdout] 71 + 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:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | 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] 82 - pub fn cause(&self) -> &Fail { [INFO] [stdout] 82 + 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:133:39 [INFO] [stdout] | [INFO] [stdout] 133 | 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] 133 - pub fn find_root_cause(&self) -> &Fail { [INFO] [stdout] 133 + 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:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | 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] 173 - pub fn root_cause(&self) -> &Fail { [INFO] [stdout] 173 + 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:202:26 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 202 - fn as_ref(&self) -> &Fail { [INFO] [stdout] 202 + 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] --> examples/simple.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | for cause in Fail::iter_causes(&bad_function().unwrap_err()) { [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] 19 | for cause in ::iter_causes(&bad_function().unwrap_err()) { [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `drone-mirror-failure` due to 4 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0407, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0407`. [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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a5b6db577affb116e027ed5d26dd05085df878fe1ac0c1484efb223c7fd67097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b6db577affb116e027ed5d26dd05085df878fe1ac0c1484efb223c7fd67097", kill_on_drop: false }` [INFO] [stdout] a5b6db577affb116e027ed5d26dd05085df878fe1ac0c1484efb223c7fd67097