[INFO] cloning repository https://github.com/aiaoyang/processMonitorWithRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aiaoyang/processMonitorWithRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faiaoyang%2FprocessMonitorWithRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faiaoyang%2FprocessMonitorWithRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25bfb18de2ceb92a78dbf1dc69ee42528a4360cf [INFO] checking aiaoyang/processMonitorWithRust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faiaoyang%2FprocessMonitorWithRust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aiaoyang/processMonitorWithRust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aiaoyang/processMonitorWithRust [INFO] finished tweaking git repo https://github.com/aiaoyang/processMonitorWithRust [INFO] tweaked toml for git repo https://github.com/aiaoyang/processMonitorWithRust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aiaoyang/processMonitorWithRust 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7a505a5992612c917a02a13f77efc0610ceb844e85ef9177579e089d70e7892 [INFO] running `Command { std: "docker" "start" "-a" "b7a505a5992612c917a02a13f77efc0610ceb844e85ef9177579e089d70e7892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7a505a5992612c917a02a13f77efc0610ceb844e85ef9177579e089d70e7892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a505a5992612c917a02a13f77efc0610ceb844e85ef9177579e089d70e7892", kill_on_drop: false }` [INFO] [stdout] b7a505a5992612c917a02a13f77efc0610ceb844e85ef9177579e089d70e7892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff09bcb0d9fc1ffb9dd1227f46dfaf59f57df555d98a86751f630fefb17bdcd2 [INFO] running `Command { std: "docker" "start" "-a" "ff09bcb0d9fc1ffb9dd1227f46dfaf59f57df555d98a86751f630fefb17bdcd2", kill_on_drop: false }` [INFO] [stderr] Checking monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `process_cpu_count` in this scope [INFO] [stdout] --> src/cpu.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | print!("{:?}", process_cpu_count("1")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 170 + use crate::process_cpu_count; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | ParseFloat(num::ParseFloatError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | ParseFloat(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | ParseInt(num::ParseIntError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | ParseInt(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `monitor` (bin "monitor" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ff09bcb0d9fc1ffb9dd1227f46dfaf59f57df555d98a86751f630fefb17bdcd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff09bcb0d9fc1ffb9dd1227f46dfaf59f57df555d98a86751f630fefb17bdcd2", kill_on_drop: false }` [INFO] [stdout] ff09bcb0d9fc1ffb9dd1227f46dfaf59f57df555d98a86751f630fefb17bdcd2