[INFO] cloning repository https://github.com/ThatsGobbles/failure-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThatsGobbles/failure-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Ffailure-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Ffailure-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77db22cc2c0d5d2663efed45739ac37c96219a81
[INFO] checking ThatsGobbles/failure-test against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Ffailure-test" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ThatsGobbles/failure-test on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ThatsGobbles/failure-test
[INFO] finished tweaking git repo https://github.com/ThatsGobbles/failure-test
[INFO] tweaked toml for git repo https://github.com/ThatsGobbles/failure-test written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ThatsGobbles/failure-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90d5feea808befd490d28aea944326f4524df0fd17a310ccc7acce757955b22e
[INFO] running `Command { std: "docker" "start" "-a" "90d5feea808befd490d28aea944326f4524df0fd17a310ccc7acce757955b22e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90d5feea808befd490d28aea944326f4524df0fd17a310ccc7acce757955b22e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90d5feea808befd490d28aea944326f4524df0fd17a310ccc7acce757955b22e", kill_on_drop: false }`
[INFO] [stdout] 90d5feea808befd490d28aea944326f4524df0fd17a310ccc7acce757955b22e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72117afcb1c0b820e850105ff7207df0435b8809dbccef781f43938f1f8d8f2f
[INFO] running `Command { std: "docker" "start" "-a" "72117afcb1c0b820e850105ff7207df0435b8809dbccef781f43938f1f8d8f2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.20
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]    Compiling failure_derive v0.1.2
[INFO] [stderr]     Checking rustc-demangle v0.1.9
[INFO] [stderr]     Checking cfg-if v0.1.5
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking backtrace v0.3.9
[INFO] [stderr]    Compiling synstructure v0.9.0
[INFO] [stderr]     Checking failure v0.1.2
[INFO] [stderr]     Checking failure-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&Fail> { self.inner.cause() }
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&dyn Fail> { self.inner.cause() }
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&Fail> { self.inner.cause() }
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&dyn Fail> { self.inner.cause() }
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &Fail = &e;
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &dyn Fail = &e;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &Fail = &e;
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &dyn Fail = &e;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ErrorA1` and `ErrorA2` are never constructed
[INFO] [stdout]  --> src/custom_fail_type.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ErrorKindA {
[INFO] [stdout]   |      ---------- variants in this enum
[INFO] [stdout] 6 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 7 |     ErrorA1(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 9 |     ErrorA2(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ErrorKindA` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ErrorB1` and `ErrorB2` are never constructed
[INFO] [stdout]   --> src/custom_fail_type.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum ErrorKindB {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 14 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 15 |     ErrorB1(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 17 |     ErrorB2(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKindB` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]   --> src/custom_fail_type.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn example() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ErrorA1` and `ErrorA2` are never constructed
[INFO] [stdout]  --> src/custom_fail_type.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ErrorKindA {
[INFO] [stdout]   |      ---------- variants in this enum
[INFO] [stdout] 6 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 7 |     ErrorA1(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 9 |     ErrorA2(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ErrorKindA` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ErrorB1` and `ErrorB2` are never constructed
[INFO] [stdout]   --> src/custom_fail_type.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum ErrorKindB {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 14 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 15 |     ErrorB1(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 17 |     ErrorB2(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKindB` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]   --> src/custom_fail_type.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn example() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.20s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "72117afcb1c0b820e850105ff7207df0435b8809dbccef781f43938f1f8d8f2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72117afcb1c0b820e850105ff7207df0435b8809dbccef781f43938f1f8d8f2f", kill_on_drop: false }`
[INFO] [stdout] 72117afcb1c0b820e850105ff7207df0435b8809dbccef781f43938f1f8d8f2f
[INFO] checking ThatsGobbles/failure-test against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThatsGobbles%2Ffailure-test" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ThatsGobbles/failure-test on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ThatsGobbles/failure-test
[INFO] finished tweaking git repo https://github.com/ThatsGobbles/failure-test
[INFO] tweaked toml for git repo https://github.com/ThatsGobbles/failure-test written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ThatsGobbles/failure-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96cf8eabee8ac0e57f0cf7b4dc62ed2724bdf3f379c42fb68ffe7184740f6575
[INFO] running `Command { std: "docker" "start" "-a" "96cf8eabee8ac0e57f0cf7b4dc62ed2724bdf3f379c42fb68ffe7184740f6575", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96cf8eabee8ac0e57f0cf7b4dc62ed2724bdf3f379c42fb68ffe7184740f6575", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96cf8eabee8ac0e57f0cf7b4dc62ed2724bdf3f379c42fb68ffe7184740f6575", kill_on_drop: false }`
[INFO] [stdout] 96cf8eabee8ac0e57f0cf7b4dc62ed2724bdf3f379c42fb68ffe7184740f6575
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed028783fc3d86ffd5bc977ec496049950c4432e11726134e60f7ee4930312c4
[INFO] running `Command { std: "docker" "start" "-a" "ed028783fc3d86ffd5bc977ec496049950c4432e11726134e60f7ee4930312c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.20
[INFO] [stderr]    Compiling cc v1.0.25
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]    Compiling failure_derive v0.1.2
[INFO] [stderr]     Checking rustc-demangle v0.1.9
[INFO] [stderr]     Checking cfg-if v0.1.5
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[INFO] [stderr]    Compiling quote v0.6.8
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]     Checking backtrace v0.3.9
[INFO] [stderr]    Compiling synstructure v0.9.0
[INFO] [stderr]     Checking failure v0.1.2
[INFO] [stderr]     Checking failure-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&Fail> { self.inner.cause() }
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&dyn Fail> { self.inner.cause() }
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:28:32
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&Fail> { self.inner.cause() }
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn cause(&self) -> Option<&dyn Fail> { self.inner.cause() }
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &Fail = &e;
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &dyn Fail = &e;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/error_kind_pair.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &Fail = &e;
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 67 |                 let fail: &dyn Fail = &e;
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ErrorA1` and `ErrorA2` are never constructed
[INFO] [stdout]  --> src/custom_fail_type.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ErrorKindA {
[INFO] [stdout]   |      ---------- variants in this enum
[INFO] [stdout] 6 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 7 |     ErrorA1(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 9 |     ErrorA2(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ErrorKindA` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ErrorB1` and `ErrorB2` are never constructed
[INFO] [stdout]   --> src/custom_fail_type.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum ErrorKindB {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 14 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 15 |     ErrorB1(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 17 |     ErrorB2(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKindB` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]   --> src/custom_fail_type.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn example() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/custom_fail_type.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKindA`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/custom_fail_type.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKindA`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: variants `ErrorA1` and `ErrorA2` are never constructed
[INFO] [stdout]  --> src/custom_fail_type.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum ErrorKindA {
[INFO] [stdout]   |      ---------- variants in this enum
[INFO] [stdout] 6 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 7 |     ErrorA1(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 8 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 9 |     ErrorA2(String),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ErrorKindA` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/custom_fail_type.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKindB`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/custom_fail_type.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKindB`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/error_kind_pair.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)]
[INFO] [stdout]    |                                             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKind`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/error_kind_pair.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)]
[INFO] [stdout]    |                                             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: variants `ErrorB1` and `ErrorB2` are never constructed
[INFO] [stdout]   --> src/custom_fail_type.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum ErrorKindB {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 14 |     #[fail(display = "error a: {}", _0)]
[INFO] [stdout] 15 |     ErrorB1(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 16 |     #[fail(display = "error b: {}", _0)]
[INFO] [stdout] 17 |     ErrorB2(String),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKindB` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `example` is never used
[INFO] [stdout]   --> src/custom_fail_type.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn example() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/custom_fail_type.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKindA`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/custom_fail_type.rs:4:39
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKindA`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/custom_fail_type.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKindB`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/custom_fail_type.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Clone, PartialEq, Eq, Debug, Fail)]
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKindB`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/error_kind_pair.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)]
[INFO] [stdout]    |                                             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_ErrorKind`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/error_kind_pair.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)]
[INFO] [stdout]    |                                             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_ErrorKind`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[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: aborting due to 6 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `failure-test` (bin "failure-test") due to 7 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `failure-test` (bin "failure-test" test) due to 7 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ed028783fc3d86ffd5bc977ec496049950c4432e11726134e60f7ee4930312c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed028783fc3d86ffd5bc977ec496049950c4432e11726134e60f7ee4930312c4", kill_on_drop: false }`
[INFO] [stdout] ed028783fc3d86ffd5bc977ec496049950c4432e11726134e60f7ee4930312c4
