[INFO] cloning repository https://github.com/kaifastromai/cs-os-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaifastromai/cs-os-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaifastromai%2Fcs-os-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaifastromai%2Fcs-os-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d4e8a3b7d65a25289f0f3f9ea63b7f6bdb62df7
[INFO] checking kaifastromai/cs-os-rust against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaifastromai%2Fcs-os-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kaifastromai/cs-os-rust
[INFO] finished tweaking git repo https://github.com/kaifastromai/cs-os-rust
[INFO] tweaked toml for git repo https://github.com/kaifastromai/cs-os-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kaifastromai/cs-os-rust on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kaifastromai/cs-os-rust 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.59
[INFO] [stderr]   Downloaded libc v0.2.77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3
[INFO] running `Command { std: "docker" "start" "a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking cs-operating-systems v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `CStr`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ffi::{CStr, CString};
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unistd::chdir`
[INFO] [stdout]  --> src/main.rs:5:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | use nix::{fcntl::OFlag, sys::stat::Mode, unistd::chdir};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `sys::wait::WaitPidFlag` and `unistd::close`
[INFO] [stdout]  --> src/main.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use nix::{sys::wait::WaitPidFlag, sys::wait::WaitStatus, unistd::close};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::BufRead`
[INFO] [stdout]  --> src/main.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{ffi, io::BufRead};
[INFO] [stdout]   |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:146:16
[INFO] [stdout]     |
[INFO] [stdout] 146 |             if (matches.opt_present("exec2")) {
[INFO] [stdout]     |                ^                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 -             if (matches.opt_present("exec2")) {
[INFO] [stdout] 146 +             if matches.opt_present("exec2") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prog`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let prog = env_args[0].clone();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_prog`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEV` is never used
[INFO] [stdout]   --> src/main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static DEV: bool = true;
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CStr`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ffi::{CStr, CString};
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `unistd::chdir`
[INFO] [stdout]  --> src/main.rs:5:42
[INFO] [stdout]   |
[INFO] [stdout] 5 | use nix::{fcntl::OFlag, sys::stat::Mode, unistd::chdir};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `sys::wait::WaitPidFlag` and `unistd::close`
[INFO] [stdout]  --> src/main.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use nix::{sys::wait::WaitPidFlag, sys::wait::WaitStatus, unistd::close};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::BufRead`
[INFO] [stdout]  --> src/main.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{ffi, io::BufRead};
[INFO] [stdout]   |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:146:16
[INFO] [stdout]     |
[INFO] [stdout] 146 |             if (matches.opt_present("exec2")) {
[INFO] [stdout]     |                ^                            ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 -             if (matches.opt_present("exec2")) {
[INFO] [stdout] 146 +             if matches.opt_present("exec2") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prog`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let prog = env_args[0].clone();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_prog`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEV` is never used
[INFO] [stdout]   --> src/main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static DEV: bool = true;
[INFO] [stdout]    |        ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.39s
[INFO] running `Command { std: "docker" "inspect" "a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3", kill_on_drop: false }`
[INFO] [stdout] a299ffdb7d976aa33d0dd9f44e81d11df3d4850d23c6bfd2f67f266ffbb874b3
