[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 try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHylian%2Fsds011-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Hylian/sds011-rs on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.2.7
[INFO] [stderr]   Downloaded aho-corasick v0.6.9
[INFO] [stderr]   Downloaded memchr v2.1.2
[INFO] [stderr]   Downloaded serialport v3.1.0
[INFO] [stderr]   Downloaded cc v1.0.27
[INFO] [stderr]   Downloaded regex-syntax v0.6.4
[INFO] [stderr]   Downloaded libc v0.2.45
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a569825ed86ff16da4cce81d67f3d900de2f4f3264c98f849019fe7bde6d0b63
[INFO] running `Command { std: "docker" "start" "-a" "a569825ed86ff16da4cce81d67f3d900de2f4f3264c98f849019fe7bde6d0b63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a569825ed86ff16da4cce81d67f3d900de2f4f3264c98f849019fe7bde6d0b63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a569825ed86ff16da4cce81d67f3d900de2f4f3264c98f849019fe7bde6d0b63", kill_on_drop: false }`
[INFO] [stdout] a569825ed86ff16da4cce81d67f3d900de2f4f3264c98f849019fe7bde6d0b63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28f26764658b4119599870c5f551703cfab77eeaf3da0620d4d8e94cadfcf50d
[INFO] running `Command { std: "docker" "start" "-a" "28f26764658b4119599870c5f551703cfab77eeaf3da0620d4d8e94cadfcf50d", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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 void v1.0.2
[INFO] [stderr]     Checking cfg-if v0.1.6
[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 4.73s
[INFO] running `Command { std: "docker" "inspect" "28f26764658b4119599870c5f551703cfab77eeaf3da0620d4d8e94cadfcf50d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28f26764658b4119599870c5f551703cfab77eeaf3da0620d4d8e94cadfcf50d", kill_on_drop: false }`
[INFO] [stdout] 28f26764658b4119599870c5f551703cfab77eeaf3da0620d4d8e94cadfcf50d
