[INFO] fetching crate esvm-rlp 0.0.1... [INFO] testing esvm-rlp-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate esvm-rlp 0.0.1 into /workspace/builds/worker-100/source [INFO] validating manifest of crates.io crate esvm-rlp 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate esvm-rlp 0.0.1 [INFO] finished tweaking crates.io crate esvm-rlp 0.0.1 [INFO] tweaked toml for crates.io crate esvm-rlp 0.0.1 written to /workspace/builds/worker-100/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cee3c32ebcb5ea866f6b7970324bb93af05c6b941a15d0e3b9f44d4c7283a7e1 [INFO] running `Command { std: "docker" "start" "-a" "cee3c32ebcb5ea866f6b7970324bb93af05c6b941a15d0e3b9f44d4c7283a7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cee3c32ebcb5ea866f6b7970324bb93af05c6b941a15d0e3b9f44d4c7283a7e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee3c32ebcb5ea866f6b7970324bb93af05c6b941a15d0e3b9f44d4c7283a7e1", kill_on_drop: false }` [INFO] [stdout] cee3c32ebcb5ea866f6b7970324bb93af05c6b941a15d0e3b9f44d4c7283a7e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5fc05e1d9d8b025ec2d9d17e9148c65b00fb0fc10cc09f10f496d20ff2750c7 [INFO] running `Command { std: "docker" "start" "-a" "b5fc05e1d9d8b025ec2d9d17e9148c65b00fb0fc10cc09f10f496d20ff2750c7", kill_on_drop: false }` [INFO] [stderr] Compiling heapsize v0.3.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling elastic-array v0.7.0 [INFO] [stderr] Compiling esvm-rlp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | Some(0...0x7f) => Ok(PayloadInfo::new(0, 1)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | Some(l @ 0x80...0xb7) => Ok(PayloadInfo::new(1, l as usize - 0x80)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | Some(l @ 0xb8...0xbf) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | Some(l @ 0xc0...0xf7) => Ok(PayloadInfo::new(1, l as usize - 0xc0)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | Some(l @ 0xf8...0xff) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | 0...0x80 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | 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 2015) 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] --> src/untrusted_rlp.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | b @ 0xb8...0xbf => self.bytes[1 + b as usize - 0xb7] != 0, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/untrusted_rlp.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | result = UntrustedRlp::consume(result, (i.header_len + i.value_len))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - result = UntrustedRlp::consume(result, (i.header_len + i.value_len))?; [INFO] [stdout] 279 + result = UntrustedRlp::consume(result, i.header_len + i.value_len)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | Some(l @ 0...0x7f) => Ok(f(&[l])?), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | Some(l @ 0x80...0xb7) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | Some(l @ 0xb8...0xbf) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/stream.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | 0...55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/stream.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | len @ 1 ... 55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/impls.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{cmp, mem, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_encodable_for_hash` [INFO] [stdout] --> src/impls.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | macro_rules! impl_encodable_for_hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_decodable_for_hash` [INFO] [stdout] --> src/impls.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | macro_rules! impl_decodable_for_hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | /// Swapper for snapshot compression. [INFO] [stdout] 15 | | pub static ref SNAPSHOT_RLP_SWAPPER: InvalidRlpSwapper<'static> = InvalidRlpSwapper::new(EMPTY_RLPS, INVALID_RLPS); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | /// Swapper with common long RLPs, up to 127 can be added. [INFO] [stdout] 20 | | pub static ref BLOCKS_RLP_SWAPPER: InvalidRlpSwapper<'static> = InvalidRlpSwapper::new(COMMON_RLPS, INVALID_RLPS); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/untrusted_rlp.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | _ => { unreachable!(); } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.00s [INFO] running `Command { std: "docker" "inspect" "b5fc05e1d9d8b025ec2d9d17e9148c65b00fb0fc10cc09f10f496d20ff2750c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fc05e1d9d8b025ec2d9d17e9148c65b00fb0fc10cc09f10f496d20ff2750c7", kill_on_drop: false }` [INFO] [stdout] b5fc05e1d9d8b025ec2d9d17e9148c65b00fb0fc10cc09f10f496d20ff2750c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-100/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad390d036f0a7f32fd9a51f76c38ab650fe1466658b3561981e0355f1c596b39 [INFO] running `Command { std: "docker" "start" "-a" "ad390d036f0a7f32fd9a51f76c38ab650fe1466658b3561981e0355f1c596b39", kill_on_drop: false }` [INFO] [stderr] Compiling esvm-rlp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | Some(0...0x7f) => Ok(PayloadInfo::new(0, 1)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | Some(l @ 0x80...0xb7) => Ok(PayloadInfo::new(1, l as usize - 0x80)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | Some(l @ 0xb8...0xbf) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | Some(l @ 0xc0...0xf7) => Ok(PayloadInfo::new(1, l as usize - 0xc0)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | Some(l @ 0xf8...0xff) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | 0...0x80 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | 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 2015) 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] --> src/untrusted_rlp.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | b @ 0xb8...0xbf => self.bytes[1 + b as usize - 0xb7] != 0, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/untrusted_rlp.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | result = UntrustedRlp::consume(result, (i.header_len + i.value_len))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - result = UntrustedRlp::consume(result, (i.header_len + i.value_len))?; [INFO] [stdout] 279 + result = UntrustedRlp::consume(result, i.header_len + i.value_len)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | Some(l @ 0...0x7f) => Ok(f(&[l])?), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | Some(l @ 0x80...0xb7) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | Some(l @ 0xb8...0xbf) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/stream.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | 0...55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/stream.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | len @ 1 ... 55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/impls.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{cmp, mem, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_encodable_for_hash` [INFO] [stdout] --> src/impls.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | macro_rules! impl_encodable_for_hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_decodable_for_hash` [INFO] [stdout] --> src/impls.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | macro_rules! impl_decodable_for_hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | /// Swapper for snapshot compression. [INFO] [stdout] 15 | | pub static ref SNAPSHOT_RLP_SWAPPER: InvalidRlpSwapper<'static> = InvalidRlpSwapper::new(EMPTY_RLPS, INVALID_RLPS); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | /// Swapper with common long RLPs, up to 127 can be added. [INFO] [stdout] 20 | | pub static ref BLOCKS_RLP_SWAPPER: InvalidRlpSwapper<'static> = InvalidRlpSwapper::new(COMMON_RLPS, INVALID_RLPS); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/untrusted_rlp.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | _ => { unreachable!(); } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rlp` [INFO] [stdout] --> tests/tests.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rlp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderError` [INFO] [stdout] --> tests/tests.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(cat_err, DecoderError::RlpIsTooShort); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DecoderError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderError` [INFO] [stdout] --> tests/tests.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | assert_eq!(dog_err, DecoderError::RlpIsTooShort); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DecoderError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderError` [INFO] [stdout] --> tests/tests.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | assert_eq!(Err(DecoderError::RlpInconsistentLengthAndData), as_val); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DecoderError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderError` [INFO] [stdout] --> tests/tests.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(Err(DecoderError::RlpInconsistentLengthAndData), as_val); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DecoderError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderError` [INFO] [stdout] --> tests/tests.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | assert_eq!(Err(DecoderError::RlpInconsistentLengthAndData), as_val); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DecoderError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlpStream` [INFO] [stdout] --> tests/tests.rs:336:19 [INFO] [stdout] | [INFO] [stdout] 336 | let mut stream = RlpStream::new_list(2); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RlpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedRlp` [INFO] [stdout] --> tests/tests.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | let rlp = UntrustedRlp::new(&data); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `UntrustedRlp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DecoderError` [INFO] [stdout] --> tests/tests.rs:347:17 [INFO] [stdout] | [INFO] [stdout] 347 | assert_eq!(Err(DecoderError::RlpIsTooShort), as_val); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DecoderError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlpStream` [INFO] [stdout] --> tests/tests.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | let mut stream = RlpStream::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RlpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RlpStream` [INFO] [stdout] --> tests/tests.rs:362:19 [INFO] [stdout] | [INFO] [stdout] 362 | let mut stream = RlpStream::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `RlpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Encodable` in this scope [INFO] [stdout] --> tests/tests.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | struct ETestPair(T, Vec) where T: Encodable; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Encodable` in this scope [INFO] [stdout] --> tests/tests.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | where T: Encodable [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Encodable` in this scope [INFO] [stdout] --> tests/tests.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | struct VETestPair(Vec, Vec) where T: Encodable; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Encodable` in this scope [INFO] [stdout] --> tests/tests.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | where T: Encodable [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Decodable` in this scope [INFO] [stdout] --> tests/tests.rs:178:42 [INFO] [stdout] | [INFO] [stdout] 178 | struct DTestPair(T, Vec) where T: Decodable + fmt::Debug + cmp::Eq; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Decodable` in this scope [INFO] [stdout] --> tests/tests.rs:180:48 [INFO] [stdout] | [INFO] [stdout] 180 | struct VDTestPair(Vec, Vec) where T: Decodable + fmt::Debug + cmp::Eq; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Decodable` in this scope [INFO] [stdout] --> tests/tests.rs:182:59 [INFO] [stdout] | [INFO] [stdout] 182 | fn run_decode_tests(tests: Vec>) where T: Decodable + fmt::Debug + cmp::Eq { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Decodable` in this scope [INFO] [stdout] --> tests/tests.rs:189:65 [INFO] [stdout] | [INFO] [stdout] 189 | fn run_decode_tests_list(tests: Vec>) where T: Decodable + fmt::Debug + cmp::Eq { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DecoderError` in this scope [INFO] [stdout] --> tests/tests.rs:288:29 [INFO] [stdout] | [INFO] [stdout] 283 | fn test_rlp_data_length_check() [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 288 | let as_val: Result = rlp.as_val(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DecoderError` in this scope [INFO] [stdout] --> tests/tests.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 293 | fn test_rlp_long_data_length_check() [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 302 | let as_val: Result = rlp.as_val(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DecoderError` in this scope [INFO] [stdout] --> tests/tests.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 307 | fn test_the_exact_long_string() [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 316 | let as_val: Result = rlp.as_val(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DecoderError` in this scope [INFO] [stdout] --> tests/tests.rs:330:29 [INFO] [stdout] | [INFO] [stdout] 321 | fn test_rlp_2bytes_data_length_check() [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 330 | let as_val: Result = rlp.as_val(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DecoderError` in this scope [INFO] [stdout] --> tests/tests.rs:346:29 [INFO] [stdout] | [INFO] [stdout] 343 | fn test_rlp_list_length_overflow() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 346 | let as_val: Result = rlp.val_at(0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | Some(0...0x7f) => Ok(PayloadInfo::new(0, 1)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | Some(l @ 0x80...0xb7) => Ok(PayloadInfo::new(1, l as usize - 0x80)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | Some(l @ 0xb8...0xbf) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | Some(l @ 0xc0...0xf7) => Ok(PayloadInfo::new(1, l as usize - 0xc0)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | Some(l @ 0xf8...0xff) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | 0...0x80 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 237 | 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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | b @ 0xb8...0xbf => self.bytes[1 + b as usize - 0xb7] != 0, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/untrusted_rlp.rs:279:43 [INFO] [stdout] | [INFO] [stdout] 279 | result = UntrustedRlp::consume(result, (i.header_len + i.value_len))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 279 - result = UntrustedRlp::consume(result, (i.header_len + i.value_len))?; [INFO] [stdout] 279 + result = UntrustedRlp::consume(result, i.header_len + i.value_len)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/untrusted_rlp.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | Some(l @ 0...0x7f) => Ok(f(&[l])?), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:354:17 [INFO] [stdout] | [INFO] [stdout] 354 | Some(l @ 0x80...0xb7) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/untrusted_rlp.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | Some(l @ 0xb8...0xbf) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/stream.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | 0...55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> src/stream.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | len @ 1 ... 55 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/impls.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{cmp, mem, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_encodable_for_hash` [INFO] [stdout] --> src/impls.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | macro_rules! impl_encodable_for_hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_decodable_for_hash` [INFO] [stdout] --> src/impls.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | macro_rules! impl_decodable_for_hash { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `esvm-rlp` due to 32 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | /// Swapper for snapshot compression. [INFO] [stdout] 15 | | pub static ref SNAPSHOT_RLP_SWAPPER: InvalidRlpSwapper<'static> = InvalidRlpSwapper::new(EMPTY_RLPS, INVALID_RLPS); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / lazy_static! { [INFO] [stdout] 19 | | /// Swapper with common long RLPs, up to 127 can be added. [INFO] [stdout] 20 | | pub static ref BLOCKS_RLP_SWAPPER: InvalidRlpSwapper<'static> = InvalidRlpSwapper::new(COMMON_RLPS, INVALID_RLPS); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/untrusted_rlp.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | _ => { unreachable!(); } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ad390d036f0a7f32fd9a51f76c38ab650fe1466658b3561981e0355f1c596b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad390d036f0a7f32fd9a51f76c38ab650fe1466658b3561981e0355f1c596b39", kill_on_drop: false }` [INFO] [stdout] ad390d036f0a7f32fd9a51f76c38ab650fe1466658b3561981e0355f1c596b39