[INFO] fetching crate error-chain-mini 0.2.0... [INFO] checking error-chain-mini-0.2.0 against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] extracting crate error-chain-mini 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate error-chain-mini 0.2.0 on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "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] [stderr] Downloaded synstructure v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1dceb38faebd80bd5b26de915aa726016f7ea75beb0005b852247ad29cdb946b [INFO] running `Command { std: "docker" "start" "-a" "1dceb38faebd80bd5b26de915aa726016f7ea75beb0005b852247ad29cdb946b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dceb38faebd80bd5b26de915aa726016f7ea75beb0005b852247ad29cdb946b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dceb38faebd80bd5b26de915aa726016f7ea75beb0005b852247ad29cdb946b", kill_on_drop: false }` [INFO] [stdout] 1dceb38faebd80bd5b26de915aa726016f7ea75beb0005b852247ad29cdb946b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 758737da66b98799f83dd8f951a59b67c9a581256dcd61886ba7113de91a1e92 [INFO] running `Command { std: "docker" "start" "-a" "758737da66b98799f83dd8f951a59b67c9a581256dcd61886ba7113de91a1e92", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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 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 proc-macro2 v0.3.8 [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 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 2.61s [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 1` [INFO] running `Command { std: "docker" "inspect" "758737da66b98799f83dd8f951a59b67c9a581256dcd61886ba7113de91a1e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758737da66b98799f83dd8f951a59b67c9a581256dcd61886ba7113de91a1e92", kill_on_drop: false }` [INFO] [stdout] 758737da66b98799f83dd8f951a59b67c9a581256dcd61886ba7113de91a1e92