[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 try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 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-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/E-S-A-Group-Inc/starship-clone on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "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-5/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git2 v0.10.2 [INFO] [stderr] Downloaded sysinfo v0.9.6 [INFO] [stderr] Downloaded libgit2-sys v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e42e77426a71ff9a896f44c2d5bc745d9949f2bfef8d190959a2926b342bc28 [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" "6e42e77426a71ff9a896f44c2d5bc745d9949f2bfef8d190959a2926b342bc28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e42e77426a71ff9a896f44c2d5bc745d9949f2bfef8d190959a2926b342bc28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e42e77426a71ff9a896f44c2d5bc745d9949f2bfef8d190959a2926b342bc28", kill_on_drop: false }` [INFO] [stdout] 6e42e77426a71ff9a896f44c2d5bc745d9949f2bfef8d190959a2926b342bc28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 708d261b72fbc915a6fe843277a45e7db37953883ad9e0bb743571a0f912e372 [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" "708d261b72fbc915a6fe843277a45e7db37953883ad9e0bb743571a0f912e372", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling battery v0.7.7 [INFO] [stderr] Compiling sysinfo v0.9.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking byte-unit v3.1.4 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking getrandom v0.1.15 [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 yaml-rust v0.4.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking lexical-core v0.7.4 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling libgit2-sys v0.9.2 [INFO] [stderr] Checking uom v0.30.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking env_logger v0.6.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: 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>::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: 19 warnings emitted [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>::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: 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>::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/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>::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>::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: 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 27s [INFO] running `Command { std: "docker" "inspect" "708d261b72fbc915a6fe843277a45e7db37953883ad9e0bb743571a0f912e372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708d261b72fbc915a6fe843277a45e7db37953883ad9e0bb743571a0f912e372", kill_on_drop: false }` [INFO] [stdout] 708d261b72fbc915a6fe843277a45e7db37953883ad9e0bb743571a0f912e372