[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] testing matchai/starship-poc against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatchai%2Fstarship-poc" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matchai/starship-poc on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-6/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.27 [INFO] [stderr] Downloaded structopt v0.3.11 [INFO] [stderr] Downloaded proc-macro-error v0.4.11 [INFO] [stderr] Downloaded tinytemplate v1.0.4 [INFO] [stderr] Downloaded criterion v0.3.2 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.11 [INFO] [stderr] Downloaded structopt-derive v0.4.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.18 [INFO] [stderr] Downloaded thiserror v1.0.18 [INFO] [stderr] Downloaded oorandom v11.1.1 [INFO] [stderr] Downloaded cmd_lib_macros v0.12.0 [INFO] [stderr] Downloaded js-sys v0.3.39 [INFO] [stderr] Downloaded criterion-plot v0.4.2 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded plotters v0.2.14 [INFO] [stderr] Downloaded cmd_lib v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 243c3332fa2a226cb3bd80d7431e11f5332a1ba639ca93313d4fe44878617ac3 [INFO] running `Command { std: "docker" "start" "-a" "243c3332fa2a226cb3bd80d7431e11f5332a1ba639ca93313d4fe44878617ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "243c3332fa2a226cb3bd80d7431e11f5332a1ba639ca93313d4fe44878617ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "243c3332fa2a226cb3bd80d7431e11f5332a1ba639ca93313d4fe44878617ac3", kill_on_drop: false }` [INFO] [stdout] 243c3332fa2a226cb3bd80d7431e11f5332a1ba639ca93313d4fe44878617ac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b122f3f67f27ad5de7e3e59fa28b92ca299f230b2528438ae142c58a121cc301 [INFO] running `Command { std: "docker" "start" "-a" "b122f3f67f27ad5de7e3e59fa28b92ca299f230b2528438ae142c58a121cc301", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.27 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling 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] Compiling structopt-derive v0.4.4 [INFO] [stderr] Compiling cmd_lib v0.12.0 [INFO] [stderr] Compiling thiserror v1.0.18 [INFO] [stderr] Compiling structopt v0.3.11 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling 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] [stdout] warning: associated function is never used: `has` [INFO] [stdout] --> src/modules.rs:26:19 [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 is never read: `status` [INFO] [stdout] --> src/prompt.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | status: Option, [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] --> src/prompt.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Default, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/character.rs:30:5 [INFO] [stdout] | [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] --> src/modules/character.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/directory.rs:33:5 [INFO] [stdout] | [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] --> src/modules/directory.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_visible` [INFO] [stdout] --> src/modules/module.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_module_type` [INFO] [stdout] --> src/modules/module.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn inner_module_type(&self) -> &dyn ModuleType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/newline.rs:30:5 [INFO] [stdout] | [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] --> src/modules/newline.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/rust.rs:37:5 [INFO] [stdout] | [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] --> src/modules/rust.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/node.rs:37:5 [INFO] [stdout] | [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] --> src/modules/node.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hg_dir` [INFO] [stdout] --> src/vcs/mercurial.rs:9:5 [INFO] [stdout] | [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] --> src/vcs/mercurial.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.66s [INFO] running `Command { std: "docker" "inspect" "b122f3f67f27ad5de7e3e59fa28b92ca299f230b2528438ae142c58a121cc301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b122f3f67f27ad5de7e3e59fa28b92ca299f230b2528438ae142c58a121cc301", kill_on_drop: false }` [INFO] [stdout] b122f3f67f27ad5de7e3e59fa28b92ca299f230b2528438ae142c58a121cc301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ab6f97696e437ed6c8672d3a8dcc67e6c4eefb8f9d21ea4ec5b52ce9461f96a [INFO] running `Command { std: "docker" "start" "-a" "7ab6f97696e437ed6c8672d3a8dcc67e6c4eefb8f9d21ea4ec5b52ce9461f96a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling oorandom v11.1.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling csv-core v0.1.10 [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: associated function is never used: `has` [INFO] [stdout] --> src/modules.rs:26:19 [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 is never read: `status` [INFO] [stdout] --> src/prompt.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | status: Option, [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] --> src/prompt.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Default, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/character.rs:30:5 [INFO] [stdout] | [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] --> src/modules/character.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/directory.rs:33:5 [INFO] [stdout] | [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] --> src/modules/directory.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_visible` [INFO] [stdout] --> src/modules/module.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_module_type` [INFO] [stdout] --> src/modules/module.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn inner_module_type(&self) -> &dyn ModuleType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/newline.rs:30:5 [INFO] [stdout] | [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] --> src/modules/newline.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/rust.rs:37:5 [INFO] [stdout] | [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] --> src/modules/rust.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/node.rs:37:5 [INFO] [stdout] | [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] --> src/modules/node.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hg_dir` [INFO] [stdout] --> src/vcs/mercurial.rs:9:5 [INFO] [stdout] | [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] --> src/vcs/mercurial.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling criterion-plot v0.4.2 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling tinytemplate v1.0.4 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling plotters v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling criterion v0.3.2 [INFO] [stderr] Compiling 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] [stdout] warning: associated function is never used: `has` [INFO] [stdout] --> src/modules.rs:26:19 [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 is never read: `status` [INFO] [stdout] --> src/prompt.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | status: Option, [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] --> src/prompt.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Default, StructOpt)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/character.rs:30:5 [INFO] [stdout] | [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] --> src/modules/character.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/directory.rs:33:5 [INFO] [stdout] | [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] --> src/modules/directory.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_visible` [INFO] [stdout] --> src/modules/module.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_module_type` [INFO] [stdout] --> src/modules/module.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn inner_module_type(&self) -> &dyn ModuleType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/newline.rs:30:5 [INFO] [stdout] | [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] --> src/modules/newline.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/rust.rs:37:5 [INFO] [stdout] | [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] --> src/modules/rust.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `format` [INFO] [stdout] --> src/modules/node.rs:37:5 [INFO] [stdout] | [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] --> src/modules/node.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `hg_dir` [INFO] [stdout] --> src/vcs/mercurial.rs:9:5 [INFO] [stdout] | [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] --> src/vcs/mercurial.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.06s [INFO] running `Command { std: "docker" "inspect" "7ab6f97696e437ed6c8672d3a8dcc67e6c4eefb8f9d21ea4ec5b52ce9461f96a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab6f97696e437ed6c8672d3a8dcc67e6c4eefb8f9d21ea4ec5b52ce9461f96a", kill_on_drop: false }` [INFO] [stdout] 7ab6f97696e437ed6c8672d3a8dcc67e6c4eefb8f9d21ea4ec5b52ce9461f96a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ef53ff3accd5942d045b6a9bd9ebdb8bcd1a97603fef0b68626a7051f65e8d5 [INFO] running `Command { std: "docker" "start" "-a" "3ef53ff3accd5942d045b6a9bd9ebdb8bcd1a97603fef0b68626a7051f65e8d5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `set_debug` [INFO] [stderr] --> src/modules/node.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use cmd_lib::{run_fun, set_debug}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `has` [INFO] [stderr] --> src/modules.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub(crate) fn has(&self, name: &str) -> bool { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `status` [INFO] [stderr] --> src/prompt.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | status: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PromptOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/prompt.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Default, StructOpt)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `format` [INFO] [stderr] --> src/modules/character.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | format: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CharacterConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modules/character.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `format` [INFO] [stderr] --> src/modules/directory.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | format: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DirectoryConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modules/directory.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_visible` [INFO] [stderr] --> src/modules/module.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn is_visible(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inner_module_type` [INFO] [stderr] --> src/modules/module.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn inner_module_type(&self) -> &dyn ModuleType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `format` [INFO] [stderr] --> src/modules/newline.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | format: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `NewLineConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modules/newline.rs:27:23 [INFO] [stderr] | [INFO] [stderr] 27 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `format` [INFO] [stderr] --> src/modules/rust.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | format: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RustConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modules/rust.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `format` [INFO] [stderr] --> src/modules/node.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | format: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `NodeConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/modules/node.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `hg_dir` [INFO] [stderr] --> src/vcs/mercurial.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | hg_dir: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Mercurial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/vcs/mercurial.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `starship-poc` (lib) generated 11 warnings [INFO] [stderr] warning: `starship-poc` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/starship_poc-26358d450cf986ec) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test vcs::git::tests::test_parse_empty_porcelain_output ... ok [INFO] [stdout] test vcs::git::tests::test_parse_porcelain_output ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/starship_poc-eba112e1f18c7b6d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests starship-poc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ef53ff3accd5942d045b6a9bd9ebdb8bcd1a97603fef0b68626a7051f65e8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ef53ff3accd5942d045b6a9bd9ebdb8bcd1a97603fef0b68626a7051f65e8d5", kill_on_drop: false }` [INFO] [stdout] 3ef53ff3accd5942d045b6a9bd9ebdb8bcd1a97603fef0b68626a7051f65e8d5