[INFO] cloning repository https://github.com/5cs/rsh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/5cs/rsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5cs%2Frsh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5cs%2Frsh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7a3ce7224371f0303688037f55b3e1ef2fe7e4d0
[INFO] checking 5cs/rsh against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5cs%2Frsh" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/5cs/rsh
[INFO] finished tweaking git repo https://github.com/5cs/rsh
[INFO] tweaked toml for git repo https://github.com/5cs/rsh written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/5cs/rsh on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/5cs/rsh 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b795d85b7c1a3e69d0f64574abd71b9613ee4c721234e3b0e8bf7b2ebffcad57
[INFO] running `Command { std: "docker" "start" "-a" "b795d85b7c1a3e69d0f64574abd71b9613ee4c721234e3b0e8bf7b2ebffcad57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b795d85b7c1a3e69d0f64574abd71b9613ee4c721234e3b0e8bf7b2ebffcad57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b795d85b7c1a3e69d0f64574abd71b9613ee4c721234e3b0e8bf7b2ebffcad57", kill_on_drop: false }`
[INFO] [stdout] b795d85b7c1a3e69d0f64574abd71b9613ee4c721234e3b0e8bf7b2ebffcad57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b0c38006c8b86e387f5aaa48e7d3751dc60f287be6b8b4112cfa9ff8dc90eb03
[INFO] running `Command { std: "docker" "start" "-a" "b0c38006c8b86e387f5aaa48e7d3751dc60f287be6b8b4112cfa9ff8dc90eb03", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking dirs-sys v0.3.5
[INFO] [stderr]     Checking nix v0.20.2
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking rsh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0133]: call to unsafe function `cli::nix::unistd::fork` is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/rsh.rs:154:15
[INFO] [stdout]     |
[INFO] [stdout] 154 |         match unistd::fork() {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `cli::nix::unistd::fork` is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/rsh.rs:178:27
[INFO] [stdout]     |
[INFO] [stdout] 178 |                     match unistd::fork() {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/rsh.rs:423:12
[INFO] [stdout]     |
[INFO] [stdout] 423 |         if let Err(e) = unistd::execvp(&array[0], &parts) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsh` (bin "rsh") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0133]: call to unsafe function `cli::nix::unistd::fork` is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/rsh.rs:154:15
[INFO] [stdout]     |
[INFO] [stdout] 154 |         match unistd::fork() {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0133]: call to unsafe function `cli::nix::unistd::fork` is unsafe and requires unsafe function or block
[INFO] [stdout]    --> src/rsh.rs:178:27
[INFO] [stdout]     |
[INFO] [stdout] 178 |                     match unistd::fork() {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/rsh.rs:423:12
[INFO] [stdout]     |
[INFO] [stdout] 423 |         if let Err(e) = unistd::execvp(&array[0], &parts) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rsh` (bin "rsh" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "b0c38006c8b86e387f5aaa48e7d3751dc60f287be6b8b4112cfa9ff8dc90eb03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0c38006c8b86e387f5aaa48e7d3751dc60f287be6b8b4112cfa9ff8dc90eb03", kill_on_drop: false }`
[INFO] [stdout] b0c38006c8b86e387f5aaa48e7d3751dc60f287be6b8b4112cfa9ff8dc90eb03
