[INFO] cloning repository https://github.com/terryhash/wagyu-model [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terryhash/wagyu-model" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterryhash%2Fwagyu-model", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterryhash%2Fwagyu-model'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dde7c79c9dad4a0899fe9acb38e29f9aeec24bd1 [INFO] checking terryhash/wagyu-model against try#afeffcd090fe6cee35c99f8b5539d74aa443fe34 for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterryhash%2Fwagyu-model" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/terryhash/wagyu-model [INFO] finished tweaking git repo https://github.com/terryhash/wagyu-model [INFO] tweaked toml for git repo https://github.com/terryhash/wagyu-model written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/terryhash/wagyu-model on toolchain afeffcd090fe6cee35c99f8b5539d74aa443fe34 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/terryhash/wagyu-model already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethbloom v0.9.2 [INFO] [stderr] Downloaded base58-monero v0.2.1 [INFO] [stderr] Downloaded ethereum-types v0.9.2 [INFO] [stderr] Downloaded uint v0.8.5 [INFO] [stderr] Downloaded bech32 v0.6.0 [INFO] [stderr] Downloaded rlp v0.4.6 [INFO] [stderr] Downloaded impl-rlp v0.2.1 [INFO] [stderr] Downloaded primitive-types v0.7.3 [INFO] [stderr] Downloaded ff v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1cb34f9155c4a2c9f36aa8aa85e824b1f59ddaf85d2e49d4196cec595b10a05 [INFO] running `Command { std: "docker" "start" "-a" "e1cb34f9155c4a2c9f36aa8aa85e824b1f59ddaf85d2e49d4196cec595b10a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1cb34f9155c4a2c9f36aa8aa85e824b1f59ddaf85d2e49d4196cec595b10a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1cb34f9155c4a2c9f36aa8aa85e824b1f59ddaf85d2e49d4196cec595b10a05", kill_on_drop: false }` [INFO] [stdout] e1cb34f9155c4a2c9f36aa8aa85e824b1f59ddaf85d2e49d4196cec595b10a05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4482edc7861925b3efe28ef25eefdf474dd0624f1bcf2cd1c4613f39fc778b86 [INFO] running `Command { std: "docker" "start" "-a" "4482edc7861925b3efe28ef25eefdf474dd0624f1bcf2cd1c4613f39fc778b86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rlp v0.4.6 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking fixed-hash v0.6.1 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking impl-rlp v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking primitive-types v0.7.3 [INFO] [stderr] Checking ethbloom v0.9.2 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking ff v0.6.0 [INFO] [stderr] Checking bech32 v0.6.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking ethereum-types v0.9.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Checking libsecp256k1 v0.3.5 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling futures-macro v0.3.14 [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 futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking base58-monero v0.2.1 [INFO] [stderr] Checking 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] 296 | pub fn decode>(data: T) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `alloc` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hex-0.4.3/src/lib.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(feature = "alloc")] [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] 296 | pub fn decode>(data: T) -> Result, FromHexError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `alloc` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hex-0.4.3/src/lib.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(feature = "alloc")] [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 `wagyu-model` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4482edc7861925b3efe28ef25eefdf474dd0624f1bcf2cd1c4613f39fc778b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4482edc7861925b3efe28ef25eefdf474dd0624f1bcf2cd1c4613f39fc778b86", kill_on_drop: false }` [INFO] [stdout] 4482edc7861925b3efe28ef25eefdf474dd0624f1bcf2cd1c4613f39fc778b86