[INFO] cloning repository https://github.com/taraka/rus-linux [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taraka/rus-linux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Frus-linux", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Frus-linux'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c710642ae749fe1a437c3ac49058ea42429713b4 [INFO] checking taraka/rus-linux against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaraka%2Frus-linux" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/taraka/rus-linux [INFO] finished tweaking git repo https://github.com/taraka/rus-linux [INFO] tweaked toml for git repo https://github.com/taraka/rus-linux written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taraka/rus-linux on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/taraka/rus-linux 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de61e519cfb663cdb2efb41f3a891fc6642e71f20763f1a6f01d99f2b7c01f0b [INFO] running `Command { std: "docker" "start" "-a" "de61e519cfb663cdb2efb41f3a891fc6642e71f20763f1a6f01d99f2b7c01f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de61e519cfb663cdb2efb41f3a891fc6642e71f20763f1a6f01d99f2b7c01f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de61e519cfb663cdb2efb41f3a891fc6642e71f20763f1a6f01d99f2b7c01f0b", kill_on_drop: false }` [INFO] [stdout] de61e519cfb663cdb2efb41f3a891fc6642e71f20763f1a6f01d99f2b7c01f0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12e42f32521bfc60053cf50cb93f98b16ba6093ee8867b7107c406fcd2c902fb [INFO] running `Command { std: "docker" "start" "-a" "12e42f32521bfc60053cf50cb93f98b16ba6093ee8867b7107c406fcd2c902fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.0 [INFO] [stderr] Checking clap v3.1.0 [INFO] [stderr] Checking rust-user-space v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/sh.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(ForkResult::Child) => { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 130 | | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | | ---------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/sh.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/sh.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(ForkResult::Child) => { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 130 | | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | | ---------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/sh.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ls.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-user-space` (bin "ls") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/init.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn run_sh() { [INFO] [stdout] | _____________^ [INFO] [stdout] 20 | | let path_c = CString::new("/bin/sh").unwrap(); [INFO] [stdout] 21 | | let argv_c: Vec = vec![path_c.clone()]; [INFO] [stdout] 22 | | let env_c: Vec = vec![]; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | | ---------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/init.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/init.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | fn run_sh() { [INFO] [stdout] | _____________^ [INFO] [stdout] 20 | | let path_c = CString::new("/bin/sh").unwrap(); [INFO] [stdout] 21 | | let argv_c: Vec = vec![path_c.clone()]; [INFO] [stdout] 22 | | let env_c: Vec = vec![]; [INFO] [stdout] 23 | | [INFO] [stdout] 24 | | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | | ---------------------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `Infallible`, which is uninhabited [INFO] [stdout] --> src/init.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | execve(&path_c, &argv_c[..], &env_c[..]).expect("evecve failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/ls.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-user-space` (bin "cat" test) due to 1 previous error [INFO] [stderr] error: could not compile `rust-user-space` (bin "ls" test) due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cat.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-user-space` (bin "cat") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "12e42f32521bfc60053cf50cb93f98b16ba6093ee8867b7107c406fcd2c902fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e42f32521bfc60053cf50cb93f98b16ba6093ee8867b7107c406fcd2c902fb", kill_on_drop: false }` [INFO] [stdout] 12e42f32521bfc60053cf50cb93f98b16ba6093ee8867b7107c406fcd2c902fb