[INFO] fetching crate movey-utils 0.0.2... [INFO] testing movey-utils-0.0.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate movey-utils 0.0.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate movey-utils 0.0.2 [INFO] finished tweaking crates.io crate movey-utils 0.0.2 [INFO] tweaked toml for crates.io crate movey-utils 0.0.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate movey-utils 0.0.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 150 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.6.1) [INFO] [stderr] Adding config v0.10.1 (available: v0.15.22) [INFO] [stderr] Adding serial_test v0.9.0 (available: v3.4.0) [INFO] [stderr] Adding toml_edit v0.15.0 (available: v0.25.11+spec-1.1.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 900d8d61bd24fe285b83e5b02233d8f37d77df3e850594be2e6660f25da5264d [INFO] running `Command { std: "docker" "start" "-a" "900d8d61bd24fe285b83e5b02233d8f37d77df3e850594be2e6660f25da5264d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "900d8d61bd24fe285b83e5b02233d8f37d77df3e850594be2e6660f25da5264d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "900d8d61bd24fe285b83e5b02233d8f37d77df3e850594be2e6660f25da5264d", kill_on_drop: false }` [INFO] [stdout] 900d8d61bd24fe285b83e5b02233d8f37d77df3e850594be2e6660f25da5264d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09bc8f13d86a58d951cd8db2e1c44c4826480d579df1ba943eaeedde5cb4329d [INFO] running `Command { std: "docker" "start" "-a" "09bc8f13d86a58d951cd8db2e1c44c4826480d579df1ba943eaeedde5cb4329d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling slog v2.8.2 [INFO] [stderr] Compiling arc-swap v1.9.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling syslog v5.0.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling term v1.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling serial_test_derive v0.9.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serial_test v0.9.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling toml_datetime v0.5.1 [INFO] [stderr] Compiling toml_edit v0.15.0 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling slog-scope v4.4.1 [INFO] [stderr] Compiling slog-term v2.9.2 [INFO] [stderr] Compiling slog-syslog v0.13.0 [INFO] [stderr] Compiling slog-stdlog v4.1.1 [INFO] [stderr] Compiling movey-utils v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Copy, Clone, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 37 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "09bc8f13d86a58d951cd8db2e1c44c4826480d579df1ba943eaeedde5cb4329d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09bc8f13d86a58d951cd8db2e1c44c4826480d579df1ba943eaeedde5cb4329d", kill_on_drop: false }` [INFO] [stdout] 09bc8f13d86a58d951cd8db2e1c44c4826480d579df1ba943eaeedde5cb4329d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe37de02471403aa065abf7bb3aab04c1176acfa84ada882dd5b0a4c40c2f8ac [INFO] running `Command { std: "docker" "start" "-a" "fe37de02471403aa065abf7bb3aab04c1176acfa84ada882dd5b0a4c40c2f8ac", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Copy, Clone, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 37 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling movey-utils v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `utils` in this scope [INFO] [stdout] --> tests/test_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use utils::app_config::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `utils`, use `cargo add utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AppConfig::init(Some(config_contents)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let config = AppConfig::fetch().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | AppConfig::init(Some(config_contents)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(AppConfig::get::("debug").unwrap(), false); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | AppConfig::get::("database.url").unwrap(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | AppConfig::init(Some(config_contents)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | AppConfig::set("database.url", "new url").unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppConfig` in this scope [INFO] [stdout] --> tests/test_config.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | let config = AppConfig::fetch().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use movey_utils::app_config::AppConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `movey-utils` (test "test_config") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Copy, Clone, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ErrorKind` [INFO] [stdout] 37 | pub enum ErrorKind { [INFO] [stdout] | --------- `ErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe37de02471403aa065abf7bb3aab04c1176acfa84ada882dd5b0a4c40c2f8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe37de02471403aa065abf7bb3aab04c1176acfa84ada882dd5b0a4c40c2f8ac", kill_on_drop: false }` [INFO] [stdout] fe37de02471403aa065abf7bb3aab04c1176acfa84ada882dd5b0a4c40c2f8ac