[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#0ef0dd24510b52da980889546fcd15254dc56a23 for pr-126452 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomyamkum%2Frust-shell" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tomyamkum/rust-shell on toolchain 0ef0dd24510b52da980889546fcd15254dc56a23 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0ef0dd24510b52da980889546fcd15254dc56a23" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+0ef0dd24510b52da980889546fcd15254dc56a23" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0ef0dd24510b52da980889546fcd15254dc56a23" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3116e0df07b78f6dd5e045c1d77616f0931ca0f4c926ddc1e35d88d51546fe2 [INFO] running `Command { std: "docker" "start" "-a" "f3116e0df07b78f6dd5e045c1d77616f0931ca0f4c926ddc1e35d88d51546fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3116e0df07b78f6dd5e045c1d77616f0931ca0f4c926ddc1e35d88d51546fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3116e0df07b78f6dd5e045c1d77616f0931ca0f4c926ddc1e35d88d51546fe2", kill_on_drop: false }` [INFO] [stdout] f3116e0df07b78f6dd5e045c1d77616f0931ca0f4c926ddc1e35d88d51546fe2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0ef0dd24510b52da980889546fcd15254dc56a23" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3f4dbd0d621f49268e61a79a589b1e7930a594b3e39bef637fbb3aa771365d [INFO] running `Command { std: "docker" "start" "-a" "4e3f4dbd0d621f49268e61a79a589b1e7930a594b3e39bef637fbb3aa771365d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rgb v0.8.14 [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] 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] 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] 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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "4e3f4dbd0d621f49268e61a79a589b1e7930a594b3e39bef637fbb3aa771365d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3f4dbd0d621f49268e61a79a589b1e7930a594b3e39bef637fbb3aa771365d", kill_on_drop: false }` [INFO] [stdout] 4e3f4dbd0d621f49268e61a79a589b1e7930a594b3e39bef637fbb3aa771365d