[INFO] fetching crate error-chain-mini 0.2.0... [INFO] checking error-chain-mini-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate error-chain-mini 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate error-chain-mini 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate error-chain-mini 0.2.0 [INFO] finished tweaking crates.io crate error-chain-mini 0.2.0 [INFO] tweaked toml for crates.io crate error-chain-mini 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding proc-macro2 v0.3.8 (available: v1.0.86) [INFO] [stderr] Adding quote v0.5.2 (available: v1.0.37) [INFO] [stderr] Adding syn v0.13.11 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.8.1 (available: v0.13.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41ec705a62bbea448d268c70302bf870fd02945781956c90e77a4b05c5bc9767 [INFO] running `Command { std: "docker" "start" "-a" "41ec705a62bbea448d268c70302bf870fd02945781956c90e77a4b05c5bc9767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41ec705a62bbea448d268c70302bf870fd02945781956c90e77a4b05c5bc9767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41ec705a62bbea448d268c70302bf870fd02945781956c90e77a4b05c5bc9767", kill_on_drop: false }` [INFO] [stdout] 41ec705a62bbea448d268c70302bf870fd02945781956c90e77a4b05c5bc9767 [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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91499424e0c1881d670d8f99eeb27a217af7be44824e206b8cd6f197c8691c4a [INFO] running `Command { std: "docker" "start" "-a" "91499424e0c1881d670d8f99eeb27a217af7be44824e206b8cd6f197c8691c4a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking error-chain-mini v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | context: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | context: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 263 | pub fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:430:38 [INFO] [stdout] | [INFO] [stdout] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling synstructure v0.8.1 [INFO] [stderr] Compiling error-chain-mini-derive v0.2.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:426:22 [INFO] [stdout] | [INFO] [stdout] 426 | context: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | context: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 263 | pub fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:430:38 [INFO] [stdout] | [INFO] [stdout] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ChainedError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:682:20 [INFO] [stdout] | [INFO] [stdout] 680 | let file = File::open("not_existing_file").into_chained(|| "In io()"); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 681 | assert!(file.is_err()); [INFO] [stdout] 682 | if let Err(e) = file { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ChainedError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:694:20 [INFO] [stdout] | [INFO] [stdout] 692 | let res = index_err(id).chain_err(|| "In index()"); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 693 | assert!(res.is_err()); [INFO] [stdout] 694 | if let Err(e) = res { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Kind2` is never constructed [INFO] [stdout] --> tests/derive_tests.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 102 | enum MyError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | Kind2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/derive_tests.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [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/derive_tests.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError2` is not local [INFO] [stdout] | `ErrorKind` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError2` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (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/derive_tests.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(ErrorKind)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyError2` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError2` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ErrorKind` may come from an old version of the `error_chain_mini_derive` crate, try updating your dependency with `cargo update -p error_chain_mini_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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `error-chain-mini` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "91499424e0c1881d670d8f99eeb27a217af7be44824e206b8cd6f197c8691c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91499424e0c1881d670d8f99eeb27a217af7be44824e206b8cd6f197c8691c4a", kill_on_drop: false }` [INFO] [stdout] 91499424e0c1881d670d8f99eeb27a217af7be44824e206b8cd6f197c8691c4a