[INFO] cloning repository https://github.com/E-S-A-Group-Inc/starship-clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/E-S-A-Group-Inc/starship-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FE-S-A-Group-Inc%2Fstarship-clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FE-S-A-Group-Inc%2Fstarship-clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54aa9cc9a476dd228f94b9b8fcf72f997a32cb11 [INFO] checking E-S-A-Group-Inc/starship-clone against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FE-S-A-Group-Inc%2Fstarship-clone" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/E-S-A-Group-Inc/starship-clone on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/E-S-A-Group-Inc/starship-clone [INFO] removed path dependency starship_module_config_derive from git repo https://github.com/E-S-A-Group-Inc/starship-clone [INFO] finished tweaking git repo https://github.com/E-S-A-Group-Inc/starship-clone [INFO] tweaked toml for git repo https://github.com/E-S-A-Group-Inc/starship-clone written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/E-S-A-Group-Inc/starship-clone already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--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] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f3384136bb2672ea786a2050d609989ec1fe4f4e8d9958c58c5d42a8365a830 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9f3384136bb2672ea786a2050d609989ec1fe4f4e8d9958c58c5d42a8365a830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f3384136bb2672ea786a2050d609989ec1fe4f4e8d9958c58c5d42a8365a830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f3384136bb2672ea786a2050d609989ec1fe4f4e8d9958c58c5d42a8365a830", kill_on_drop: false }` [INFO] [stdout] 9f3384136bb2672ea786a2050d609989ec1fe4f4e8d9958c58c5d42a8365a830 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6af759455f77862b71e2945e2534988b8e4a71c1aa95524a18e59a56baf059 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc6af759455f77862b71e2945e2534988b8e4a71c1aa95524a18e59a56baf059", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sysinfo v0.9.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling battery v0.7.7 [INFO] [stderr] Checking path-slash v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking lexical-core v0.7.4 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking uom v0.30.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking nom v5.1.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling starship_module_config_derive v0.1.2 [INFO] [stderr] Checking git2 v0.10.2 [INFO] [stderr] Checking starship v0.25.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/module.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(value) = self.config_value_str(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/cmd_duration.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/env_var.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/git_state.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment(label.segment_name, label.message_default); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | module.new_segment("progress_current", &format!(" {}", progress.current)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | module.new_segment("progress_divider", "/"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | module.new_segment("progress_total", &format!("{}", progress.total)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/hostname.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/hostname.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/java.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment("symbol", JAVA_CHAR); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | module.new_segment("version", &formatted_version); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | Some(module.config_value_str("impure_msg").unwrap_or("impure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Some(module.config_value_str("pure_msg").unwrap_or("pure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_bool`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if module.config_value_bool("use_name").unwrap_or(false) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/nix_shell.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | module.new_segment("nix_shell", &segment); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/module.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(value) = self.config_value_str(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/cmd_duration.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim_at` [INFO] [stdout] --> src/modules/hostname.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trim_at` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/env_var.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/git_state.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment(label.segment_name, label.message_default); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | module.new_segment("progress_current", &format!(" {}", progress.current)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | module.new_segment("progress_divider", "/"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | module.new_segment("progress_total", &format!("{}", progress.total)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/hostname.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/hostname.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/java.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment("symbol", JAVA_CHAR); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | module.new_segment("version", &formatted_version); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | Some(module.config_value_str("impure_msg").unwrap_or("impure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Some(module.config_value_str("pure_msg").unwrap_or("pure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_bool`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if module.config_value_bool("use_name").unwrap_or(false) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/nix_shell.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | module.new_segment("nix_shell", &segment); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim_at` [INFO] [stdout] --> src/modules/hostname.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trim_at` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/module.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(value) = self.config_value_str(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/module.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(value) = self.config_value_str(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/cmd_duration.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/cmd_duration.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/env_var.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/git_state.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment(label.segment_name, label.message_default); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | module.new_segment("progress_current", &format!(" {}", progress.current)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | module.new_segment("progress_divider", "/"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | module.new_segment("progress_total", &format!("{}", progress.total)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/env_var.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/git_state.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment(label.segment_name, label.message_default); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | module.new_segment("progress_current", &format!(" {}", progress.current)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | module.new_segment("progress_divider", "/"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/git_state.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | module.new_segment("progress_total", &format!("{}", progress.total)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/hostname.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/hostname.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/hostname.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/hostname.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | module.new_segment( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/java.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment("symbol", JAVA_CHAR); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | module.new_segment("version", &formatted_version); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/java.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | module.new_segment("symbol", JAVA_CHAR); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/java.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | module.new_segment("version", &formatted_version); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | Some(module.config_value_str("impure_msg").unwrap_or("impure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Some(module.config_value_str("pure_msg").unwrap_or("pure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_bool`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if module.config_value_bool("use_name").unwrap_or(false) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/nix_shell.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | module.new_segment("nix_shell", &segment); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | Some(module.config_value_str("impure_msg").unwrap_or("impure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_str`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | Some(module.config_value_str("pure_msg").unwrap_or("pure")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_bool`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | if module.config_value_bool("use_name").unwrap_or(false) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::config_value_style`: please use ::try_load(module.config) instead [INFO] [stdout] --> src/modules/nix_shell.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | .config_value_style("style") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `module::Module::<'a>::new_segment`: please use `module.create_segment()` instead [INFO] [stdout] --> src/modules/nix_shell.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | module.new_segment("nix_shell", &segment); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim_at` [INFO] [stdout] --> src/modules/hostname.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trim_at` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trim_at` [INFO] [stdout] --> src/modules/hostname.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let trim_at = module.config_value_str("trim_at").unwrap_or("."); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trim_at` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_value` [INFO] [stdout] --> src/config.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn set_value(&mut self, value: &'a str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_style` [INFO] [stdout] --> src/config.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn set_style(&mut self, style: Style) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_segment_if_config_exists` [INFO] [stdout] --> src/module.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new_segment_if_config_exists(&mut self, name: &str) -> Option<&mut Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config_value_i64` [INFO] [stdout] --> src/module.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn config_value_i64(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_value` [INFO] [stdout] --> src/config.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn set_value(&mut self, value: &'a str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_style` [INFO] [stdout] --> src/config.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn set_style(&mut self, style: Style) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_segment_if_config_exists` [INFO] [stdout] --> src/module.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new_segment_if_config_exists(&mut self, name: &str) -> Option<&mut Segment> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `config_value_i64` [INFO] [stdout] --> src/module.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn config_value_i64(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "cc6af759455f77862b71e2945e2534988b8e4a71c1aa95524a18e59a56baf059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6af759455f77862b71e2945e2534988b8e4a71c1aa95524a18e59a56baf059", kill_on_drop: false }` [INFO] [stdout] cc6af759455f77862b71e2945e2534988b8e4a71c1aa95524a18e59a56baf059