[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/7a3ce7224371f0303688037f55b3e1ef2fe7e4d0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F5cs%2Frsh" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/5cs/rsh on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1867653ee76511dc752b4ca5e814ae2c8c6526fb3a92cc4d2695b74bbc637fd7 [INFO] running `Command { std: "docker" "start" "-a" "1867653ee76511dc752b4ca5e814ae2c8c6526fb3a92cc4d2695b74bbc637fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1867653ee76511dc752b4ca5e814ae2c8c6526fb3a92cc4d2695b74bbc637fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1867653ee76511dc752b4ca5e814ae2c8c6526fb3a92cc4d2695b74bbc637fd7", kill_on_drop: false }` [INFO] [stdout] 1867653ee76511dc752b4ca5e814ae2c8c6526fb3a92cc4d2695b74bbc637fd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f41ed1add731254996117fa83cb4a2158d1204cb6fffe56d25c518df37d835a6 [INFO] running `Command { std: "docker" "start" "-a" "f41ed1add731254996117fa83cb4a2158d1204cb6fffe56d25c518df37d835a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.0.0 [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: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] 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] 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] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [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 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rsh` (bin "rsh") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f41ed1add731254996117fa83cb4a2158d1204cb6fffe56d25c518df37d835a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f41ed1add731254996117fa83cb4a2158d1204cb6fffe56d25c518df37d835a6", kill_on_drop: false }` [INFO] [stdout] f41ed1add731254996117fa83cb4a2158d1204cb6fffe56d25c518df37d835a6