[INFO] fetching crate drone-mirror-failure 0.1.2... [INFO] testing drone-mirror-failure-0.1.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate drone-mirror-failure 0.1.2 into /workspace/builds/worker-50/source [INFO] validating manifest of crates.io crate drone-mirror-failure 0.1.2 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-50/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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.55.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-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e81ca9410a2d4959cf18f669bf8d81a6b65a6761bb7bd46a7d0e72a7e2f3381 [INFO] running `Command { std: "docker" "start" "-a" "0e81ca9410a2d4959cf18f669bf8d81a6b65a6761bb7bd46a7d0e72a7e2f3381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e81ca9410a2d4959cf18f669bf8d81a6b65a6761bb7bd46a7d0e72a7e2f3381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e81ca9410a2d4959cf18f669bf8d81a6b65a6761bb7bd46a7d0e72a7e2f3381", kill_on_drop: false }` [INFO] [stdout] 0e81ca9410a2d4959cf18f669bf8d81a6b65a6761bb7bd46a7d0e72a7e2f3381 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25e209a1dd0f24efe906ec4db5746de250892cc3b81bd2905910c38cea4cbb23 [INFO] running `Command { std: "docker" "start" "-a" "25e209a1dd0f24efe906ec4db5746de250892cc3b81bd2905910c38cea4cbb23", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [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/box_std.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoxStd(pub Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send + Sync + 'static` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Sync + Send + 'static` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.78s [INFO] running `Command { std: "docker" "inspect" "25e209a1dd0f24efe906ec4db5746de250892cc3b81bd2905910c38cea4cbb23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e209a1dd0f24efe906ec4db5746de250892cc3b81bd2905910c38cea4cbb23", kill_on_drop: false }` [INFO] [stdout] 25e209a1dd0f24efe906ec4db5746de250892cc3b81bd2905910c38cea4cbb23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaeb8a124add5d016acebd5eaeb12da9edc93b6d0d1eb17222079ffa57363019 [INFO] running `Command { std: "docker" "start" "-a" "eaeb8a124add5d016acebd5eaeb12da9edc93b6d0d1eb17222079ffa57363019", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send + Sync + 'static` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Sync + Send + 'static` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] warning: 31 warnings emitted [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/box_std.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BoxStd(pub Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Error + Send + Sync + 'static` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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 issue #80165 [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] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] 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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Sync + Send + 'static` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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: 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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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] | ^^^^ help: use `dyn`: `dyn Fail` [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 issue #80165 [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: 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] --> examples/simple.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | for cause in Fail::iter_causes(&bad_function().unwrap_err()) { [INFO] [stdout] | ^^^^ help: use `dyn`: `` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [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] [stderr] error: could not compile `drone-mirror-failure` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eaeb8a124add5d016acebd5eaeb12da9edc93b6d0d1eb17222079ffa57363019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaeb8a124add5d016acebd5eaeb12da9edc93b6d0d1eb17222079ffa57363019", kill_on_drop: false }` [INFO] [stdout] eaeb8a124add5d016acebd5eaeb12da9edc93b6d0d1eb17222079ffa57363019