[INFO] cloning repository https://github.com/pkmollman/bgp-mrt-rib-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pkmollman/bgp-mrt-rib-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmollman%2Fbgp-mrt-rib-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmollman%2Fbgp-mrt-rib-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6160900e575b741a571e4a1f6f45b4b8ae76942f [INFO] checking pkmollman/bgp-mrt-rib-cli against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkmollman%2Fbgp-mrt-rib-cli" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pkmollman/bgp-mrt-rib-cli [INFO] finished tweaking git repo https://github.com/pkmollman/bgp-mrt-rib-cli [INFO] tweaked toml for git repo https://github.com/pkmollman/bgp-mrt-rib-cli written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pkmollman/bgp-mrt-rib-cli on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pkmollman/bgp-mrt-rib-cli 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0738187cfde16aa8dedd5df681edd476ff072b7fc43a546ec3b5b27409d07db0 [INFO] running `Command { std: "docker" "start" "-a" "0738187cfde16aa8dedd5df681edd476ff072b7fc43a546ec3b5b27409d07db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0738187cfde16aa8dedd5df681edd476ff072b7fc43a546ec3b5b27409d07db0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0738187cfde16aa8dedd5df681edd476ff072b7fc43a546ec3b5b27409d07db0", kill_on_drop: false }` [INFO] [stdout] 0738187cfde16aa8dedd5df681edd476ff072b7fc43a546ec3b5b27409d07db0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8a42637b322e1f88cac516e78b471586a664eadd1ee554fc47ba92a4258a805 [INFO] running `Command { std: "docker" "start" "-a" "e8a42637b322e1f88cac516e78b471586a664eadd1ee554fc47ba92a4258a805", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking mrt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 535 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Subcommand` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Parser, Subcommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:535:5 [INFO] [stdout] | [INFO] [stdout] 535 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:483:29 [INFO] [stdout] | [INFO] [stdout] 483 | let mut value = vec![0; length as usize]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `length` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct CommonHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MRTType` is never used [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum MRTType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableDump` is never constructed [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct TableDump { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableDumpV2` is never constructed [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct TableDumpV2 {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableDumpV2Subtype` is never used [INFO] [stdout] --> src/main.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum TableDumpV2Subtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collector_bgp_id`, `view_name`, and `peers` are never read [INFO] [stdout] --> src/main.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | struct PeerIndexTable { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 142 | collector_bgp_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | view_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 144 | peers: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerIndexTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bgp_id`, `asn`, and `address` are never read [INFO] [stdout] --> src/main.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct PeerEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 262 | bgp_id: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 263 | asn: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 264 | address: IpAddr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_number`, `prefix_length`, `prefix`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 268 | struct RIBIPV4UNICAST { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 269 | sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | prefix_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 271 | prefix: IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 272 | entry_count: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 273 | entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RIBIPV4UNICAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_index`, `originated_time`, `attribute_length`, and `attributes` are never read [INFO] [stdout] --> src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | struct RIBEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 278 | peer_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 279 | originated_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 280 | attribute_length: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RIBEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `type_code`, `length`, and `value` are never read [INFO] [stdout] --> src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | struct RIBAttribute { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 286 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 287 | type_code: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 288 | length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 289 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RIBAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:483:29 [INFO] [stdout] | [INFO] [stdout] 483 | let mut value = vec![0; length as usize]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `length` are never read [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct CommonHeader { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MRTType` is never used [INFO] [stdout] --> src/main.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum MRTType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableDump` is never constructed [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct TableDump { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableDumpV2` is never constructed [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct TableDumpV2 {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableDumpV2Subtype` is never used [INFO] [stdout] --> src/main.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum TableDumpV2Subtype { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `collector_bgp_id`, `view_name`, and `peers` are never read [INFO] [stdout] --> src/main.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 141 | struct PeerIndexTable { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 142 | collector_bgp_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 143 | view_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 144 | peers: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerIndexTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bgp_id`, `asn`, and `address` are never read [INFO] [stdout] --> src/main.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct PeerEntry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 262 | bgp_id: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 263 | asn: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 264 | address: IpAddr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_number`, `prefix_length`, `prefix`, `entry_count`, and `entries` are never read [INFO] [stdout] --> src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 268 | struct RIBIPV4UNICAST { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 269 | sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | prefix_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 271 | prefix: IpAddr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 272 | entry_count: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 273 | entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RIBIPV4UNICAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_index`, `originated_time`, `attribute_length`, and `attributes` are never read [INFO] [stdout] --> src/main.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 277 | struct RIBEntry { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 278 | peer_index: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 279 | originated_time: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 280 | attribute_length: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 281 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RIBEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `type_code`, `length`, and `value` are never read [INFO] [stdout] --> src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | struct RIBAttribute { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 286 | flags: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 287 | type_code: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 288 | length: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 289 | value: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RIBAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.55s [INFO] running `Command { std: "docker" "inspect" "e8a42637b322e1f88cac516e78b471586a664eadd1ee554fc47ba92a4258a805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a42637b322e1f88cac516e78b471586a664eadd1ee554fc47ba92a4258a805", kill_on_drop: false }` [INFO] [stdout] e8a42637b322e1f88cac516e78b471586a664eadd1ee554fc47ba92a4258a805