[INFO] cloning repository https://github.com/Th3Whit3Wolf/bulbb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Th3Whit3Wolf/bulbb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTh3Whit3Wolf%2Fbulbb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTh3Whit3Wolf%2Fbulbb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d43e84c01f5d1eb526f5682e46eac4f51a4cf485 [INFO] testing Th3Whit3Wolf/bulbb against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTh3Whit3Wolf%2Fbulbb" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Th3Whit3Wolf/bulbb on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Th3Whit3Wolf/bulbb [INFO] finished tweaking git repo https://github.com/Th3Whit3Wolf/bulbb [INFO] tweaked toml for git repo https://github.com/Th3Whit3Wolf/bulbb written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nb-connect v1.2.0 [INFO] [stderr] Downloaded zbus_macros v1.9.2 [INFO] [stderr] Downloaded zbus v1.9.2 [INFO] [stderr] Downloaded zvariant v2.10.0 [INFO] [stderr] Downloaded zvariant_derive v2.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5e859bbb1df49cb87d6b75f898b2413a0aeba95d341ab2d4038d62147ba80e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a5e859bbb1df49cb87d6b75f898b2413a0aeba95d341ab2d4038d62147ba80e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5e859bbb1df49cb87d6b75f898b2413a0aeba95d341ab2d4038d62147ba80e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5e859bbb1df49cb87d6b75f898b2413a0aeba95d341ab2d4038d62147ba80e1", kill_on_drop: false }` [INFO] [stdout] a5e859bbb1df49cb87d6b75f898b2413a0aeba95d341ab2d4038d62147ba80e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ded1423d6788657187325b9257f9f4bcd0ee2e1d628628793a80c38bec69ddd8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ded1423d6788657187325b9257f9f4bcd0ee2e1d628628793a80c38bec69ddd8", kill_on_drop: false }` [INFO] [stderr] Compiling bulbb v0.0.4-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `format_monitor_device` [INFO] [stdout] --> src/utils/linux.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn format_monitor_device(bl: MonitorDevice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_led_device` [INFO] [stdout] --> src/utils/linux.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn format_led_device(led: LedDevice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/misc/linux.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn new() -> LedFilterable<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_device_name` [INFO] [stdout] --> src/misc/linux.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_color` [INFO] [stdout] --> src/misc/linux.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_function` [INFO] [stdout] --> src/misc/linux.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finish` [INFO] [stdout] --> src/misc/linux.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "ded1423d6788657187325b9257f9f4bcd0ee2e1d628628793a80c38bec69ddd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ded1423d6788657187325b9257f9f4bcd0ee2e1d628628793a80c38bec69ddd8", kill_on_drop: false }` [INFO] [stdout] ded1423d6788657187325b9257f9f4bcd0ee2e1d628628793a80c38bec69ddd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2498ac82a64cd4caa6cc9c6cd053d7b40ff68d077cae9059f624b1b1dbf2d4d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2498ac82a64cd4caa6cc9c6cd053d7b40ff68d077cae9059f624b1b1dbf2d4d0", kill_on_drop: false }` [INFO] [stdout] warning: function is never used: `format_monitor_device` [INFO] [stdout] --> src/utils/linux.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn format_monitor_device(bl: MonitorDevice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bulbb v0.0.4-alpha.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `format_led_device` [INFO] [stdout] --> src/utils/linux.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn format_led_device(led: LedDevice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/misc/linux.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn new() -> LedFilterable<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_device_name` [INFO] [stdout] --> src/misc/linux.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_color` [INFO] [stdout] --> src/misc/linux.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_function` [INFO] [stdout] --> src/misc/linux.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finish` [INFO] [stdout] --> src/misc/linux.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_color` [INFO] [stdout] --> src/misc/linux.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_function` [INFO] [stdout] --> src/misc/linux.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "2498ac82a64cd4caa6cc9c6cd053d7b40ff68d077cae9059f624b1b1dbf2d4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2498ac82a64cd4caa6cc9c6cd053d7b40ff68d077cae9059f624b1b1dbf2d4d0", kill_on_drop: false }` [INFO] [stdout] 2498ac82a64cd4caa6cc9c6cd053d7b40ff68d077cae9059f624b1b1dbf2d4d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3c87e3b3b76afa5d528e35fa3b291a133519c47495c31a3ef9eb4d22dd5d66e0 [INFO] running `Command { std: "docker" "start" "-a" "3c87e3b3b76afa5d528e35fa3b291a133519c47495c31a3ef9eb4d22dd5d66e0", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `format_monitor_device` [INFO] [stderr] --> src/utils/linux.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn format_monitor_device(bl: MonitorDevice) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `format_led_device` [INFO] [stderr] --> src/utils/linux.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn format_led_device(led: LedDevice) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/misc/linux.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | fn new() -> LedFilterable<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_device_name` [INFO] [stderr] --> src/misc/linux.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_color` [INFO] [stderr] --> src/misc/linux.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_function` [INFO] [stderr] --> src/misc/linux.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `finish` [INFO] [stderr] --> src/misc/linux.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `bulbb` (lib) generated 7 warnings [INFO] [stderr] warning: associated function is never used: `with_color` [INFO] [stderr] --> src/misc/linux.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `bulbb` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bulbb-e4edda9fdacf3b83) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test misc::linux::tests::filter ... ok [INFO] [stdout] test monitor::linux::tests::set_monitor ... ok [INFO] [stdout] test monitor::linux::tests::get_all_monitor_devices ... ok [INFO] [stdout] test misc::linux::tests::parse_led_device_names ... ok [INFO] [stdout] test misc::linux::tests::get_all_led_devices ... ok [INFO] [stdout] test misc::linux::tests::get_all_keyboard_devices ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bulbb [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::set_brightness (line 374) ... ignored [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::set_brightness (line 353) ... ignored [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_max_brightness (line 318) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_brightness (line 299) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::set_brightness (line 360) ... FAILED [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_led_device (line 201) ... FAILED [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_power (line 225) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_all_keyboard_devices (line 260) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_type (line 298) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_max_brightness (line 280) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_all_monitor_devices (line 176) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_device_name (line 280) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_monitor_device (line 134) ... FAILED [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_actual_brightness (line 261) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_device_name (line 206) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::set_brightness (line 381) ... FAILED [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_brightness (line 242) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_all_led_devices (line 230) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/monitor/linux.rs - monitor::linux::MonitorDevice::set_brightness (line 360) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/monitor/linux.rs:7:1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x561766f75b5c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x561766f75b5c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x561766f75b5c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x561766f75b5c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x561766f9081c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x561766f73405 - std::io::Write::write_fmt::hc2da38dc44811df8 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x561766f77160 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x561766f77160 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x561766f77160 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x561766f76d0b - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:228:9 [INFO] [stdout] 10: 0x561766f77814 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x561766f772f0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x561766f76014 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x561766f77259 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x561766f53cd1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x561766f53c92 - core::panicking::panic_bounds_check::h63650a5dfc9aa86f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:75:5 [INFO] [stdout] 16: 0x561766f548a2 - >::index::h2dd1820a4d57e2c0 [INFO] [stdout] 17: 0x561766f546d9 - core::slice::index:: for [T]>::index::h88d6977968288d09 [INFO] [stdout] 18: 0x561766f548f7 - as core::ops::index::Index>::index::h1a6bf56ab297bf96 [INFO] [stdout] 19: 0x561766f5497a - rust_out::main::_doctest_main_src_monitor_linux_rs_360_0::h21614499d46581a0 [INFO] [stdout] 20: 0x561766f54936 - rust_out::main::h61823b600df25383 [INFO] [stdout] 21: 0x561766f545c3 - core::ops::function::FnOnce::call_once::h827fb1f4029b40e6 [INFO] [stdout] 22: 0x561766f544b9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h14f53ef84fb8b5f7 [INFO] [stdout] 23: 0x561766f54529 - std::rt::lang_start::{{closure}}::h5922618cc8a7ae58 [INFO] [stdout] 24: 0x561766f753a1 - core::ops::function::impls:: for &F>::call_once::h0e73392810ecd318 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 25: 0x561766f753a1 - std::panicking::try::do_call::h12dcb4a4f352a507 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x561766f753a1 - std::panicking::try::h0d978c76ab4a3863 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x561766f753a1 - std::panic::catch_unwind::hab40227675186980 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x561766f753a1 - std::rt::lang_start_internal::{{closure}}::hc34786299e7d2cf7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:48 [INFO] [stdout] 29: 0x561766f753a1 - std::panicking::try::do_call::h38e7a9128f21d387 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 30: 0x561766f753a1 - std::panicking::try::h32d4e72fd8922bce [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 31: 0x561766f753a1 - std::panic::catch_unwind::h9a345671d889d41f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 32: 0x561766f753a1 - std::rt::lang_start_internal::h9e691a4f557eb2a3 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:20 [INFO] [stdout] 33: 0x561766f54511 - std::rt::lang_start::h886614fd12d1e379 [INFO] [stdout] 34: 0x561766f54a03 - main [INFO] [stdout] 35: 0x7f15dc7f50b3 - __libc_start_main [INFO] [stdout] 36: 0x561766f543ee - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/misc/linux.rs - misc::linux::LedDevice::get_led_device (line 201) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidDeviceName { device: "asus::kbd_backlight" }', src/misc/linux.rs:7:65 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55b64997e9ec - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55b64997e9ec - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55b64997e9ec - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55b64997e9ec - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55b649998ddc - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55b64997c315 - std::io::Write::write_fmt::hc2da38dc44811df8 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55b64997fff0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55b64997fff0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55b64997fff0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55b64997fb9b - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:228:9 [INFO] [stdout] 10: 0x55b6499806a4 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55b649980180 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55b64997eea4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55b6499800e9 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55b64995cd51 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55b64995cde3 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x55b64995d903 - core::result::Result::unwrap::h0baaebf21b6cafb9 [INFO] [stdout] 17: 0x55b64995db12 - rust_out::main::_doctest_main_src_misc_linux_rs_201_0::h7db1b50c7961585a [INFO] [stdout] 18: 0x55b64995da46 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x55b64995d743 - core::ops::function::FnOnce::call_once::h827fb1f4029b40e6 [INFO] [stdout] 20: 0x55b64995d579 - std::sys_common::backtrace::__rust_begin_short_backtrace::h14f53ef84fb8b5f7 [INFO] [stdout] 21: 0x55b64995d5e9 - std::rt::lang_start::{{closure}}::h5922618cc8a7ae58 [INFO] [stdout] 22: 0x55b64997e231 - core::ops::function::impls:: for &F>::call_once::h0e73392810ecd318 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x55b64997e231 - std::panicking::try::do_call::h12dcb4a4f352a507 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x55b64997e231 - std::panicking::try::h0d978c76ab4a3863 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x55b64997e231 - std::panic::catch_unwind::hab40227675186980 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x55b64997e231 - std::rt::lang_start_internal::{{closure}}::hc34786299e7d2cf7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x55b64997e231 - std::panicking::try::do_call::h38e7a9128f21d387 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 28: 0x55b64997e231 - std::panicking::try::h32d4e72fd8922bce [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 29: 0x55b64997e231 - std::panic::catch_unwind::h9a345671d889d41f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 30: 0x55b64997e231 - std::rt::lang_start_internal::h9e691a4f557eb2a3 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x55b64995d5d1 - std::rt::lang_start::h886614fd12d1e379 [INFO] [stdout] 32: 0x55b64995dc43 - main [INFO] [stdout] 33: 0x7efc07b320b3 - __libc_start_main [INFO] [stdout] 34: 0x55b64995d46e - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/monitor/linux.rs - monitor::linux::MonitorDevice::get_monitor_device (line 134) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidDeviceName { device: "amdgpu_bl0" }', src/monitor/linux.rs:7:70 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x563ed48b7e1c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x563ed48b7e1c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563ed48b7e1c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x563ed48b7e1c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x563ed48d220c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x563ed48b5745 - std::io::Write::write_fmt::hc2da38dc44811df8 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x563ed48b9420 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x563ed48b9420 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x563ed48b9420 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x563ed48b8fcb - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:228:9 [INFO] [stdout] 10: 0x563ed48b9ad4 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x563ed48b95b0 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x563ed48b82d4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x563ed48b9519 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x563ed489bcc1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x563ed489bd53 - core::result::unwrap_failed::h885d3f7beb571353 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/result.rs:1613:5 [INFO] [stdout] 16: 0x563ed489c873 - core::result::Result::unwrap::ha2ea50f511833c9f [INFO] [stdout] 17: 0x563ed489ca82 - rust_out::main::_doctest_main_src_monitor_linux_rs_134_0::hcc7d2d81e339fda4 [INFO] [stdout] 18: 0x563ed489c9b6 - rust_out::main::h61823b600df25383 [INFO] [stdout] 19: 0x563ed489c6b3 - core::ops::function::FnOnce::call_once::h827fb1f4029b40e6 [INFO] [stdout] 20: 0x563ed489c4e9 - std::sys_common::backtrace::__rust_begin_short_backtrace::h14f53ef84fb8b5f7 [INFO] [stdout] 21: 0x563ed489c559 - std::rt::lang_start::{{closure}}::h5922618cc8a7ae58 [INFO] [stdout] 22: 0x563ed48b7661 - core::ops::function::impls:: for &F>::call_once::h0e73392810ecd318 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 23: 0x563ed48b7661 - std::panicking::try::do_call::h12dcb4a4f352a507 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x563ed48b7661 - std::panicking::try::h0d978c76ab4a3863 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x563ed48b7661 - std::panic::catch_unwind::hab40227675186980 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x563ed48b7661 - std::rt::lang_start_internal::{{closure}}::hc34786299e7d2cf7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:48 [INFO] [stdout] 27: 0x563ed48b7661 - std::panicking::try::do_call::h38e7a9128f21d387 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 28: 0x563ed48b7661 - std::panicking::try::h32d4e72fd8922bce [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 29: 0x563ed48b7661 - std::panic::catch_unwind::h9a345671d889d41f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 30: 0x563ed48b7661 - std::rt::lang_start_internal::h9e691a4f557eb2a3 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:20 [INFO] [stdout] 31: 0x563ed489c541 - std::rt::lang_start::h886614fd12d1e379 [INFO] [stdout] 32: 0x563ed489cbb3 - main [INFO] [stdout] 33: 0x7f565b8bf0b3 - __libc_start_main [INFO] [stdout] 34: 0x563ed489c3de - _start [INFO] [stdout] 35: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/misc/linux.rs - misc::linux::LedDevice::set_brightness (line 381) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', src/misc/linux.rs:7:1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a2eee2fa9c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a2eee2fa9c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a2eee2fa9c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a2eee2fa9c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a2eee4a7cc - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55a2eee2d345 - std::io::Write::write_fmt::hc2da38dc44811df8 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55a2eee310a0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a2eee310a0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a2eee310a0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55a2eee30c4b - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:228:9 [INFO] [stdout] 10: 0x55a2eee31754 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55a2eee31230 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55a2eee2ff54 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55a2eee31199 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55a2eee09d51 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55a2eee09d12 - core::panicking::panic_bounds_check::h63650a5dfc9aa86f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:75:5 [INFO] [stdout] 16: 0x55a2eee0a922 - >::index::h53dc7b213142ca6f [INFO] [stdout] 17: 0x55a2eee0a759 - core::slice::index:: for [T]>::index::hbec4f9b06a92345e [INFO] [stdout] 18: 0x55a2eee0a977 - as core::ops::index::Index>::index::hc1eba54b4f4731a4 [INFO] [stdout] 19: 0x55a2eee0a9fa - rust_out::main::_doctest_main_src_misc_linux_rs_381_0::hc99eaf0ba4207bfa [INFO] [stdout] 20: 0x55a2eee0a9b6 - rust_out::main::h61823b600df25383 [INFO] [stdout] 21: 0x55a2eee0a643 - core::ops::function::FnOnce::call_once::h827fb1f4029b40e6 [INFO] [stdout] 22: 0x55a2eee0a539 - std::sys_common::backtrace::__rust_begin_short_backtrace::h14f53ef84fb8b5f7 [INFO] [stdout] 23: 0x55a2eee0a5a9 - std::rt::lang_start::{{closure}}::h5922618cc8a7ae58 [INFO] [stdout] 24: 0x55a2eee2f2e1 - core::ops::function::impls:: for &F>::call_once::h0e73392810ecd318 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 25: 0x55a2eee2f2e1 - std::panicking::try::do_call::h12dcb4a4f352a507 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x55a2eee2f2e1 - std::panicking::try::h0d978c76ab4a3863 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x55a2eee2f2e1 - std::panic::catch_unwind::hab40227675186980 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x55a2eee2f2e1 - std::rt::lang_start_internal::{{closure}}::hc34786299e7d2cf7 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:48 [INFO] [stdout] 29: 0x55a2eee2f2e1 - std::panicking::try::do_call::h38e7a9128f21d387 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 30: 0x55a2eee2f2e1 - std::panicking::try::h32d4e72fd8922bce [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 31: 0x55a2eee2f2e1 - std::panic::catch_unwind::h9a345671d889d41f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 32: 0x55a2eee2f2e1 - std::rt::lang_start_internal::h9e691a4f557eb2a3 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/rt.rs:128:20 [INFO] [stdout] 33: 0x55a2eee0a591 - std::rt::lang_start::h886614fd12d1e379 [INFO] [stdout] 34: 0x55a2eee0aa83 - main [INFO] [stdout] 35: 0x7fbab70190b3 - __libc_start_main [INFO] [stdout] 36: 0x55a2eee0a46e - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/misc/linux.rs - misc::linux::LedDevice::get_led_device (line 201) [INFO] [stdout] src/misc/linux.rs - misc::linux::LedDevice::set_brightness (line 381) [INFO] [stdout] src/monitor/linux.rs - monitor::linux::MonitorDevice::get_monitor_device (line 134) [INFO] [stdout] src/monitor/linux.rs - monitor::linux::MonitorDevice::set_brightness (line 360) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 4 failed; 2 ignored; 0 measured; 0 filtered out; finished in 7.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3c87e3b3b76afa5d528e35fa3b291a133519c47495c31a3ef9eb4d22dd5d66e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c87e3b3b76afa5d528e35fa3b291a133519c47495c31a3ef9eb4d22dd5d66e0", kill_on_drop: false }` [INFO] [stdout] 3c87e3b3b76afa5d528e35fa3b291a133519c47495c31a3ef9eb4d22dd5d66e0