[INFO] cloning repository https://github.com/Hylian/sds011-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hylian/sds011-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHylian%2Fsds011-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHylian%2Fsds011-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fbe2face11a642a44268cfb4ba0682c4e87a9d2d
[INFO] checking Hylian/sds011-rs against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHylian%2Fsds011-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Hylian/sds011-rs
[INFO] finished tweaking git repo https://github.com/Hylian/sds011-rs
[INFO] tweaked toml for git repo https://github.com/Hylian/sds011-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Hylian/sds011-rs on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Hylian/sds011-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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libudev v0.2.0
[INFO] [stderr]   Downloaded cc v1.0.27
[INFO] [stderr]   Downloaded serialport v3.1.0
[INFO] [stderr]   Downloaded nix v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95dda9a98458702d0ac4efbc40529a6e013be600d715e52e9c5c50b10f3d682d
[INFO] running `Command { std: "docker" "start" "-a" "95dda9a98458702d0ac4efbc40529a6e013be600d715e52e9c5c50b10f3d682d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95dda9a98458702d0ac4efbc40529a6e013be600d715e52e9c5c50b10f3d682d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95dda9a98458702d0ac4efbc40529a6e013be600d715e52e9c5c50b10f3d682d", kill_on_drop: false }`
[INFO] [stdout] 95dda9a98458702d0ac4efbc40529a6e013be600d715e52e9c5c50b10f3d682d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6592bd9a5056bd8d8c353649fa5853bf4f590617940e598d8b829b9a2ffcce5
[INFO] running `Command { std: "docker" "start" "-a" "d6592bd9a5056bd8d8c353649fa5853bf4f590617940e598d8b829b9a2ffcce5", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]    Compiling pkg-config v0.3.14
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking libudev v0.2.0
[INFO] [stderr]     Checking serialport v3.1.0
[INFO] [stderr]     Checking sds011-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{self, Write};
[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: `Write`
[INFO] [stdout]  --> src/main.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{self, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (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:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Ok(mut port) => port,
[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: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Ok(t) => (),
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 Ok(t) => {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pm2_5` and `pm10` are never read
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct SdsData {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 10 |     pm2_5 : u16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     pm10 : u16,
[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 `checksum` and `tail` are never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct SdsDataPacket {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     checksum : u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     tail : u8
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Ok(mut port) => port,
[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: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:55:16
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Ok(t) => (),
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:63:20
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 Ok(t) => {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `pm2_5` and `pm10` are never read
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct SdsData {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 10 |     pm2_5 : u16,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 11 |     pm10 : u16,
[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 `checksum` and `tail` are never read
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct SdsDataPacket {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     checksum : u8,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     tail : u8
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.60s
[INFO] running `Command { std: "docker" "inspect" "d6592bd9a5056bd8d8c353649fa5853bf4f590617940e598d8b829b9a2ffcce5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6592bd9a5056bd8d8c353649fa5853bf4f590617940e598d8b829b9a2ffcce5", kill_on_drop: false }`
[INFO] [stdout] d6592bd9a5056bd8d8c353649fa5853bf4f590617940e598d8b829b9a2ffcce5
