[INFO] fetching crate pretty-git-prompt 0.2.2... [INFO] checking pretty-git-prompt-0.2.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate pretty-git-prompt 0.2.2 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate pretty-git-prompt 0.2.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pretty-git-prompt 0.2.2 [INFO] finished tweaking crates.io crate pretty-git-prompt 0.2.2 [INFO] tweaked toml for crates.io crate pretty-git-prompt 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate pretty-git-prompt 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_builder v4.3.0 [INFO] [stderr] Downloaded clap v4.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a6c2834e2ecc1daf7222f19a13c5ddc343402471706f28672ed42cdf3f53b6f [INFO] running `Command { std: "docker" "start" "-a" "9a6c2834e2ecc1daf7222f19a13c5ddc343402471706f28672ed42cdf3f53b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a6c2834e2ecc1daf7222f19a13c5ddc343402471706f28672ed42cdf3f53b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6c2834e2ecc1daf7222f19a13c5ddc343402471706f28672ed42cdf3f53b6f", kill_on_drop: false }` [INFO] [stdout] 9a6c2834e2ecc1daf7222f19a13c5ddc343402471706f28672ed42cdf3f53b6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3e1658d3a7fc5423fb21e4c59d73583bbbbf775958633655c0ac01c057742c3 [INFO] running `Command { std: "docker" "start" "-a" "c3e1658d3a7fc5423fb21e4c59d73583bbbbf775958633655c0ac01c057742c3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking clap_builder v4.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking clap v4.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking git2 v0.18.2 [INFO] [stderr] Checking pretty-git-prompt v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `File`, `OpenOptions`, and `remove_file` [INFO] [stdout] --> src/conf.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | use std::fs::{File,OpenOptions,remove_file}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/conf.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | use std::io::{Write,Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> src/conf.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | use std::path::{Path,PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Conf`, `DEFAULT_CONF`, `create_default_config`, and `get_configuration` [INFO] [stdout] --> src/conf.rs:303:16 [INFO] [stdout] | [INFO] [stdout] 303 | use conf::{get_configuration,create_default_config,DEFAULT_CONF,Conf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `YamlLoader` [INFO] [stdout] --> src/conf.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | use yaml_rust::{YamlLoader}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::Backend` [INFO] [stdout] --> src/conf.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use backend::Backend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `models::DisplayMaster` [INFO] [stdout] --> src/conf.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | use models::DisplayMaster; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `git2::Repository` [INFO] [stdout] --> src/conf.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | use git2::Repository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/constants.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEFAULT_CONFIG_NAME` and `get_default_config_path` [INFO] [stdout] --> src/constants.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | use constants::{get_default_config_path,DEFAULT_CONFIG_NAME}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/conf.rs:301:19 [INFO] [stdout] | [INFO] [stdout] 301 | use std::io::{Write,Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_display_surrounded` is never used [INFO] [stdout] --> src/conf.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl Separator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | fn is_display_surrounded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/models.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct RemoteTracking<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 163 | value: SimpleValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteTracking` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/conf.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | let c = get_configuration(None, dm); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_display_surrounded` is never used [INFO] [stdout] --> src/conf.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl Separator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | fn is_display_surrounded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/models.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct RemoteTracking<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 163 | value: SimpleValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RemoteTracking` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/conf.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | / OpenOptions::new() [INFO] [stdout] 353 | | .write(true) [INFO] [stdout] 354 | | .create(true) [INFO] [stdout] 355 | | .truncate(true) [INFO] [stdout] 356 | | .open(p.clone()); [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 352 | let _ = OpenOptions::new() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/conf.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | remove_file(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 362 | let _ = remove_file(p.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/conf.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | remove_file(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 368 | let _ = remove_file(p.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/conf.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | remove_file(p.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 379 | let _ = remove_file(p.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.60s [INFO] running `Command { std: "docker" "inspect" "c3e1658d3a7fc5423fb21e4c59d73583bbbbf775958633655c0ac01c057742c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3e1658d3a7fc5423fb21e4c59d73583bbbbf775958633655c0ac01c057742c3", kill_on_drop: false }` [INFO] [stdout] c3e1658d3a7fc5423fb21e4c59d73583bbbbf775958633655c0ac01c057742c3