[INFO] cloning repository https://github.com/alfonsocv12/keyboard-brightness-debian [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alfonsocv12/keyboard-brightness-debian" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falfonsocv12%2Fkeyboard-brightness-debian", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falfonsocv12%2Fkeyboard-brightness-debian'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 321a0d3dc2aa12db9e0da7983fd05a1b82778953 [INFO] checking alfonsocv12/keyboard-brightness-debian against master#52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falfonsocv12%2Fkeyboard-brightness-debian" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alfonsocv12/keyboard-brightness-debian on toolchain 52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alfonsocv12/keyboard-brightness-debian [INFO] finished tweaking git repo https://github.com/alfonsocv12/keyboard-brightness-debian [INFO] tweaked toml for git repo https://github.com/alfonsocv12/keyboard-brightness-debian written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alfonsocv12/keyboard-brightness-debian already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking alfonsocv12/keyboard-brightness-debian against try#6223d840318ac1f9c8b6bf3aef24c3ff67683479 for pr-127907 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falfonsocv12%2Fkeyboard-brightness-debian" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alfonsocv12/keyboard-brightness-debian on toolchain 6223d840318ac1f9c8b6bf3aef24c3ff67683479 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alfonsocv12/keyboard-brightness-debian [INFO] finished tweaking git repo https://github.com/alfonsocv12/keyboard-brightness-debian [INFO] tweaked toml for git repo https://github.com/alfonsocv12/keyboard-brightness-debian written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alfonsocv12/keyboard-brightness-debian already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b32c6e311957048d905b35805cd96c8957412c7f110d4127472f5ccb0f0e1dc4 [INFO] running `Command { std: "docker" "start" "-a" "b32c6e311957048d905b35805cd96c8957412c7f110d4127472f5ccb0f0e1dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b32c6e311957048d905b35805cd96c8957412c7f110d4127472f5ccb0f0e1dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b32c6e311957048d905b35805cd96c8957412c7f110d4127472f5ccb0f0e1dc4", kill_on_drop: false }` [INFO] [stdout] b32c6e311957048d905b35805cd96c8957412c7f110d4127472f5ccb0f0e1dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+6223d840318ac1f9c8b6bf3aef24c3ff67683479" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee8f2480df6a7d8ac9b20a994d2cb677f454bdbff3f1563001dba3eff2658d53 [INFO] running `Command { std: "docker" "start" "-a" "ee8f2480df6a7d8ac9b20a994d2cb677f454bdbff3f1563001dba3eff2658d53", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking monitor-control-debian v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/monitor_brightness.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let class_file = File::create(Self::FILE_NAME).expect("Failed to create file"); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::monitor_brightness::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/monitor_brightness.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/monitor_brightness.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `File` [INFO] [stdout] --> src/monitor_brightness.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let class_file = File::create(Self::FILE_NAME).expect("Failed to create file"); [INFO] [stdout] | ^^^^ use of undeclared type `File` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::monitor_brightness::fs::File; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/monitor_brightness.rs:60:53 [INFO] [stdout] | [INFO] [stdout] 60 | let monitor_brightness: MonitorBrightness = serde_cbor::from_reader(class_cbor_bytes); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MonitorBrightness`, found `Result<_, Error>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `MonitorBrightness` [INFO] [stdout] found enum `Result<_, serde_cbor::Error>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<_, serde_cbor::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 60 | let monitor_brightness: MonitorBrightness = serde_cbor::from_reader(class_cbor_bytes).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MonitorBrightness: Serialize` is not satisfied [INFO] [stdout] --> src/monitor_brightness.rs:68:71 [INFO] [stdout] | [INFO] [stdout] 68 | let class_postcard_bytes = serde_cbor::to_writer(class_file, &self); [INFO] [stdout] | --------------------- ^^^^ the trait `Serialize` is not implemented for `MonitorBrightness`, which is required by `&MonitorBrightness: Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `&MonitorBrightness` to implement `Serialize` [INFO] [stdout] note: required by a bound in `to_writer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_cbor-0.11.2/src/ser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn to_writer(writer: W, value: &T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 45 | T: ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/monitor_brightness.rs:60:53 [INFO] [stdout] | [INFO] [stdout] 60 | let monitor_brightness: MonitorBrightness = serde_cbor::from_reader(class_cbor_bytes); [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MonitorBrightness`, found `Result<_, Error>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `MonitorBrightness` [INFO] [stdout] found enum `Result<_, serde_cbor::Error>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<_, serde_cbor::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 60 | let monitor_brightness: MonitorBrightness = serde_cbor::from_reader(class_cbor_bytes).expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MonitorBrightness: Serialize` is not satisfied [INFO] [stdout] --> src/monitor_brightness.rs:68:71 [INFO] [stdout] | [INFO] [stdout] 68 | let class_postcard_bytes = serde_cbor::to_writer(class_file, &self); [INFO] [stdout] | --------------------- ^^^^ the trait `Serialize` is not implemented for `MonitorBrightness`, which is required by `&MonitorBrightness: Serialize` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 129 others [INFO] [stdout] = note: required for `&MonitorBrightness` to implement `Serialize` [INFO] [stdout] note: required by a bound in `to_writer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serde_cbor-0.11.2/src/ser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn to_writer(writer: W, value: &T) -> Result<()> [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 45 | T: ser::Serialize, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `to_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monitor-control-debian` (bin "monitor-control-debian") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monitor-control-debian` (bin "monitor-control-debian" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "ee8f2480df6a7d8ac9b20a994d2cb677f454bdbff3f1563001dba3eff2658d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8f2480df6a7d8ac9b20a994d2cb677f454bdbff3f1563001dba3eff2658d53", kill_on_drop: false }` [INFO] [stdout] ee8f2480df6a7d8ac9b20a994d2cb677f454bdbff3f1563001dba3eff2658d53