[INFO] fetching crate satsnet_slices 0.9.15... [INFO] checking satsnet_slices-0.9.15 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate satsnet_slices 0.9.15 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate satsnet_slices 0.9.15 [INFO] finished tweaking crates.io crate satsnet_slices 0.9.15 [INFO] tweaked toml for crates.io crate satsnet_slices 0.9.15 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate satsnet_slices 0.9.15 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 135 packages to latest compatible versions [INFO] [stderr] Adding bitcoin_hashes v0.14.0 (available: v0.16.0) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.16.0) [INFO] [stderr] Adding prometheus v0.13.4 (available: v0.14.0) [INFO] [stderr] Adding redb v1.5.2 (available: v3.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9669ba6123583bad7faa241b2ddfcfac7732e5daae9551592fa6f291f166fba0 [INFO] running `Command { std: "docker" "start" "-a" "9669ba6123583bad7faa241b2ddfcfac7732e5daae9551592fa6f291f166fba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9669ba6123583bad7faa241b2ddfcfac7732e5daae9551592fa6f291f166fba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9669ba6123583bad7faa241b2ddfcfac7732e5daae9551592fa6f291f166fba0", kill_on_drop: false }` [INFO] [stdout] 9669ba6123583bad7faa241b2ddfcfac7732e5daae9551592fa6f291f166fba0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 006dcd90758fbc6d454291bb6b1f603c8fbff8c1ce666439f32a2e72a7af8de9 [INFO] running `Command { std: "docker" "start" "-a" "006dcd90758fbc6d454291bb6b1f603c8fbff8c1ce666439f32a2e72a7af8de9", kill_on_drop: false }` [INFO] [stderr] Compiling bitcoin-io v0.1.3 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Checking hex-conservative v0.2.1 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling satsnet v0.32.17 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking bech32 v0.11.0 [INFO] [stderr] Checking bitcoin-test-data v0.2.0 [INFO] [stderr] Checking satsnet_slices v0.9.15 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stdout] warning: struct `VarInt` is never constructed [INFO] [stdout] --> src/bsl/len.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct VarInt<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_var_int` is never used [INFO] [stdout] --> src/bsl/len.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_var_int(slice: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsl/block.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn header(&self) -> &BlockHeader { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn header(&self) -> &BlockHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsl/len.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_var_int(slice: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_var_int(slice: &[u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/out_point.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/script.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/var_string.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/tx_in.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsl/tx_in.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn prevout(&self) -> &OutPoint { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn prevout(&self) -> &OutPoint<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/tx_out.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/witnesses.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(slice: &'a [u8], total_inputs: usize) -> SResult { [INFO] [stdout] | ^^ the lifetime is named here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(slice: &'a [u8], total_inputs: usize) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_slice(from: &[u8], len: usize) -> SResult<&[u8]> { [INFO] [stdout] | ^^^^^ -------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_slice(from: &[u8], len: usize) -> SResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bitcoin_hashes v0.14.0 [INFO] [stderr] Checking bitcoin-units v0.1.2 [INFO] [stderr] Checking base58ck v0.1.0 [INFO] [stderr] Checking secp256k1 v0.29.1 [INFO] [stdout] warning: struct `VarInt` is never constructed [INFO] [stdout] --> src/bsl/len.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct VarInt<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_var_int` is never used [INFO] [stdout] --> src/bsl/len.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_var_int(slice: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub mod test_common { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsl/block.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn header(&self) -> &BlockHeader { [INFO] [stdout] | ^^^^^ ------------ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn header(&self) -> &BlockHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsl/len.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_var_int(slice: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_var_int(slice: &[u8]) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/out_point.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/script.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/var_string.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 22 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/tx_in.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 17 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bsl/tx_in.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn prevout(&self) -> &OutPoint { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn prevout(&self) -> &OutPoint<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/tx_out.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(slice: &'a [u8]) -> SResult { [INFO] [stdout] | ^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 32 | fn parse(slice: &'a [u8]) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bsl/witnesses.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(slice: &'a [u8], total_inputs: usize) -> SResult { [INFO] [stdout] | ^^ the lifetime is named here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 20 | pub fn parse(slice: &'a [u8], total_inputs: usize) -> SResult<'a, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/slice.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_slice(from: &[u8], len: usize) -> SResult<&[u8]> { [INFO] [stdout] | ^^^^^ -------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4 | pub fn read_slice(from: &[u8], len: usize) -> SResult<'_, &[u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub const GENESIS_TX: [u8; 204] = hex!("01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4d04ffff001... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub const GENESIS_BLOCK_HEADER: [u8; 80] = hex!("0100000000000000000000000000000000000000000000000000000000000000000000003ba3edfd7a7b... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub const GENESIS_BLOCK: [u8;285] = hex!("0100000000000000000000000000000000000000000000000000000000000000000000003ba3edfd7a7b12b27ac... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new_exact(parsed: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn reverse(arr: [u8; 32]) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.87s [INFO] running `Command { std: "docker" "inspect" "006dcd90758fbc6d454291bb6b1f603c8fbff8c1ce666439f32a2e72a7af8de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006dcd90758fbc6d454291bb6b1f603c8fbff8c1ce666439f32a2e72a7af8de9", kill_on_drop: false }` [INFO] [stdout] 006dcd90758fbc6d454291bb6b1f603c8fbff8c1ce666439f32a2e72a7af8de9