[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] checking PercivalZhang/bridge-common/a9fc0bd714e31335545f6e5c3bf56814b4cde3f9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPercivalZhang%2Fbridge-common" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PercivalZhang/bridge-common on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/bit-vec/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmi v0.5.1 [INFO] [stderr] Downloaded wasmi-validation v0.2.0 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded once_cell v0.1.8 [INFO] [stderr] Downloaded block-buffer v0.2.0 [INFO] [stderr] Downloaded arrayref v0.3.5 [INFO] [stderr] Downloaded byte-slice-cast v0.3.2 [INFO] [stderr] Downloaded uint v0.8.0 [INFO] [stderr] Downloaded hmac v0.4.2 [INFO] [stderr] Downloaded ripemd160 v0.8.0 [INFO] [stderr] Downloaded hmac-drbg v0.1.2 [INFO] [stderr] Downloaded parity-scale-codec v1.0.6 [INFO] [stderr] Downloaded schnorrkel v0.8.5 [INFO] [stderr] Downloaded toml v0.5.1 [INFO] [stderr] Downloaded ed25519-dalek v0.9.1 [INFO] [stderr] Downloaded bitvec v0.14.0 [INFO] [stderr] Downloaded rustc-hex v2.0.1 [INFO] [stderr] Downloaded merlin v1.2.0 [INFO] [stderr] Downloaded zeroize v0.9.3 [INFO] [stderr] Downloaded tiny-bip39 v0.6.2 [INFO] [stderr] Downloaded parity-wasm v0.40.3 [INFO] [stderr] Downloaded siphasher v0.3.0 [INFO] [stderr] Downloaded crypto-mac v0.4.0 [INFO] [stderr] Downloaded digest v0.6.2 [INFO] [stderr] Downloaded uint v0.6.1 [INFO] [stderr] Downloaded impl-codec v0.4.1 [INFO] [stderr] Downloaded primitive-types v0.5.1 [INFO] [stderr] Downloaded substrate-bip39 v0.3.1 [INFO] [stderr] Downloaded curve25519-dalek v1.2.2 [INFO] [stderr] Downloaded sha2 v0.6.0 [INFO] [stderr] Downloaded static_assertions v0.2.5 [INFO] [stderr] Downloaded fixed-hash v0.4.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.0.2 [INFO] [stderr] Downloaded getrandom v0.1.8 [INFO] [stderr] Downloaded subtle v2.1.1 [INFO] [stderr] Downloaded zeroize v0.10.1 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded impl-serde v0.2.1 [INFO] [stderr] Downloaded libsecp256k1 v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbd982ed462e57eed84c8e7c2d5380367cf33b5e30879bc2d2e5a45482c6886e [INFO] running `Command { std: "docker" "start" "-a" "dbd982ed462e57eed84c8e7c2d5380367cf33b5e30879bc2d2e5a45482c6886e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbd982ed462e57eed84c8e7c2d5380367cf33b5e30879bc2d2e5a45482c6886e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd982ed462e57eed84c8e7c2d5380367cf33b5e30879bc2d2e5a45482c6886e", kill_on_drop: false }` [INFO] [stdout] dbd982ed462e57eed84c8e7c2d5380367cf33b5e30879bc2d2e5a45482c6886e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58ed49a6fb8c9f9d339e24b99d3315b52e1c8b230e8fbd8a0848c9214d7fdc8e [INFO] running `Command { std: "docker" "start" "-a" "58ed49a6fb8c9f9d339e24b99d3315b52e1c8b230e8fbd8a0848c9214d7fdc8e", 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 2021 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rustc-hex v2.0.1 [INFO] [stderr] Compiling subtle v2.1.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking ustd v0.1.0 (/opt/rustwide/workdir/common/ustd) [INFO] [stderr] Compiling curve25519-dalek v1.2.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking byte-slice-cast v0.3.2 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking bitvec v0.14.0 [INFO] [stderr] Checking block-buffer v0.7.3 [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 log v0.4.8 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking constant_time_eq v0.1.3 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking static_assertions v0.2.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking getrandom v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking merlin v1.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking fixed-hash v0.4.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking parity-wasm v0.40.3 [INFO] [stderr] Checking once_cell v0.1.8 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking uint v0.6.1 [INFO] [stderr] Checking uint v0.8.0 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking zeroize v0.10.1 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking wasmi-validation v0.2.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking wasmi v0.5.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking generic-array v0.8.3 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking siphasher v0.3.0 [INFO] [stderr] Checking digest v0.6.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking crypto-mac v0.4.0 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking block-buffer v0.2.0 [INFO] [stderr] Checking schnorrkel v0.8.5 [INFO] [stderr] Checking tiny-bip39 v0.6.2 [INFO] [stderr] Checking ed25519-dalek v0.9.1 [INFO] [stderr] Checking hmac v0.4.2 [INFO] [stderr] Checking substrate-bip39 v0.3.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Checking hmac-drbg v0.1.2 [INFO] [stderr] Checking sha2 v0.6.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Checking libsecp256k1 v0.2.2 [INFO] [stderr] Compiling vergen v3.0.4 [INFO] [stderr] Checking base58 v0.1.0 (/opt/rustwide/workdir/common/base58) [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking bit-vec v0.5.1 (/opt/rustwide/workdir/bit-vec) [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rlp v0.3.0 (/opt/rustwide/workdir/common/rlp) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> common/rlp/src/rlpin.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | 0...0x80 => true, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> common/rlp/src/rlpin.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | 0x81...0xb7 => self.bytes[1] != 0, [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] --> common/rlp/src/rlpin.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | b @ 0xb8...0xbf => { [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] --> common/rlp/src/stream.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | 0...55 => { [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] --> common/rlp/src/stream.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | len @ 1...55 => { [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking impl-serde v0.1.1 (/opt/rustwide/workdir/common/primitive-types/impls/serde) [INFO] [stderr] Checking impl-serde v0.2.1 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling btc-common v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking impl-rlp v0.1.1 (/opt/rustwide/workdir/common/primitive-types/impls/rlp) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> common/rlp/src/rlpin.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | 0...0x80 => true, [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> common/rlp/src/rlpin.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | 0x81...0xb7 => self.bytes[1] != 0, [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] --> common/rlp/src/rlpin.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | b @ 0xb8...0xbf => { [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] --> common/rlp/src/stream.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | 0...55 => { [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] --> common/rlp/src/stream.rs:419:20 [INFO] [stdout] | [INFO] [stdout] 419 | len @ 1...55 => { [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] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parity-scale-codec-derive v1.0.2 [INFO] [stderr] Checking parity-scale-codec v1.0.6 [INFO] [stderr] Checking impl-codec v0.2.0 (/opt/rustwide/workdir/common/primitive-types/impls/codec) [INFO] [stderr] Checking impl-codec v0.4.1 [INFO] [stderr] Checking primitive-types v0.2.2 (/opt/rustwide/workdir/common/primitive-types) [INFO] [stderr] Checking primitive-types v0.5.1 [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: 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: 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] Checking 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)]` 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 19 warnings emitted [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)]` 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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)]` 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 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] = 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: 19 warnings emitted [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] = 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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking primitives v0.1.0 (/opt/rustwide/workdir/light-btc/primitives) [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)]` 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: 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)]` 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serialization v0.1.0 (/opt/rustwide/workdir/light-btc/serialization) [INFO] [stderr] Checking crypto v0.1.0 (/opt/rustwide/workdir/light-btc/crypto) [INFO] [stderr] Checking serialization_derive v0.1.0 (/opt/rustwide/workdir/light-btc/serialization_derive) [INFO] [stdout] warning: 2 warnings emitted [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)]` 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: `...` 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)]` 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] Checking chain v0.1.0 (/opt/rustwide/workdir/light-btc/chain) [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking keys v0.1.0 (/opt/rustwide/workdir/light-btc/keys) [INFO] [stdout] warning: 8 warnings emitted [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)]` 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: 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)]` 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)]` 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: 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: 2 warnings emitted [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)]` 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)]` 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: 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] error[E0277]: the trait bound `u32: std::convert::From` is not satisfied [INFO] [stdout] --> light-btc/chain/src/block_header.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | bits: 5.into(), [INFO] [stdout] | ^^^^ the trait `std::convert::From` is not implemented for `u32`, which is required by `{integer}: std::convert::Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `std::convert::From`: [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From<_IMPL_ENCODE_FOR_BlockHeader::_parity_scale_codec::Compact>` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] and 8 others [INFO] [stdout] = note: required for `i32` to implement `std::convert::Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: std::convert::From` is not satisfied [INFO] [stdout] --> light-btc/chain/src/block_header.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | bits: 5.into(), [INFO] [stdout] | ^^^^ the trait `std::convert::From` is not implemented for `u32`, which is required by `{integer}: std::convert::Into<_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `std::convert::From`: [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From<_IMPL_ENCODE_FOR_BlockHeader::_parity_scale_codec::Compact>` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] `u32` implements `std::convert::From` [INFO] [stdout] and 8 others [INFO] [stdout] = note: required for `i32` to implement `std::convert::Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chain` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58ed49a6fb8c9f9d339e24b99d3315b52e1c8b230e8fbd8a0848c9214d7fdc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ed49a6fb8c9f9d339e24b99d3315b52e1c8b230e8fbd8a0848c9214d7fdc8e", kill_on_drop: false }` [INFO] [stdout] 58ed49a6fb8c9f9d339e24b99d3315b52e1c8b230e8fbd8a0848c9214d7fdc8e