[INFO] fetching crate wagyu-bitcoin 0.6.3... [INFO] building wagyu-bitcoin-0.6.3 against master#ce36a966c79e109dabeef7a47fe68e5294c6d71e for pr-137044-3 [INFO] extracting crate wagyu-bitcoin 0.6.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate wagyu-bitcoin 0.6.3 on toolchain ce36a966c79e109dabeef7a47fe68e5294c6d71e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wagyu-bitcoin 0.6.3 [INFO] finished tweaking crates.io crate wagyu-bitcoin 0.6.3 [INFO] tweaked toml for crates.io crate wagyu-bitcoin 0.6.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] [stderr] Adding base58 v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding bech32 v0.6.0 (available: v0.11.0) [INFO] [stderr] Adding bitvec v0.17.4 (available: v1.0.1) [INFO] [stderr] Adding cc v1.0.41 (available: v1.2.14) [INFO] [stderr] Adding digest v0.8.1 (available: v0.10.7) [INFO] [stderr] Adding hmac v0.7.1 (available: v0.12.1) [INFO] [stderr] Adding pbkdf2 v0.3.0 (available: v0.12.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.0) [INFO] [stderr] Adding ripemd160 v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding secp256k1 v0.17.2 (available: v0.30.0) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.8) [INFO] [stderr] Adding tiny-keccak v1.5.0 (available: v2.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex v0.4.3 [INFO] [stderr] Downloaded uint v0.8.5 [INFO] [stderr] Downloaded async-stream-impl v0.2.1 [INFO] [stderr] Downloaded ethbloom v0.9.2 [INFO] [stderr] Downloaded byte-slice-cast v0.3.5 [INFO] [stderr] Downloaded base58 v0.1.0 [INFO] [stderr] Downloaded bech32 v0.6.0 [INFO] [stderr] Downloaded rustc-hex v2.1.0 [INFO] [stderr] Downloaded ff v0.6.0 [INFO] [stderr] Downloaded async-stream v0.2.1 [INFO] [stderr] Downloaded base58-monero v0.2.1 [INFO] [stderr] Downloaded pbkdf2 v0.3.0 [INFO] [stderr] Downloaded bytes v0.5.6 [INFO] [stderr] Downloaded parity-scale-codec v1.3.7 [INFO] [stderr] Downloaded impl-serde v0.3.2 [INFO] [stderr] Downloaded cc v1.0.41 [INFO] [stderr] Downloaded secp256k1-sys v0.1.2 [INFO] [stderr] Downloaded wagyu-model v0.6.3 [INFO] [stderr] Downloaded secp256k1 v0.17.2 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded bitvec v0.17.4 [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded fixed-hash v0.6.1 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded rlp v0.4.6 [INFO] [stderr] Downloaded radium v0.3.0 [INFO] [stderr] Downloaded impl-codec v0.4.2 [INFO] [stderr] Downloaded primitive-types v0.7.3 [INFO] [stderr] Downloaded impl-rlp v0.2.1 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] [stderr] Downloaded ripemd160 v0.8.0 [INFO] [stderr] Downloaded ethereum-types v0.9.2 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2b7ab75f81267c6bf07bbfbc2672445de6ca31c6b98a0e08e031520e991cc7d [INFO] running `Command { std: "docker" "start" "-a" "e2b7ab75f81267c6bf07bbfbc2672445de6ca31c6b98a0e08e031520e991cc7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2b7ab75f81267c6bf07bbfbc2672445de6ca31c6b98a0e08e031520e991cc7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b7ab75f81267c6bf07bbfbc2672445de6ca31c6b98a0e08e031520e991cc7d", kill_on_drop: false }` [INFO] [stdout] e2b7ab75f81267c6bf07bbfbc2672445de6ca31c6b98a0e08e031520e991cc7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fb7d218e3b40050c0c8bf65018c57b1f67241288c40064b2bd25ab19d451a91 [INFO] running `Command { std: "docker" "start" "-a" "1fb7d218e3b40050c0c8bf65018c57b1f67241288c40064b2bd25ab19d451a91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rlp v0.4.6 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling secp256k1-sys v0.1.2 [INFO] [stderr] Compiling bech32 v0.6.0 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling ff v0.6.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling secp256k1 v0.17.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling base58-monero v0.2.1 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling parity-scale-codec v1.3.7 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling ethbloom v0.9.2 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.7.3 [INFO] [stderr] Compiling ethereum-types v0.9.2 [INFO] [stderr] Compiling wagyu-model v0.6.3 [INFO] [stderr] Compiling wagyu-bitcoin v0.6.3 (/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/witness_program.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WitnessProgramError` [INFO] [stdout] 29 | pub enum WitnessProgramError { [INFO] [stdout] | ------------------- `WitnessProgramError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/witness_program.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WitnessProgramError` [INFO] [stdout] 29 | pub enum WitnessProgramError { [INFO] [stdout] | ------------------- `WitnessProgramError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.15s [INFO] running `Command { std: "docker" "inspect" "1fb7d218e3b40050c0c8bf65018c57b1f67241288c40064b2bd25ab19d451a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fb7d218e3b40050c0c8bf65018c57b1f67241288c40064b2bd25ab19d451a91", kill_on_drop: false }` [INFO] [stdout] 1fb7d218e3b40050c0c8bf65018c57b1f67241288c40064b2bd25ab19d451a91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+ce36a966c79e109dabeef7a47fe68e5294c6d71e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c33fbdd444960feddf29f2b61c05ae109f0515c3995e5f87047e41de70bc346 [INFO] running `Command { std: "docker" "start" "-a" "7c33fbdd444960feddf29f2b61c05ae109f0515c3995e5f87047e41de70bc346", kill_on_drop: false }` [INFO] [stderr] Compiling wagyu-bitcoin v0.6.3 (/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/witness_program.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WitnessProgramError` [INFO] [stdout] 29 | pub enum WitnessProgramError { [INFO] [stdout] | ------------------- `WitnessProgramError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/witness_program.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WitnessProgramError` [INFO] [stdout] 29 | pub enum WitnessProgramError { [INFO] [stdout] | ------------------- `WitnessProgramError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/witness_program.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WitnessProgramError` [INFO] [stdout] 29 | pub enum WitnessProgramError { [INFO] [stdout] | ------------------- `WitnessProgramError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/witness_program.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Fail, PartialEq, Eq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WitnessProgramError` [INFO] [stdout] 29 | pub enum WitnessProgramError { [INFO] [stdout] | ------------------- `WitnessProgramError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "7c33fbdd444960feddf29f2b61c05ae109f0515c3995e5f87047e41de70bc346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c33fbdd444960feddf29f2b61c05ae109f0515c3995e5f87047e41de70bc346", kill_on_drop: false }` [INFO] [stdout] 7c33fbdd444960feddf29f2b61c05ae109f0515c3995e5f87047e41de70bc346