[INFO] fetching crate bulbb 0.0.3... [INFO] testing bulbb-0.0.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bulbb 0.0.3 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bulbb 0.0.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding zbus v1.9.3 (available: v5.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumflags2 v0.6.4 [INFO] [stderr] Downloaded zbus_macros v1.9.3 [INFO] [stderr] Downloaded zbus v1.9.3 [INFO] [stderr] Downloaded nb-connect v1.2.0 [INFO] [stderr] Downloaded enumflags2_derive v0.6.4 [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 793f785545e80052acfdf9a24e7026e4197ce19bb593e73702b638b936181122 [INFO] running `Command { std: "docker" "start" "-a" "793f785545e80052acfdf9a24e7026e4197ce19bb593e73702b638b936181122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "793f785545e80052acfdf9a24e7026e4197ce19bb593e73702b638b936181122", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "793f785545e80052acfdf9a24e7026e4197ce19bb593e73702b638b936181122", kill_on_drop: false }` [INFO] [stdout] 793f785545e80052acfdf9a24e7026e4197ce19bb593e73702b638b936181122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 923e7db94570dad11e8219e0cc9816c8db45944bbc97b3b9045b6e7350d50179 [INFO] running `Command { std: "docker" "start" "-a" "923e7db94570dad11e8219e0cc9816c8db45944bbc97b3b9045b6e7350d50179", 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.33s [INFO] running `Command { std: "docker" "inspect" "923e7db94570dad11e8219e0cc9816c8db45944bbc97b3b9045b6e7350d50179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923e7db94570dad11e8219e0cc9816c8db45944bbc97b3b9045b6e7350d50179", kill_on_drop: false }` [INFO] [stdout] 923e7db94570dad11e8219e0cc9816c8db45944bbc97b3b9045b6e7350d50179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 107132a50683e563a760e5bb800aed7486d1c7fb19afe7f5dee007ba215f01b3 [INFO] running `Command { std: "docker" "start" "-a" "107132a50683e563a760e5bb800aed7486d1c7fb19afe7f5dee007ba215f01b3", 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] [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] [stderr] Compiling bulbb v0.0.3 (/opt/rustwide/workdir) [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.46s [INFO] running `Command { std: "docker" "inspect" "107132a50683e563a760e5bb800aed7486d1c7fb19afe7f5dee007ba215f01b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107132a50683e563a760e5bb800aed7486d1c7fb19afe7f5dee007ba215f01b3", kill_on_drop: false }` [INFO] [stdout] 107132a50683e563a760e5bb800aed7486d1c7fb19afe7f5dee007ba215f01b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4ac7452b957dc20bd97c31ebddc59884215c387dac5e1bf6647a4b64bfba4e57 [INFO] running `Command { std: "docker" "start" "-a" "4ac7452b957dc20bd97c31ebddc59884215c387dac5e1bf6647a4b64bfba4e57", 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] [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] 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bulbb-989d1d34975a3116) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test misc::linux::tests::filter ... ok [INFO] [stdout] test misc::linux::tests::get_all_keyboard_devices ... 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 monitor::linux::tests::set_monitor ... ok [INFO] [stdout] test misc::linux::tests::get_all_led_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_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/monitor/linux.rs - monitor::linux::MonitorDevice::get_actual_brightness (line 261) ... 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::get_power (line 225) ... ok [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_keyboard_devices (line 260) ... ok [INFO] [stdout] test src/monitor/linux.rs - monitor::linux::MonitorDevice::get_max_brightness (line 280) ... 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::set_brightness (line 381) ... 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_all_monitor_devices (line 176) ... ok [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_monitor_device (line 134) ... FAILED [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::set_brightness (line 360) ... 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' (381) 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: 0x60eae114bbf2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60eae114bbf2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60eae114bbf2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60eae114bbf2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60eae115ad1f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60eae115ad1f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x60eae112a463 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60eae112a463 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60eae112f7f2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60eae11310fc - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60eae1130f56 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x60eae11316d5 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x60eae113156a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x60eae112f929 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x60eae111e9cd - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x60eae115e140 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x60eae115d986 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x60eae1116708 - rust_out::main::_doctest_main_src_misc_linux_rs_201_0::h8df08bb0cbcf3cdc [INFO] [stdout] 18: 0x60eae11165d6 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 19: 0x60eae1115f73 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 20: 0x60eae1115e86 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 21: 0x60eae1115e69 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 22: 0x60eae112b870 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x60eae112b870 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x60eae112b870 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x60eae112b870 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x60eae112b870 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x60eae112b870 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x60eae112b870 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x60eae112b870 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x60eae112b870 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x60eae1115e51 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 32: 0x60eae1116885 - main [INFO] [stdout] 33: 0x717ee47fe1ca - [INFO] [stdout] 34: 0x717ee47fe28b - __libc_start_main [INFO] [stdout] 35: 0x60eae1115d65 - _start [INFO] [stdout] 36: 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' (445) 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: 0x6396012be8d2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6396012be8d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6396012be8d2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6396012be8d2 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6396012cd97f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6396012cd97f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x63960129d143 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63960129d143 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6396012a24d2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6396012a3ddc - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6396012a3c36 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x6396012a43b5 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x6396012a424a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x6396012a2609 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x6396012916ad - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x6396012d0cd0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x6396012d0556 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x63960128c3e8 - rust_out::main::_doctest_main_src_monitor_linux_rs_134_0::hcefef837fe9ca2c9 [INFO] [stdout] 18: 0x63960128c2b6 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 19: 0x63960128bc53 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 20: 0x63960128bb66 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 21: 0x63960128bb49 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 22: 0x63960129e550 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x63960129e550 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x63960129e550 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x63960129e550 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x63960129e550 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x63960129e550 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x63960129e550 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x63960129e550 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x63960129e550 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x63960128bb31 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 32: 0x63960128c565 - main [INFO] [stdout] 33: 0x79543bdb71ca - [INFO] [stdout] 34: 0x79543bdb728b - __libc_start_main [INFO] [stdout] 35: 0x63960128ba45 - _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' (480) 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: 0x578bf6c98252 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x578bf6c98252 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x578bf6c98252 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x578bf6c98252 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x578bf6ca72ff - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x578bf6ca72ff - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x578bf6c76493 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x578bf6c76493 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x578bf6c7ba82 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x578bf6c7d38c - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x578bf6c7d1e6 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x578bf6c7d965 - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x578bf6c7d7fa - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x578bf6c7bbb9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x578bf6c6a8ad - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x578bf6caa6e0 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x578bf6caa482 - core::panicking::panic_bounds_check::hcad933ef22cbbb00 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:276:5 [INFO] [stdout] 17: 0x578bf6c62998 - >::index::h64511f6464e75c9c [INFO] [stdout] 18: 0x578bf6c629f9 - as core::ops::index::Index>::index::h26bcbc25a0d21f35 [INFO] [stdout] 19: 0x578bf6c62ad5 - rust_out::main::_doctest_main_src_monitor_linux_rs_360_0::h387c4e4ca436fd0d [INFO] [stdout] 20: 0x578bf6c62a06 - rust_out::main::hbdf05be24bd65ee6 [INFO] [stdout] 21: 0x578bf6c62453 - core::ops::function::FnOnce::call_once::h1e8c751e4a62d14e [INFO] [stdout] 22: 0x578bf6c62376 - std::sys::backtrace::__rust_begin_short_backtrace::h6f205b09ee900b2a [INFO] [stdout] 23: 0x578bf6c62359 - std::rt::lang_start::{{closure}}::h374dad1e7f5efc95 [INFO] [stdout] 24: 0x578bf6c778a0 - core::ops::function::impls:: for &F>::call_once::h8434f550918e723f [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 25: 0x578bf6c778a0 - std::panicking::catch_unwind::do_call::h7f7a838f33db43be [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: 0x578bf6c778a0 - std::panicking::catch_unwind::hf345702047129f6d [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: 0x578bf6c778a0 - std::panic::catch_unwind::h42f92c278294a3a0 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: 0x578bf6c778a0 - std::rt::lang_start_internal::{{closure}}::ha6834eab5ce60f45 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:175:24 [INFO] [stdout] 29: 0x578bf6c778a0 - std::panicking::catch_unwind::do_call::hf4afda32c60c9e55 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x578bf6c778a0 - std::panicking::catch_unwind::hbfda5503aab4db1e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x578bf6c778a0 - std::panic::catch_unwind::h1a1ed11560d244f4 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x578bf6c778a0 - std::rt::lang_start_internal::h1f713c0146d469ad [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/rt.rs:171:5 [INFO] [stdout] 33: 0x578bf6c62341 - std::rt::lang_start::h25a068bab729a087 [INFO] [stdout] 34: 0x578bf6c62b65 - main [INFO] [stdout] 35: 0x7c48f427b1ca - [INFO] [stdout] 36: 0x7c48f427b28b - __libc_start_main [INFO] [stdout] 37: 0x578bf6c62255 - _start [INFO] [stdout] 38: 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 0.50s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4ac7452b957dc20bd97c31ebddc59884215c387dac5e1bf6647a4b64bfba4e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac7452b957dc20bd97c31ebddc59884215c387dac5e1bf6647a4b64bfba4e57", kill_on_drop: false }` [INFO] [stdout] 4ac7452b957dc20bd97c31ebddc59884215c387dac5e1bf6647a4b64bfba4e57