[INFO] cloning repository https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoganMatrivski%2FArduino-Serial-Volume-Controller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoganMatrivski%2FArduino-Serial-Volume-Controller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a19866f58a4f6d89809553353ea3905dbf276bf6 [INFO] testing RoganMatrivski/Arduino-Serial-Volume-Controller against 1.95.0 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoganMatrivski%2FArduino-Serial-Volume-Controller" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller [INFO] finished tweaking git repo https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller [INFO] tweaked toml for git repo https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.2 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded tokio-macros v2.0.0 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded anstream v0.3.1 [INFO] [stderr] Downloaded serialport v4.2.0 [INFO] [stderr] Downloaded clap v4.2.4 [INFO] [stderr] Downloaded windows-core v0.51.0 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded aho-corasick v1.0.1 [INFO] [stderr] Downloaded clap_builder v4.2.4 [INFO] [stderr] Downloaded regex v1.8.1 [INFO] [stderr] Downloaded rustix v0.37.14 [INFO] [stderr] Downloaded regex-syntax v0.7.1 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.2 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.2 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.2 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.2 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.2 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.2 [INFO] [stderr] Downloaded linux-raw-sys v0.3.4 [INFO] [stderr] Downloaded windows v0.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16d0a4bab48b08af8f9923811a33b43eeaf4eb26b71020529d8b90d3d435597f [INFO] running `Command { std: "docker" "start" "-a" "16d0a4bab48b08af8f9923811a33b43eeaf4eb26b71020529d8b90d3d435597f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16d0a4bab48b08af8f9923811a33b43eeaf4eb26b71020529d8b90d3d435597f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d0a4bab48b08af8f9923811a33b43eeaf4eb26b71020529d8b90d3d435597f", kill_on_drop: false }` [INFO] [stdout] 16d0a4bab48b08af8f9923811a33b43eeaf4eb26b71020529d8b90d3d435597f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 663c335e56bde5abb6cce6e2b82ada99f44ff7872e62efc5ea783f09ce998957 [INFO] running `Command { std: "docker" "start" "-a" "663c335e56bde5abb6cce6e2b82ada99f44ff7872e62efc5ea783f09ce998957", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling rustix v0.37.14 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling windows-targets v0.48.2 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling windows-core v0.51.0 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling windows v0.51.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.1 [INFO] [stderr] Compiling clap_builder v4.2.4 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling serialport v4.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling tokio-macros v2.0.0 [INFO] [stderr] Compiling clap v4.2.4 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling arduino-volume-control v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug` and `trace` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, trace}; [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 macro definition: `u8_bool` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! u8_bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_LENGTH` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DATA_LENGTH: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_serial` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn write_serial(serial: &mut Box, data: &[u8]) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_serial` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn read_serial( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERBOSE_LEVEL` is never used [INFO] [stdout] --> src/init.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VERBOSE_LEVEL: &[&str] = &["info", "debug", "trace"]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize` is never used [INFO] [stdout] --> src/init.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn initialize() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_SIGNATURE` is never used [INFO] [stdout] --> src/ports.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DEVICE_SIGNATURE: [u8; 8] = [0x03, 0x55, 0x72, 0xf5, 0x1e, 0xd8, 0x06, 0x33]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ports_str` is never used [INFO] [stdout] --> src/ports.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_ports_str() -> Result, Report> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guid` is never read [INFO] [stdout] --> src/volctrl.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VolCtrl { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | pub endpoint: IAudioEndpointVolume, [INFO] [stdout] 11 | guid: *const windows::core::GUID, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VolCtrl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_volume_level`, `set_volume_level`, `get_volume_mute`, and `set_volume_mute` are never used [INFO] [stdout] --> src/volctrl.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl VolCtrl { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_volume_level(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_volume_level(&self, new_level: u8) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_volume_mute(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_volume_mute(&self, mute: bool) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "663c335e56bde5abb6cce6e2b82ada99f44ff7872e62efc5ea783f09ce998957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663c335e56bde5abb6cce6e2b82ada99f44ff7872e62efc5ea783f09ce998957", kill_on_drop: false }` [INFO] [stdout] 663c335e56bde5abb6cce6e2b82ada99f44ff7872e62efc5ea783f09ce998957 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fba437b82ae877782336b3e02b50bb8183559614e1b4f455ec99cef2075f11b3 [INFO] running `Command { std: "docker" "start" "-a" "fba437b82ae877782336b3e02b50bb8183559614e1b4f455ec99cef2075f11b3", kill_on_drop: false }` [INFO] [stderr] Compiling arduino-volume-control v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug` and `trace` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, trace}; [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 macro definition: `u8_bool` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! u8_bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_LENGTH` is never used [INFO] [stdout] --> src/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DATA_LENGTH: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_serial` is never used [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn write_serial(serial: &mut Box, data: &[u8]) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_serial` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn read_serial( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERBOSE_LEVEL` is never used [INFO] [stdout] --> src/init.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const VERBOSE_LEVEL: &[&str] = &["info", "debug", "trace"]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `initialize` is never used [INFO] [stdout] --> src/init.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn initialize() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEVICE_SIGNATURE` is never used [INFO] [stdout] --> src/ports.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const DEVICE_SIGNATURE: [u8; 8] = [0x03, 0x55, 0x72, 0xf5, 0x1e, 0xd8, 0x06, 0x33]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_ports_str` is never used [INFO] [stdout] --> src/ports.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_ports_str() -> Result, Report> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guid` is never read [INFO] [stdout] --> src/volctrl.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct VolCtrl { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | pub endpoint: IAudioEndpointVolume, [INFO] [stdout] 11 | guid: *const windows::core::GUID, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VolCtrl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_volume_level`, `set_volume_level`, `get_volume_mute`, and `set_volume_mute` are never used [INFO] [stdout] --> src/volctrl.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl VolCtrl { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn get_volume_level(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_volume_level(&self, new_level: u8) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_volume_mute(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_volume_mute(&self, mute: bool) -> Result<(), Report> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "fba437b82ae877782336b3e02b50bb8183559614e1b4f455ec99cef2075f11b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba437b82ae877782336b3e02b50bb8183559614e1b4f455ec99cef2075f11b3", kill_on_drop: false }` [INFO] [stdout] fba437b82ae877782336b3e02b50bb8183559614e1b4f455ec99cef2075f11b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b42381e979ef1c523d0d9d9227265f800b603ea7541e2a94a16c5e9b5230742a [INFO] running `Command { std: "docker" "start" "-a" "b42381e979ef1c523d0d9d9227265f800b603ea7541e2a94a16c5e9b5230742a", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `debug` and `trace` [INFO] [stderr] --> src/main.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | use tracing::{debug, trace}; [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `u8_bool` [INFO] [stderr] --> src/main.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | macro_rules! u8_bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `DATA_LENGTH` is never used [INFO] [stderr] --> src/main.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const DATA_LENGTH: usize = 16; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `write_serial` is never used [INFO] [stderr] --> src/main.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | fn write_serial(serial: &mut Box, data: &[u8]) -> Result<(), Report> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_serial` is never used [INFO] [stderr] --> src/main.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn read_serial( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `VERBOSE_LEVEL` is never used [INFO] [stderr] --> src/init.rs:18:7 [INFO] [stderr] | [INFO] [stderr] 18 | const VERBOSE_LEVEL: &[&str] = &["info", "debug", "trace"]; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `initialize` is never used [INFO] [stderr] --> src/init.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn initialize() -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEVICE_SIGNATURE` is never used [INFO] [stderr] --> src/ports.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const DEVICE_SIGNATURE: [u8; 8] = [0x03, 0x55, 0x72, 0xf5, 0x1e, 0xd8, 0x06, 0x33]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_ports_str` is never used [INFO] [stderr] --> src/ports.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | fn get_ports_str() -> Result, Report> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `guid` is never read [INFO] [stderr] --> src/volctrl.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct VolCtrl { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 10 | pub endpoint: IAudioEndpointVolume, [INFO] [stderr] 11 | guid: *const windows::core::GUID, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VolCtrl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_volume_level`, `set_volume_level`, `get_volume_mute`, and `set_volume_mute` are never used [INFO] [stderr] --> src/volctrl.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl VolCtrl { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 15 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn get_volume_level(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn set_volume_level(&self, new_level: u8) -> Result<(), Report> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn get_volume_mute(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn set_volume_mute(&self, mute: bool) -> Result<(), Report> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `arduino-volume-control` (bin "arduino-volume-control" test) generated 11 warnings (run `cargo fix --bin "arduino-volume-control" -p arduino-volume-control --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/arduino_volume_control-1a5a08c8f816b901) [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" "b42381e979ef1c523d0d9d9227265f800b603ea7541e2a94a16c5e9b5230742a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42381e979ef1c523d0d9d9227265f800b603ea7541e2a94a16c5e9b5230742a", kill_on_drop: false }` [INFO] [stdout] b42381e979ef1c523d0d9d9227265f800b603ea7541e2a94a16c5e9b5230742a