[INFO] fetching crate mwc-wagyu-model 0.6.3... [INFO] checking mwc-wagyu-model-0.6.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mwc-wagyu-model 0.6.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate mwc-wagyu-model 0.6.3 [INFO] finished tweaking crates.io crate mwc-wagyu-model 0.6.3 [INFO] tweaked toml for crates.io crate mwc-wagyu-model 0.6.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mwc-wagyu-model 0.6.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding base58 v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding base58-monero v0.2.1 (available: v2.0.0) [INFO] [stderr] Adding bech32 v0.6.0 (available: v0.11.0) [INFO] [stderr] Adding crypto-mac v0.7.0 (available: v0.11.1) [INFO] [stderr] Adding ethereum-types v0.9.2 (available: v0.15.1) [INFO] [stderr] Adding ff v0.6.0 (available: v0.13.1) [INFO] [stderr] Adding libsecp256k1 v0.3.5 (available: v0.7.2) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.9.3) [INFO] [stderr] Adding ripemd160 v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding rlp v0.4.6 (available: v0.6.1) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.9) [INFO] [stderr] Adding uint v0.8.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ff v0.6.0 [INFO] [stderr] Downloaded base58-monero v0.2.1 [INFO] [stderr] Downloaded impl-rlp v0.2.1 [INFO] [stderr] Downloaded ripemd160 v0.8.0 [INFO] [stderr] Downloaded ethereum-types v0.9.2 [INFO] [stderr] Downloaded ethbloom v0.9.2 [INFO] [stderr] Downloaded bech32 v0.6.0 [INFO] [stderr] Downloaded rlp v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc96de4662dae6b1c063703b10c45502e3cf5dffbaa77999ee3bdf866411fe25 [INFO] running `Command { std: "docker" "start" "-a" "cc96de4662dae6b1c063703b10c45502e3cf5dffbaa77999ee3bdf866411fe25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc96de4662dae6b1c063703b10c45502e3cf5dffbaa77999ee3bdf866411fe25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc96de4662dae6b1c063703b10c45502e3cf5dffbaa77999ee3bdf866411fe25", kill_on_drop: false }` [INFO] [stdout] cc96de4662dae6b1c063703b10c45502e3cf5dffbaa77999ee3bdf866411fe25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6da1f1486a09474d2e9de584a19f21137d030a13d4e31c94e055aa258db546d9 [INFO] running `Command { std: "docker" "start" "-a" "6da1f1486a09474d2e9de584a19f21137d030a13d4e31c94e055aa258db546d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking ethbloom v0.9.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking ethereum-types v0.9.2 [INFO] [stderr] Checking ff v0.6.0 [INFO] [stderr] Checking bech32 v0.6.0 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking base58-monero v0.2.1 [INFO] [stderr] Checking mwc-wagyu-model v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `CHINESE_SIMPLIFIED` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `CHINESE_SIMPLIFIED` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `ENGLISH` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `ENGLISH` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `FRENCH` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `FRENCH` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `ITALIAN` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `ITALIAN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `JAPANESE` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `JAPANESE` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `SPANISH` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `SPANISH` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `hex` [INFO] [stdout] --> src/utilities/crypto.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let entropy = hex::decode(data).expect("hex decode failed"); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hex-0.4.3/src/lib.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 296 | pub fn decode>(data: T) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 15 + use base58_monero::decode; [INFO] [stdout] | [INFO] [stdout] 15 + use rlp::decode; [INFO] [stdout] | [INFO] [stdout] help: if you import `decode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 19 - let entropy = hex::decode(data).expect("hex decode failed"); [INFO] [stdout] 19 + let entropy = decode(data).expect("hex decode failed"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `hex` [INFO] [stdout] --> src/utilities/crypto.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let entropy = hex::decode(data).expect("hex decode failed"); [INFO] [stdout] | ^^^^^^ not found in `hex` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hex-0.4.3/src/lib.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(feature = "alloc")] [INFO] [stdout] | ----------------- the item is gated behind the `alloc` feature [INFO] [stdout] 296 | pub fn decode>(data: T) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 15 + use base58_monero::decode; [INFO] [stdout] | [INFO] [stdout] 15 + use rlp::decode; [INFO] [stdout] | [INFO] [stdout] help: if you import `decode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - let entropy = hex::decode(data).expect("hex decode failed"); [INFO] [stdout] 25 + let entropy = decode(data).expect("hex decode failed"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `CHINESE_SIMPLIFIED` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `CHINESE_SIMPLIFIED` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `ENGLISH` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `ENGLISH` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `FRENCH` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `FRENCH` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `ITALIAN` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `ITALIAN` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `JAPANESE` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `JAPANESE` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/wordlist/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use self::bip39::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ the name `SPANISH` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 5 | pub use self::monero::*; [INFO] [stdout] | --------------- but the name `SPANISH` in the value namespace is also re-exported here [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/address.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, 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_AddressError` [INFO] [stdout] 26 | pub enum AddressError { [INFO] [stdout] | ------------ `AddressError` 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/address.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug, Fail)] [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_AddressError` [INFO] [stdout] 26 | pub enum AddressError { [INFO] [stdout] | ------------ `AddressError` 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/amount.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, 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_AmountError` [INFO] [stdout] 11 | pub enum AmountError { [INFO] [stdout] | ----------- `AmountError` 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/amount.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Fail)] [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_AmountError` [INFO] [stdout] 11 | pub enum AmountError { [INFO] [stdout] | ----------- `AmountError` 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/derivation_path.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[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_DerivationPathError` [INFO] [stdout] 18 | pub enum DerivationPathError { [INFO] [stdout] | ------------------- `DerivationPathError` 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/derivation_path.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[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_DerivationPathError` [INFO] [stdout] 18 | pub enum DerivationPathError { [INFO] [stdout] | ------------------- `DerivationPathError` 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/extended_private_key.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, 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_ExtendedPrivateKeyError` [INFO] [stdout] 47 | pub enum ExtendedPrivateKeyError { [INFO] [stdout] | ----------------------- `ExtendedPrivateKeyError` 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/extended_private_key.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, Fail)] [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_ExtendedPrivateKeyError` [INFO] [stdout] 47 | pub enum ExtendedPrivateKeyError { [INFO] [stdout] | ----------------------- `ExtendedPrivateKeyError` 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/extended_public_key.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, 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_ExtendedPublicKeyError` [INFO] [stdout] 36 | pub enum ExtendedPublicKeyError { [INFO] [stdout] | ---------------------- `ExtendedPublicKeyError` 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/extended_public_key.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Fail)] [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_ExtendedPublicKeyError` [INFO] [stdout] 36 | pub enum ExtendedPublicKeyError { [INFO] [stdout] | ---------------------- `ExtendedPublicKeyError` 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/format.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, 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_FormatError` [INFO] [stdout] 13 | pub enum FormatError { [INFO] [stdout] | ----------- `FormatError` 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/format.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [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_FormatError` [INFO] [stdout] 13 | pub enum FormatError { [INFO] [stdout] | ----------- `FormatError` 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/mnemonic.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, 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_MnemonicError` [INFO] [stdout] 61 | pub enum MnemonicError { [INFO] [stdout] | ------------- `MnemonicError` 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/mnemonic.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | #[derive(Debug, Fail)] [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_MnemonicError` [INFO] [stdout] 61 | pub enum MnemonicError { [INFO] [stdout] | ------------- `MnemonicError` 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/network.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, 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_NetworkError` [INFO] [stdout] 14 | pub enum NetworkError { [INFO] [stdout] | ------------ `NetworkError` 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/network.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [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_NetworkError` [INFO] [stdout] 14 | pub enum NetworkError { [INFO] [stdout] | ------------ `NetworkError` 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/private_key.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, 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_PrivateKeyError` [INFO] [stdout] 29 | pub enum PrivateKeyError { [INFO] [stdout] | --------------- `PrivateKeyError` 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/private_key.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Fail)] [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_PrivateKeyError` [INFO] [stdout] 29 | pub enum PrivateKeyError { [INFO] [stdout] | --------------- `PrivateKeyError` 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/public_key.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, 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_PublicKeyError` [INFO] [stdout] 25 | pub enum PublicKeyError { [INFO] [stdout] | -------------- `PublicKeyError` 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/public_key.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Fail)] [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_PublicKeyError` [INFO] [stdout] 25 | pub enum PublicKeyError { [INFO] [stdout] | -------------- `PublicKeyError` 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/transaction.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, 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_TransactionError` [INFO] [stdout] 44 | pub enum TransactionError { [INFO] [stdout] | ---------------- `TransactionError` 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/transaction.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Fail)] [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_TransactionError` [INFO] [stdout] 44 | pub enum TransactionError { [INFO] [stdout] | ---------------- `TransactionError` 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/wordlist/wordlist.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, 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_WordlistError` [INFO] [stdout] 8 | pub enum WordlistError { [INFO] [stdout] | ------------- `WordlistError` 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/wordlist/wordlist.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Fail)] [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_WordlistError` [INFO] [stdout] 8 | pub enum WordlistError { [INFO] [stdout] | ------------- `WordlistError` 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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mwc-wagyu-model` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6da1f1486a09474d2e9de584a19f21137d030a13d4e31c94e055aa258db546d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6da1f1486a09474d2e9de584a19f21137d030a13d4e31c94e055aa258db546d9", kill_on_drop: false }` [INFO] [stdout] 6da1f1486a09474d2e9de584a19f21137d030a13d4e31c94e055aa258db546d9