[INFO] fetching crate bulbb 0.0.3... [INFO] testing bulbb-0.0.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bulbb 0.0.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate bulbb 0.0.3 [INFO] finished tweaking crates.io crate bulbb 0.0.3 [INFO] tweaked toml for crates.io crate bulbb 0.0.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bulbb 0.0.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] [stderr] Adding zbus v1.9.3 (available: v5.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 v1.9.3 [INFO] [stderr] Downloaded zbus_macros v1.9.3 [INFO] [stderr] Downloaded zvariant_derive v2.10.0 [INFO] [stderr] Downloaded zvariant v2.10.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83e306ef659fec5b35dd13c1eb4d3effc2c662cbaa877d5071a9ab74dc7e300d [INFO] running `Command { std: "docker" "start" "-a" "83e306ef659fec5b35dd13c1eb4d3effc2c662cbaa877d5071a9ab74dc7e300d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83e306ef659fec5b35dd13c1eb4d3effc2c662cbaa877d5071a9ab74dc7e300d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e306ef659fec5b35dd13c1eb4d3effc2c662cbaa877d5071a9ab74dc7e300d", kill_on_drop: false }` [INFO] [stdout] 83e306ef659fec5b35dd13c1eb4d3effc2c662cbaa877d5071a9ab74dc7e300d [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83463ed6ec8fbd0c07a3e44bd24f3f2310d792a78287085b29058fb3050658cf [INFO] running `Command { std: "docker" "start" "-a" "83463ed6ec8fbd0c07a3e44bd24f3f2310d792a78287085b29058fb3050658cf", kill_on_drop: false }` [INFO] [stderr] Compiling bulbb v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `format_led_device` and `format_monitor_device` [INFO] [stdout] --> src/utils/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | format_led_device, format_monitor_device, read_sys_backlight, read_sys_led, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_monitor_device` is never used [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_led_device` is never used [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 items `new`, `with_device_name`, `with_color`, `with_function`, and `finish` are never used [INFO] [stdout] --> src/misc/linux.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> LedFilterable<'a> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 34 | fn new() -> LedFilterable<'a> { [INFO] [stdout] | ^^^ [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] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:41:72 [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "83463ed6ec8fbd0c07a3e44bd24f3f2310d792a78287085b29058fb3050658cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83463ed6ec8fbd0c07a3e44bd24f3f2310d792a78287085b29058fb3050658cf", kill_on_drop: false }` [INFO] [stdout] 83463ed6ec8fbd0c07a3e44bd24f3f2310d792a78287085b29058fb3050658cf [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d21732700bf8f34dc8b98b56ae58f52772522c35357cf861271376311710057 [INFO] running `Command { std: "docker" "start" "-a" "1d21732700bf8f34dc8b98b56ae58f52772522c35357cf861271376311710057", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `format_led_device` and `format_monitor_device` [INFO] [stdout] --> src/utils/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | format_led_device, format_monitor_device, read_sys_backlight, read_sys_led, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bulbb v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `format_monitor_device` is never used [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_led_device` is never used [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 items `new`, `with_device_name`, `with_color`, `with_function`, and `finish` are never used [INFO] [stdout] --> src/misc/linux.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> LedFilterable<'a> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 34 | fn new() -> LedFilterable<'a> { [INFO] [stdout] | ^^^ [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] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:41:72 [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_color` and `with_function` are never used [INFO] [stdout] --> src/misc/linux.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> LedFilterable<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:41:72 [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:45:61 [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stdout] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/misc/linux.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stdout] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | fn finish(&'a mut self) -> LedFilterable<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "1d21732700bf8f34dc8b98b56ae58f52772522c35357cf861271376311710057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d21732700bf8f34dc8b98b56ae58f52772522c35357cf861271376311710057", kill_on_drop: false }` [INFO] [stdout] 1d21732700bf8f34dc8b98b56ae58f52772522c35357cf861271376311710057 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 841f755eb9c856d58ec532bfe1590c14216c25f23d48ed66eaabc863c9461f98 [INFO] running `Command { std: "docker" "start" "-a" "841f755eb9c856d58ec532bfe1590c14216c25f23d48ed66eaabc863c9461f98", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `format_led_device` and `format_monitor_device` [INFO] [stderr] --> src/utils/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | format_led_device, format_monitor_device, read_sys_backlight, read_sys_led, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `format_monitor_device` is never used [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `format_led_device` is never used [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 items `new`, `with_device_name`, `with_color`, `with_function`, and `finish` are never used [INFO] [stderr] --> src/misc/linux.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 33 | impl<'a> LedFilterable<'a> { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] 34 | fn new() -> LedFilterable<'a> { [INFO] [stderr] | ^^^ [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] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/misc/linux.rs:41:72 [INFO] [stderr] | [INFO] [stderr] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable { [INFO] [stderr] | -- -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 41 | fn with_device_name(&'a mut self, device_name: &'a str) -> &'a mut LedFilterable<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/misc/linux.rs:45:61 [INFO] [stderr] | [INFO] [stderr] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stdout] [INFO] [stderr] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] running 6 tests [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/misc/linux.rs:49:70 [INFO] [stderr] | [INFO] [stderr] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stderr] | -- -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/misc/linux.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | fn finish(&'a mut self) -> LedFilterable { [INFO] [stderr] | -- ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 53 | fn finish(&'a mut self) -> LedFilterable<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `bulbb` (lib) generated 8 warnings (run `cargo fix --lib -p bulbb` to apply 5 suggestions) [INFO] [stderr] warning: methods `with_color` and `with_function` are never used [INFO] [stderr] --> src/misc/linux.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 33 | impl<'a> LedFilterable<'a> { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | fn with_color(&'a mut self, color: LedColor) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | fn with_function(&'a mut self, function: LedFunction) -> &'a mut LedFilterable { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `bulbb` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bulbb-989d1d34975a3116) [INFO] [stdout] test misc::linux::tests::filter ... ok [INFO] [stdout] test misc::linux::tests::get_all_keyboard_devices ... ok [INFO] [stdout] test misc::linux::tests::parse_led_device_names ... ok [INFO] [stdout] test monitor::linux::tests::get_all_monitor_devices ... ok [INFO] [stdout] test misc::linux::tests::get_all_led_devices ... ok [INFO] [stdout] test monitor::linux::tests::set_monitor ... 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::get_actual_brightness (line 261) ... ok [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/misc/linux.rs - misc::linux::LedDevice::get_all_led_devices (line 230) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_all_keyboard_devices (line 260) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::get_device_name (line 280) ... ok [INFO] [stdout] test src/misc/linux.rs - misc::linux::LedDevice::set_brightness (line 381) ... ok [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::set_brightness (line 353) ... ignored [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_device_name (line 206) ... 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_brightness (line 242) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_all_monitor_devices (line 176) ... 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_power (line 225) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::set_brightness (line 360) ... FAILED [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_monitor_device (line 134) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/misc/linux.rs - misc::linux::LedDevice::get_led_device (line 201) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (227) panicked at src/misc/linux.rs:8:65: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: InvalidDeviceName { device: "asus::kbd_backlight" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x571af3b2baf2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x571af3b2baf2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x571af3b2baf2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x571af3b2baf2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x571af3b3adef - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x571af3b3adef - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x571af3b0a233 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x571af3b0a233 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x571af3b0f302 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x571af3b10c3c - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x571af3b10a96 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x571af3b11215 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x571af3b110aa - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x571af3b0f439 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x571af3afe39d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x571af3b3e1d0 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x571af3b3da16 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 17: 0x571af3af5b8f - rust_out::main::_doctest_main_src_misc_linux_rs_201_0::h29ec317a81d9e4fc [INFO] [stdout] 18: 0x571af3af5a56 - rust_out::main::hb2c1f26112d8e974 [INFO] [stdout] 19: 0x571af3af5403 - core::ops::function::FnOnce::call_once::h01e49b384cd31373 [INFO] [stdout] 20: 0x571af3af5316 - std::sys::backtrace::__rust_begin_short_backtrace::hc341f747de1a6e5f [INFO] [stdout] 21: 0x571af3af52f9 - std::rt::lang_start::{{closure}}::h5855c6a947873adf [INFO] [stdout] 22: 0x571af3b0b390 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x571af3b0b390 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x571af3b0b390 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x571af3b0b390 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x571af3b0b390 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x571af3b0b390 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x571af3b0b390 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x571af3b0b390 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x571af3b0b390 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x571af3af52e1 - std::rt::lang_start::h75941d661fa88314 [INFO] [stdout] 32: 0x571af3af5d05 - main [INFO] [stdout] 33: 0x7a306fc031ca - [INFO] [stdout] 34: 0x7a306fc0328b - __libc_start_main [INFO] [stdout] 35: 0x571af3af51f5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/monitor/linux.rs - monitor::linux::MonitorDevice::set_brightness (line 360) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (351) panicked at src/monitor/linux.rs:8:9: [INFO] [stdout] index out of bounds: the len is 0 but the index is 0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556fd041f522 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x556fd041f522 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x556fd041f522 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x556fd041f522 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x556fd042e88f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x556fd042e88f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x556fd03fd623 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x556fd03fd623 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x556fd0402972 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x556fd04042ac - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x556fd0404106 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x556fd0404885 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x556fd040471a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x556fd0402aa9 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x556fd03f16fd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x556fd0431c30 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x556fd04319d2 - core::panicking::panic_bounds_check::hdd1994d24859f96d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:271:5 [INFO] [stdout] 17: 0x556fd03e9058 - >::index::h229aba30070d9860 [INFO] [stdout] 18: 0x556fd03e90b9 - as core::ops::index::Index>::index::h7d9e000b89887a25 [INFO] [stdout] 19: 0x556fd03e9195 - rust_out::main::_doctest_main_src_monitor_linux_rs_360_0::hb103d3fc898f3577 [INFO] [stdout] 20: 0x556fd03e90c6 - rust_out::main::hb2c1f26112d8e974 [INFO] [stdout] 21: 0x556fd03e8b13 - core::ops::function::FnOnce::call_once::h01e49b384cd31373 [INFO] [stdout] 22: 0x556fd03e8a36 - std::sys::backtrace::__rust_begin_short_backtrace::hc341f747de1a6e5f [INFO] [stdout] 23: 0x556fd03e8a19 - std::rt::lang_start::{{closure}}::h5855c6a947873adf [INFO] [stdout] 24: 0x556fd03fe780 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 25: 0x556fd03fe780 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x556fd03fe780 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x556fd03fe780 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x556fd03fe780 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 29: 0x556fd03fe780 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x556fd03fe780 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x556fd03fe780 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x556fd03fe780 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 33: 0x556fd03e8a01 - std::rt::lang_start::h75941d661fa88314 [INFO] [stdout] 34: 0x556fd03e9225 - main [INFO] [stdout] 35: 0x724b82ab01ca - [INFO] [stdout] 36: 0x724b82ab028b - __libc_start_main [INFO] [stdout] 37: 0x556fd03e8915 - _start [INFO] [stdout] 38: 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 status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (360) panicked at src/monitor/linux.rs:8:70: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: InvalidDeviceName { device: "amdgpu_bl0" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5646f447b6d2 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5646f447b6d2 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5646f447b6d2 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5646f447b6d2 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5646f448a95f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5646f448a95f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5646f4459e13 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5646f4459e13 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5646f445eee2 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5646f446081c - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5646f4460676 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5646f4460df5 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5646f4460c8a - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5646f445f019 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5646f444df7d - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5646f448dc70 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5646f448d4f6 - core::result::unwrap_failed::h3ce108722ad88f1e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/result.rs:1852:5 [INFO] [stdout] 17: 0x5646f444881f - rust_out::main::_doctest_main_src_monitor_linux_rs_134_0::h2c3d4e283fd94345 [INFO] [stdout] 18: 0x5646f44486e6 - rust_out::main::hb2c1f26112d8e974 [INFO] [stdout] 19: 0x5646f4448093 - core::ops::function::FnOnce::call_once::h01e49b384cd31373 [INFO] [stdout] 20: 0x5646f4447fa6 - std::sys::backtrace::__rust_begin_short_backtrace::hc341f747de1a6e5f [INFO] [stdout] 21: 0x5646f4447f89 - std::rt::lang_start::{{closure}}::h5855c6a947873adf [INFO] [stdout] 22: 0x5646f445af70 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x5646f445af70 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5646f445af70 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5646f445af70 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5646f445af70 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5646f445af70 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5646f445af70 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5646f445af70 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5646f445af70 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5646f4447f71 - std::rt::lang_start::h75941d661fa88314 [INFO] [stdout] 32: 0x5646f4448995 - main [INFO] [stdout] 33: 0x7654a7a7a1ca - [INFO] [stdout] 34: 0x7654a7a7a28b - __libc_start_main [INFO] [stdout] 35: 0x5646f4447e85 - _start [INFO] [stdout] 36: 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/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. 13 passed; 3 failed; 2 ignored; 0 measured; 0 filtered out; finished in 1.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "841f755eb9c856d58ec532bfe1590c14216c25f23d48ed66eaabc863c9461f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841f755eb9c856d58ec532bfe1590c14216c25f23d48ed66eaabc863c9461f98", kill_on_drop: false }` [INFO] [stdout] 841f755eb9c856d58ec532bfe1590c14216c25f23d48ed66eaabc863c9461f98