[INFO] fetching crate error-chain-mini 0.2.0... [INFO] testing error-chain-mini-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate error-chain-mini 0.2.0 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate error-chain-mini 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain-mini-derive v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a7fbad6ff416464f8d1e0a7a1560af93302e0991c03fefb76031f480dbca94e [INFO] running `Command { std: "docker" "start" "-a" "6a7fbad6ff416464f8d1e0a7a1560af93302e0991c03fefb76031f480dbca94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a7fbad6ff416464f8d1e0a7a1560af93302e0991c03fefb76031f480dbca94e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7fbad6ff416464f8d1e0a7a1560af93302e0991c03fefb76031f480dbca94e", kill_on_drop: false }` [INFO] [stdout] 6a7fbad6ff416464f8d1e0a7a1560af93302e0991c03fefb76031f480dbca94e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f603f00e07f1dd1d04cb66e77ad5d19b36b1dae1c9236f8f3298990b664a79d9 [INFO] running `Command { std: "docker" "start" "-a" "f603f00e07f1dd1d04cb66e77ad5d19b36b1dae1c9236f8f3298990b664a79d9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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)]` (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] 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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "f603f00e07f1dd1d04cb66e77ad5d19b36b1dae1c9236f8f3298990b664a79d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f603f00e07f1dd1d04cb66e77ad5d19b36b1dae1c9236f8f3298990b664a79d9", kill_on_drop: false }` [INFO] [stdout] f603f00e07f1dd1d04cb66e77ad5d19b36b1dae1c9236f8f3298990b664a79d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c859a7994b94e12e0985f75af05238a3e6cc3be296b056e349ea92a5d520c3dc [INFO] running `Command { std: "docker" "start" "-a" "c859a7994b94e12e0985f75af05238a3e6cc3be296b056e349ea92a5d520c3dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [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)]` (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] 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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | +++ [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] [stderr] Compiling 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)]` (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] 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 a dyn-compatible 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stdout] | +++ [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)]` (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/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: `#[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 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 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 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] | `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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 warning originates in the derive macro `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "c859a7994b94e12e0985f75af05238a3e6cc3be296b056e349ea92a5d520c3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c859a7994b94e12e0985f75af05238a3e6cc3be296b056e349ea92a5d520c3dc", kill_on_drop: false }` [INFO] [stdout] c859a7994b94e12e0985f75af05238a3e6cc3be296b056e349ea92a5d520c3dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9431e0d842883d75ffb59ad47b6ddcb8c5f8d87e7ecb842e0dbfefd9924a3e6e [INFO] running `Command { std: "docker" "start" "-a" "9431e0d842883d75ffb59ad47b6ddcb8c5f8d87e7ecb842e0dbfefd9924a3e6e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:426:22 [INFO] [stderr] | [INFO] [stderr] 426 | context: Vec>, [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 [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] 426 | context: Vec>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:263:42 [INFO] [stderr] | [INFO] [stderr] 263 | pub fn new(kind: T, context: Vec>) -> Self { [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 [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 263 | pub fn new(kind: T, context: Vec>) -> Self { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:430:38 [INFO] [stderr] | [INFO] [stderr] 430 | fn new(kind: T, context: Vec>) -> Self { [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 [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 430 | fn new(kind: T, context: Vec>) -> Self { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `error-chain-mini` (lib) generated 3 warnings (run `cargo fix --lib -p error-chain-mini` to apply 3 suggestions) [INFO] [stderr] warning: variant `Kind2` is never constructed [INFO] [stderr] --> tests/derive_tests.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 102 | enum MyError { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 106 | Kind2, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (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/derive_tests.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:32:14 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:45:14 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:64:14 [INFO] [stderr] | [INFO] [stderr] 64 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:101:14 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:101:14 [INFO] [stderr] | [INFO] [stderr] 101 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError2` is not local [INFO] [stderr] | `ErrorKind` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_error_chain_mini_ErrorKind_FOR_MyError2` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (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/derive_tests.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | #[derive(ErrorKind)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyError2` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_fmt_Display_FOR_MyError2` and up 2 bodies [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ErrorKind` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ErrorKind` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `error-chain-mini` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: `error-chain-mini` (test "derive_tests") generated 21 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.13.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/error_chain_mini-67e3539e9298aa90) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::index ... ok [INFO] [stdout] test test::io ... ok [INFO] [stdout] test test::display - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/derive_tests.rs (/opt/rustwide/target/debug/deps/derive_tests-bb646972353cc669) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test detailed_enum_1 ... ok [INFO] [stdout] test detailed_enum_2 ... ok [INFO] [stderr] Doc-tests error_chain_mini [INFO] [stdout] test detailed_enum_rev ... ok [INFO] [stdout] test display ... ignored [INFO] [stdout] test detailed_struct ... ok [INFO] [stdout] test nomsg_enum ... ok [INFO] [stdout] test nomsg_struct ... ok [INFO] [stdout] test short_enum ... ok [INFO] [stdout] test short_struct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - (line 3) ... ok [INFO] [stdout] test src/lib.rs - ErrorKind::into_with (line 187) ... ok [INFO] [stdout] test src/lib.rs - ErrorKind::into_err (line 166) ... ok [INFO] [stdout] test src/lib.rs - ErrorKind::full (line 139) ... ok [INFO] [stdout] test src/lib.rs - ResultExt::convert (line 516) ... ok [INFO] [stdout] test src/lib.rs - ChainedError::convert_with (line 380) ... ok [INFO] [stdout] test src/lib.rs - ResultExt::into_chained (line 485) ... ok [INFO] [stdout] test src/lib.rs - ResultExt::chain_err (line 452) ... ok [INFO] [stdout] test src/lib.rs - ChainedError::convert (line 331) ... ok [INFO] [stdout] test src/lib.rs - ResultExt::convert_with (line 560) ... ok [INFO] [stdout] test src/lib.rs - ChainedError::contexts (line 293) ... ok [INFO] [stdout] test src/lib.rs - ErrorKind (line 90) ... ok [INFO] [stdout] test src/lib.rs - ErrorKind (line 44) ... ok [INFO] [stdout] test src/lib.rs - ChainedError::kind (line 271) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9431e0d842883d75ffb59ad47b6ddcb8c5f8d87e7ecb842e0dbfefd9924a3e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9431e0d842883d75ffb59ad47b6ddcb8c5f8d87e7ecb842e0dbfefd9924a3e6e", kill_on_drop: false }` [INFO] [stdout] 9431e0d842883d75ffb59ad47b6ddcb8c5f8d87e7ecb842e0dbfefd9924a3e6e