[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.75.0 for beta-1.76-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoloISO%2Fvpower" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/HoloISO/vpower on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.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-5-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.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c4fe4f74825ffbfc95f43a1b5c660f2896e1fdab6a0d64bab990eec03d521b9d
[INFO] running `Command { std: "docker" "start" "-a" "c4fe4f74825ffbfc95f43a1b5c660f2896e1fdab6a0d64bab990eec03d521b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4fe4f74825ffbfc95f43a1b5c660f2896e1fdab6a0d64bab990eec03d521b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4fe4f74825ffbfc95f43a1b5c660f2896e1fdab6a0d64bab990eec03d521b9d", kill_on_drop: false }`
[INFO] [stdout] c4fe4f74825ffbfc95f43a1b5c660f2896e1fdab6a0d64bab990eec03d521b9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+1.75.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d6b64edfbfd28a49d9ad7abab890842814a84793316cbe50ce4ba8055343d913
[INFO] running `Command { std: "docker" "start" "-a" "d6b64edfbfd28a49d9ad7abab890842814a84793316cbe50ce4ba8055343d913", 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]  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 <https://github.com/rust-lang/rust/issues/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::<std::process::Output, std::io::Error>::map::<std::vec::Vec<u8>, {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::vec::Vec<u8>, std::io::Error>::map::<std::result::Result<std::string::String, std::string::FromUtf8Error>, fn(std::vec::Vec<u8>) -> std::result::Result<std::string::String, std::string::FromUtf8Error> {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::result::Result<std::string::String, std::string::FromUtf8Error>, std::io::Error>::map_err::<std::string::String, {closure@main.rs:24:18: 24:21}>` 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::result::Result<std::string::String, std::string::FromUtf8Error>, std::string::String>::and_then::<std::string::String, {closure@main.rs:25:19: 25:24}>` 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/82e1608dfa6e0b5569232559e3d385fea5a93112/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::<impl 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<std::string::String, std::string::String>` 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/1.75.0-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=7831060f7d893db0 -L dependency=/opt/rustwide/target/debug/deps --extern libc=/opt/rustwide/target/debug/deps/liblibc-24aeef0f86614e55.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-c1c85b4bb342eb59.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-052104bc7e2616e1.rmeta --cap-lints=warn --crate-version 1.4.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "d6b64edfbfd28a49d9ad7abab890842814a84793316cbe50ce4ba8055343d913", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6b64edfbfd28a49d9ad7abab890842814a84793316cbe50ce4ba8055343d913", kill_on_drop: false }`
[INFO] [stdout] d6b64edfbfd28a49d9ad7abab890842814a84793316cbe50ce4ba8055343d913
