[INFO] cloning repository https://github.com/matchai/starship-poc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matchai/starship-poc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatchai%2Fstarship-poc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatchai%2Fstarship-poc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d3619fbdcb008ce6fdfcbd7798f1a50001cddb82
[INFO] checking matchai/starship-poc against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatchai%2Fstarship-poc" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matchai/starship-poc on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matchai/starship-poc
[INFO] finished tweaking git repo https://github.com/matchai/starship-poc
[INFO] tweaked toml for git repo https://github.com/matchai/starship-poc written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/matchai/starship-poc 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cast v0.2.3
[INFO] [stderr]   Downloaded proc-macro-error-attr v0.4.11
[INFO] [stderr]   Downloaded criterion-plot v0.4.2
[INFO] [stderr]   Downloaded oorandom v11.1.1
[INFO] [stderr]   Downloaded thiserror-impl v1.0.18
[INFO] [stderr]   Downloaded proc-macro-error v0.4.11
[INFO] [stderr]   Downloaded once_cell v1.3.1
[INFO] [stderr]   Downloaded structopt v0.3.11
[INFO] [stderr]   Downloaded anyhow v1.0.27
[INFO] [stderr]   Downloaded thiserror v1.0.18
[INFO] [stderr]   Downloaded plotters v0.2.14
[INFO] [stderr]   Downloaded cmd_lib v0.12.0
[INFO] [stderr]   Downloaded structopt-derive v0.4.4
[INFO] [stderr]   Downloaded criterion v0.3.2
[INFO] [stderr]   Downloaded tinytemplate v1.0.4
[INFO] [stderr]   Downloaded cmd_lib_macros v0.12.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82595a2fa48b5dee4ea3699188a0dfdfb9f9297dc4830839f71a0cf0b0c73392
[INFO] running `Command { std: "docker" "start" "-a" "82595a2fa48b5dee4ea3699188a0dfdfb9f9297dc4830839f71a0cf0b0c73392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82595a2fa48b5dee4ea3699188a0dfdfb9f9297dc4830839f71a0cf0b0c73392", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82595a2fa48b5dee4ea3699188a0dfdfb9f9297dc4830839f71a0cf0b0c73392", kill_on_drop: false }`
[INFO] [stdout] 82595a2fa48b5dee4ea3699188a0dfdfb9f9297dc4830839f71a0cf0b0c73392
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb2c81624699e37963be90773ae9985a060b8b731c4c13ddd4ed5dd579c833f9
[INFO] running `Command { std: "docker" "start" "-a" "bb2c81624699e37963be90773ae9985a060b8b731c4c13ddd4ed5dd579c833f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling syn v1.0.16
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling anyhow v1.0.27
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.11
[INFO] [stderr]    Compiling proc-macro-error v0.4.11
[INFO] [stderr]     Checking once_cell v1.3.1
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking oorandom v11.1.1
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking plotters v0.2.14
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking criterion-plot v0.4.2
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling thiserror-impl v1.0.18
[INFO] [stderr]    Compiling cmd_lib_macros v0.12.0
[INFO] [stderr]     Checking cmd_lib v0.12.0
[INFO] [stderr]    Compiling structopt-derive v0.4.4
[INFO] [stderr]     Checking thiserror v1.0.18
[INFO] [stderr]     Checking structopt v0.3.11
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking starship-poc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `set_debug`
[INFO] [stdout]  --> src/modules/node.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cmd_lib::{run_fun, set_debug};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking tinytemplate v1.0.4
[INFO] [stdout] warning: method `has` is never used
[INFO] [stdout]   --> src/modules.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl ModuleRegistry {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn has(&self, name: &str) -> bool {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/character.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct CharacterConfig {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharacterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/directory.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct DirectoryConfig {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 32 |     #[serde(default)]
[INFO] [stdout] 33 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DirectoryConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_visible` and `inner_module_type` are never used
[INFO] [stdout]   --> src/modules/module.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Module {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn is_visible(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn inner_module_type(&self) -> &dyn ModuleType {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/newline.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct NewLineConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NewLineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/rust.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RustConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RustConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/node.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct NodeConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodeConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/prompt.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct PromptOpts {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 12 |     #[structopt(short, long)]
[INFO] [stdout] 13 |     status: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PromptOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hg_dir` is never read
[INFO] [stdout]  --> src/vcs/mercurial.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Mercurial {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 9 |     hg_dir: PathBuf,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Mercurial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.3.2
[INFO] [stdout] warning: unused import: `set_debug`
[INFO] [stdout]  --> src/modules/node.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cmd_lib::{run_fun, set_debug};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has` is never used
[INFO] [stdout]   --> src/modules.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl ModuleRegistry {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn has(&self, name: &str) -> bool {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/character.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct CharacterConfig {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharacterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/directory.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct DirectoryConfig {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 32 |     #[serde(default)]
[INFO] [stdout] 33 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DirectoryConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_visible` and `inner_module_type` are never used
[INFO] [stdout]   --> src/modules/module.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Module {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn is_visible(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn inner_module_type(&self) -> &dyn ModuleType {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/newline.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct NewLineConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NewLineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/rust.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RustConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RustConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/node.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct NodeConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodeConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/prompt.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct PromptOpts {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 12 |     #[structopt(short, long)]
[INFO] [stdout] 13 |     status: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PromptOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hg_dir` is never read
[INFO] [stdout]  --> src/vcs/mercurial.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Mercurial {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 9 |     hg_dir: PathBuf,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Mercurial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.31s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "bb2c81624699e37963be90773ae9985a060b8b731c4c13ddd4ed5dd579c833f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb2c81624699e37963be90773ae9985a060b8b731c4c13ddd4ed5dd579c833f9", kill_on_drop: false }`
[INFO] [stdout] bb2c81624699e37963be90773ae9985a060b8b731c4c13ddd4ed5dd579c833f9
[INFO] checking matchai/starship-poc against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatchai%2Fstarship-poc" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matchai/starship-poc on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/matchai/starship-poc
[INFO] finished tweaking git repo https://github.com/matchai/starship-poc
[INFO] tweaked toml for git repo https://github.com/matchai/starship-poc written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/matchai/starship-poc 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 122ec5a9ae580731356a2ab997cbf785f1464fa9dc7a5a999906b9f221ec6fa5
[INFO] running `Command { std: "docker" "start" "-a" "122ec5a9ae580731356a2ab997cbf785f1464fa9dc7a5a999906b9f221ec6fa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "122ec5a9ae580731356a2ab997cbf785f1464fa9dc7a5a999906b9f221ec6fa5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "122ec5a9ae580731356a2ab997cbf785f1464fa9dc7a5a999906b9f221ec6fa5", kill_on_drop: false }`
[INFO] [stdout] 122ec5a9ae580731356a2ab997cbf785f1464fa9dc7a5a999906b9f221ec6fa5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8adfc316368942fb10873650b073ed19e6c0a48066b3dfb8d46bfb1c05543f54
[INFO] running `Command { std: "docker" "start" "-a" "8adfc316368942fb10873650b073ed19e6c0a48066b3dfb8d46bfb1c05543f54", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling syn v1.0.16
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling anyhow v1.0.27
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking once_cell v1.3.1
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling proc-macro-error-attr v0.4.11
[INFO] [stderr]    Compiling proc-macro-error v0.4.11
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking oorandom v11.1.1
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking criterion-plot v0.4.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking plotters v0.2.14
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling cmd_lib_macros v0.12.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.18
[INFO] [stderr]     Checking cmd_lib v0.12.0
[INFO] [stderr]    Compiling structopt-derive v0.4.4
[INFO] [stderr]     Checking thiserror v1.0.18
[INFO] [stderr]     Checking structopt v0.3.11
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking tinytemplate v1.0.4
[INFO] [stderr]     Checking starship-poc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `set_debug`
[INFO] [stdout]  --> src/modules/node.rs:5:24
[INFO] [stdout]   |
[INFO] [stdout] 5 | use cmd_lib::{run_fun, set_debug};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.3.2
[INFO] [stdout] warning: method `has` is never used
[INFO] [stdout]   --> src/modules.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl ModuleRegistry {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(crate) fn has(&self, name: &str) -> bool {
[INFO] [stdout]    |                   ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/character.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct CharacterConfig {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CharacterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/directory.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct DirectoryConfig {
[INFO] [stdout]    |        --------------- field in this struct
[INFO] [stdout] 32 |     #[serde(default)]
[INFO] [stdout] 33 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DirectoryConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_visible` and `inner_module_type` are never used
[INFO] [stdout]   --> src/modules/module.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Module {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn is_visible(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn inner_module_type(&self) -> &dyn ModuleType {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/newline.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct NewLineConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 29 |     #[serde(default)]
[INFO] [stdout] 30 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NewLineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/rust.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct RustConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RustConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `format` is never read
[INFO] [stdout]   --> src/modules/node.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct NodeConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 36 |     #[serde(default)]
[INFO] [stdout] 37 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodeConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/prompt.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct PromptOpts {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 12 |     #[structopt(short, long)]
[INFO] [stdout] 13 |     status: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PromptOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hg_dir` is never read
[INFO] [stdout]  --> src/vcs/mercurial.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Mercurial {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 9 |     hg_dir: PathBuf,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Mercurial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/modules/character.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_CharacterConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/modules/directory.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_DirectoryConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/modules/newline.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_NewLineConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/modules/rust.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_RustConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/modules/node.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_NodeConfig`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `starship-poc` (lib) due to 6 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "8adfc316368942fb10873650b073ed19e6c0a48066b3dfb8d46bfb1c05543f54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8adfc316368942fb10873650b073ed19e6c0a48066b3dfb8d46bfb1c05543f54", kill_on_drop: false }`
[INFO] [stdout] 8adfc316368942fb10873650b073ed19e6c0a48066b3dfb8d46bfb1c05543f54
