[INFO] fetching crate ipfix 0.1.1... [INFO] testing ipfix-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ipfix 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ipfix 0.1.1 [INFO] finished tweaking crates.io crate ipfix 0.1.1 [INFO] tweaked toml for crates.io crate ipfix 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ipfix 0.1.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding nom v2.2.1 (available: v8.0.0) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 67835b70c83af21ff865da6248a2cc4bb41b3943eee2bb61037b57bd40d4974a [INFO] running `Command { std: "docker" "start" "-a" "67835b70c83af21ff865da6248a2cc4bb41b3943eee2bb61037b57bd40d4974a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67835b70c83af21ff865da6248a2cc4bb41b3943eee2bb61037b57bd40d4974a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67835b70c83af21ff865da6248a2cc4bb41b3943eee2bb61037b57bd40d4974a", kill_on_drop: false }` [INFO] [stdout] 67835b70c83af21ff865da6248a2cc4bb41b3943eee2bb61037b57bd40d4974a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 33669823bfbf275d85d4dda11748a8e679d370728badf28ee17a1e1abd4da0ab [INFO] running `Command { std: "docker" "start" "-a" "33669823bfbf275d85d4dda11748a8e679d370728badf28ee17a1e1abd4da0ab", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling ipfix v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / named!(ipfix_header <&[u8], IpfixHeader>, chain!( [INFO] [stdout] 240 | | version: ipfix_version ~ [INFO] [stdout] 241 | | length: message_length ~ [INFO] [stdout] 242 | | time: export_time ~ [INFO] [stdout] ... | [INFO] [stdout] 251 | | }} [INFO] [stdout] 252 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | / named!(set_header <&[u8], SetHeader>, chain!( [INFO] [stdout] 316 | | id: set_id ~ [INFO] [stdout] 317 | | length: set_length, [INFO] [stdout] 318 | | || { SetHeader { [INFO] [stdout] ... | [INFO] [stdout] 321 | | }} [INFO] [stdout] 322 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | / named!(template_header <&[u8], TemplateHeader>, chain!( [INFO] [stdout] 339 | | id: template_id ~ [INFO] [stdout] 340 | | field_count: field_count, [INFO] [stdout] 341 | | || { TemplateHeader { [INFO] [stdout] ... | [INFO] [stdout] 344 | | }} [INFO] [stdout] 345 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | / named!(options_template_header <&[u8], OptionsTemplateHeader>, chain!( [INFO] [stdout] 426 | | id: template_id ~ [INFO] [stdout] 427 | | field_count: field_count ~ [INFO] [stdout] 428 | | scope_field_count: scope_field_count, [INFO] [stdout] ... | [INFO] [stdout] 433 | | }} [INFO] [stdout] 434 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (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/lib.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result, &'static str> { [INFO] [stdout] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result>, &'static str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | let set_bytes = &bytes.clone()[0..set_length]; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:440:41 [INFO] [stdout] | [INFO] [stdout] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { std::mem::transmute([s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { std::mem::transmute([s[3], s[2], s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { std::mem::transmute([s[7], s[6], s[5], s[4], s[3], s[2], s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "33669823bfbf275d85d4dda11748a8e679d370728badf28ee17a1e1abd4da0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33669823bfbf275d85d4dda11748a8e679d370728badf28ee17a1e1abd4da0ab", kill_on_drop: false }` [INFO] [stdout] 33669823bfbf275d85d4dda11748a8e679d370728badf28ee17a1e1abd4da0ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 99608ddd76933417d5e7418d7659a5c11bc7e36b1a55e8eb4d102c58dde610ac [INFO] running `Command { std: "docker" "start" "-a" "99608ddd76933417d5e7418d7659a5c11bc7e36b1a55e8eb4d102c58dde610ac", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / named!(ipfix_header <&[u8], IpfixHeader>, chain!( [INFO] [stdout] 240 | | version: ipfix_version ~ [INFO] [stdout] 241 | | length: message_length ~ [INFO] [stdout] 242 | | time: export_time ~ [INFO] [stdout] ... | [INFO] [stdout] 251 | | }} [INFO] [stdout] 252 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | / named!(set_header <&[u8], SetHeader>, chain!( [INFO] [stdout] 316 | | id: set_id ~ [INFO] [stdout] 317 | | length: set_length, [INFO] [stdout] 318 | | || { SetHeader { [INFO] [stdout] ... | [INFO] [stdout] 321 | | }} [INFO] [stdout] 322 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | / named!(template_header <&[u8], TemplateHeader>, chain!( [INFO] [stdout] 339 | | id: template_id ~ [INFO] [stdout] 340 | | field_count: field_count, [INFO] [stdout] 341 | | || { TemplateHeader { [INFO] [stdout] ... | [INFO] [stdout] 344 | | }} [INFO] [stdout] 345 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | / named!(options_template_header <&[u8], OptionsTemplateHeader>, chain!( [INFO] [stdout] 426 | | id: template_id ~ [INFO] [stdout] 427 | | field_count: field_count ~ [INFO] [stdout] 428 | | scope_field_count: scope_field_count, [INFO] [stdout] ... | [INFO] [stdout] 433 | | }} [INFO] [stdout] 434 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (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/lib.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result, &'static str> { [INFO] [stdout] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result>, &'static str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | let set_bytes = &bytes.clone()[0..set_length]; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:440:41 [INFO] [stdout] | [INFO] [stdout] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { std::mem::transmute([s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { std::mem::transmute([s[3], s[2], s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { std::mem::transmute([s[7], s[6], s[5], s[4], s[3], s[2], s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ipfix v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / named!(ipfix_header <&[u8], IpfixHeader>, chain!( [INFO] [stdout] 240 | | version: ipfix_version ~ [INFO] [stdout] 241 | | length: message_length ~ [INFO] [stdout] 242 | | time: export_time ~ [INFO] [stdout] ... | [INFO] [stdout] 251 | | }} [INFO] [stdout] 252 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | / named!(set_header <&[u8], SetHeader>, chain!( [INFO] [stdout] 316 | | id: set_id ~ [INFO] [stdout] 317 | | length: set_length, [INFO] [stdout] 318 | | || { SetHeader { [INFO] [stdout] ... | [INFO] [stdout] 321 | | }} [INFO] [stdout] 322 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | / named!(template_header <&[u8], TemplateHeader>, chain!( [INFO] [stdout] 339 | | id: template_id ~ [INFO] [stdout] 340 | | field_count: field_count, [INFO] [stdout] 341 | | || { TemplateHeader { [INFO] [stdout] ... | [INFO] [stdout] 344 | | }} [INFO] [stdout] 345 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stdout] --> src/lib.rs:425:5 [INFO] [stdout] | [INFO] [stdout] 425 | / named!(options_template_header <&[u8], OptionsTemplateHeader>, chain!( [INFO] [stdout] 426 | | id: template_id ~ [INFO] [stdout] 427 | | field_count: field_count ~ [INFO] [stdout] 428 | | scope_field_count: scope_field_count, [INFO] [stdout] ... | [INFO] [stdout] 433 | | }} [INFO] [stdout] 434 | | )); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `named` (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/lib.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result, &'static str> { [INFO] [stdout] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result>, &'static str> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:130:43 [INFO] [stdout] | [INFO] [stdout] 130 | let set_bytes = &bytes.clone()[0..set_length]; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:440:41 [INFO] [stdout] | [INFO] [stdout] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | unsafe { std::mem::transmute([s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { std::mem::transmute([s[3], s[2], s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/conversions.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { std::mem::transmute([s[7], s[6], s[5], s[4], s[3], s[2], s[1], s[0]]) } [INFO] [stdout] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "99608ddd76933417d5e7418d7659a5c11bc7e36b1a55e8eb4d102c58dde610ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99608ddd76933417d5e7418d7659a5c11bc7e36b1a55e8eb4d102c58dde610ac", kill_on_drop: false }` [INFO] [stdout] 99608ddd76933417d5e7418d7659a5c11bc7e36b1a55e8eb4d102c58dde610ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0f4d46c3030030ae7bad6362fa8073e1e4d23b6d26c563a53f685faa3d0b5351 [INFO] running `Command { std: "docker" "start" "-a" "0f4d46c3030030ae7bad6362fa8073e1e4d23b6d26c563a53f685faa3d0b5351", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stderr] --> src/lib.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | / named!(ipfix_header <&[u8], IpfixHeader>, chain!( [INFO] [stderr] 240 | | version: ipfix_version ~ [INFO] [stderr] 241 | | length: message_length ~ [INFO] [stderr] 242 | | time: export_time ~ [INFO] [stderr] ... | [INFO] [stderr] 251 | | }} [INFO] [stderr] 252 | | )); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stderr] --> src/lib.rs:315:5 [INFO] [stderr] | [INFO] [stderr] 315 | / named!(set_header <&[u8], SetHeader>, chain!( [INFO] [stderr] 316 | | id: set_id ~ [INFO] [stderr] 317 | | length: set_length, [INFO] [stderr] 318 | | || { SetHeader { [INFO] [stderr] ... | [INFO] [stderr] 321 | | }} [INFO] [stderr] 322 | | )); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stderr] --> src/lib.rs:338:5 [INFO] [stderr] | [INFO] [stderr] 338 | / named!(template_header <&[u8], TemplateHeader>, chain!( [INFO] [stderr] 339 | | id: template_id ~ [INFO] [stderr] 340 | | field_count: field_count, [INFO] [stderr] 341 | | || { TemplateHeader { [INFO] [stderr] ... | [INFO] [stderr] 344 | | }} [INFO] [stderr] 345 | | )); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `chain`: please use [`do_parse!`](macro.do_parse.html) instead [INFO] [stderr] --> src/lib.rs:425:5 [INFO] [stderr] | [INFO] [stderr] 425 | / named!(options_template_header <&[u8], OptionsTemplateHeader>, chain!( [INFO] [stderr] 426 | | id: template_id ~ [INFO] [stderr] 427 | | field_count: field_count ~ [INFO] [stderr] 428 | | scope_field_count: scope_field_count, [INFO] [stderr] ... | [INFO] [stderr] 433 | | }} [INFO] [stderr] 434 | | )); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `named` (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/lib.rs:120:31 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result, &'static str> { [INFO] [stderr] | ^^ ^^ ------- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 120 | pub fn parse_message<'a>(&'a mut self, data: &'a [u8]) -> Result>, &'static str> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/lib.rs:130:43 [INFO] [stderr] | [INFO] [stderr] 130 | let set_bytes = &bytes.clone()[0..set_length]; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:440:41 [INFO] [stderr] | [INFO] [stderr] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set> { [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] 440 | fn parse_options_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/conversions.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | unsafe { std::mem::transmute([s[1], s[0]]) } [INFO] [stderr] | -------------------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/conversions.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { std::mem::transmute([s[3], s[2], s[1], s[0]]) } [INFO] [stderr] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/conversions.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { std::mem::transmute([s[7], s[6], s[5], s[4], s[3], s[2], s[1], s[0]]) } [INFO] [stderr] | -------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] [INFO] [stderr] warning: `ipfix` (lib) generated 11 warnings (run `cargo fix --lib -p ipfix` to apply 7 suggestions) [INFO] [stderr] warning: `ipfix` (lib test) generated 11 warnings (11 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 v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ipfix-a9d4d2ab0e601ec4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/parse.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/parse-e090a77bdf8e5677) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f4d46c3030030ae7bad6362fa8073e1e4d23b6d26c563a53f685faa3d0b5351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4d46c3030030ae7bad6362fa8073e1e4d23b6d26c563a53f685faa3d0b5351", kill_on_drop: false }` [INFO] [stdout] 0f4d46c3030030ae7bad6362fa8073e1e4d23b6d26c563a53f685faa3d0b5351