[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 beta for pr-78714 [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-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/E-S-A-Group-Inc/starship-clone on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-12/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" "+beta" "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-12/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d4b26d8c2057e4ed544a40212b685e314ef89bf348be297dd0a719a598584f8 [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" "2d4b26d8c2057e4ed544a40212b685e314ef89bf348be297dd0a719a598584f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d4b26d8c2057e4ed544a40212b685e314ef89bf348be297dd0a719a598584f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d4b26d8c2057e4ed544a40212b685e314ef89bf348be297dd0a719a598584f8", kill_on_drop: false }` [INFO] [stdout] 2d4b26d8c2057e4ed544a40212b685e314ef89bf348be297dd0a719a598584f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07c7b1defa59b7ae9fcb11450c7a5e30ec7e3cb141ceb8b8c486323efa3bcb0b [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" "07c7b1defa59b7ae9fcb11450c7a5e30ec7e3cb141ceb8b8c486323efa3bcb0b", kill_on_drop: false }` [INFO] [stderr] Compiling battery v0.7.8 [INFO] [stderr] Checking path-slash v0.1.3 [INFO] [stderr] Checking uom v0.30.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling starship_module_config_derive v0.1.2 [INFO] [stderr] Checking sysinfo v0.9.6 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.9.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/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/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>::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/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: 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/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>::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: 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 1m 23s [INFO] running `Command { std: "docker" "inspect" "07c7b1defa59b7ae9fcb11450c7a5e30ec7e3cb141ceb8b8c486323efa3bcb0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c7b1defa59b7ae9fcb11450c7a5e30ec7e3cb141ceb8b8c486323efa3bcb0b", kill_on_drop: false }` [INFO] [stdout] 07c7b1defa59b7ae9fcb11450c7a5e30ec7e3cb141ceb8b8c486323efa3bcb0b