[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.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoganMatrivski%2FArduino-Serial-Volume-Controller" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RoganMatrivski/Arduino-Serial-Volume-Controller on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [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.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstream v0.3.1 [INFO] [stderr] Downloaded clap_builder v4.2.4 [INFO] [stderr] Downloaded windows-core v0.51.0 [INFO] [stderr] Downloaded clap v4.2.4 [INFO] [stderr] Downloaded serialport v4.2.0 [INFO] [stderr] Downloaded windows v0.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5476a47d687e4e771e9cc3ab5647a9fdb3491c5c06309f60a71b3b655a2ea123 [INFO] running `Command { std: "docker" "start" "-a" "5476a47d687e4e771e9cc3ab5647a9fdb3491c5c06309f60a71b3b655a2ea123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5476a47d687e4e771e9cc3ab5647a9fdb3491c5c06309f60a71b3b655a2ea123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5476a47d687e4e771e9cc3ab5647a9fdb3491c5c06309f60a71b3b655a2ea123", kill_on_drop: false }` [INFO] [stdout] 5476a47d687e4e771e9cc3ab5647a9fdb3491c5c06309f60a71b3b655a2ea123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7ac9b4c6c9bd05998d029547cc2d27d8dabc82f4cb5b6185865c5bf04cb36fa [INFO] running `Command { std: "docker" "start" "-a" "d7ac9b4c6c9bd05998d029547cc2d27d8dabc82f4cb5b6185865c5bf04cb36fa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling rustix v0.37.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.7.1 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.2 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling linux-raw-sys v0.3.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling windows-targets v0.48.2 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.8.1 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling windows-core v0.51.0 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.1 [INFO] [stderr] Compiling windows v0.51.0 [INFO] [stderr] Compiling clap_builder v4.2.4 [INFO] [stderr] Compiling serialport v4.2.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling tokio-macros v2.0.0 [INFO] [stderr] Compiling clap_derive v4.2.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling clap v4.2.4 [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)]` 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)]` 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)]` 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 06s [INFO] running `Command { std: "docker" "inspect" "d7ac9b4c6c9bd05998d029547cc2d27d8dabc82f4cb5b6185865c5bf04cb36fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ac9b4c6c9bd05998d029547cc2d27d8dabc82f4cb5b6185865c5bf04cb36fa", kill_on_drop: false }` [INFO] [stdout] d7ac9b4c6c9bd05998d029547cc2d27d8dabc82f4cb5b6185865c5bf04cb36fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e81bd64a90a350a1b58c35226d7cd5bf7297b4fdd73f46c85ca230595aeb2e9 [INFO] running `Command { std: "docker" "start" "-a" "4e81bd64a90a350a1b58c35226d7cd5bf7297b4fdd73f46c85ca230595aeb2e9", 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)]` 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)]` 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)]` 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 0.64s [INFO] running `Command { std: "docker" "inspect" "4e81bd64a90a350a1b58c35226d7cd5bf7297b4fdd73f46c85ca230595aeb2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e81bd64a90a350a1b58c35226d7cd5bf7297b4fdd73f46c85ca230595aeb2e9", kill_on_drop: false }` [INFO] [stdout] 4e81bd64a90a350a1b58c35226d7cd5bf7297b4fdd73f46c85ca230595aeb2e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c49cad01c778debeeb674a44dca8133e41a6e3dc76e0951b4f69d48054cd5a05 [INFO] running `Command { std: "docker" "start" "-a" "c49cad01c778debeeb674a44dca8133e41a6e3dc76e0951b4f69d48054cd5a05", 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)]` 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)]` 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)]` 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" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/arduino_volume_control-c8e7b820bd3a6c0a) [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" "c49cad01c778debeeb674a44dca8133e41a6e3dc76e0951b4f69d48054cd5a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c49cad01c778debeeb674a44dca8133e41a6e3dc76e0951b4f69d48054cd5a05", kill_on_drop: false }` [INFO] [stdout] c49cad01c778debeeb674a44dca8133e41a6e3dc76e0951b4f69d48054cd5a05