[INFO] fetching crate serialkiller 0.0.1... [INFO] testing serialkiller-0.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate serialkiller 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate serialkiller 0.0.1 [INFO] finished tweaking crates.io crate serialkiller 0.0.1 [INFO] tweaked toml for crates.io crate serialkiller 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serialkiller 0.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate serialkiller 0.0.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 943dc11d892b868f2420e8ec0ee18fdad4e511827d7ba9708a84792a547a20f8 [INFO] running `Command { std: "docker" "start" "-a" "943dc11d892b868f2420e8ec0ee18fdad4e511827d7ba9708a84792a547a20f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "943dc11d892b868f2420e8ec0ee18fdad4e511827d7ba9708a84792a547a20f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943dc11d892b868f2420e8ec0ee18fdad4e511827d7ba9708a84792a547a20f8", kill_on_drop: false }` [INFO] [stdout] 943dc11d892b868f2420e8ec0ee18fdad4e511827d7ba9708a84792a547a20f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72105ddbcfea34e83802438febd05dbd15a5bece1a6b0039dc046fd1a5bf060e [INFO] running `Command { std: "docker" "start" "-a" "72105ddbcfea34e83802438febd05dbd15a5bece1a6b0039dc046fd1a5bf060e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling instability v0.3.10 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling serialport v4.8.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling tui-input v0.14.0 [INFO] [stderr] Compiling serialkiller v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `baud_rate` [INFO] [stdout] --> src/serialmock.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | fn set_baud_rate(&mut self, baud_rate: u32) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_baud_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_bits` [INFO] [stdout] --> src/serialmock.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | fn set_data_bits(&mut self, data_bits: serialport::DataBits) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow_control` [INFO] [stdout] --> src/serialmock.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | flow_control: serialport::FlowControl, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flow_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parity` [INFO] [stdout] --> src/serialmock.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | fn set_parity(&mut self, parity: serialport::Parity) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop_bits` [INFO] [stdout] --> src/serialmock.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | fn set_stop_bits(&mut self, stop_bits: serialport::StopBits) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/serialmock.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | fn set_timeout(&mut self, timeout: std::time::Duration) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/serialmock.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | fn write_request_to_send(&mut self, level: bool) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/serialmock.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | fn write_data_terminal_ready(&mut self, level: bool) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_to_clear` [INFO] [stdout] --> src/serialmock.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | fn clear(&self, buffer_to_clear: serialport::ClearBuffer) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_to_clear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerialMock` is never constructed [INFO] [stdout] --> src/serialmock.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SerialMock { [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 46.26s [INFO] running `Command { std: "docker" "inspect" "72105ddbcfea34e83802438febd05dbd15a5bece1a6b0039dc046fd1a5bf060e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72105ddbcfea34e83802438febd05dbd15a5bece1a6b0039dc046fd1a5bf060e", kill_on_drop: false }` [INFO] [stdout] 72105ddbcfea34e83802438febd05dbd15a5bece1a6b0039dc046fd1a5bf060e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00e8fd3e8368662e4e81c544060b178eb3af68e47bf6a93358e77658c92f6c81 [INFO] running `Command { std: "docker" "start" "-a" "00e8fd3e8368662e4e81c544060b178eb3af68e47bf6a93358e77658c92f6c81", kill_on_drop: false }` [INFO] [stderr] Compiling serialkiller v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `baud_rate` [INFO] [stdout] --> src/serialmock.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | fn set_baud_rate(&mut self, baud_rate: u32) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_baud_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_bits` [INFO] [stdout] --> src/serialmock.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | fn set_data_bits(&mut self, data_bits: serialport::DataBits) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow_control` [INFO] [stdout] --> src/serialmock.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | flow_control: serialport::FlowControl, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flow_control` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parity` [INFO] [stdout] --> src/serialmock.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | fn set_parity(&mut self, parity: serialport::Parity) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stop_bits` [INFO] [stdout] --> src/serialmock.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | fn set_stop_bits(&mut self, stop_bits: serialport::StopBits) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/serialmock.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | fn set_timeout(&mut self, timeout: std::time::Duration) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/serialmock.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | fn write_request_to_send(&mut self, level: bool) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/serialmock.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | fn write_data_terminal_ready(&mut self, level: bool) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_to_clear` [INFO] [stdout] --> src/serialmock.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | fn clear(&self, buffer_to_clear: serialport::ClearBuffer) -> serialport::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_to_clear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerialMock` is never constructed [INFO] [stdout] --> src/serialmock.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SerialMock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "00e8fd3e8368662e4e81c544060b178eb3af68e47bf6a93358e77658c92f6c81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e8fd3e8368662e4e81c544060b178eb3af68e47bf6a93358e77658c92f6c81", kill_on_drop: false }` [INFO] [stdout] 00e8fd3e8368662e4e81c544060b178eb3af68e47bf6a93358e77658c92f6c81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3bb0febdc4360c05be23015274944ec195207da252368eaa614af773f6808267 [INFO] running `Command { std: "docker" "start" "-a" "3bb0febdc4360c05be23015274944ec195207da252368eaa614af773f6808267", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `baud_rate` [INFO] [stderr] --> src/serialmock.rs:63:33 [INFO] [stderr] | [INFO] [stderr] 63 | fn set_baud_rate(&mut self, baud_rate: u32) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_baud_rate` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data_bits` [INFO] [stderr] --> src/serialmock.rs:67:33 [INFO] [stderr] | [INFO] [stderr] 67 | fn set_data_bits(&mut self, data_bits: serialport::DataBits) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_bits` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flow_control` [INFO] [stderr] --> src/serialmock.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | flow_control: serialport::FlowControl, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flow_control` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parity` [INFO] [stderr] --> src/serialmock.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | fn set_parity(&mut self, parity: serialport::Parity) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parity` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stop_bits` [INFO] [stderr] --> src/serialmock.rs:82:33 [INFO] [stderr] | [INFO] [stderr] 82 | fn set_stop_bits(&mut self, stop_bits: serialport::StopBits) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stop_bits` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timeout` [INFO] [stderr] --> src/serialmock.rs:86:31 [INFO] [stderr] | [INFO] [stderr] 86 | fn set_timeout(&mut self, timeout: std::time::Duration) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/serialmock.rs:90:41 [INFO] [stderr] | [INFO] [stderr] 90 | fn write_request_to_send(&mut self, level: bool) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `level` [INFO] [stderr] --> src/serialmock.rs:94:45 [INFO] [stderr] | [INFO] [stderr] 94 | fn write_data_terminal_ready(&mut self, level: bool) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buffer_to_clear` [INFO] [stderr] --> src/serialmock.rs:122:21 [INFO] [stderr] | [INFO] [stderr] 122 | fn clear(&self, buffer_to_clear: serialport::ClearBuffer) -> serialport::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_to_clear` [INFO] [stderr] [INFO] [stderr] warning: struct `SerialMock` is never constructed [INFO] [stderr] --> src/serialmock.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct SerialMock { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `serialkiller` (bin "serialkiller" test) generated 10 warnings (run `cargo fix --bin "serialkiller" -p serialkiller --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/serialkiller-2490c29112f3f594) [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" "3bb0febdc4360c05be23015274944ec195207da252368eaa614af773f6808267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bb0febdc4360c05be23015274944ec195207da252368eaa614af773f6808267", kill_on_drop: false }` [INFO] [stdout] 3bb0febdc4360c05be23015274944ec195207da252368eaa614af773f6808267