[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 try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatchai%2Fstarship-poc" "/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/matchai/starship-poc on toolchain 099e089ab723e6ee96175f3496051098c60a4cd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "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-0-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" "+099e089ab723e6ee96175f3496051098c60a4cd4" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.11 [INFO] [stderr] Downloaded thiserror v1.0.18 [INFO] [stderr] Downloaded structopt v0.3.11 [INFO] [stderr] Downloaded cmd_lib_macros v0.12.0 [INFO] [stderr] Downloaded structopt-derive v0.4.4 [INFO] [stderr] Downloaded anyhow v1.0.27 [INFO] [stderr] Downloaded cmd_lib v0.12.0 [INFO] [stderr] Downloaded proc-macro-error v0.4.11 [INFO] [stderr] Downloaded thiserror-impl v1.0.18 [INFO] [stderr] Downloaded plotters v0.2.14 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee4166d3d1fcba70a4a7b6268c82e887b0e22de1945f08be960dfee3303f39a8 [INFO] running `Command { std: "docker" "start" "-a" "ee4166d3d1fcba70a4a7b6268c82e887b0e22de1945f08be960dfee3303f39a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee4166d3d1fcba70a4a7b6268c82e887b0e22de1945f08be960dfee3303f39a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4166d3d1fcba70a4a7b6268c82e887b0e22de1945f08be960dfee3303f39a8", kill_on_drop: false }` [INFO] [stdout] ee4166d3d1fcba70a4a7b6268c82e887b0e22de1945f08be960dfee3303f39a8 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5046fed3e31762c136fcd335860440a7f34c0a74c930719965467c9d2e5209ca [INFO] running `Command { std: "docker" "start" "-a" "5046fed3e31762c136fcd335860440a7f34c0a74c930719965467c9d2e5209ca", kill_on_drop: false }` [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 autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.27 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking criterion-plot v0.4.2 [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 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 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: 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, [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/character.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CharacterConfig` [INFO] [stdout] 28 | pub struct CharacterConfig { [INFO] [stdout] | --------------- `CharacterConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/directory.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DirectoryConfig` [INFO] [stdout] 31 | struct DirectoryConfig { [INFO] [stdout] | --------------- `DirectoryConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/newline.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NewLineConfig` [INFO] [stdout] 28 | pub struct NewLineConfig { [INFO] [stdout] | ------------- `NewLineConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/rust.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RustConfig` [INFO] [stdout] 35 | pub struct RustConfig { [INFO] [stdout] | ---------- `RustConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/node.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeConfig` [INFO] [stdout] 35 | pub struct NodeConfig { [INFO] [stdout] | ---------- `NodeConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.0.4 [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, [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/character.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CharacterConfig` [INFO] [stdout] 28 | pub struct CharacterConfig { [INFO] [stdout] | --------------- `CharacterConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/directory.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_DirectoryConfig` [INFO] [stdout] 31 | struct DirectoryConfig { [INFO] [stdout] | --------------- `DirectoryConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/newline.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NewLineConfig` [INFO] [stdout] 28 | pub struct NewLineConfig { [INFO] [stdout] | ------------- `NewLineConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/rust.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_RustConfig` [INFO] [stdout] 35 | pub struct RustConfig { [INFO] [stdout] | ---------- `RustConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/modules/node.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_NodeConfig` [INFO] [stdout] 35 | pub struct NodeConfig { [INFO] [stdout] | ---------- `NodeConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.85s [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 1` [INFO] running `Command { std: "docker" "inspect" "5046fed3e31762c136fcd335860440a7f34c0a74c930719965467c9d2e5209ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5046fed3e31762c136fcd335860440a7f34c0a74c930719965467c9d2e5209ca", kill_on_drop: false }` [INFO] [stdout] 5046fed3e31762c136fcd335860440a7f34c0a74c930719965467c9d2e5209ca