[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] documenting HoloISO/vpower against 1.76.0 for beta-1.77-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HoloISO/vpower on toolchain 1.76.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "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-1-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" "+1.76.0" "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] documenting HoloISO/vpower against beta-2024-02-10 for beta-1.77-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HoloISO/vpower on toolchain beta-2024-02-10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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-1-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" "+beta-2024-02-10" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9895662c8d75e457e3ada9857f38977447e39966657b086796410c8061ec59d3 [INFO] running `Command { std: "docker" "start" "-a" "9895662c8d75e457e3ada9857f38977447e39966657b086796410c8061ec59d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9895662c8d75e457e3ada9857f38977447e39966657b086796410c8061ec59d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9895662c8d75e457e3ada9857f38977447e39966657b086796410c8061ec59d3", kill_on_drop: false }` [INFO] [stdout] 9895662c8d75e457e3ada9857f38977447e39966657b086796410c8061ec59d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5208bc83b452a79a08123c16d1650fdec35c0e49b8cad6a882b3f13fe9416730 [INFO] running `Command { std: "docker" "start" "-a" "5208bc83b452a79a08123c16d1650fdec35c0e49b8cad6a882b3f13fe9416730", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [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] Documenting vpower v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: cannot call non-const fn `std::process::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] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `std::process::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 `std::process::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 `std::result::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 `std::result::Result::, std::io::Error>::map::, fn(std::vec::Vec) -> std::result::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 `std::result::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 `std::result::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/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/string.rs:2530:1 [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] [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::result::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 `std::process::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] [stderr] error: could not document `vpower` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-02-10-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type bin --crate-name vpower main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=f81ce1c81b713fe8 -L dependency=/opt/rustwide/target/debug/deps --extern libc=/opt/rustwide/target/debug/deps/liblibc-807daf1c0c548bf2.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-7970ca698a07a956.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-ce7c217ee755b940.rmeta --cap-lints=warn --crate-version 1.4.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "5208bc83b452a79a08123c16d1650fdec35c0e49b8cad6a882b3f13fe9416730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5208bc83b452a79a08123c16d1650fdec35c0e49b8cad6a882b3f13fe9416730", kill_on_drop: false }` [INFO] [stdout] 5208bc83b452a79a08123c16d1650fdec35c0e49b8cad6a882b3f13fe9416730