[INFO] fetching crate machine-info 1.0.9... [INFO] testing machine-info-1.0.9 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate machine-info 1.0.9 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate machine-info 1.0.9 [INFO] finished tweaking crates.io crate machine-info 1.0.9 [INFO] tweaked toml for crates.io crate machine-info 1.0.9 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate machine-info 1.0.9 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 66 packages to latest compatible versions [INFO] [stderr] Adding nvml-wrapper v0.8.0 (available: v0.12.1) [INFO] [stderr] Adding sysinfo v0.26.9 (available: v0.38.4) [INFO] [stderr] Adding v4l v0.13.1 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded hermit-abi v0.1.19 [INFO] [stderr] Downloaded shlex v0.1.1 [INFO] [stderr] Downloaded v4l2-sys-mit v0.2.0 [INFO] [stderr] Downloaded ansi_term v0.12.1 [INFO] [stderr] Downloaded nvml-wrapper-sys v0.6.0 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded wrapcenum-derive v0.4.1 [INFO] [stderr] Downloaded libloading v0.7.4 [INFO] [stderr] Downloaded v4l v0.13.1 [INFO] [stderr] Downloaded nvml-wrapper v0.8.0 [INFO] [stderr] Downloaded ntapi v0.4.3 [INFO] [stderr] Downloaded sysinfo v0.26.9 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded clap v2.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb24b39b912caff8ad1eb69c4863beae9c66856594e1cc0866b9fe3a47c6a279 [INFO] running `Command { std: "docker" "start" "-a" "fb24b39b912caff8ad1eb69c4863beae9c66856594e1cc0866b9fe3a47c6a279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb24b39b912caff8ad1eb69c4863beae9c66856594e1cc0866b9fe3a47c6a279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb24b39b912caff8ad1eb69c4863beae9c66856594e1cc0866b9fe3a47c6a279", kill_on_drop: false }` [INFO] [stdout] fb24b39b912caff8ad1eb69c4863beae9c66856594e1cc0866b9fe3a47c6a279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6961c87e61302c1ca08cba3c784c74d3f84bd5d10ee036a6dd6c4e78b96a6ce6 [INFO] running `Command { std: "docker" "start" "-a" "6961c87e61302c1ca08cba3c784c74d3f84bd5d10ee036a6dd6c4e78b96a6ce6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling nvml-wrapper-sys v0.6.0 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling sysinfo v0.26.9 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Compiling nvml-wrapper v0.8.0 [INFO] [stderr] Compiling machine-info v1.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.98s [INFO] running `Command { std: "docker" "inspect" "6961c87e61302c1ca08cba3c784c74d3f84bd5d10ee036a6dd6c4e78b96a6ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6961c87e61302c1ca08cba3c784c74d3f84bd5d10ee036a6dd6c4e78b96a6ce6", kill_on_drop: false }` [INFO] [stdout] 6961c87e61302c1ca08cba3c784c74d3f84bd5d10ee036a6dd6c4e78b96a6ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59d4cab4982f92c8d01e39c478e408282771e08eed687121563c219afef8709a [INFO] running `Command { std: "docker" "start" "-a" "59d4cab4982f92c8d01e39c478e408282771e08eed687121563c219afef8709a", kill_on_drop: false }` [INFO] [stderr] Compiling machine-info v1.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "59d4cab4982f92c8d01e39c478e408282771e08eed687121563c219afef8709a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59d4cab4982f92c8d01e39c478e408282771e08eed687121563c219afef8709a", kill_on_drop: false }` [INFO] [stdout] 59d4cab4982f92c8d01e39c478e408282771e08eed687121563c219afef8709a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13c437349f2c3c5d1e590630aead8e384935da569b58e1bb257904d3f3274e74 [INFO] running `Command { std: "docker" "start" "-a" "13c437349f2c3c5d1e590630aead8e384935da569b58e1bb257904d3f3274e74", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/machine_info-9bc1d268ae9fa4fa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests machine_info [INFO] [stderr] warning: unknown lint: `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> src/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![deny(rustdoc::missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the `rustdoc::missing_doc_code_examples` lint is unstable [INFO] [stderr] = note: see issue #101730 for more information [INFO] [stderr] = help: add `#![feature(rustdoc_missing_doc_code_examples)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2026-03-21; consider upgrading it if it is out of date [INFO] [stderr] = note: `#[warn(unknown_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/machine.rs - machine::Machine::system_status (line 243) ... FAILED [INFO] [stdout] test src/machine.rs - machine::Machine::untrack_process (line 208) ... FAILED [INFO] [stdout] test src/machine.rs - machine::Machine::processes_status (line 222) ... FAILED [INFO] [stdout] test src/machine.rs - machine::Machine::track_process (line 195) ... FAILED [INFO] [stdout] test src/machine.rs - machine::Machine::system_info (line 52) ... FAILED [INFO] [stdout] test src/machine.rs - machine::Machine::new (line 29) ... ok [INFO] [stdout] test src/machine.rs - machine::Machine::graphics_status (line 153) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/machine.rs - machine::Machine::system_status (line 243) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/machine.rs:247:1 [INFO] [stdout] | [INFO] [stdout] 247 | let m = Machine::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/machine.rs - machine::Machine::untrack_process (line 208) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/machine.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | let m = Machine::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/machine.rs - machine::Machine::processes_status (line 222) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/machine.rs:226:1 [INFO] [stdout] | [INFO] [stdout] 226 | let m = Machine::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/machine.rs - machine::Machine::track_process (line 195) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/machine.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | m.track_process(process_pid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), anyhow::Error>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 200 | m.track_process(process_pid); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 196 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_machine_rs_195_0() -> Result<(), anyhow::Error> { [INFO] [stdout] | ++++++++++++++++++++++++++++ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), anyhow::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 200 | m.track_process(process_pid).expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/machine.rs - machine::Machine::system_info (line 52) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `m` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/machine.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | println!("{:?}", m.system_info()) [INFO] [stdout] | ^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 55 | let mut m = Machine::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/machine.rs - machine::Machine::processes_status (line 222) [INFO] [stdout] src/machine.rs - machine::Machine::system_info (line 52) [INFO] [stdout] src/machine.rs - machine::Machine::system_status (line 243) [INFO] [stdout] src/machine.rs - machine::Machine::track_process (line 195) [INFO] [stdout] src/machine.rs - machine::Machine::untrack_process (line 208) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "13c437349f2c3c5d1e590630aead8e384935da569b58e1bb257904d3f3274e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c437349f2c3c5d1e590630aead8e384935da569b58e1bb257904d3f3274e74", kill_on_drop: false }` [INFO] [stdout] 13c437349f2c3c5d1e590630aead8e384935da569b58e1bb257904d3f3274e74