[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 master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwaltoconnor%2Fipfix_parser_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/waltoconnor/ipfix_parser_rs on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58393611a17a9db7c9e4f670890168bcc38e032c0fd6c09cd74baf418df0273d [INFO] running `Command { std: "docker" "start" "-a" "58393611a17a9db7c9e4f670890168bcc38e032c0fd6c09cd74baf418df0273d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58393611a17a9db7c9e4f670890168bcc38e032c0fd6c09cd74baf418df0273d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58393611a17a9db7c9e4f670890168bcc38e032c0fd6c09cd74baf418df0273d", kill_on_drop: false }` [INFO] [stdout] 58393611a17a9db7c9e4f670890168bcc38e032c0fd6c09cd74baf418df0273d [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=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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 026da71781eab98e8ef96f7205e7b276a449d41ed679e9acfe3878d50b3ff81f [INFO] running `Command { std: "docker" "start" "-a" "026da71781eab98e8ef96f7205e7b276a449d41ed679e9acfe3878d50b3ff81f", 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: 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: `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: 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(()), [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(()), [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(()), [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(()), [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(()) [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(()), [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(()), [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(()), [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(()), [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(()) [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 3.39s [INFO] running `Command { std: "docker" "inspect" "026da71781eab98e8ef96f7205e7b276a449d41ed679e9acfe3878d50b3ff81f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "026da71781eab98e8ef96f7205e7b276a449d41ed679e9acfe3878d50b3ff81f", kill_on_drop: false }` [INFO] [stdout] 026da71781eab98e8ef96f7205e7b276a449d41ed679e9acfe3878d50b3ff81f