[INFO] cloning repository https://github.com/tomyamkum/rust-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomyamkum/rust-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomyamkum%2Frust-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomyamkum%2Frust-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a655ad4e1d9bb3d8884d0472665eed1da8e41f2 [INFO] checking tomyamkum/rust-shell against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomyamkum%2Frust-shell" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tomyamkum/rust-shell [INFO] finished tweaking git repo https://github.com/tomyamkum/rust-shell [INFO] tweaked toml for git repo https://github.com/tomyamkum/rust-shell written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tomyamkum/rust-shell on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tomyamkum/rust-shell 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c32f428fa95abef926feeecfc6263e0e78ddaf20bcc601e08dd1f99e8e0797e [INFO] running `Command { std: "docker" "start" "-a" "2c32f428fa95abef926feeecfc6263e0e78ddaf20bcc601e08dd1f99e8e0797e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c32f428fa95abef926feeecfc6263e0e78ddaf20bcc601e08dd1f99e8e0797e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c32f428fa95abef926feeecfc6263e0e78ddaf20bcc601e08dd1f99e8e0797e", kill_on_drop: false }` [INFO] [stdout] 2c32f428fa95abef926feeecfc6263e0e78ddaf20bcc601e08dd1f99e8e0797e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b65ca7178ebefded189b383c758170cc705de0908b7a43b0bc74481a36d636bb [INFO] running `Command { std: "docker" "start" "-a" "b65ca7178ebefded189b383c758170cc705de0908b7a43b0bc74481a36d636bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking rgb v0.8.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | / loop{ [INFO] [stdout] 28 | | match &dir.to_str() { [INFO] [stdout] 29 | | Some(v) => println!("{}", v.blue()), [INFO] [stdout] 30 | | None => println!("{}", "失敗".red()), [INFO] [stdout] ... | [INFO] [stdout] 182 | |/ execv( [INFO] [stdout] 183 | || &path, [INFO] [stdout] 184 | || &[ [INFO] [stdout] 185 | || path.clone(), [INFO] [stdout] 186 | || args, [INFO] [stdout] 187 | || ], [INFO] [stdout] 188 | || ).expect("textプログラム失敗"); [INFO] [stdout] | ||______________________________________________________- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `void::Void`, which is uninhabited [INFO] [stdout] --> src/main.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 182 | / execv( [INFO] [stdout] 183 | | &path, [INFO] [stdout] 184 | | &[ [INFO] [stdout] 185 | | path.clone(), [INFO] [stdout] 186 | | args, [INFO] [stdout] 187 | | ], [INFO] [stdout] 188 | | ).expect("textプログラム失敗"); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | / loop{ [INFO] [stdout] 28 | | match &dir.to_str() { [INFO] [stdout] 29 | | Some(v) => println!("{}", v.blue()), [INFO] [stdout] 30 | | None => println!("{}", "失敗".red()), [INFO] [stdout] ... | [INFO] [stdout] 209 | |/ execv( [INFO] [stdout] 210 | || &path, [INFO] [stdout] 211 | || &[ [INFO] [stdout] 212 | || path.clone(), [INFO] [stdout] 213 | || args, [INFO] [stdout] 214 | || ], [INFO] [stdout] 215 | || ).expect("textプログラム失敗"); [INFO] [stdout] | ||______________________________________________________- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `void::Void`, which is uninhabited [INFO] [stdout] --> src/main.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | / execv( [INFO] [stdout] 210 | | &path, [INFO] [stdout] 211 | | &[ [INFO] [stdout] 212 | | path.clone(), [INFO] [stdout] 213 | | args, [INFO] [stdout] 214 | | ], [INFO] [stdout] 215 | | ).expect("textプログラム失敗"); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | / loop{ [INFO] [stdout] 28 | | match &dir.to_str() { [INFO] [stdout] 29 | | Some(v) => println!("{}", v.blue()), [INFO] [stdout] 30 | | None => println!("{}", "失敗".red()), [INFO] [stdout] ... | [INFO] [stdout] 235 | |/ execv( [INFO] [stdout] 236 | || &path, [INFO] [stdout] 237 | || &[ [INFO] [stdout] 238 | || path.clone(), [INFO] [stdout] 239 | || args, [INFO] [stdout] 240 | || ], [INFO] [stdout] 241 | || ).expect("子プロセス失敗"); [INFO] [stdout] | ||__________________________________________________________- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `void::Void`, which is uninhabited [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | / execv( [INFO] [stdout] 236 | | &path, [INFO] [stdout] 237 | | &[ [INFO] [stdout] 238 | | path.clone(), [INFO] [stdout] 239 | | args, [INFO] [stdout] 240 | | ], [INFO] [stdout] 241 | | ).expect("子プロセス失敗"); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | / loop{ [INFO] [stdout] 28 | | match &dir.to_str() { [INFO] [stdout] 29 | | Some(v) => println!("{}", v.blue()), [INFO] [stdout] 30 | | None => println!("{}", "失敗".red()), [INFO] [stdout] ... | [INFO] [stdout] 182 | |/ execv( [INFO] [stdout] 183 | || &path, [INFO] [stdout] 184 | || &[ [INFO] [stdout] 185 | || path.clone(), [INFO] [stdout] 186 | || args, [INFO] [stdout] 187 | || ], [INFO] [stdout] 188 | || ).expect("textプログラム失敗"); [INFO] [stdout] | ||______________________________________________________- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `void::Void`, which is uninhabited [INFO] [stdout] --> src/main.rs:182:7 [INFO] [stdout] | [INFO] [stdout] 182 | / execv( [INFO] [stdout] 183 | | &path, [INFO] [stdout] 184 | | &[ [INFO] [stdout] 185 | | path.clone(), [INFO] [stdout] 186 | | args, [INFO] [stdout] 187 | | ], [INFO] [stdout] 188 | | ).expect("textプログラム失敗"); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | / loop{ [INFO] [stdout] 28 | | match &dir.to_str() { [INFO] [stdout] 29 | | Some(v) => println!("{}", v.blue()), [INFO] [stdout] 30 | | None => println!("{}", "失敗".red()), [INFO] [stdout] ... | [INFO] [stdout] 209 | |/ execv( [INFO] [stdout] 210 | || &path, [INFO] [stdout] 211 | || &[ [INFO] [stdout] 212 | || path.clone(), [INFO] [stdout] 213 | || args, [INFO] [stdout] 214 | || ], [INFO] [stdout] 215 | || ).expect("textプログラム失敗"); [INFO] [stdout] | ||______________________________________________________- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `void::Void`, which is uninhabited [INFO] [stdout] --> src/main.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | / execv( [INFO] [stdout] 210 | | &path, [INFO] [stdout] 211 | | &[ [INFO] [stdout] 212 | | path.clone(), [INFO] [stdout] 213 | | args, [INFO] [stdout] 214 | | ], [INFO] [stdout] 215 | | ).expect("textプログラム失敗"); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | / loop{ [INFO] [stdout] 28 | | match &dir.to_str() { [INFO] [stdout] 29 | | Some(v) => println!("{}", v.blue()), [INFO] [stdout] 30 | | None => println!("{}", "失敗".red()), [INFO] [stdout] ... | [INFO] [stdout] 235 | |/ execv( [INFO] [stdout] 236 | || &path, [INFO] [stdout] 237 | || &[ [INFO] [stdout] 238 | || path.clone(), [INFO] [stdout] 239 | || args, [INFO] [stdout] 240 | || ], [INFO] [stdout] 241 | || ).expect("子プロセス失敗"); [INFO] [stdout] | ||__________________________________________________________- any code following this expression is unreachable [INFO] [stdout] ... | [INFO] [stdout] 250 | | }; [INFO] [stdout] 251 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `void::Void`, which is uninhabited [INFO] [stdout] --> src/main.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | / execv( [INFO] [stdout] 236 | | &path, [INFO] [stdout] 237 | | &[ [INFO] [stdout] 238 | | path.clone(), [INFO] [stdout] 239 | | args, [INFO] [stdout] 240 | | ], [INFO] [stdout] 241 | | ).expect("子プロセス失敗"); [INFO] [stdout] | |__________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut target: String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut target: String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.69s [INFO] running `Command { std: "docker" "inspect" "b65ca7178ebefded189b383c758170cc705de0908b7a43b0bc74481a36d636bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65ca7178ebefded189b383c758170cc705de0908b7a43b0bc74481a36d636bb", kill_on_drop: false }` [INFO] [stdout] b65ca7178ebefded189b383c758170cc705de0908b7a43b0bc74481a36d636bb