[INFO] fetching crate hldemo 0.3.0...
[INFO] testing hldemo-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1
[INFO] extracting crate hldemo 0.3.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate hldemo 0.3.0
[INFO] finished tweaking crates.io crate hldemo 0.3.0
[INFO] tweaked toml for crates.io crate hldemo 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hldemo 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Locking 23 packages to latest compatible versions
[INFO] [stderr] Adding error-chain v0.11.0 (available: v0.12.4)
[INFO] [stderr] Adding memmap v0.5.2 (available: v0.7.0)
[INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0)
[INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded memchr v1.0.2
[INFO] [stderr] Downloaded error-chain v0.11.0
[INFO] [stderr] Downloaded nom v3.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 948b597fc6b8df2311ae34bbe75f75edb0876fca1dd2895e1c4ea8c1ac96b7a9
[INFO] running `Command { std: "docker" "start" "-a" "948b597fc6b8df2311ae34bbe75f75edb0876fca1dd2895e1c4ea8c1ac96b7a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "948b597fc6b8df2311ae34bbe75f75edb0876fca1dd2895e1c4ea8c1ac96b7a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "948b597fc6b8df2311ae34bbe75f75edb0876fca1dd2895e1c4ea8c1ac96b7a9", kill_on_drop: false }`
[INFO] [stdout] 948b597fc6b8df2311ae34bbe75f75edb0876fca1dd2895e1c4ea8c1ac96b7a9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19ba4bce0da9d4aa587b4152b122ac48b5fd6685c139c62b29a7a78b3a481fcb
[INFO] running `Command { std: "docker" "start" "-a" "19ba4bce0da9d4aa587b4152b122ac48b5fd6685c139c62b29a7a78b3a481fcb", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] Compiling libc v0.2.176
[INFO] [stderr] Compiling memchr v2.7.6
[INFO] [stderr] Compiling quick-error v1.2.3
[INFO] [stderr] Compiling object v0.37.3
[INFO] [stderr] Compiling memchr v1.0.2
[INFO] [stderr] Compiling nom v3.2.1
[INFO] [stderr] Compiling backtrace v0.3.76
[INFO] [stderr] Compiling error-chain v0.11.0
[INFO] [stderr] Compiling hldemo v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout] --> src/lib.rs:40:1
[INFO] [stdout] |
[INFO] [stdout] 40 | #[macro_use]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/errors.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | / error_chain! {
[INFO] [stdout] 8 | | foreign_links {
[INFO] [stdout] 9 | | ParseError(parse::Error);
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout] --> src/errors.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | / error_chain! {
[INFO] [stdout] 8 | | foreign_links {
[INFO] [stdout] 9 | | ParseError(parse::Error);
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/demo.rs:7:20
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stdout] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/demo.rs:25:35
[INFO] [stdout] |
[INFO] [stdout] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stdout] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:49:22
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:65:32
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:75:44
[INFO] [stdout] |
[INFO] [stdout] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 76 | offset: usize)
[INFO] [stdout] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ----- --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the same 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] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:95:26
[INFO] [stdout] |
[INFO] [stdout] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData, Error> {
[INFO] [stdout] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stdout] | | |
[INFO] [stdout] | the lifetime is elided here the same 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] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:110:18
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:125:19
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:136:29
[INFO] [stdout] |
[INFO] [stdout] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec, Error> {
[INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/netmsg.rs:215:25
[INFO] [stdout] |
[INFO] [stdout] 215 | named!(pub net_msg_data<&[u8], FrameData, Error>,
[INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/header.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/types.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[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] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/types.rs:73:40
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn parse_without_frames(input: &[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] 73 | pub fn parse_without_frames(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.77s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "19ba4bce0da9d4aa587b4152b122ac48b5fd6685c139c62b29a7a78b3a481fcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19ba4bce0da9d4aa587b4152b122ac48b5fd6685c139c62b29a7a78b3a481fcb", kill_on_drop: false }`
[INFO] [stdout] 19ba4bce0da9d4aa587b4152b122ac48b5fd6685c139c62b29a7a78b3a481fcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 634e3b3b2bdc3ac9676df557fb9fce4cdf24affc0aa9769f043fc2a8db6ed173
[INFO] running `Command { std: "docker" "start" "-a" "634e3b3b2bdc3ac9676df557fb9fce4cdf24affc0aa9769f043fc2a8db6ed173", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] Compiling memmap v0.5.2
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout] --> src/lib.rs:40:1
[INFO] [stdout] |
[INFO] [stdout] 40 | #[macro_use]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/errors.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | / error_chain! {
[INFO] [stdout] 8 | | foreign_links {
[INFO] [stdout] 9 | | ParseError(parse::Error);
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout] --> src/errors.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | / error_chain! {
[INFO] [stdout] 8 | | foreign_links {
[INFO] [stdout] 9 | | ParseError(parse::Error);
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/demo.rs:7:20
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stdout] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/demo.rs:25:35
[INFO] [stdout] |
[INFO] [stdout] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stdout] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:49:22
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:65:32
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:75:44
[INFO] [stdout] |
[INFO] [stdout] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 76 | offset: usize)
[INFO] [stdout] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ----- --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the same 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] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:95:26
[INFO] [stdout] |
[INFO] [stdout] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData, Error> {
[INFO] [stdout] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stdout] | | |
[INFO] [stdout] | the lifetime is elided here the same 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] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:110:18
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:125:19
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:136:29
[INFO] [stdout] |
[INFO] [stdout] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec, Error> {
[INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/netmsg.rs:215:25
[INFO] [stdout] |
[INFO] [stdout] 215 | named!(pub net_msg_data<&[u8], FrameData, Error>,
[INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/header.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/types.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[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] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/types.rs:73:40
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn parse_without_frames(input: &[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] 73 | pub fn parse_without_frames(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling hldemo v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout] --> src/lib.rs:40:1
[INFO] [stdout] |
[INFO] [stdout] 40 | #[macro_use]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout] --> src/errors.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | / error_chain! {
[INFO] [stdout] 8 | | foreign_links {
[INFO] [stdout] 9 | | ParseError(parse::Error);
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stdout] --> src/errors.rs:7:1
[INFO] [stdout] |
[INFO] [stdout] 7 | / error_chain! {
[INFO] [stdout] 8 | | foreign_links {
[INFO] [stdout] 9 | | ParseError(parse::Error);
[INFO] [stdout] ... |
[INFO] [stdout] 19 | | }
[INFO] [stdout] | |_^
[INFO] [stdout] |
[INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/demo.rs:7:20
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stdout] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/demo.rs:25:35
[INFO] [stdout] |
[INFO] [stdout] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stdout] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:49:22
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:65:32
[INFO] [stdout] |
[INFO] [stdout] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/directory.rs:75:44
[INFO] [stdout] |
[INFO] [stdout] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stdout] | ^^^^^ the lifetime is elided here
[INFO] [stdout] 76 | offset: usize)
[INFO] [stdout] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ----- --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the same 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] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:95:26
[INFO] [stdout] |
[INFO] [stdout] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData, Error> {
[INFO] [stdout] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stdout] | | |
[INFO] [stdout] | the lifetime is elided here the same 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] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:110:18
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:125:19
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:136:29
[INFO] [stdout] |
[INFO] [stdout] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec, Error> {
[INFO] [stdout] | ^^^^^ ----- ----- the same lifetime is hidden here
[INFO] [stdout] | | |
[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] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/frame/netmsg.rs:215:25
[INFO] [stdout] |
[INFO] [stdout] 215 | named!(pub net_msg_data<&[u8], FrameData, Error>,
[INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/parse/header.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] | the same 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] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/types.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[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] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> src/types.rs:73:40
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn parse_without_frames(input: &[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] 73 | pub fn parse_without_frames(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.86s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "634e3b3b2bdc3ac9676df557fb9fce4cdf24affc0aa9769f043fc2a8db6ed173", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "634e3b3b2bdc3ac9676df557fb9fce4cdf24affc0aa9769f043fc2a8db6ed173", kill_on_drop: false }`
[INFO] [stdout] 634e3b3b2bdc3ac9676df557fb9fce4cdf24affc0aa9769f043fc2a8db6ed173
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 691fc3a29f29a34e70aa7e507f572fa55c0b3b9ce233dbcb07ba04603cdebc8b
[INFO] running `Command { std: "docker" "start" "-a" "691fc3a29f29a34e70aa7e507f572fa55c0b3b9ce233dbcb07ba04603cdebc8b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr] --> src/lib.rs:40:1
[INFO] [stderr] |
[INFO] [stderr] 40 | #[macro_use]
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr] --> src/errors.rs:7:1
[INFO] [stderr] |
[INFO] [stderr] 7 | / error_chain! {
[INFO] [stderr] 8 | | foreign_links {
[INFO] [stderr] 9 | | ParseError(parse::Error);
[INFO] [stderr] ... |
[INFO] [stderr] 19 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting
[INFO] [stderr] --> src/errors.rs:7:1
[INFO] [stderr] |
[INFO] [stderr] 7 | / error_chain! {
[INFO] [stderr] 8 | | foreign_links {
[INFO] [stderr] 9 | | ParseError(parse::Error);
[INFO] [stderr] ... |
[INFO] [stderr] 19 | | }
[INFO] [stderr] | |_^
[INFO] [stderr] |
[INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/demo.rs:7:20
[INFO] [stderr] |
[INFO] [stderr] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stderr] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stderr] | | |
[INFO] [stderr] | | the same lifetime is elided here
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/demo.rs:25:35
[INFO] [stderr] |
[INFO] [stderr] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo, Error> {
[INFO] [stderr] | ^^^^^ ----- ---- the same lifetime is hidden here
[INFO] [stderr] | | |
[INFO] [stderr] | | the same lifetime is elided here
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/directory.rs:49:22
[INFO] [stderr] |
[INFO] [stderr] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stderr] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] | the same lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/directory.rs:65:32
[INFO] [stderr] |
[INFO] [stderr] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory, Error> {
[INFO] [stderr] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stderr] | | |
[INFO] [stderr] | | the same lifetime is elided here
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 65 | pub fn offset_directory(input: &[u8], offset: usize) -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/directory.rs:75:44
[INFO] [stderr] |
[INFO] [stderr] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stderr] | ^^^^^ the lifetime is elided here
[INFO] [stderr] 76 | offset: usize)
[INFO] [stderr] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stderr] | ----- --------- the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the same lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/frame/mod.rs:95:26
[INFO] [stderr] |
[INFO] [stderr] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData, Error> {
[INFO] [stderr] | ^^^^^ ----- --------- the same lifetime is hidden here
[INFO] [stderr] | | |
[INFO] [stderr] | the lifetime is elided here the same lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 95 | pub fn frame_data(input: &[u8], frame_type: FrameType) -> IResult<&[u8], FrameData<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/frame/mod.rs:110:18
[INFO] [stderr] |
[INFO] [stderr] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stderr] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] | the same lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/frame/mod.rs:125:19
[INFO] [stderr] |
[INFO] [stderr] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stderr] | ^^^^^ ----- the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] | the same lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/frame/mod.rs:136:29
[INFO] [stderr] |
[INFO] [stderr] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec, Error> {
[INFO] [stderr] | ^^^^^ ----- ----- the same lifetime is hidden here
[INFO] [stderr] | | |
[INFO] [stderr] | | the same lifetime is elided here
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 136 | pub fn offset_frames(input: &[u8], offset: usize) -> IResult<&[u8], Vec>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/frame/netmsg.rs:215:25
[INFO] [stderr] |
[INFO] [stderr] 215 | named!(pub net_msg_data<&[u8], FrameData, Error>,
[INFO] [stderr] | ^^^^^ --------- the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] | the same lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/parse/header.rs:32:19
[INFO] [stderr] |
[INFO] [stderr] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] | the same lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/types.rs:40:25
[INFO] [stderr] |
[INFO] [stderr] 40 | pub fn parse(input: &[u8]) -> Result {
[INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr] --> src/types.rs:73:40
[INFO] [stderr] |
[INFO] [stderr] 73 | pub fn parse_without_frames(input: &[u8]) -> Result {
[INFO] [stderr] | ^^^^^ ---- the same lifetime is hidden here
[INFO] [stderr] | |
[INFO] [stderr] | the lifetime is elided here
[INFO] [stderr] |
[INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr] |
[INFO] [stderr] 73 | pub fn parse_without_frames(input: &[u8]) -> Result> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: `hldemo` (lib) generated 16 warnings (run `cargo fix --lib -p hldemo` to apply 13 suggestions)
[INFO] [stderr] warning: `hldemo` (lib test) generated 16 warnings (16 duplicates)
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hldemo-85642a3d12ac5b0f)
[INFO] [stdout]
[INFO] [stdout] running 7 tests
[INFO] [stdout] test tests::frame_types ... ok
[INFO] [stdout] test tests::without_frames ... ok
[INFO] [stdout] test tests::basic ... ok
[INFO] [stdout] test tests::error_invalid_directory_entry_count ... ok
[INFO] [stdout] test tests::error_invalid_demo_protocol ... ok
[INFO] [stdout] test tests::error_invalid_netmsg_length ... ok
[INFO] [stdout] test tests::error_invalid_magic ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout]
[INFO] [stderr] Doc-tests hldemo
[INFO] [stdout]
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/types.rs - types::Demo<'a>::parse (line 18) - compile ... ok
[INFO] [stdout] test src/types.rs - types::Demo<'a>::parse_without_frames (line 51) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 12) - compile ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "691fc3a29f29a34e70aa7e507f572fa55c0b3b9ce233dbcb07ba04603cdebc8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "691fc3a29f29a34e70aa7e507f572fa55c0b3b9ce233dbcb07ba04603cdebc8b", kill_on_drop: false }`
[INFO] [stdout] 691fc3a29f29a34e70aa7e507f572fa55c0b3b9ce233dbcb07ba04603cdebc8b