[INFO] fetching crate hldemo 0.3.0...
[INFO] testing hldemo-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0
[INFO] extracting crate hldemo 0.3.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hldemo 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Locking 31 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 memmap v0.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 762d2728967a5a10433dad0f8e6ad6e201b3960964029621957da3d57178b95d
[INFO] running `Command { std: "docker" "start" "-a" "762d2728967a5a10433dad0f8e6ad6e201b3960964029621957da3d57178b95d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "762d2728967a5a10433dad0f8e6ad6e201b3960964029621957da3d57178b95d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "762d2728967a5a10433dad0f8e6ad6e201b3960964029621957da3d57178b95d", kill_on_drop: false }`
[INFO] [stdout] 762d2728967a5a10433dad0f8e6ad6e201b3960964029621957da3d57178b95d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] d6038b7a7e2a8c69de78a764d3ca82ff53b6a7d80b0a1a38017133882b9d8ccf
[INFO] running `Command { std: "docker" "start" "-a" "d6038b7a7e2a8c69de78a764d3ca82ff53b6a7d80b0a1a38017133882b9d8ccf", 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.174
[INFO] [stderr] Compiling object v0.36.7
[INFO] [stderr] Compiling gimli v0.31.1
[INFO] [stderr] Compiling memchr v2.7.5
[INFO] [stderr] Compiling adler2 v2.0.1
[INFO] [stderr] Compiling rustc-demangle v0.1.25
[INFO] [stderr] Compiling quick-error v1.2.3
[INFO] [stderr] Compiling miniz_oxide v0.8.9
[INFO] [stderr] Compiling memchr v1.0.2
[INFO] [stderr] Compiling nom v3.2.1
[INFO] [stderr] Compiling addr2line v0.24.2
[INFO] [stderr] Compiling backtrace v0.3.75
[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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/directory.rs:49:22
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stdout] | ^^^^^ --------- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/directory.rs:75:44
[INFO] [stdout] |
[INFO] [stdout] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 76 | offset: usize)
[INFO] [stdout] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ----- --------- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:110:18
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:125:19
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/header.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stdout] | ^^^^^ ------ the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/types.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[u8]) -> Result {
[INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/types.rs:73:40
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn parse_without_frames(input: &[u8]) -> Result {
[INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 11.46s
[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" "d6038b7a7e2a8c69de78a764d3ca82ff53b6a7d80b0a1a38017133882b9d8ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6038b7a7e2a8c69de78a764d3ca82ff53b6a7d80b0a1a38017133882b9d8ccf", kill_on_drop: false }`
[INFO] [stdout] d6038b7a7e2a8c69de78a764d3ca82ff53b6a7d80b0a1a38017133882b9d8ccf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] aebc94a4e57639c13699d14edf347f1026c29df8f8e75db7d4b78378acc6955e
[INFO] running `Command { std: "docker" "start" "-a" "aebc94a4e57639c13699d14edf347f1026c29df8f8e75db7d4b78378acc6955e", 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/directory.rs:49:22
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stdout] | ^^^^^ --------- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/directory.rs:75:44
[INFO] [stdout] |
[INFO] [stdout] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 76 | offset: usize)
[INFO] [stdout] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ----- --------- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:110:18
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:125:19
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/header.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stdout] | ^^^^^ ------ the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/types.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[u8]) -> Result {
[INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/types.rs:73:40
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn parse_without_frames(input: &[u8]) -> Result {
[INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/directory.rs:49:22
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stdout] | ^^^^^ --------- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/directory.rs:75:44
[INFO] [stdout] |
[INFO] [stdout] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stdout] | ^^^^^ this lifetime flows to the output
[INFO] [stdout] 76 | offset: usize)
[INFO] [stdout] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stdout] | ----- --------- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:110:18
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/frame/mod.rs:125:19
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stdout] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | | |
[INFO] [stdout] | | the lifetimes get resolved as `'_`
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/parse/header.rs:32:19
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stdout] | ^^^^^ ------ the lifetimes get resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] | the lifetimes get resolved as `'_`
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/types.rs:40:25
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[u8]) -> Result {
[INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout] |
[INFO] [stdout] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout] --> src/types.rs:73:40
[INFO] [stdout] |
[INFO] [stdout] 73 | pub fn parse_without_frames(input: &[u8]) -> Result {
[INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stdout] | |
[INFO] [stdout] | this lifetime flows to the output
[INFO] [stdout] |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 3.44s
[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" "aebc94a4e57639c13699d14edf347f1026c29df8f8e75db7d4b78378acc6955e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aebc94a4e57639c13699d14edf347f1026c29df8f8e75db7d4b78378acc6955e", kill_on_drop: false }`
[INFO] [stdout] aebc94a4e57639c13699d14edf347f1026c29df8f8e75db7d4b78378acc6955e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }`
[INFO] [stdout] 24e9ec32f35b438ac4c77159ec02f59bded07d6448ca8c383766c10bdc1acf6b
[INFO] running `Command { std: "docker" "start" "-a" "24e9ec32f35b438ac4c77159ec02f59bded07d6448ca8c383766c10bdc1acf6b", 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr] | | |
[INFO] [stderr] | | the lifetimes get resolved as `'_`
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 7 | pub fn demo(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr] | | |
[INFO] [stderr] | | the lifetimes get resolved as `'_`
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 25 | pub fn demo_without_frames(input: &[u8]) -> IResult<&[u8], Demo<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/parse/directory.rs:49:22
[INFO] [stderr] |
[INFO] [stderr] 49 | named!(pub directory<&[u8], Directory, Error>,
[INFO] [stderr] | ^^^^^ --------- the lifetimes get resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] | the lifetimes get resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 49 | named!(pub directory<&[u8], Directory<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr] | | |
[INFO] [stderr] | | the lifetimes get resolved as `'_`
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/parse/directory.rs:75:44
[INFO] [stderr] |
[INFO] [stderr] 75 | pub fn offset_directory_with_frames(input: &[u8],
[INFO] [stderr] | ^^^^^ this lifetime flows to the output
[INFO] [stderr] 76 | offset: usize)
[INFO] [stderr] 77 | -> IResult<&[u8], Directory, Error> {
[INFO] [stderr] | ----- --------- the lifetimes get resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | the lifetimes get resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 77 | -> IResult<&[u8], Directory<'_>, Error> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr] | | |
[INFO] [stderr] | this lifetime flows to the output the lifetimes get resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/parse/frame/mod.rs:110:18
[INFO] [stderr] |
[INFO] [stderr] 110 | named!(pub frame<&[u8], Frame, Error>,
[INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] | the lifetimes get resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 110 | named!(pub frame<&[u8], Frame<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/parse/frame/mod.rs:125:19
[INFO] [stderr] |
[INFO] [stderr] 125 | named!(pub frames<&[u8], Vec, Error>,
[INFO] [stderr] | ^^^^^ ----- the lifetimes get resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] | the lifetimes get resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 125 | named!(pub frames<&[u8], Vec>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr] | | |
[INFO] [stderr] | | the lifetimes get resolved as `'_`
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] | the lifetimes get resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 215 | named!(pub net_msg_data<&[u8], FrameData<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/parse/header.rs:32:19
[INFO] [stderr] |
[INFO] [stderr] 32 | named!(pub header<&[u8], Header, Error>,
[INFO] [stderr] | ^^^^^ ------ the lifetimes get resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] | the lifetimes get resolved as `'_`
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 32 | named!(pub header<&[u8], Header<'_>, Error>,
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/types.rs:40:25
[INFO] [stderr] |
[INFO] [stderr] 40 | pub fn parse(input: &[u8]) -> Result {
[INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr] |
[INFO] [stderr] 40 | pub fn parse(input: &[u8]) -> Result> {
[INFO] [stderr] | ++++
[INFO] [stderr]
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr] --> src/types.rs:73:40
[INFO] [stderr] |
[INFO] [stderr] 73 | pub fn parse_without_frames(input: &[u8]) -> Result {
[INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_`
[INFO] [stderr] | |
[INFO] [stderr] | this lifetime flows to the output
[INFO] [stderr] |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.08s
[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/x86_64-unknown-linux-musl/debug/deps/hldemo-ad688b0595143887)
[INFO] [stdout]
[INFO] [stdout] running 7 tests
[INFO] [stdout] test tests::without_frames ... ok
[INFO] [stdout] test tests::frame_types ... ok
[INFO] [stdout] test tests::basic ... ok
[INFO] [stdout] test tests::error_invalid_magic ... ok
[INFO] [stdout] test tests::error_invalid_demo_protocol ... ok
[INFO] [stdout] test tests::error_invalid_directory_entry_count ... ok
[INFO] [stdout] test tests::error_invalid_netmsg_length ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "24e9ec32f35b438ac4c77159ec02f59bded07d6448ca8c383766c10bdc1acf6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24e9ec32f35b438ac4c77159ec02f59bded07d6448ca8c383766c10bdc1acf6b", kill_on_drop: false }`
[INFO] [stdout] 24e9ec32f35b438ac4c77159ec02f59bded07d6448ca8c383766c10bdc1acf6b