[INFO] cloning repository https://github.com/hawkw/sen5x-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hawkw/sen5x-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawkw%2Fsen5x-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawkw%2Fsen5x-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 37138f18feeb9fe43ea6ef2491ff179a5dd5767b
[INFO] checking hawkw/sen5x-rs against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhawkw%2Fsen5x-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hawkw/sen5x-rs
[INFO] finished tweaking git repo https://github.com/hawkw/sen5x-rs
[INFO] tweaked toml for git repo https://github.com/hawkw/sen5x-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hawkw/sen5x-rs on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hawkw/sen5x-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bfddbda46fc88ab1809cdfac849ffca39277eef39437c8ab20cf1e5d1443705c
[INFO] running `Command { std: "docker" "start" "-a" "bfddbda46fc88ab1809cdfac849ffca39277eef39437c8ab20cf1e5d1443705c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bfddbda46fc88ab1809cdfac849ffca39277eef39437c8ab20cf1e5d1443705c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfddbda46fc88ab1809cdfac849ffca39277eef39437c8ab20cf1e5d1443705c", kill_on_drop: false }`
[INFO] [stdout] bfddbda46fc88ab1809cdfac849ffca39277eef39437c8ab20cf1e5d1443705c
[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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 568ff2a159de5ce72453a60cc2daf79b3883a8c00f7b9d474fbe22eec202c8b4
[INFO] running `Command { std: "docker" "start" "-a" "568ff2a159de5ce72453a60cc2daf79b3883a8c00f7b9d474fbe22eec202c8b4", kill_on_drop: false }`
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking sensirion-i2c v0.4.0
[INFO] [stderr]     Checking sensor-sen5x v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `I2C_ADDR` is never used
[INFO] [stdout]  --> src/lib.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const I2C_ADDR: u8 = 0x69; // nice!
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check` is never used
[INFO] [stdout]   --> src/lib.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Mode {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 72 |     pub(crate) fn check<E>(self, expected: Self) -> Result<(), Error<E>> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReadCommand` is never used
[INFO] [stdout]  --> src/cmd.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) trait ReadCommand {
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteCommand` is never used
[INFO] [stdout]  --> src/cmd.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) trait WriteCommand {
[INFO] [stdout]   |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteDataCommand` is never used
[INFO] [stdout]   --> src/cmd.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) trait WriteDataCommand: WriteCommand {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadDataReady` is never constructed
[INFO] [stdout]   --> src/cmd.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     struct ReadDataReady<msg::DataReady>: 0x0202, 20 ms, [3];
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadMeasurement` is never constructed
[INFO] [stdout]   --> src/cmd.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     struct ReadMeasurement<msg::Measurements>: 0x03C4, 20 ms, [24];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadRawSignals` is never constructed
[INFO] [stdout]   --> src/cmd.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     struct ReadRawSignals<msg::RawSignals>: 0x03D2, 20 ms, [12];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadProductName` is never constructed
[INFO] [stdout]   --> src/cmd.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     struct ReadProductName<msg::RawString>: 0xD014, 20 ms, [47];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadSerialNumber` is never constructed
[INFO] [stdout]   --> src/cmd.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     struct ReadSerialNumber<msg::RawString>: 0xD033, 20 ms, [47];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WarmStartParameter` is never constructed
[INFO] [stdout]   --> src/cmd.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     struct WarmStartParameter<u16>: 0x60C6, 20 ms, [3];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartMeasurement` is never constructed
[INFO] [stdout]   --> src/cmd.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     struct StartMeasurement: 0x0021, 50 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartMeasurementNoParticulates` is never constructed
[INFO] [stdout]   --> src/cmd.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     struct StartMeasurementNoParticulates: 0x0037, 50 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StopMeasurement` is never constructed
[INFO] [stdout]   --> src/cmd.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     struct StopMeasurement: 0x0104, 200 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartFanCleaning` is never constructed
[INFO] [stdout]   --> src/cmd.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     struct StartFanCleaning: 0x5607, 20 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Reset` is never constructed
[INFO] [stdout]   --> src/cmd.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |     struct Reset: 0xD304, 100 ms;
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `RawString` is never constructed
[INFO] [stdout]   --> src/msg.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct RawString {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Measurements` is never constructed
[INFO] [stdout]   --> src/msg.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct Measurements {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `RawSignals` is never constructed
[INFO] [stdout]   --> src/msg.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct RawSignals {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Decode` is never used
[INFO] [stdout]  --> src/msg.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) trait Decode: Sized {
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Encode` is never used
[INFO] [stdout]  --> src/msg.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) trait Encode: Sized {
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataReady` is never constructed
[INFO] [stdout]   --> src/msg.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub(crate) struct DataReady(pub(crate) bool);
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `msg` is never used
[INFO] [stdout]    --> src/msg.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl DecodeError {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn msg(_: &'static str) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push_char` is never used
[INFO] [stdout]    --> src/msg.rs:405:8
[INFO] [stdout]     |
[INFO] [stdout] 397 | impl RawString {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 405 |     fn push_char(&mut self, c: u8) -> Result<bool, DecodeError> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `I2C_ADDR` is never used
[INFO] [stdout]  --> src/lib.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const I2C_ADDR: u8 = 0x69; // nice!
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check` is never used
[INFO] [stdout]   --> src/lib.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Mode {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 72 |     pub(crate) fn check<E>(self, expected: Self) -> Result<(), Error<E>> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ReadCommand` is never used
[INFO] [stdout]  --> src/cmd.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) trait ReadCommand {
[INFO] [stdout]   |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteCommand` is never used
[INFO] [stdout]  --> src/cmd.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) trait WriteCommand {
[INFO] [stdout]   |                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `WriteDataCommand` is never used
[INFO] [stdout]   --> src/cmd.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub(crate) trait WriteDataCommand: WriteCommand {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadDataReady` is never constructed
[INFO] [stdout]   --> src/cmd.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     struct ReadDataReady<msg::DataReady>: 0x0202, 20 ms, [3];
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadMeasurement` is never constructed
[INFO] [stdout]   --> src/cmd.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 |     struct ReadMeasurement<msg::Measurements>: 0x03C4, 20 ms, [24];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadRawSignals` is never constructed
[INFO] [stdout]   --> src/cmd.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     struct ReadRawSignals<msg::RawSignals>: 0x03D2, 20 ms, [12];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadProductName` is never constructed
[INFO] [stdout]   --> src/cmd.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     struct ReadProductName<msg::RawString>: 0xD014, 20 ms, [47];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadSerialNumber` is never constructed
[INFO] [stdout]   --> src/cmd.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     struct ReadSerialNumber<msg::RawString>: 0xD033, 20 ms, [47];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WarmStartParameter` is never constructed
[INFO] [stdout]   --> src/cmd.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 58 |     struct WarmStartParameter<u16>: 0x60C6, 20 ms, [3];
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_read_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartMeasurement` is never constructed
[INFO] [stdout]   --> src/cmd.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 |     struct StartMeasurement: 0x0021, 50 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartMeasurementNoParticulates` is never constructed
[INFO] [stdout]   --> src/cmd.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 |     struct StartMeasurementNoParticulates: 0x0037, 50 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StopMeasurement` is never constructed
[INFO] [stdout]   --> src/cmd.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |     struct StopMeasurement: 0x0104, 200 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StartFanCleaning` is never constructed
[INFO] [stdout]   --> src/cmd.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 |     struct StartFanCleaning: 0x5607, 20 ms;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Reset` is never constructed
[INFO] [stdout]   --> src/cmd.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 |     struct Reset: 0xD304, 100 ms;
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `define_write_commands` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `RawString` is never constructed
[INFO] [stdout]   --> src/msg.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct RawString {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Measurements` is never constructed
[INFO] [stdout]   --> src/msg.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub struct Measurements {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `RawSignals` is never constructed
[INFO] [stdout]   --> src/msg.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 95 | pub struct RawSignals {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Decode` is never used
[INFO] [stdout]  --> src/msg.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) trait Decode: Sized {
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Encode` is never used
[INFO] [stdout]  --> src/msg.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) trait Encode: Sized {
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataReady` is never constructed
[INFO] [stdout]   --> src/msg.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub(crate) struct DataReady(pub(crate) bool);
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `msg` is never used
[INFO] [stdout]    --> src/msg.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 147 | impl DecodeError {
[INFO] [stdout]     | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 154 |     fn msg(_: &'static str) -> Self {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `push_char` is never used
[INFO] [stdout]    --> src/msg.rs:405:8
[INFO] [stdout]     |
[INFO] [stdout] 397 | impl RawString {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 405 |     fn push_char(&mut self, c: u8) -> Result<bool, DecodeError> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sensor-sen5x` (lib) due to 3 previous errors; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sensor-sen5x` (lib test) due to 3 previous errors; 21 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "568ff2a159de5ce72453a60cc2daf79b3883a8c00f7b9d474fbe22eec202c8b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "568ff2a159de5ce72453a60cc2daf79b3883a8c00f7b9d474fbe22eec202c8b4", kill_on_drop: false }`
[INFO] [stdout] 568ff2a159de5ce72453a60cc2daf79b3883a8c00f7b9d474fbe22eec202c8b4
