[INFO] fetching crate failure 0.1.8...
[INFO] testing failure-0.1.8 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate failure 0.1.8 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate failure 0.1.8
[INFO] finished tweaking crates.io crate failure 0.1.8
[INFO] tweaked toml for crates.io crate failure 0.1.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate failure 0.1.8 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate failure 0.1.8 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `failure` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765
[INFO] running `"docker" "start" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765"`
[INFO] running `"docker" "inspect" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `failure` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.12
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling quote v1.0.4
[INFO] [stderr]    Compiling backtrace-sys v0.1.37
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling backtrace v0.3.46
[INFO] [stderr]    Compiling failure v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | #![cfg_attr(feature = "small-error", feature(extern_types, allocator_api))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stdout]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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(unexpected_cfgs)]` implied by `#[warn(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stdout]   --> src/error/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg_attr(feature = "small-error", path = "./error_impl_small.rs")]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stdout]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:177:15
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn causes(&self) -> Causes
[INFO] [stdout]     |               ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn causes(&self) -> Causes<'_>
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:252:23
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn causes(&self) -> Causes {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:154:23
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn causes(&self) -> Causes {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 7.85s
[INFO] running `"docker" "inspect" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `failure` (manifest) generated 1 warning
[INFO] [stdout] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | #![cfg_attr(feature = "small-error", feature(extern_types, allocator_api))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stdout]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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(unexpected_cfgs)]` implied by `#[warn(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stdout]   --> src/error/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg_attr(feature = "small-error", path = "./error_impl_small.rs")]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stdout]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:177:15
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn causes(&self) -> Causes
[INFO] [stdout]     |               ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn causes(&self) -> Causes<'_>
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:252:23
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling failure v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn causes(&self) -> Causes {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:154:23
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn causes(&self) -> Causes {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> examples/string_custom_error_pattern.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn cause(&self) -> Option<&Fail> {
[INFO] [stdout]    |                                ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> examples/string_custom_error_pattern.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 |     for cause in Fail::iter_causes(&err) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     for cause in <dyn Fail>::iter_causes(&err) {
[INFO] [stdout]    |                  ++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> tests/basic_fail.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> tests/fail_compat.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> tests/basic_fail.rs:8:14
[INFO] [stdout]    |
[INFO] [stdout]  8 |     #[derive(Fail, Debug)]
[INFO] [stdout]    |              ^---
[INFO] [stdout]    |              |
[INFO] [stdout]    |              `Fail` is not local
[INFO] [stdout]    |              move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError` and up 2 bodies
[INFO] [stdout]  9 |     #[fail(display = "my error")]
[INFO] [stdout] 10 |     struct MyError;
[INFO] [stdout]    |            ------- `MyError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> tests/basic_fail.rs:8:14
[INFO] [stdout]    |
[INFO] [stdout]  8 |     #[derive(Fail, Debug)]
[INFO] [stdout]    |              ^---
[INFO] [stdout]    |              |
[INFO] [stdout]    |              `Display` is not local
[INFO] [stdout]    |              move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError` and up 2 bodies
[INFO] [stdout]  9 |     #[fail(display = "my error")]
[INFO] [stdout] 10 |     struct MyError;
[INFO] [stdout]    |            ------- `MyError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | #![cfg_attr(feature = "small-error", feature(extern_types, allocator_api))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stdout]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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(unexpected_cfgs)]` implied by `#[warn(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stdout]   --> src/error/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg_attr(feature = "small-error", path = "./error_impl_small.rs")]
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stdout]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/simple.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/error_as_cause.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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_chain(&bad_function().unwrap_err()) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     for cause in <dyn Fail>::iter_chain(&bad_function().unwrap_err()) {
[INFO] [stdout]    |                  ++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> examples/simple.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Fail` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError`
[INFO] [stdout] 7 | #[fail(display = "my error")]
[INFO] [stdout] 8 | struct MyError;
[INFO] [stdout]   |        ------- `MyError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> examples/simple.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Display` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError`
[INFO] [stdout] 7 | #[fail(display = "my error")]
[INFO] [stdout] 8 | struct MyError;
[INFO] [stdout]   |        ------- `MyError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> examples/simple.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Fail` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WrappingError`
[INFO] [stdout] 11 | #[fail(display = "my wrapping error")]
[INFO] [stdout] 12 | struct WrappingError(#[fail(cause)] MyError);
[INFO] [stdout]    |        ------------- `WrappingError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> examples/simple.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^---
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 `Display` is not local
[INFO] [stdout]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WrappingError`
[INFO] [stdout] 11 | #[fail(display = "my wrapping error")]
[INFO] [stdout] 12 | struct WrappingError(#[fail(cause)] MyError);
[INFO] [stdout]    |        ------------- `WrappingError` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning 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]   --> examples/error_as_cause.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |     for cause in Fail::iter_causes(&bad_function().unwrap_err()) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     for cause in <dyn Fail>::iter_causes(&bad_function().unwrap_err()) {
[INFO] [stdout]    |                  ++++     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> tests/fail_compat.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(Fail, Debug)]
[INFO] [stdout]   |              ^---
[INFO] [stdout]   |              |
[INFO] [stdout]   |              `Fail` is not local
[INFO] [stdout]   |              move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError` and up 2 bodies
[INFO] [stdout] 8 |     #[fail(display = "my error")]
[INFO] [stdout] 9 |     struct MyError;
[INFO] [stdout]   |            ------- `MyError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> tests/fail_compat.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(Fail, Debug)]
[INFO] [stdout]   |              ^---
[INFO] [stdout]   |              |
[INFO] [stdout]   |              `Display` is not local
[INFO] [stdout]   |              move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError` and up 2 bodies
[INFO] [stdout] 8 |     #[fail(display = "my error")]
[INFO] [stdout] 9 |     struct MyError;
[INFO] [stdout]   |            ------- `MyError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> tests/macro_trailing_comma.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 |         wrap_early_return!(bail!("test")),
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> tests/macro_trailing_comma.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 |         wrap_early_return!(bail!("test",)));
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> tests/macro_trailing_comma.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |         wrap_early_return!(bail!("test {}", 4)),
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trailing semicolon in macro used in expression position
[INFO] [stdout]   --> tests/macro_trailing_comma.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |         wrap_early_return!(bail!("test {}", 4,)));
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> examples/error_as_cause.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Fail` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WrappingError`
[INFO] [stdout] 7 | #[fail(display = "my wrapping error")]
[INFO] [stdout] 8 | struct WrappingError(#[fail(cause)] Error);
[INFO] [stdout]   |        ------------- `WrappingError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> examples/error_as_cause.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^---
[INFO] [stdout]   |                 |
[INFO] [stdout]   |                 `Display` is not local
[INFO] [stdout]   |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WrappingError`
[INFO] [stdout] 7 | #[fail(display = "my wrapping error")]
[INFO] [stdout] 8 | struct WrappingError(#[fail(cause)] Error);
[INFO] [stdout]   |        ------------- `WrappingError` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:177:15
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn causes(&self) -> Causes
[INFO] [stdout]     |               ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 177 |     fn causes(&self) -> Causes<'_>
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 242 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:252:23
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 252 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:267:19
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn causes(&self) -> Causes {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:154:23
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stdout]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 154 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stdout]     |                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/error/mod.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn causes(&self) -> Causes {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 182 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.31s
[INFO] running `"docker" "inspect" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `failure` (manifest) generated 1 warning
[INFO] [stderr] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stderr]   --> src/lib.rs:26:13
[INFO] [stderr]    |
[INFO] [stderr] 26 | #![cfg_attr(feature = "small-error", feature(extern_types, allocator_api))]
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stderr]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 | #![deny(warnings)]
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `small-error`
[INFO] [stderr]   --> src/error/mod.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | #[cfg_attr(feature = "small-error", path = "./error_impl_small.rs")]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std`
[INFO] [stderr]    = help: consider adding `small-error` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:177:15
[INFO] [stderr]     |
[INFO] [stderr] 177 |     fn causes(&self) -> Causes
[INFO] [stderr]     |               ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |               |
[INFO] [stderr]     |               the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]`
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 177 |     fn causes(&self) -> Causes<'_>
[INFO] [stderr]     |                               ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:242:24
[INFO] [stderr]     |
[INFO] [stderr] 242 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stderr]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 242 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stderr]     |                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:252:23
[INFO] [stderr]     |
[INFO] [stderr] 252 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stderr]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 252 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stderr]     |                                       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/lib.rs:267:19
[INFO] [stderr]     |
[INFO] [stderr] 267 |     pub fn causes(&self) -> Causes {
[INFO] [stderr]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 267 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stderr]     |                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/error/mod.rs:144:24
[INFO] [stderr]     |
[INFO] [stderr] 144 |     pub fn iter_causes(&self) -> Causes {
[INFO] [stderr]     |                        ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 144 |     pub fn iter_causes(&self) -> Causes<'_> {
[INFO] [stderr]     |                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/error/mod.rs:154:23
[INFO] [stderr]     |
[INFO] [stderr] 154 |     pub fn iter_chain(&self) -> Causes {
[INFO] [stderr]     |                       ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                       |
[INFO] [stderr]     |                       the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 154 |     pub fn iter_chain(&self) -> Causes<'_> {
[INFO] [stderr]     |                                       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/error/mod.rs:182:19
[INFO] [stderr]     |
[INFO] [stderr] 182 |     pub fn causes(&self) -> Causes {
[INFO] [stderr]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 182 |     pub fn causes(&self) -> Causes<'_> {
[INFO] [stderr]     |                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `failure` (lib) generated 9 warnings (run `cargo fix --lib -p failure` to apply 7 suggestions)
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]   --> tests/macro_trailing_comma.rs:29:28
[INFO] [stderr]    |
[INFO] [stderr] 29 |         wrap_early_return!(bail!("test")),
[INFO] [stderr]    |                            ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]    = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stderr]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]   --> tests/macro_trailing_comma.rs:30:28
[INFO] [stderr]    |
[INFO] [stderr] 30 |         wrap_early_return!(bail!("test",)));
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]   --> tests/macro_trailing_comma.rs:32:28
[INFO] [stderr]    |
[INFO] [stderr] 32 |         wrap_early_return!(bail!("test {}", 4)),
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stderr]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trailing semicolon in macro used in expression position
[INFO] [stderr]   --> tests/macro_trailing_comma.rs:33:28
[INFO] [stderr]    |
[INFO] [stderr] 33 |         wrap_early_return!(bail!("test {}", 4,)));
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stderr]    = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
[INFO] [stdout] running 7 tests
[INFO] [stderr]    = note: this warning originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/simple.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> examples/simple.rs:19:18
[INFO] [stderr]    |
[INFO] [stderr] 19 |     for cause in Fail::iter_chain(&bad_function().unwrap_err()) {
[INFO] [stderr]    |                  ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 19 |     for cause in <dyn Fail>::iter_chain(&bad_function().unwrap_err()) {
[INFO] [stderr]    |                  ++++     +
[INFO] [stdout] test backtrace::internal::tests::never_enabled_if_failure_is_set_to_no ... ok
[INFO] [stderr] 
[INFO] [stdout] test backtrace::internal::tests::follows_general_if_failure_is_not_set ... ok
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] test error::test::assert_error_is_just_data ... ok
[INFO] [stderr]  --> examples/simple.rs:6:17
[INFO] [stdout] test error::test::methods_seem_to_work ... FAILED
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Fail)]
[INFO] [stderr]   |                 ^---
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `Fail` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError`
[INFO] [stderr] 7 | #[fail(display = "my error")]
[INFO] [stderr] 8 | struct MyError;
[INFO] [stderr]   |        ------- `MyError` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout] test error::test::downcast_can_be_used ... ok
[INFO] [stderr]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> examples/simple.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[derive(Debug, Fail)]
[INFO] [stderr]   |                 ^---
[INFO] [stderr]   |                 |
[INFO] [stderr]   |                 `Display` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError`
[INFO] [stderr] 7 | #[fail(display = "my error")]
[INFO] [stderr] 8 | struct MyError;
[INFO] [stderr]   |        ------- `MyError` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> examples/simple.rs:10:17
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(Debug, Fail)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Fail` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WrappingError`
[INFO] [stderr] 11 | #[fail(display = "my wrapping error")]
[INFO] [stderr] 12 | struct WrappingError(#[fail(cause)] MyError);
[INFO] [stderr]    |        ------------- `WrappingError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> examples/simple.rs:10:17
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(Debug, Fail)]
[INFO] [stderr]    |                 ^---
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 `Display` is not local
[INFO] [stderr]    |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WrappingError`
[INFO] [stderr] 11 | #[fail(display = "my wrapping error")]
[INFO] [stdout] test context::test_map ... ok
[INFO] [stderr] 12 | struct WrappingError(#[fail(cause)] MyError);
[INFO] [stderr]    |        ------------- `WrappingError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/error_as_cause.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stdout] test backtrace::internal::tests::always_enabled_if_failure_is_set_to_yes ... ok
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] 
[INFO] [stderr]   --> examples/error_as_cause.rs:15:18
[INFO] [stdout] failures:
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 15 |     for cause in Fail::iter_causes(&bad_function().unwrap_err()) {
[INFO] [stdout] ---- error::test::methods_seem_to_work stdout ----
[INFO] [stderr]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stderr]    |
[INFO] [stdout] thread 'error::test::methods_seem_to_work' (688) panicked at src/error/mod.rs:228:9:
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout] assertion `left == right` failed
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   left: "Custom { kind: NotFound, error: \"test\" }"
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout]  right: "Custom { kind: NotFound, error: \"test\" }\n\n   0: <failure::backtrace::internal::InternalBacktrace>::new\n   1: <failure::error::error_impl::ErrorImpl as core::convert::From<core::io::error::Error>>::from\n   2: <failure::error::test::methods_seem_to_work::{closure#0} as core::ops::function::FnOnce<()>>::call_once\n   3: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>\n   4: test::run_test::{closure#0}\n   5: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>\n   6: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}\n   7: <std::sys::thread::unix::Thread>::new::thread_start\n   8: <unknown>\n   9: __clone\n"
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout] stack backtrace:
[INFO] [stderr]    |
[INFO] [stdout]    0:     0x63a0efb77791 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stderr] 15 |     for cause in <dyn Fail>::iter_causes(&bad_function().unwrap_err()) {
[INFO] [stdout]    1:     0x63a0efb8bbba - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stderr]    |                  ++++     +
[INFO] [stdout]    2:     0x63a0efb7bcac - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stderr] 
[INFO] [stdout]    3:     0x63a0efb542f6 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    4:     0x63a0efb6fce9 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stderr]  --> examples/error_as_cause.rs:6:17
[INFO] [stdout]    5:     0x63a0efaf7390 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stderr]   |
[INFO] [stdout]    6:     0x63a0efb6fea2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stderr] 6 | #[derive(Debug, Fail)]
[INFO] [stdout]    7:     0x63a0efb543a2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stderr]   |                 ^---
[INFO] [stdout]    8:     0x63a0efb4ccd9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]   |                 |
[INFO] [stdout]    9:     0x63a0efb54fad - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stderr]   |                 `Fail` is not local
[INFO] [stdout]   10:     0x63a0efb8c8cc - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WrappingError`
[INFO] [stdout]   11:     0x63a0efb8c7c3 - core[5c14b8d5a259cc4e]::panicking::assert_failed_inner
[INFO] [stderr] 7 | #[fail(display = "my wrapping error")]
[INFO] [stdout]   12:     0x63a0efae8fe7 - core[5c14b8d5a259cc4e]::panicking::assert_failed::<alloc[f65cf102c2e86268]::string::String, alloc[f65cf102c2e86268]::string::String>
[INFO] [stderr] 8 | struct WrappingError(#[fail(cause)] Error);
[INFO] [stdout]   13:     0x63a0efae9d61 - <failure[aa11ef781b7ce5e2]::error::test::methods_seem_to_work::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   |        ------------- `WrappingError` is not local
[INFO] [stdout]   14:     0x63a0efaea1fb - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stderr]   |
[INFO] [stdout]   15:     0x63a0efaf79b5 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stderr]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   16:     0x63a0efaf0e04 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stderr]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   17:     0x63a0efafa942 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   18:     0x63a0efb7702f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   19:     0x73a8f3128dfa - <unknown>
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   20:     0x73a8f31bc3d4 - clone
[INFO] [stderr]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   21:                0x0 - <unknown>
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout] 
[INFO] [stderr]  --> examples/error_as_cause.rs:6:17
[INFO] [stdout] failures:
[INFO] [stderr]   |
[INFO] [stdout]     error::test::methods_seem_to_work
[INFO] [stderr] 6 | #[derive(Debug, Fail)]
[INFO] [stdout] 
[INFO] [stderr]   |                 ^---
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stderr]   |                 |
[INFO] [stdout] 
[INFO] [stderr]   |                 `Display` is not local
[INFO] [stderr]   |                 move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WrappingError`
[INFO] [stderr] 7 | #[fail(display = "my wrapping error")]
[INFO] [stderr] 8 | struct WrappingError(#[fail(cause)] Error);
[INFO] [stderr]   |        ------------- `WrappingError` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> tests/fail_compat.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> tests/fail_compat.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 |     #[derive(Fail, Debug)]
[INFO] [stderr]   |              ^---
[INFO] [stderr]   |              |
[INFO] [stderr]   |              `Fail` is not local
[INFO] [stderr]   |              move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError` and up 2 bodies
[INFO] [stderr] 8 |     #[fail(display = "my error")]
[INFO] [stderr] 9 |     struct MyError;
[INFO] [stderr]   |            ------- `MyError` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> tests/fail_compat.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 |     #[derive(Fail, Debug)]
[INFO] [stderr]   |              ^---
[INFO] [stderr]   |              |
[INFO] [stderr]   |              `Display` is not local
[INFO] [stderr]   |              move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError` and up 2 bodies
[INFO] [stderr] 8 |     #[fail(display = "my error")]
[INFO] [stderr] 9 |     struct MyError;
[INFO] [stderr]   |            ------- `MyError` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> examples/string_custom_error_pattern.rs:38:32
[INFO] [stderr]    |
[INFO] [stderr] 38 |     fn cause(&self) -> Option<&Fail> {
[INFO] [stderr]    |                                ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 38 |     fn cause(&self) -> Option<&dyn Fail> {
[INFO] [stderr]    |                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> examples/string_custom_error_pattern.rs:13:18
[INFO] [stderr]    |
[INFO] [stderr] 13 |     for cause in Fail::iter_causes(&err) {
[INFO] [stderr]    |                  ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 13 |     for cause in <dyn Fail>::iter_causes(&err) {
[INFO] [stderr]    |                  ++++     +
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> tests/basic_fail.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> tests/basic_fail.rs:8:14
[INFO] [stderr]    |
[INFO] [stderr]  8 |     #[derive(Fail, Debug)]
[INFO] [stderr]    |              ^---
[INFO] [stderr]    |              |
[INFO] [stderr]    |              `Fail` is not local
[INFO] [stderr]    |              move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError` and up 2 bodies
[INFO] [stderr]  9 |     #[fail(display = "my error")]
[INFO] [stderr] 10 |     struct MyError;
[INFO] [stderr]    |            ------- `MyError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> tests/basic_fail.rs:8:14
[INFO] [stderr]    |
[INFO] [stderr]  8 |     #[derive(Fail, Debug)]
[INFO] [stderr]    |              ^---
[INFO] [stderr]    |              |
[INFO] [stderr]    |              `Display` is not local
[INFO] [stderr]    |              move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError` and up 2 bodies
[INFO] [stderr]  9 |     #[fail(display = "my error")]
[INFO] [stderr] 10 |     struct MyError;
[INFO] [stderr]    |            ------- `MyError` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `failure` (test "macro_trailing_comma") generated 4 warnings
[INFO] [stderr] warning: `failure` (example "simple") generated 6 warnings (run `cargo fix --example "simple" -p failure` to apply 1 suggestion)
[INFO] [stderr] warning: `failure` (example "error_as_cause") generated 4 warnings (run `cargo fix --example "error_as_cause" -p failure` to apply 1 suggestion)
[INFO] [stderr] warning: `failure` (test "fail_compat") generated 3 warnings
[INFO] [stderr] warning: `failure` (example "string_custom_error_pattern") generated 2 warnings (run `cargo fix --example "string_custom_error_pattern" -p failure` to apply 2 suggestions)
[INFO] [stderr] warning: `failure` (test "basic_fail") generated 3 warnings
[INFO] [stderr] warning: `failure` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/failure/44cab10ed77b6672/out/failure-44cab10ed77b6672)
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `"docker" "inspect" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765"`
[INFO] running `"docker" "rm" "-f" "222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765"`
[INFO] [stdout] 222eb4df037668fa736f53eb89f0eef2b8d2d3bb53830863aaec01068222e765
