[INFO] cloning repository https://github.com/PercivalZhang/bridge-common [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PercivalZhang/bridge-common" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPercivalZhang%2Fbridge-common", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPercivalZhang%2Fbridge-common'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9fc0bd714e31335545f6e5c3bf56814b4cde3f9 [INFO] building PercivalZhang/bridge-common against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPercivalZhang%2Fbridge-common" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PercivalZhang/bridge-common [INFO] finished tweaking git repo https://github.com/PercivalZhang/bridge-common [INFO] tweaked toml for git repo https://github.com/PercivalZhang/bridge-common written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PercivalZhang/bridge-common on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PercivalZhang/bridge-common 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/bit-vec/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/paritytech/substrate.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded zeroize v0.10.1 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded fixed-hash v0.4.0 [INFO] [stderr] Downloaded hash256-std-hasher v0.15.2 [INFO] [stderr] Downloaded once_cell v0.1.8 [INFO] [stderr] Downloaded wasmi v0.5.1 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded crypto-mac v0.4.0 [INFO] [stderr] Downloaded merlin v1.2.0 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded hash-db v0.15.2 [INFO] [stderr] Downloaded byte-slice-cast v0.3.2 [INFO] [stderr] Downloaded digest v0.6.2 [INFO] [stderr] Downloaded vergen v3.0.4 [INFO] [stderr] Downloaded crypto-mac v0.7.0 [INFO] [stderr] Downloaded arrayref v0.3.5 [INFO] [stderr] Downloaded hmac v0.4.2 [INFO] [stderr] Downloaded siphasher v0.3.0 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded tiny-bip39 v0.6.2 [INFO] [stderr] Downloaded memory_units v0.3.0 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded bitvec v0.14.0 [INFO] [stderr] Downloaded syn v0.15.42 [INFO] [stderr] Downloaded chrono v0.4.7 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded num-bigint v0.2.2 [INFO] [stderr] Downloaded curve25519-dalek v1.2.2 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded generic-array v0.8.3 [INFO] [stderr] Downloaded ed25519-dalek v0.9.1 [INFO] [stderr] Downloaded parity-scale-codec v1.0.6 [INFO] [stderr] Downloaded subtle v1.0.0 [INFO] [stderr] Downloaded hashbrown v0.1.8 [INFO] [stderr] Downloaded typenum v1.10.0 [INFO] [stderr] Downloaded block-buffer v0.2.0 [INFO] [stderr] Downloaded ripemd160 v0.8.0 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded sha-1 v0.8.1 [INFO] [stderr] Downloaded sha2 v0.6.0 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded keccak v0.1.0 [INFO] [stderr] Downloaded base58 v0.1.0 [INFO] [stderr] Downloaded constant_time_eq v0.1.3 [INFO] [stderr] Downloaded uint v0.8.0 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded sha2 v0.8.0 [INFO] [stderr] Downloaded uint v0.6.1 [INFO] [stderr] Downloaded toml v0.5.1 [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded hmac-drbg v0.1.2 [INFO] [stderr] Downloaded pbkdf2 v0.3.0 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded twox-hash v1.5.0 [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded impl-serde v0.2.1 [INFO] [stderr] Downloaded schnorrkel v0.8.5 [INFO] [stderr] Downloaded block-padding v0.1.4 [INFO] [stderr] Downloaded proc-macro-crate v0.1.4 [INFO] [stderr] Downloaded primitive-types v0.5.1 [INFO] [stderr] Downloaded getrandom v0.1.8 [INFO] [stderr] Downloaded clear_on_drop v0.2.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.15 [INFO] [stderr] Downloaded subtle v2.1.1 [INFO] [stderr] Downloaded zeroize v0.9.3 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.0.2 [INFO] [stderr] Downloaded impl-codec v0.4.1 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded rustc-hex v2.0.1 [INFO] [stderr] Downloaded substrate-bip39 v0.3.1 [INFO] [stderr] Downloaded hmac v0.7.1 [INFO] [stderr] Downloaded autocfg v0.1.5 [INFO] [stderr] Downloaded parity-wasm v0.40.3 [INFO] [stderr] Downloaded wasmi-validation v0.2.0 [INFO] [stderr] Downloaded libsecp256k1 v0.2.2 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a52aa1c865e082fcfce100e26a13decba9220b507981048287562779045df66c [INFO] running `Command { std: "docker" "start" "-a" "a52aa1c865e082fcfce100e26a13decba9220b507981048287562779045df66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a52aa1c865e082fcfce100e26a13decba9220b507981048287562779045df66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52aa1c865e082fcfce100e26a13decba9220b507981048287562779045df66c", kill_on_drop: false }` [INFO] [stdout] a52aa1c865e082fcfce100e26a13decba9220b507981048287562779045df66c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83c53005889a091538ecc751d7db86414a17b27e3d267d495e5c6775aa9dc102 [INFO] running `Command { std: "docker" "start" "-a" "83c53005889a091538ecc751d7db86414a17b27e3d267d495e5c6775aa9dc102", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bit-vec/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v2.1.1 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling bitvec v0.14.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling byte-slice-cast v0.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling getrandom v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling merlin v1.2.0 [INFO] [stderr] Compiling curve25519-dalek v1.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling sr-std v2.0.0 (https://github.com/paritytech/substrate.git?rev=bebe88a64c7199fcbcfdfae0ba6eb72e9e797b8d#bebe88a6) [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling ustd v0.1.0 (/opt/rustwide/workdir/common/ustd) [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling parity-wasm v0.40.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling uint v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.34 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling fixed-hash v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling once_cell v0.1.8 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling uint v0.6.1 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling zeroize v0.10.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling ripemd160 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling hmac-drbg v0.1.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling base58 v0.1.0 (/opt/rustwide/workdir/common/base58) [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bit-vec v0.5.1 (/opt/rustwide/workdir/bit-vec) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> bit-vec/src/lib.rs:558:38 [INFO] [stdout] | [INFO] [stdout] 558 | self.process(other, |w1, w2| (w1 | w2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 558 - self.process(other, |w1, w2| (w1 | w2)) [INFO] [stdout] 558 + self.process(other, |w1, w2| w1 | w2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> bit-vec/src/lib.rs:588:38 [INFO] [stdout] | [INFO] [stdout] 588 | self.process(other, |w1, w2| (w1 & w2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 588 - self.process(other, |w1, w2| (w1 & w2)) [INFO] [stdout] 588 + self.process(other, |w1, w2| w1 & w2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> bit-vec/src/lib.rs:625:38 [INFO] [stdout] | [INFO] [stdout] 625 | self.process(other, |w1, w2| (w1 & !w2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 625 - self.process(other, |w1, w2| (w1 & !w2)) [INFO] [stdout] 625 + self.process(other, |w1, w2| w1 & !w2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bit-vec/src/lib.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | fn blocks_mut(&mut self) -> MutBlocks { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 397 | fn blocks_mut(&mut self) -> MutBlocks<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmi-validation v0.2.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bit-vec/src/lib.rs:404:19 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn blocks(&self) -> Blocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | pub fn blocks(&self) -> Blocks<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bit-vec/src/lib.rs:664:17 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 664 | pub fn iter(&self) -> Iter<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling wasmi v0.5.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling vergen v3.0.4 [INFO] [stderr] Compiling libsecp256k1 v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling schnorrkel v0.8.5 [INFO] [stderr] Compiling tiny-bip39 v0.6.2 [INFO] [stderr] Compiling ed25519-dalek v0.9.1 [INFO] [stderr] Compiling btc-common v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling substrate-bip39 v0.3.1 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling impl-serde v0.2.1 [INFO] [stderr] Compiling impl-serde v0.1.1 (/opt/rustwide/workdir/common/primitive-types/impls/serde) [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.0.2 [INFO] [stderr] Compiling parity-scale-codec v1.0.6 [INFO] [stderr] Compiling impl-codec v0.4.1 [INFO] [stderr] Compiling impl-codec v0.2.0 (/opt/rustwide/workdir/common/primitive-types/impls/codec) [INFO] [stderr] Compiling primitive-types v0.5.1 [INFO] [stderr] Compiling primitive-types v0.2.2 (/opt/rustwide/workdir/common/primitive-types) [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / construct_fixed_hash! { [INFO] [stdout] 78 | | /// Fixed-size uninterpreted hash type with 4 bytes (32 bits) size. [INFO] [stdout] 79 | | pub struct H32(4); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / construct_fixed_hash! { [INFO] [stdout] 82 | | /// Fixed-size uninterpreted hash type with 6 bytes (48 bits) size. [INFO] [stdout] 83 | | pub struct H48(6); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / construct_fixed_hash! { [INFO] [stdout] 86 | | /// Fixed-size uninterpreted hash type with 8 bytes (64 bits) size. [INFO] [stdout] 87 | | pub struct H64(8); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / construct_fixed_hash! { [INFO] [stdout] 90 | | /// Fixed-size uninterpreted hash type with 16 bytes (128 bits) size. [INFO] [stdout] 91 | | pub struct H128(16); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / construct_fixed_hash! { [INFO] [stdout] 94 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 95 | | pub struct H160(20); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / construct_fixed_hash! { [INFO] [stdout] 98 | | /// Fixed-size uninterpreted hash type with 32 bytes (256 bits) size. [INFO] [stdout] 99 | | pub struct H256(32); [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / construct_fixed_hash! { [INFO] [stdout] 102 | | /// Fixed-size uninterpreted hash type with 33 bytes (264 bits) size. [INFO] [stdout] 103 | | pub struct H264(33); [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / construct_fixed_hash! { [INFO] [stdout] 106 | | /// Fixed-size uninterpreted hash type with 64 bytes (512 bits) size. [INFO] [stdout] 107 | | pub struct H512(64); [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / construct_fixed_hash! { [INFO] [stdout] 110 | | /// Fixed-size uninterpreted hash type with 65 bytes (520 bits) size. [INFO] [stdout] 111 | | pub struct H520(65); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / construct_fixed_hash! { [INFO] [stdout] 114 | | /// Fixed-size uninterpreted hash type with 128 bytes (1024 bits) size. [INFO] [stdout] 115 | | pub struct H1024(128); [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / construct_fixed_hash! { [INFO] [stdout] 118 | | /// Fixed-size uninterpreted hash type with 256 bytes (2048 bits) size. [INFO] [stdout] 119 | | pub struct H2048(256); [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / construct_uint! { [INFO] [stdout] 58 | | /// 64-bit unsigned integer. [INFO] [stdout] 59 | | pub struct U64(1); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / construct_uint! { [INFO] [stdout] 58 | | /// 64-bit unsigned integer. [INFO] [stdout] 59 | | pub struct U64(1); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / construct_uint! { [INFO] [stdout] 62 | | /// 128-bit unsigned integer. [INFO] [stdout] 63 | | pub struct U128(2); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / construct_uint! { [INFO] [stdout] 62 | | /// 128-bit unsigned integer. [INFO] [stdout] 63 | | pub struct U128(2); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / construct_uint! { [INFO] [stdout] 66 | | /// 256-bit unsigned integer. [INFO] [stdout] 67 | | pub struct U256(4); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / construct_uint! { [INFO] [stdout] 66 | | /// 256-bit unsigned integer. [INFO] [stdout] 67 | | pub struct U256(4); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / construct_uint! { [INFO] [stdout] 70 | | /// 512-bits unsigned integer. [INFO] [stdout] 71 | | pub struct U512(8); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / construct_uint! { [INFO] [stdout] 70 | | /// 512-bits unsigned integer. [INFO] [stdout] 71 | | pub struct U512(8); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling substrate-primitives v2.0.0 (https://github.com/paritytech/substrate.git?rev=bebe88a64c7199fcbcfdfae0ba6eb72e9e797b8d#bebe88a6) [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / construct_fixed_hash! { [INFO] [stdout] 78 | | /// Fixed-size uninterpreted hash type with 4 bytes (32 bits) size. [INFO] [stdout] 79 | | pub struct H32(4); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / construct_fixed_hash! { [INFO] [stdout] 82 | | /// Fixed-size uninterpreted hash type with 6 bytes (48 bits) size. [INFO] [stdout] 83 | | pub struct H48(6); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / construct_fixed_hash! { [INFO] [stdout] 86 | | /// Fixed-size uninterpreted hash type with 8 bytes (64 bits) size. [INFO] [stdout] 87 | | pub struct H64(8); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / construct_fixed_hash! { [INFO] [stdout] 90 | | /// Fixed-size uninterpreted hash type with 16 bytes (128 bits) size. [INFO] [stdout] 91 | | pub struct H128(16); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / construct_fixed_hash! { [INFO] [stdout] 94 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 95 | | pub struct H160(20); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / construct_fixed_hash! { [INFO] [stdout] 98 | | /// Fixed-size uninterpreted hash type with 32 bytes (256 bits) size. [INFO] [stdout] 99 | | pub struct H256(32); [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / construct_fixed_hash! { [INFO] [stdout] 102 | | /// Fixed-size uninterpreted hash type with 33 bytes (264 bits) size. [INFO] [stdout] 103 | | pub struct H264(33); [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / construct_fixed_hash! { [INFO] [stdout] 106 | | /// Fixed-size uninterpreted hash type with 64 bytes (512 bits) size. [INFO] [stdout] 107 | | pub struct H512(64); [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / construct_fixed_hash! { [INFO] [stdout] 110 | | /// Fixed-size uninterpreted hash type with 65 bytes (520 bits) size. [INFO] [stdout] 111 | | pub struct H520(65); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / construct_fixed_hash! { [INFO] [stdout] 114 | | /// Fixed-size uninterpreted hash type with 128 bytes (1024 bits) size. [INFO] [stdout] 115 | | pub struct H1024(128); [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / construct_fixed_hash! { [INFO] [stdout] 118 | | /// Fixed-size uninterpreted hash type with 256 bytes (2048 bits) size. [INFO] [stdout] 119 | | pub struct H2048(256); [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling primitives v0.1.0 (/opt/rustwide/workdir/light-btc/primitives) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/primitives/src/compact.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/primitives/src/compact.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serialization v0.1.0 (/opt/rustwide/workdir/light-btc/serialization) [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> light-btc/primitives/src/bytes.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use codec::{Encode, Decode, Error, Compact}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crypto v0.1.0 (/opt/rustwide/workdir/light-btc/crypto) [INFO] [stdout] warning: unused import: `Decode` [INFO] [stdout] --> light-btc/primitives/src/bytes.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use codec::{Encode, Decode, Error, Compact}; [INFO] [stdout] | ^^^^^^ [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] --> light-btc/primitives/src/compact.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Compact` [INFO] [stdout] 11 | pub struct Compact(pub u32); [INFO] [stdout] | ------- `Compact` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/primitives/src/compact.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Compact` [INFO] [stdout] 11 | pub struct Compact(pub u32); [INFO] [stdout] | ------- `Compact` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | 0...0xfc => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 0xfd...0xffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | 0x10000...0xffff_ffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | 0...0xfc => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 0xfd...0xffff => 3, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | 0x10000...0xffff_ffff => 5, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | i @ 0...0xfc => i.into(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/serialization/src/reader.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chain v0.1.0 (/opt/rustwide/workdir/light-btc/chain) [INFO] [stderr] Compiling keys v0.1.0 (/opt/rustwide/workdir/light-btc/keys) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:75:62 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (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] --> light-btc/keys/src/address.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Type` [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/address.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Type` [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/address.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Type` [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Type` [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Type` [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/keys/src/address.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Network` [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/address.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Network` [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/address.rs:75:62 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Network` [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:75:62 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Network` [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Network` [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/keys/src/address.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Address` [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/address.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Address` [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/address.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Address` [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Address` [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Address` [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/keys/src/public.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Public` [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/public.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Public` [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/public.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Public` [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/public.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Public` [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/public.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Public` [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> light-btc/chain/src/constants.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] 13 + pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = 1 << 22; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `Compact` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use primitives::{io, Compact, H256, Bytes}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use codec::{Error, Encode, Decode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:13:72 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use codec::{Error, Encode, Decode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:27:79 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:66:73 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:118:64 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:153:73 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (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] --> light-btc/chain/src/block_header.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BlockHeader` [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/block_header.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BlockHeader` [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/block_header.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_BlockHeader` [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/block_header.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_BlockHeader` [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/block_header.rs:13:72 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_BlockHeader` [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_OutPoint` [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_OutPoint` [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_OutPoint` [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_OutPoint` [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:27:79 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_OutPoint` [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TransactionInput` [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionInput` [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionInput` [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionInput` [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:66:73 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TransactionInput` [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TransactionOutput` [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionOutput` [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionOutput` [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionOutput` [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:118:64 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TransactionOutput` [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Transaction` [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction` [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Transaction` [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Transaction` [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:153:73 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Transaction` [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling script v0.1.0 (/opt/rustwide/workdir/light-btc/script) [INFO] [stderr] Compiling merkle v0.1.0 (/opt/rustwide/workdir/light-btc/merkle) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::ptr_arg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::ptr_arg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cognitive_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/sign.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/verify.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::nonminimal_bool))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 399 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 478 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 478 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> light-btc/script/src/script.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn get_instruction(&self, position: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | pub fn get_instruction(&self, position: usize) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> light-btc/script/src/script.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter(&self) -> Instructions { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> light-btc/script/src/script.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn opcodes(&self) -> Opcodes { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 407 | pub fn opcodes(&self) -> Opcodes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serialization_derive v0.1.0 (/opt/rustwide/workdir/light-btc/serialization_derive) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.44s [INFO] running `Command { std: "docker" "inspect" "83c53005889a091538ecc751d7db86414a17b27e3d267d495e5c6775aa9dc102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c53005889a091538ecc751d7db86414a17b27e3d267d495e5c6775aa9dc102", kill_on_drop: false }` [INFO] [stdout] 83c53005889a091538ecc751d7db86414a17b27e3d267d495e5c6775aa9dc102 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54ec8128c59f76a77d38e6c91a1e92f2d60a70852628ae24b25d486d2f3048c4 [INFO] running `Command { std: "docker" "start" "-a" "54ec8128c59f76a77d38e6c91a1e92f2d60a70852628ae24b25d486d2f3048c4", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/bit-vec/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> bit-vec/src/lib.rs:558:38 [INFO] [stdout] | [INFO] [stdout] 558 | self.process(other, |w1, w2| (w1 | w2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 558 - self.process(other, |w1, w2| (w1 | w2)) [INFO] [stdout] 558 + self.process(other, |w1, w2| w1 | w2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> bit-vec/src/lib.rs:588:38 [INFO] [stdout] | [INFO] [stdout] 588 | self.process(other, |w1, w2| (w1 & w2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 588 - self.process(other, |w1, w2| (w1 & w2)) [INFO] [stdout] 588 + self.process(other, |w1, w2| w1 & w2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> bit-vec/src/lib.rs:625:38 [INFO] [stdout] | [INFO] [stdout] 625 | self.process(other, |w1, w2| (w1 & !w2)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 625 - self.process(other, |w1, w2| (w1 & !w2)) [INFO] [stdout] 625 + self.process(other, |w1, w2| w1 & !w2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bit-vec/src/lib.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | fn blocks_mut(&mut self) -> MutBlocks { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 397 | fn blocks_mut(&mut self) -> MutBlocks<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bit-vec/src/lib.rs:404:19 [INFO] [stdout] | [INFO] [stdout] 404 | pub fn blocks(&self) -> Blocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | pub fn blocks(&self) -> Blocks<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> bit-vec/src/lib.rs:664:17 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 664 | pub fn iter(&self) -> Iter<'_, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / construct_fixed_hash! { [INFO] [stdout] 78 | | /// Fixed-size uninterpreted hash type with 4 bytes (32 bits) size. [INFO] [stdout] 79 | | pub struct H32(4); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / construct_fixed_hash! { [INFO] [stdout] 82 | | /// Fixed-size uninterpreted hash type with 6 bytes (48 bits) size. [INFO] [stdout] 83 | | pub struct H48(6); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / construct_fixed_hash! { [INFO] [stdout] 86 | | /// Fixed-size uninterpreted hash type with 8 bytes (64 bits) size. [INFO] [stdout] 87 | | pub struct H64(8); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / construct_fixed_hash! { [INFO] [stdout] 90 | | /// Fixed-size uninterpreted hash type with 16 bytes (128 bits) size. [INFO] [stdout] 91 | | pub struct H128(16); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / construct_fixed_hash! { [INFO] [stdout] 94 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 95 | | pub struct H160(20); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / construct_fixed_hash! { [INFO] [stdout] 98 | | /// Fixed-size uninterpreted hash type with 32 bytes (256 bits) size. [INFO] [stdout] 99 | | pub struct H256(32); [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / construct_fixed_hash! { [INFO] [stdout] 102 | | /// Fixed-size uninterpreted hash type with 33 bytes (264 bits) size. [INFO] [stdout] 103 | | pub struct H264(33); [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / construct_fixed_hash! { [INFO] [stdout] 106 | | /// Fixed-size uninterpreted hash type with 64 bytes (512 bits) size. [INFO] [stdout] 107 | | pub struct H512(64); [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / construct_fixed_hash! { [INFO] [stdout] 110 | | /// Fixed-size uninterpreted hash type with 65 bytes (520 bits) size. [INFO] [stdout] 111 | | pub struct H520(65); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / construct_fixed_hash! { [INFO] [stdout] 114 | | /// Fixed-size uninterpreted hash type with 128 bytes (1024 bits) size. [INFO] [stdout] 115 | | pub struct H1024(128); [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `dev` [INFO] [stdout] --> common/primitive-types/src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / construct_fixed_hash! { [INFO] [stdout] 118 | | /// Fixed-size uninterpreted hash type with 256 bytes (2048 bits) size. [INFO] [stdout] 119 | | pub struct H2048(256); [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `codec`, `default`, `impl-codec`, `impl-rlp`, `impl-serde`, `rlp`, `serde`, and `std` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `construct_fixed_hash` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `construct_fixed_hash` may come from an old version of the `fixed_hash` crate, try updating your dependency with `cargo update -p fixed_hash` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `construct_fixed_hash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / construct_uint! { [INFO] [stdout] 58 | | /// 64-bit unsigned integer. [INFO] [stdout] 59 | | pub struct U64(1); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / construct_uint! { [INFO] [stdout] 58 | | /// 64-bit unsigned integer. [INFO] [stdout] 59 | | pub struct U64(1); [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / construct_uint! { [INFO] [stdout] 62 | | /// 128-bit unsigned integer. [INFO] [stdout] 63 | | pub struct U128(2); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / construct_uint! { [INFO] [stdout] 62 | | /// 128-bit unsigned integer. [INFO] [stdout] 63 | | pub struct U128(2); [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / construct_uint! { [INFO] [stdout] 66 | | /// 256-bit unsigned integer. [INFO] [stdout] 67 | | pub struct U256(4); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / construct_uint! { [INFO] [stdout] 66 | | /// 256-bit unsigned integer. [INFO] [stdout] 67 | | pub struct U256(4); [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / construct_uint! { [INFO] [stdout] 70 | | /// 512-bits unsigned integer. [INFO] [stdout] 71 | | pub struct U512(8); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> common/primitive-types/src/lib.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / construct_uint! { [INFO] [stdout] 70 | | /// 512-bits unsigned integer. [INFO] [stdout] 71 | | pub struct U512(8); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / construct_fixed_hash! { [INFO] [stdout] 78 | | /// Fixed-size uninterpreted hash type with 4 bytes (32 bits) size. [INFO] [stdout] 79 | | pub struct H32(4); [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / construct_fixed_hash! { [INFO] [stdout] 82 | | /// Fixed-size uninterpreted hash type with 6 bytes (48 bits) size. [INFO] [stdout] 83 | | pub struct H48(6); [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 81 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / construct_fixed_hash! { [INFO] [stdout] 86 | | /// Fixed-size uninterpreted hash type with 8 bytes (64 bits) size. [INFO] [stdout] 87 | | pub struct H64(8); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / construct_fixed_hash! { [INFO] [stdout] 90 | | /// Fixed-size uninterpreted hash type with 16 bytes (128 bits) size. [INFO] [stdout] 91 | | pub struct H128(16); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 89 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / construct_fixed_hash! { [INFO] [stdout] 94 | | /// Fixed-size uninterpreted hash type with 20 bytes (160 bits) size. [INFO] [stdout] 95 | | pub struct H160(20); [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 93 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / construct_fixed_hash! { [INFO] [stdout] 98 | | /// Fixed-size uninterpreted hash type with 32 bytes (256 bits) size. [INFO] [stdout] 99 | | pub struct H256(32); [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / construct_fixed_hash! { [INFO] [stdout] 102 | | /// Fixed-size uninterpreted hash type with 33 bytes (264 bits) size. [INFO] [stdout] 103 | | pub struct H264(33); [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | / construct_fixed_hash! { [INFO] [stdout] 106 | | /// Fixed-size uninterpreted hash type with 64 bytes (512 bits) size. [INFO] [stdout] 107 | | pub struct H512(64); [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / construct_fixed_hash! { [INFO] [stdout] 110 | | /// Fixed-size uninterpreted hash type with 65 bytes (520 bits) size. [INFO] [stdout] 111 | | pub struct H520(65); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 109 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | / construct_fixed_hash! { [INFO] [stdout] 114 | | /// Fixed-size uninterpreted hash type with 128 bytes (1024 bits) size. [INFO] [stdout] 115 | | pub struct H1024(128); [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 113 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> common/primitive-types/src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / construct_fixed_hash! { [INFO] [stdout] 118 | | /// Fixed-size uninterpreted hash type with 256 bytes (2048 bits) size. [INFO] [stdout] 119 | | pub struct H2048(256); [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 117 | let _ = construct_fixed_hash! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/primitives/src/compact.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/primitives/src/compact.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> light-btc/primitives/src/bytes.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use codec::{Encode, Decode, Error, Compact}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decode` [INFO] [stdout] --> light-btc/primitives/src/bytes.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use codec::{Encode, Decode, Error, Compact}; [INFO] [stdout] | ^^^^^^ [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] --> light-btc/primitives/src/compact.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Compact` [INFO] [stdout] 11 | pub struct Compact(pub u32); [INFO] [stdout] | ------- `Compact` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/primitives/src/compact.rs:10:47 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Compact` [INFO] [stdout] 11 | pub struct Compact(pub u32); [INFO] [stdout] | ------- `Compact` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | 0...0xfc => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | 0xfd...0xffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | 0x10000...0xffff_ffff => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | 0...0xfc => 1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 0xfd...0xffff => 3, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | 0x10000...0xffff_ffff => 5, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> light-btc/serialization/src/compact_integer.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | i @ 0...0xfc => i.into(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/serialization/src/reader.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::wrong_self_convention))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> light-btc/chain/src/constants.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = (1 << 22); [INFO] [stdout] 13 + pub const SEQUENCE_LOCKTIME_TYPE_FLAG: u32 = 1 << 22; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes` and `Compact` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use primitives::{io, Compact, H256, Bytes}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use codec::{Error, Encode, Decode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/block_header.rs:13:72 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use codec::{Error, Encode, Decode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:27:79 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:66:73 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:118:64 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/chain/src/transaction.rs:153:73 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (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] --> light-btc/chain/src/block_header.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BlockHeader` [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/block_header.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BlockHeader` [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/block_header.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_BlockHeader` [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/block_header.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_BlockHeader` [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/block_header.rs:13:72 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_BlockHeader` [INFO] [stdout] 14 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 15 | pub struct BlockHeader { [INFO] [stdout] | ----------- `BlockHeader` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_OutPoint` [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_OutPoint` [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_OutPoint` [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_OutPoint` [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:27:79 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Ord, PartialOrd, PartialEq, Eq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_OutPoint` [INFO] [stdout] 28 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 29 | pub struct OutPoint { [INFO] [stdout] | -------- `OutPoint` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TransactionInput` [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionInput` [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionInput` [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionInput` [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:66:73 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TransactionInput` [INFO] [stdout] 67 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 68 | pub struct TransactionInput { [INFO] [stdout] | ---------------- `TransactionInput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_TransactionOutput` [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_TransactionOutput` [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionOutput` [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:118:56 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_TransactionOutput` [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:118:64 [INFO] [stdout] | [INFO] [stdout] 118 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_TransactionOutput` [INFO] [stdout] 119 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 120 | pub struct TransactionOutput { [INFO] [stdout] | ----------------- `TransactionOutput` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/chain/src/transaction.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Transaction` [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/chain/src/transaction.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction` [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/chain/src/transaction.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Transaction` [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:153:65 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Transaction` [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/chain/src/transaction.rs:153:73 [INFO] [stdout] | [INFO] [stdout] 153 | #[derive(Ord, PartialOrd, Eq, PartialEq, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Transaction` [INFO] [stdout] 154 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 155 | pub struct Transaction { [INFO] [stdout] | ----------- `Transaction` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:75:62 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/address.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Encode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/keys/src/public.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, `serde_derive`, and `std` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Decode` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Decode` (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] --> light-btc/keys/src/address.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Type` [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/address.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Type` [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/address.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Type` [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:26:62 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Type` [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:26:70 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Type` [INFO] [stdout] 27 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 28 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/keys/src/address.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Network` [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/address.rs:76:47 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Network` [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/address.rs:75:62 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Network` [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:75:62 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Network` [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Network` [INFO] [stdout] 76 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 77 | pub enum Network { [INFO] [stdout] | ------- `Network` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/keys/src/address.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Address` [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/address.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Address` [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/address.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Address` [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Address` [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/address.rs:119:79 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(Ord, PartialOrd, Eq, PartialEq, Copy, Clone, Debug, Default, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Address` [INFO] [stdout] 120 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 121 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (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] --> light-btc/keys/src/public.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Public` [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> light-btc/keys/src/public.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Public` [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> light-btc/keys/src/public.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Encode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Public` [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling btc-common v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> light-btc/keys/src/public.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `EncodeLike` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ENCODE_FOR_Public` [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Encode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Encode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Encode` (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] --> light-btc/keys/src/public.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Ord, PartialOrd, Eq, Copy, Clone, Encode, Decode)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Decode` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DECODE_FOR_Public` [INFO] [stdout] 17 | #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] [INFO] [stdout] 18 | pub enum Public { [INFO] [stdout] | ------ `Public` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Decode` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Decode` may come from an old version of the `parity_scale_codec_derive` crate, try updating your dependency with `cargo update -p parity_scale_codec_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 `Decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::ptr_arg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::ptr_arg))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:472:12 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::match_same_arms))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/interpreter.rs:473:12 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cognitive_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/sign.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::doc_markdown))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> light-btc/script/src/verify.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::nonminimal_bool))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `std` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:399:15 [INFO] [stdout] | [INFO] [stdout] 399 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 399 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> light-btc/script/src/interpreter.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 478 | checker: &SignatureChecker, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 478 | checker: &dyn SignatureChecker, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> light-btc/script/src/script.rs:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn get_instruction(&self, position: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | pub fn get_instruction(&self, position: usize) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> light-btc/script/src/script.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter(&self) -> Instructions { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 400 | pub fn iter(&self) -> Instructions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> light-btc/script/src/script.rs:407:20 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn opcodes(&self) -> Opcodes { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 407 | pub fn opcodes(&self) -> Opcodes<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "54ec8128c59f76a77d38e6c91a1e92f2d60a70852628ae24b25d486d2f3048c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ec8128c59f76a77d38e6c91a1e92f2d60a70852628ae24b25d486d2f3048c4", kill_on_drop: false }` [INFO] [stdout] 54ec8128c59f76a77d38e6c91a1e92f2d60a70852628ae24b25d486d2f3048c4