[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster1253%2Fpowerline-rs" "/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/buster1253/powerline-rs on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.14 [INFO] [stderr] Downloaded structopt v0.3.21 [INFO] [stderr] Downloaded unicode-segmentation v1.7.1 [INFO] [stderr] Downloaded libc v0.2.97 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f776b22f7deb458236271e5b9569a487a01bd2c45c7cb86d2c8566de3b52f2f [INFO] running `Command { std: "docker" "start" "-a" "2f776b22f7deb458236271e5b9569a487a01bd2c45c7cb86d2c8566de3b52f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f776b22f7deb458236271e5b9569a487a01bd2c45c7cb86d2c8566de3b52f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f776b22f7deb458236271e5b9569a487a01bd2c45c7cb86d2c8566de3b52f2f", kill_on_drop: false }` [INFO] [stdout] 2f776b22f7deb458236271e5b9569a487a01bd2c45c7cb86d2c8566de3b52f2f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74c0bdc602961f062dc1994a11500cdc2ab56185f7cbe034fde8fa327b9cf3ac [INFO] running `Command { std: "docker" "start" "-a" "74c0bdc602961f062dc1994a11500cdc2ab56185f7cbe034fde8fa327b9cf3ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.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 structopt v0.3.21 [INFO] [stderr] Checking prompt-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `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)]` 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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: 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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)]` on by default [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)]` 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)]` 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: `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: 10 warnings emitted [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)]` 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "74c0bdc602961f062dc1994a11500cdc2ab56185f7cbe034fde8fa327b9cf3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c0bdc602961f062dc1994a11500cdc2ab56185f7cbe034fde8fa327b9cf3ac", kill_on_drop: false }` [INFO] [stdout] 74c0bdc602961f062dc1994a11500cdc2ab56185f7cbe034fde8fa327b9cf3ac [INFO] checking buster1253/powerline-rs against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbuster1253%2Fpowerline-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/buster1253/powerline-rs on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca14c42f6c7c6c79cd8a1070287db856484512aa2863fca93c3e3f6ff988f34a [INFO] running `Command { std: "docker" "start" "-a" "ca14c42f6c7c6c79cd8a1070287db856484512aa2863fca93c3e3f6ff988f34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca14c42f6c7c6c79cd8a1070287db856484512aa2863fca93c3e3f6ff988f34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca14c42f6c7c6c79cd8a1070287db856484512aa2863fca93c3e3f6ff988f34a", kill_on_drop: false }` [INFO] [stdout] ca14c42f6c7c6c79cd8a1070287db856484512aa2863fca93c3e3f6ff988f34a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a8b0929377d7ed8ff68789691841d41d6f36e1b571831fa055782cbc895c223 [INFO] running `Command { std: "docker" "start" "-a" "5a8b0929377d7ed8ff68789691841d41d6f36e1b571831fa055782cbc895c223", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking prompt-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Command`, `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)]` 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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: 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)]` on by default [INFO] [stdout] help: if this is an object-safe 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] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> src/git.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | return None [INFO] [stdout] | ^^^^^^^^^^^ cannot satisfy `_ -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _` [INFO] [stdout] --> src/git.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | return None [INFO] [stdout] | ^^^^^^^^^^^ cannot satisfy `_ -> _` [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] = note: `#[warn(unused_variables)]` on by default [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] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [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] = note: `#[warn(unused_variables)]` on by default [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] [stderr] error: could not compile `prompt-rs` (bin "prompt-rs") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0284`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prompt-rs` (bin "prompt-rs" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a8b0929377d7ed8ff68789691841d41d6f36e1b571831fa055782cbc895c223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8b0929377d7ed8ff68789691841d41d6f36e1b571831fa055782cbc895c223", kill_on_drop: false }` [INFO] [stdout] 5a8b0929377d7ed8ff68789691841d41d6f36e1b571831fa055782cbc895c223