[INFO] cloning repository Church-/Psyop [INFO] running `"git" "clone" "--bare" "git://github.com/Church-/Psyop.git" "work/cache/sources/gh/Church-/Psyop"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/Church-/Psyop'... [INFO] running `"git" "clone" "work/cache/sources/gh/Church-/Psyop" "work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/Church-/Psyop"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/Church-/Psyop'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Church-/Psyop" "work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/Church-/Psyop"` [INFO] [stderr] Cloning into 'work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/Church-/Psyop'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] aa5ae514a321a7c07ebbe56785d5c77cb5210e4e [INFO] sha for GitHub repo Church-/Psyop: aa5ae514a321a7c07ebbe56785d5c77cb5210e4e [INFO] validating manifest of Church-/Psyop on toolchain master#9f06855064ed06a50c496577b21ca50f92a2e67d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Church-/Psyop on toolchain try#d3301713b54af69ca9de941a8c6b0d8287dbd6df [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Church-/Psyop [INFO] finished frobbing Church-/Psyop [INFO] frobbed toml for Church-/Psyop written to work/ex/pr-61874/sources/master#9f06855064ed06a50c496577b21ca50f92a2e67d/gh/Church-/Psyop/Cargo.toml [INFO] started frobbing Church-/Psyop [INFO] finished frobbing Church-/Psyop [INFO] frobbed toml for Church-/Psyop written to work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/Church-/Psyop/Cargo.toml [INFO] crate Church-/Psyop already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+9f06855064ed06a50c496577b21ca50f92a2e67d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] checking Church-/Psyop against try#d3301713b54af69ca9de941a8c6b0d8287dbd6df for pr-61874 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61874/worker-0/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61874/sources/try#d3301713b54af69ca9de941a8c6b0d8287dbd6df/gh/Church-/Psyop:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+d3301713b54af69ca9de941a8c6b0d8287dbd6df-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 529315df6c4d66d3c706c5470004d47e1fb00fa7906a7dfff6cd420ca5978332 [INFO] running `"docker" "start" "-a" "529315df6c4d66d3c706c5470004d47e1fb00fa7906a7dfff6cd420ca5978332"` [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/crater/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 psyop v0.1.0 (/opt/crater/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] error[E0601]: `main` function not found in crate `lib` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `src/run.rs` [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] warning: use of deprecated item 'core::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::::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[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::().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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `psyop`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "529315df6c4d66d3c706c5470004d47e1fb00fa7906a7dfff6cd420ca5978332"` [INFO] running `"docker" "rm" "-f" "529315df6c4d66d3c706c5470004d47e1fb00fa7906a7dfff6cd420ca5978332"` [INFO] [stdout] 529315df6c4d66d3c706c5470004d47e1fb00fa7906a7dfff6cd420ca5978332