[INFO] cloning repository https://github.com/buster1253/powerline-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/buster1253/powerline-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster1253%2Fpowerline-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster1253%2Fpowerline-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ac011c80c91a0bd07ff240d22c40a050c122525 [INFO] checking buster1253/powerline-rs against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster1253%2Fpowerline-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/buster1253/powerline-rs [INFO] finished tweaking git repo https://github.com/buster1253/powerline-rs [INFO] tweaked toml for git repo https://github.com/buster1253/powerline-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/buster1253/powerline-rs on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/buster1253/powerline-rs 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 491e3776ee67879be5147b75c6f04df84383df8525f4b5f17f26fe4dd567a60e [INFO] running `Command { std: "docker" "start" "-a" "491e3776ee67879be5147b75c6f04df84383df8525f4b5f17f26fe4dd567a60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "491e3776ee67879be5147b75c6f04df84383df8525f4b5f17f26fe4dd567a60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491e3776ee67879be5147b75c6f04df84383df8525f4b5f17f26fe4dd567a60e", kill_on_drop: false }` [INFO] [stdout] 491e3776ee67879be5147b75c6f04df84383df8525f4b5f17f26fe4dd567a60e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fe46ce3ef9128b889e88254027c1c98d3b85cf5b2561f62fc419120f6eba906 [INFO] running `Command { std: "docker" "start" "-a" "5fe46ce3ef9128b889e88254027c1c98d3b85cf5b2561f62fc419120f6eba906", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking prompt-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/path.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub parsers: Vec<&'a Fn(&PathBuf) -> Option<(usize, PathBuf)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub parsers: Vec<&'a dyn Fn(&PathBuf) -> Option<(usize, PathBuf)>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command` and `Stdio` [INFO] [stdout] --> src/main.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/path.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub parsers: Vec<&'a Fn(&PathBuf) -> Option<(usize, PathBuf)>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub parsers: Vec<&'a dyn Fn(&PathBuf) -> Option<(usize, PathBuf)>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/git.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Err(err) => return None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_red` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let fg_red = fg.clone() + red + "m"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_black` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let fg_black = fg.clone() + black + "m"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_green` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let fg_green = fg.clone() + green + "m"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_orange` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let fg_orange = fg.clone() + orange + "m"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_orange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prompt` is never used [INFO] [stdout] --> src/git.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Prompt { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Git` is never constructed [INFO] [stdout] --> src/git.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Git { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/jobs.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get() -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/git.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | Err(err) => return None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_red` [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let fg_red = fg.clone() + red + "m"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_black` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let fg_black = fg.clone() + black + "m"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_green` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let fg_green = fg.clone() + green + "m"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_green` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fg_orange` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let fg_orange = fg.clone() + orange + "m"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fg_orange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Prompt` is never used [INFO] [stdout] --> src/git.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Prompt { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Git` is never constructed [INFO] [stdout] --> src/git.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Git { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get` is never used [INFO] [stdout] --> src/jobs.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get() -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.37s [INFO] running `Command { std: "docker" "inspect" "5fe46ce3ef9128b889e88254027c1c98d3b85cf5b2561f62fc419120f6eba906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe46ce3ef9128b889e88254027c1c98d3b85cf5b2561f62fc419120f6eba906", kill_on_drop: false }` [INFO] [stdout] 5fe46ce3ef9128b889e88254027c1c98d3b85cf5b2561f62fc419120f6eba906