[INFO] fetching crate ipfix 0.1.1... [INFO] testing ipfix-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate ipfix 0.1.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ipfix 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+1.90.0" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d31622cdedeb2bc4d2c3c6e65252ee8c5cb7478bde8aa373f003622fe2f68c68 [INFO] running `Command { std: "docker" "start" "-a" "d31622cdedeb2bc4d2c3c6e65252ee8c5cb7478bde8aa373f003622fe2f68c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31622cdedeb2bc4d2c3c6e65252ee8c5cb7478bde8aa373f003622fe2f68c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31622cdedeb2bc4d2c3c6e65252ee8c5cb7478bde8aa373f003622fe2f68c68", kill_on_drop: false }` [INFO] [stdout] d31622cdedeb2bc4d2c3c6e65252ee8c5cb7478bde8aa373f003622fe2f68c68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 290f62d683a2fe80149f66058459607431a5ff5aa32fa5d1892e4646439ff15c [INFO] running `Command { std: "docker" "start" "-a" "290f62d683a2fe80149f66058459607431a5ff5aa32fa5d1892e4646439ff15c", 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: hiding a lifetime that's named elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 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 2.22s [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" "290f62d683a2fe80149f66058459607431a5ff5aa32fa5d1892e4646439ff15c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290f62d683a2fe80149f66058459607431a5ff5aa32fa5d1892e4646439ff15c", kill_on_drop: false }` [INFO] [stdout] 290f62d683a2fe80149f66058459607431a5ff5aa32fa5d1892e4646439ff15c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e616df4058469b58f496a9ed9e222cd487178812c7bb4fb2bf895416412ad1f [INFO] running `Command { std: "docker" "start" "-a" "0e616df4058469b58f496a9ed9e222cd487178812c7bb4fb2bf895416412ad1f", 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: hiding a lifetime that's named elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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] [stderr] Compiling ipfix v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 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] [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: hiding a lifetime that's named elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 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.90s [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" "0e616df4058469b58f496a9ed9e222cd487178812c7bb4fb2bf895416412ad1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e616df4058469b58f496a9ed9e222cd487178812c7bb4fb2bf895416412ad1f", kill_on_drop: false }` [INFO] [stdout] 0e616df4058469b58f496a9ed9e222cd487178812c7bb4fb2bf895416412ad1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4c13c2a7dcde2ff288fa5e53976136aff8464bab273bf572e83d57451429a15f [INFO] running `Command { std: "docker" "start" "-a" "4c13c2a7dcde2ff288fa5e53976136aff8464bab273bf572e83d57451429a15f", 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: hiding a lifetime that's named elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is elided here the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 351 | fn parse_template_set(mut data: &[u8], set_header: SetHeader) -> nom::IResult<&[u8], Set<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is elided here the same lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 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 4 suggestions) [INFO] [stderr] warning: `ipfix` (lib test) generated 11 warnings (11 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 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/debug/deps/ipfix-58cfc6a934538a22) [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/debug/deps/parse-1af0752d46cc55d9) [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] [stderr] Doc-tests ipfix [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] running `Command { std: "docker" "inspect" "4c13c2a7dcde2ff288fa5e53976136aff8464bab273bf572e83d57451429a15f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c13c2a7dcde2ff288fa5e53976136aff8464bab273bf572e83d57451429a15f", kill_on_drop: false }` [INFO] [stdout] 4c13c2a7dcde2ff288fa5e53976136aff8464bab273bf572e83d57451429a15f