[INFO] cloning repository https://github.com/waltoconnor/ipfix_parser_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/waltoconnor/ipfix_parser_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaltoconnor%2Fipfix_parser_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaltoconnor%2Fipfix_parser_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c9840fcfcfc9889db1338a44f8c6d9a50e59146 [INFO] checking waltoconnor/ipfix_parser_rs against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaltoconnor%2Fipfix_parser_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/waltoconnor/ipfix_parser_rs [INFO] finished tweaking git repo https://github.com/waltoconnor/ipfix_parser_rs [INFO] tweaked toml for git repo https://github.com/waltoconnor/ipfix_parser_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/waltoconnor/ipfix_parser_rs on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/waltoconnor/ipfix_parser_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cfceef2de0e955fb346926657a851980da889c058adb46015bd7b89aa2db9c2 [INFO] running `Command { std: "docker" "start" "-a" "3cfceef2de0e955fb346926657a851980da889c058adb46015bd7b89aa2db9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cfceef2de0e955fb346926657a851980da889c058adb46015bd7b89aa2db9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfceef2de0e955fb346926657a851980da889c058adb46015bd7b89aa2db9c2", kill_on_drop: false }` [INFO] [stdout] 3cfceef2de0e955fb346926657a851980da889c058adb46015bd7b89aa2db9c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67eccf48c992c0535f8d09f71a3d76f74568c1065a1a8040abfb2d74df54b923 [INFO] running `Command { std: "docker" "start" "-a" "67eccf48c992c0535f8d09f71a3d76f74568c1065a1a8040abfb2d74df54b923", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking ipfix_parser_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/executor.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::{Thread, self}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/executor.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::template_ring::{TemplateRing, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Thread` [INFO] [stdout] --> src/executor.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::{Thread, self}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NEW_TEMPLATE` should have an upper camel case name [INFO] [stdout] --> src/executor.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | NEW_TEMPLATE(IPFIXTemplate) //parser thread found a new template and needs everyone to be updated [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NewTemplate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/executor.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::template_ring::{TemplateRing, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NEW_TEMPLATE` should have an upper camel case name [INFO] [stdout] --> src/executor.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | NEW_TEMPLATE(IPFIXTemplate) //parser thread found a new template and needs everyone to be updated [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NewTemplate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let collector = IPFIXCollectorHandle::start(&cfg); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | U8(u8), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - U8(u8), [INFO] [stdout] 7 + U8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | U16(u16), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - U16(u16), [INFO] [stdout] 8 + U16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | U32(u32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - U32(u32), [INFO] [stdout] 9 + U32(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | U64(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - U64(u64), [INFO] [stdout] 10 + U64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | BYTES(Vec) [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - BYTES(Vec) [INFO] [stdout] 11 + BYTES(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `en`, and `data` are never read [INFO] [stdout] --> src/parse_data.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DataRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub en: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub data: DataType [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `template` are never read [INFO] [stdout] --> src/parse_data.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DataSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 27 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | pub template: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `export_time`, `seq_num`, `data`, and `set_error_count` are never read [INFO] [stdout] --> src/parse_packet.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PacketInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub export_time: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub seq_num: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub templates: Vec, [INFO] [stdout] 18 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub set_error_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collector` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let collector = IPFIXCollectorHandle::start(&cfg); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | U8(u8), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - U8(u8), [INFO] [stdout] 7 + U8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | U16(u16), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - U16(u16), [INFO] [stdout] 8 + U16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | U32(u32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - U32(u32), [INFO] [stdout] 9 + U32(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | U64(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - U64(u64), [INFO] [stdout] 10 + U64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse_data.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | BYTES(Vec) [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - BYTES(Vec) [INFO] [stdout] 11 + BYTES(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `en`, and `data` are never read [INFO] [stdout] --> src/parse_data.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DataRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 15 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub en: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | pub data: DataType [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `template` are never read [INFO] [stdout] --> src/parse_data.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DataSet { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 27 | pub id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | pub template: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `export_time`, `seq_num`, `data`, and `set_error_count` are never read [INFO] [stdout] --> src/parse_packet.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PacketInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub export_time: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub seq_num: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub templates: Vec, [INFO] [stdout] 18 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub set_error_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "67eccf48c992c0535f8d09f71a3d76f74568c1065a1a8040abfb2d74df54b923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67eccf48c992c0535f8d09f71a3d76f74568c1065a1a8040abfb2d74df54b923", kill_on_drop: false }` [INFO] [stdout] 67eccf48c992c0535f8d09f71a3d76f74568c1065a1a8040abfb2d74df54b923