[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/d3619fbdcb008ce6fdfcbd7798f1a50001cddb82 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-136776-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatchai%2Fstarship-poc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matchai/starship-poc on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.62 [INFO] [stderr] Downloaded oorandom v11.1.1 [INFO] [stderr] Downloaded cmd_lib_macros v0.12.0 [INFO] [stderr] Downloaded cmd_lib v0.12.0 [INFO] [stderr] Downloaded anyhow v1.0.27 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded libc v0.2.67 [INFO] [stderr] Downloaded bumpalo v3.2.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.62 [INFO] [stderr] Downloaded regex-automata v0.1.9 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded syn v1.0.16 [INFO] [stderr] Downloaded js-sys v0.3.39 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded criterion v0.3.2 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded criterion-plot v0.4.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.62 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded ryu v1.0.4 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.62 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded tinytemplate v1.0.4 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] [stderr] Downloaded blake2b_simd v0.5.10 [INFO] [stderr] Downloaded rust-argon2 v0.7.0 [INFO] [stderr] Downloaded redox_users v0.3.4 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded once_cell v1.3.1 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded version_check v0.9.1 [INFO] [stderr] Downloaded proc-macro-error 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 proc-macro2 v1.0.9 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.110 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded hermit-abi v0.1.8 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.11 [INFO] [stderr] Downloaded structopt v0.3.11 [INFO] [stderr] Downloaded toml v0.5.6 [INFO] [stderr] Downloaded plotters v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 601ad8f271e0ac818b5dc4f766bd60c587b6974836fa1f3ab6d70750f9532f84 [INFO] running `Command { std: "docker" "start" "-a" "601ad8f271e0ac818b5dc4f766bd60c587b6974836fa1f3ab6d70750f9532f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "601ad8f271e0ac818b5dc4f766bd60c587b6974836fa1f3ab6d70750f9532f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "601ad8f271e0ac818b5dc4f766bd60c587b6974836fa1f3ab6d70750f9532f84", kill_on_drop: false }` [INFO] [stdout] 601ad8f271e0ac818b5dc4f766bd60c587b6974836fa1f3ab6d70750f9532f84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 517b74639ee04437cc90d1b58755859738d88c881f7c464c14b79125b05af411 [INFO] running `Command { std: "docker" "start" "-a" "517b74639ee04437cc90d1b58755859738d88c881f7c464c14b79125b05af411", 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] Compiling libc v0.2.67 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bitflags v1.2.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] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.27 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.11 [INFO] [stderr] Compiling proc-macro-error v0.4.11 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking oorandom v11.1.1 [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 itertools v0.9.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking plotters v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.2 [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 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/error.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | source: std::io::Error, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/error.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | source: std::io::Error, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.60s [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] 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 2` [INFO] running `Command { std: "docker" "inspect" "517b74639ee04437cc90d1b58755859738d88c881f7c464c14b79125b05af411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517b74639ee04437cc90d1b58755859738d88c881f7c464c14b79125b05af411", kill_on_drop: false }` [INFO] [stdout] 517b74639ee04437cc90d1b58755859738d88c881f7c464c14b79125b05af411