[INFO] cloning repository https://github.com/rgammans/serialpcap-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rgammans/serialpcap-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgammans%2Fserialpcap-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgammans%2Fserialpcap-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2db76dacbd3588ac5126c1584d674a451a1bb42a
[INFO] checking rgammans/serialpcap-rs against try#53f0b05ecbcf011a1f77f1c627304e87ebd05801 for pr-154492
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgammans%2Fserialpcap-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/rgammans/serialpcap-rs
[INFO] finished tweaking git repo https://github.com/rgammans/serialpcap-rs
[INFO] tweaked toml for git repo https://github.com/rgammans/serialpcap-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rgammans/serialpcap-rs on toolchain 53f0b05ecbcf011a1f77f1c627304e87ebd05801
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rgammans/serialpcap-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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "fetch" "--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]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libudev v0.3.0
[INFO] [stderr]   Downloaded byteorder_slice v3.0.0
[INFO] [stderr]   Downloaded serialport v4.7.1
[INFO] [stderr]   Downloaded gpio v0.4.1
[INFO] [stderr]   Downloaded unescaper v0.1.6
[INFO] [stderr]   Downloaded derive-into-owned v0.2.0
[INFO] [stderr]   Downloaded pcap-file v2.0.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30d0890d50dc50e01aa4fc4d1e19b33879f140c8d85e634a73eecb4f1c3abab7
[INFO] running `Command { std: "docker" "start" "-a" "30d0890d50dc50e01aa4fc4d1e19b33879f140c8d85e634a73eecb4f1c3abab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30d0890d50dc50e01aa4fc4d1e19b33879f140c8d85e634a73eecb4f1c3abab7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30d0890d50dc50e01aa4fc4d1e19b33879f140c8d85e634a73eecb4f1c3abab7", kill_on_drop: false }`
[INFO] [stdout] 30d0890d50dc50e01aa4fc4d1e19b33879f140c8d85e634a73eecb4f1c3abab7
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36c50d6580c037b2a394254b27903c0e78339804775fda35a837e692f2353c6b
[INFO] running `Command { std: "docker" "start" "-a" "36c50d6580c037b2a394254b27903c0e78339804775fda35a837e692f2353c6b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking byteorder_slice v3.0.0
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking gpio v0.4.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking clap_builder v4.5.37
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking clap v4.5.37
[INFO] [stderr]    Compiling derive-into-owned v0.2.0
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking libudev v0.3.0
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking unescaper v0.1.6
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking pcap-file v2.0.0
[INFO] [stderr]     Checking serialport v4.7.1
[INFO] [stderr]     Checking serialpcap-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SerialPortType`
[INFO] [stdout]   --> src/main.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 | use serialport::{SerialPort, SerialPortType};
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pcapng::blocks::packet`
[INFO] [stdout]   --> src/main.rs:28:49
[INFO] [stdout]    |
[INFO] [stdout] 28 | use pcap_file::{pcap::{PcapPacket, PcapWriter}, pcapng::blocks::packet, DataLink};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PortControlLines`
[INFO] [stdout]   --> src/main.rs:30:65
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::{datalink::parse_datalink, portinfo::{AnySerialPort, PortControlLines}};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Timelike` and `Utc`
[INFO] [stdout]  --> src/datalink.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Timelike, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::datalink`
[INFO] [stdout]  --> src/datalink.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::datalink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::portinfo::PortControlLines`
[INFO] [stdout]  --> src/datalink.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::portinfo::PortControlLines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/portinfo.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{default, ops::{Deref, DerefMut}};
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SerialPortType`
[INFO] [stdout]   --> src/main.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 | use serialport::{SerialPort, SerialPortType};
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pcapng::blocks::packet`
[INFO] [stdout]   --> src/main.rs:28:49
[INFO] [stdout]    |
[INFO] [stdout] 28 | use pcap_file::{pcap::{PcapPacket, PcapWriter}, pcapng::blocks::packet, DataLink};
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PortControlLines`
[INFO] [stdout]   --> src/main.rs:30:65
[INFO] [stdout]    |
[INFO] [stdout] 30 | use crate::{datalink::parse_datalink, portinfo::{AnySerialPort, PortControlLines}};
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Timelike` and `Utc`
[INFO] [stdout]  --> src/datalink.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::{Timelike, Utc};
[INFO] [stdout]   |              ^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::datalink`
[INFO] [stdout]  --> src/datalink.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::datalink;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::portinfo::PortControlLines`
[INFO] [stdout]  --> src/datalink.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::portinfo::PortControlLines;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `default`
[INFO] [stdout]  --> src/portinfo.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{default, ops::{Deref, DerefMut}};
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SerialPort`
[INFO] [stdout]  --> src/portinfo.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serialport::{self, SerialPort};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SerialPort`
[INFO] [stdout]   --> src/main.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | use serialport::{SerialPort, SerialPortType};
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SerialPort`
[INFO] [stdout]  --> src/portinfo.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serialport::{self, SerialPort};
[INFO] [stdout]   |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SerialPort`
[INFO] [stdout]   --> src/main.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 | use serialport::{SerialPort, SerialPortType};
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut control_lines_last = self.port.capture_control_lines()?;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut control_lines_last = self.port.capture_control_lines()?;
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut control_lines = self.port.capture_control_lines().
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let mut control_lines = self.port.capture_control_lines().
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `baud_rate`, `parity`, `stopbits`, and `frame_gap_ms` are never read
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct CaptureSerial {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |    baud_rate: u32,
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 58 |    parity: char,
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 59 |    stopbits: u8,
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 60 |    frame_gap_ms: u64,
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `baud_rate`, `parity`, `stopbits`, and `frame_gap_ms` are never read
[INFO] [stdout]   --> src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct CaptureSerial {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |    baud_rate: u32,
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 58 |    parity: char,
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 59 |    stopbits: u8,
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 60 |    frame_gap_ms: u64,
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.99s
[INFO] running `Command { std: "docker" "inspect" "36c50d6580c037b2a394254b27903c0e78339804775fda35a837e692f2353c6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36c50d6580c037b2a394254b27903c0e78339804775fda35a837e692f2353c6b", kill_on_drop: false }`
[INFO] [stdout] 36c50d6580c037b2a394254b27903c0e78339804775fda35a837e692f2353c6b
