[INFO] cloning repository https://github.com/Cypher121/mhrise_charm_exporter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cypher121/mhrise_charm_exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCypher121%2Fmhrise_charm_exporter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCypher121%2Fmhrise_charm_exporter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f78dd92c2b34afb366a1ebed8e40e91a7376fbb
[INFO] building Cypher121/mhrise_charm_exporter against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCypher121%2Fmhrise_charm_exporter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Cypher121/mhrise_charm_exporter on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Cypher121/mhrise_charm_exporter
[INFO] finished tweaking git repo https://github.com/Cypher121/mhrise_charm_exporter
[INFO] tweaked toml for git repo https://github.com/Cypher121/mhrise_charm_exporter written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Cypher121/mhrise_charm_exporter 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sysinfo v0.21.2
[INFO] [stderr]   Downloaded process-memory v0.4.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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a03bb311efebe6e30a6d925f9aedfc64c0a4d8476a89751601a3ae9b0507e7ac
[INFO] running `Command { std: "docker" "start" "-a" "a03bb311efebe6e30a6d925f9aedfc64c0a4d8476a89751601a3ae9b0507e7ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a03bb311efebe6e30a6d925f9aedfc64c0a4d8476a89751601a3ae9b0507e7ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a03bb311efebe6e30a6d925f9aedfc64c0a4d8476a89751601a3ae9b0507e7ac", kill_on_drop: false }`
[INFO] [stdout] a03bb311efebe6e30a6d925f9aedfc64c0a4d8476a89751601a3ae9b0507e7ac
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d94d15a8c4338f1357a21163f1d20e9503de719aca51e553ef416023ccd1c93f
[INFO] running `Command { std: "docker" "start" "-a" "d94d15a8c4338f1357a21163f1d20e9503de719aca51e553ef416023ccd1c93f", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.7
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.7
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling sysinfo v0.21.2
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling process-memory v0.4.0
[INFO] [stderr]    Compiling charm_exporter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter` and `Write`
[INFO] [stdout]  --> src/main.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::{BufWriter, Write};
[INFO] [stdout]   |               ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryIntoProcessHandle`
[INFO] [stdout]  --> src/main.rs:6:57
[INFO] [stdout]   |
[INFO] [stdout] 6 | use process_memory::{DataMember, Memory, ProcessHandle, TryIntoProcessHandle};
[INFO] [stdout]   |                                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsU32`, `ProcessExt`, and `System`
[INFO] [stdout]  --> src/main.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sysinfo::{AsU32, ProcessExt, System, SystemExt};
[INFO] [stdout]   |               ^^^^^  ^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FailedToOpenProcess` and `NoGameProcessFound`
[INFO] [stdout]  --> src/main.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::GameOpenError::{FailedToOpenProcess, NoGameProcessFound};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `charm_exporter`
[INFO] [stdout]    --> src/main.rs:181:2
[INFO] [stdout]     |
[INFO] [stdout] 181 | }
[INFO] [stdout]     |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemExt`
[INFO] [stdout]  --> src/main.rs:7:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sysinfo::{AsU32, ProcessExt, System, SystemExt};
[INFO] [stdout]   |                                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0601`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `charm_exporter` (bin "charm_exporter") due to 1 previous error; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d94d15a8c4338f1357a21163f1d20e9503de719aca51e553ef416023ccd1c93f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d94d15a8c4338f1357a21163f1d20e9503de719aca51e553ef416023ccd1c93f", kill_on_drop: false }`
[INFO] [stdout] d94d15a8c4338f1357a21163f1d20e9503de719aca51e553ef416023ccd1c93f
