[INFO] updating cached repository https://github.com/Church-/Psyop
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] aa5ae514a321a7c07ebbe56785d5c77cb5210e4e
[INFO] checking Church-/Psyop against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChurch-%2FPsyop" "/workspace/builds/worker-14/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Church-/Psyop on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/Church-/Psyop
[INFO] finished tweaking git repo https://github.com/Church-/Psyop
[INFO] tweaked toml for git repo https://github.com/Church-/Psyop written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/Church-/Psyop already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /workspace/builds/worker-14/source/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ba462d75ce8b0cd09d0774f53c7de46835c9582d9a4f67a01efe9b150f8c24fd
[INFO] running `"docker" "start" "-a" "ba462d75ce8b0cd09d0774f53c7de46835c9582d9a4f67a01efe9b150f8c24fd"`
[INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently
[INFO] [stderr] disables Cargo from automatically inferring other binary targets.
[INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following
[INFO] [stderr] files will be included as a binary target:
[INFO] [stderr] 
[INFO] [stderr] * /opt/rustwide/workdir/src/main.rs
[INFO] [stderr] 
[INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be
[INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself
[INFO] [stderr] and disable this warning by adding `autobins = false` to your [package]
[INFO] [stderr] section. You may also move the files to a location where Cargo would not
[INFO] [stderr] automatically infer them to be a target, such as in subfolders.
[INFO] [stderr] 
[INFO] [stderr] For more information on this warning you can consult
[INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330
[INFO] [stderr]     Checking regex-syntax v0.4.2
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]     Checking aho-corasick v0.6.4
[INFO] [stderr]     Checking regex v0.2.6
[INFO] [stderr]     Checking psyop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/run.rs:94:25
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let finalMem: f64 = ((tmpMem / getSystemMemory()) * 100.0);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/run.rs:94:25
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let finalMem: f64 = ((tmpMem / getSystemMemory()) * 100.0);
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0601]: `main` function not found in crate `lib`
[INFO] [stderr]    --> src/run.rs:1:1
[INFO] [stderr]     |
[INFO] [stderr] 1   | / extern crate regex;
[INFO] [stderr] 2   | | mod process;
[INFO] [stderr] 3   | | use regex::Regex;
[INFO] [stderr] 4   | | use std::path::{Path, PathBuf};
[INFO] [stderr] ...   |
[INFO] [stderr] 142 | |     }
[INFO] [stderr] 143 | | }
[INFO] [stderr]     | |_^ consider adding a `main` function to `src/run.rs`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_left': superseded by `trim_start`
[INFO] [stderr]   --> src/run.rs:26:24
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let tmpLine = line.trim_left();
[INFO] [stderr]    |                        ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'core::str::<impl str>::trim_left': superseded by `trim_start`
[INFO] [stderr]   --> src/run.rs:26:24
[INFO] [stderr]    |
[INFO] [stderr] 26 |     let tmpLine = line.trim_left();
[INFO] [stderr]    |                        ^^^^^^^^^ help: replace the use of the deprecated item: `trim_start`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0601`.
[INFO] [stderr] error: could not compile `psyop`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0515]: cannot return value referencing local variable `user`
[INFO] [stderr]   --> src/run.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     user.as_str()
[INFO] [stderr]    |     ----^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     returns a value referencing data owned by the current function
[INFO] [stderr]    |     `user` is borrowed here
[INFO] [stderr] 
[INFO] [stderr] error[E0597]: `buffer` does not live long enough
[INFO] [stderr]   --> src/run.rs:56:21
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let tmpBuffer = (&buffer).lines();
[INFO] [stderr]    |                     ^^^^^^^^^--------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     borrowed value does not live long enough
[INFO] [stderr]    |                     argument requires that `buffer` is borrowed for `'static`
[INFO] [stderr] ...
[INFO] [stderr] 70 | }
[INFO] [stderr]    | - `buffer` dropped here while still borrowed
[INFO] [stderr] 
[INFO] [stderr] error[E0597]: `user` does not live long enough
[INFO] [stderr]   --> src/run.rs:68:58
[INFO] [stderr]    |
[INFO] [stderr] 68 |     let tmpProcess = Process::new(name, state, pid, mem, &user, "");
[INFO] [stderr]    |                      ------------------------------------^^^^^-----
[INFO] [stderr]    |                      |                                   |
[INFO] [stderr]    |                      |                                   borrowed value does not live long enough
[INFO] [stderr]    |                      argument requires that `user` is borrowed for `'static`
[INFO] [stderr] 69 |     return (pid.parse::<isize>().unwrap(), tmpProcess);
[INFO] [stderr] 70 | }
[INFO] [stderr]    | - `user` dropped here while still borrowed
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0515, E0597.
[INFO] [stderr] For more information about an error, try `rustc --explain E0515`.
[INFO] [stderr] error: could not compile `psyop`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ba462d75ce8b0cd09d0774f53c7de46835c9582d9a4f67a01efe9b150f8c24fd"`
[INFO] running `"docker" "rm" "-f" "ba462d75ce8b0cd09d0774f53c7de46835c9582d9a4f67a01efe9b150f8c24fd"`
[INFO] [stdout] ba462d75ce8b0cd09d0774f53c7de46835c9582d9a4f67a01efe9b150f8c24fd
