[INFO] cloning repository https://github.com/HoloISO/vpower [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HoloISO/vpower" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1619791bedef2d1d6255418ae364f7b8e33dddb [INFO] checking HoloISO/vpower against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower" "/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/HoloISO/vpower on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HoloISO/vpower [INFO] finished tweaking git repo https://github.com/HoloISO/vpower [INFO] tweaked toml for git repo https://github.com/HoloISO/vpower written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HoloISO/vpower 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 HoloISO/vpower against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower" "/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/HoloISO/vpower on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HoloISO/vpower [INFO] finished tweaking git repo https://github.com/HoloISO/vpower [INFO] tweaked toml for git repo https://github.com/HoloISO/vpower written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HoloISO/vpower 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" "+2c70eb47850052381670935f807d41647a7dc992" "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 [INFO] checking HoloISO/vpower against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower" "/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/HoloISO/vpower on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HoloISO/vpower [INFO] finished tweaking git repo https://github.com/HoloISO/vpower [INFO] tweaked toml for git repo https://github.com/HoloISO/vpower written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HoloISO/vpower 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" "+2c70eb47850052381670935f807d41647a7dc992" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6801c60e4d2e9cb8f391c6e22042516288ecdc8ee1306b207c6d9576204f0884 [INFO] running `Command { std: "docker" "start" "-a" "6801c60e4d2e9cb8f391c6e22042516288ecdc8ee1306b207c6d9576204f0884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6801c60e4d2e9cb8f391c6e22042516288ecdc8ee1306b207c6d9576204f0884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6801c60e4d2e9cb8f391c6e22042516288ecdc8ee1306b207c6d9576204f0884", kill_on_drop: false }` [INFO] [stdout] 6801c60e4d2e9cb8f391c6e22042516288ecdc8ee1306b207c6d9576204f0884 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 758b214159a14ad5058f1edd25afa5ecb8c2fca71a56d1b7e6fb7721b1dbc6b8 [INFO] running `Command { std: "docker" "start" "-a" "758b214159a14ad5058f1edd25afa5ecb8c2fca71a56d1b7e6fb7721b1dbc6b8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking vpower v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: cannot call non-const fn `Command::new::<&str>` in constants [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Command::new::<&str>` in constants [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constants [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-08-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: mutable references are not allowed in constants [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #57349 for more information [INFO] [stdout] = help: add `#![feature(const_mut_refs)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-08-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Command::arg::<&str>` in constants [INFO] [stdout] --> main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | .arg("/sys/devices/virtual/dmi/id/product_name") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Command::arg::<&str>` in constants [INFO] [stdout] --> main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | .arg("/sys/devices/virtual/dmi/id/product_name") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Command::output` in constants [INFO] [stdout] --> main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .output() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Command::output` in constants [INFO] [stdout] --> main.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | .output() [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::map::, {closure@main.rs:22:14: 22:17}>` in constants [INFO] [stdout] --> main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|o| o.stdout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::::map::, {closure@main.rs:22:14: 22:17}>` in constants [INFO] [stdout] --> main.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .map(|o| o.stdout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::, std::io::Error>::map::, fn(Vec) -> Result {std::string::String::from_utf8}>` in constants [INFO] [stdout] --> main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | .map(String::from_utf8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::, std::io::Error>::map::, fn(Vec) -> Result {std::string::String::from_utf8}>` in constants [INFO] [stdout] --> main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | .map(String::from_utf8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::, std::io::Error>::map_err::` in constants [INFO] [stdout] --> main.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| format!("Failed to decode command output: {}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::, std::io::Error>::map_err::` in constants [INFO] [stdout] --> main.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .map_err(|e| format!("Failed to decode command output: {}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::, std::string::String>::and_then::` in constants [INFO] [stdout] --> main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | .and_then(|opt| opt.map_err(|e| format!("Invalid utf-8 in command output: {}", e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Result::, std::string::String>::and_then::` in constants [INFO] [stdout] --> main.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | .and_then(|opt| opt.map_err(|e| format!("Invalid utf-8 in command output: {}", e))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform deref coercion on `std::string::String` in constants [INFO] [stdout] --> main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if product_name.trim() == "Jupiter 1" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `str` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/2c70eb47850052381670935f807d41647a7dc992/library/alloc/src/string.rs:2482:1 [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot perform deref coercion on `std::string::String` in constants [INFO] [stdout] --> main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if product_name.trim() == "Jupiter 1" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: attempting to deref into `str` [INFO] [stdout] note: impl defined here, but it is not `const` [INFO] [stdout] --> /rustc/2c70eb47850052381670935f807d41647a7dc992/library/alloc/src/string.rs:2482:1 [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `core::str::::trim` in constants [INFO] [stdout] --> main.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | if product_name.trim() == "Jupiter 1" { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `core::str::::trim` in constants [INFO] [stdout] --> main.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | if product_name.trim() == "Jupiter 1" { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constants [INFO] [stdout] --> main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if product_name.trim() == "Jupiter 1" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constants [INFO] [stdout] --> main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if product_name.trim() == "Jupiter 1" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(const_trait_impl)]` to the crate attributes to enable [INFO] [stdout] | [INFO] [stdout] 1 + #![feature(const_trait_impl)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `std::string::String` cannot be evaluated at compile-time [INFO] [stdout] --> main.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constants [INFO] [stdout] ... [INFO] [stdout] 32 | } else { [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `std::string::String` cannot be evaluated at compile-time [INFO] [stdout] --> main.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constants [INFO] [stdout] ... [INFO] [stdout] 32 | } else { [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Result` cannot be evaluated at compile-time [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 20 | | .arg("/sys/devices/virtual/dmi/id/product_name") [INFO] [stdout] 21 | | .output() [INFO] [stdout] 22 | | .map(|o| o.stdout) [INFO] [stdout] 23 | | .map(String::from_utf8) [INFO] [stdout] 24 | | .map_err(|e| format!("Failed to decode command output: {}", e)) [INFO] [stdout] 25 | | .and_then(|opt| opt.map_err(|e| format!("Invalid utf-8 in command output: {}", e))) [INFO] [stdout] | |___________________________________________________________________________________________^ the destructor for this type cannot be evaluated in constants [INFO] [stdout] ... [INFO] [stdout] 34 | }; [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Result` cannot be evaluated at compile-time [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 20 | | .arg("/sys/devices/virtual/dmi/id/product_name") [INFO] [stdout] 21 | | .output() [INFO] [stdout] 22 | | .map(|o| o.stdout) [INFO] [stdout] 23 | | .map(String::from_utf8) [INFO] [stdout] 24 | | .map_err(|e| format!("Failed to decode command output: {}", e)) [INFO] [stdout] 25 | | .and_then(|opt| opt.map_err(|e| format!("Invalid utf-8 in command output: {}", e))) [INFO] [stdout] | |___________________________________________________________________________________________^ the destructor for this type cannot be evaluated in constants [INFO] [stdout] ... [INFO] [stdout] 34 | }; [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Command` cannot be evaluated at compile-time [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constants [INFO] [stdout] ... [INFO] [stdout] 34 | }; [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0493]: destructor of `Command` cannot be evaluated at compile-time [INFO] [stdout] --> main.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | const DEVICEPATH: &str = if let Ok(product_name) = std::process::Command::new("cat") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the destructor for this type cannot be evaluated in constants [INFO] [stdout] ... [INFO] [stdout] 34 | }; [INFO] [stdout] | - value is dropped here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0493, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0493, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vpower` (bin "vpower") due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vpower` (bin "vpower" test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "758b214159a14ad5058f1edd25afa5ecb8c2fca71a56d1b7e6fb7721b1dbc6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758b214159a14ad5058f1edd25afa5ecb8c2fca71a56d1b7e6fb7721b1dbc6b8", kill_on_drop: false }` [INFO] [stdout] 758b214159a14ad5058f1edd25afa5ecb8c2fca71a56d1b7e6fb7721b1dbc6b8