[INFO] cloning repository https://github.com/ruslanlap/GitLeaks-Guard-CLI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruslanlap/GitLeaks-Guard-CLI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruslanlap%2FGitLeaks-Guard-CLI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruslanlap%2FGitLeaks-Guard-CLI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 035381271bb809ffeafdd2ab912f3538834b490b
[INFO] checking ruslanlap/GitLeaks-Guard-CLI against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruslanlap%2FGitLeaks-Guard-CLI" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ruslanlap/GitLeaks-Guard-CLI
[INFO] finished tweaking git repo https://github.com/ruslanlap/GitLeaks-Guard-CLI
[INFO] tweaked toml for git repo https://github.com/ruslanlap/GitLeaks-Guard-CLI written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ruslanlap/GitLeaks-Guard-CLI on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ruslanlap/GitLeaks-Guard-CLI 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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--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]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 21 packages to latest compatible versions
[INFO] [stderr]       Adding android_system_properties v0.1.5
[INFO] [stderr]       Adding autocfg v1.5.0
[INFO] [stderr]       Adding chrono v0.4.44
[INFO] [stderr]       Adding comfy-table v7.2.2
[INFO] [stderr]       Adding crossterm v0.29.0
[INFO] [stderr]       Adding crossterm_winapi v0.9.1
[INFO] [stderr]       Adding document-features v0.2.12
[INFO] [stderr]       Adding iana-time-zone v0.1.65
[INFO] [stderr]       Adding iana-time-zone-haiku v0.1.2
[INFO] [stderr]       Adding litrs v1.0.0
[INFO] [stderr]       Adding num-traits v0.2.19
[INFO] [stderr]       Adding semver v1.0.28
[INFO] [stderr]       Adding unicode-segmentation v1.13.2
[INFO] [stderr]       Adding winapi v0.3.9
[INFO] [stderr]       Adding winapi-i686-pc-windows-gnu v0.4.0
[INFO] [stderr]       Adding winapi-x86_64-pc-windows-gnu v0.4.0
[INFO] [stderr]       Adding windows-core v0.62.2
[INFO] [stderr]       Adding windows-implement v0.60.2
[INFO] [stderr]       Adding windows-interface v0.59.3
[INFO] [stderr]       Adding windows-result v0.4.1
[INFO] [stderr]       Adding windows-strings v0.5.1
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded openssl-sys v0.9.110
[INFO] [stderr]   Downloaded rustls-pki-types v1.13.0
[INFO] [stderr]   Downloaded openssl v0.10.74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be1613652a51e9892060704f0abd96b85acf67572223ce46f81bcd55e203f39d
[INFO] running `Command { std: "docker" "start" "-a" "be1613652a51e9892060704f0abd96b85acf67572223ce46f81bcd55e203f39d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be1613652a51e9892060704f0abd96b85acf67572223ce46f81bcd55e203f39d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be1613652a51e9892060704f0abd96b85acf67572223ce46f81bcd55e203f39d", kill_on_drop: false }`
[INFO] [stdout] be1613652a51e9892060704f0abd96b85acf67572223ce46f81bcd55e203f39d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b4498b9ef0694f6b1699d9d619cfa285bb1064020640ffadd17e1101b73ea6ed
[INFO] running `Command { std: "docker" "start" "-a" "b4498b9ef0694f6b1699d9d619cfa285bb1064020640ffadd17e1101b73ea6ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.1
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking iri-string v0.7.9
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking clap_builder v4.5.51
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling bzip2-sys v0.1.13+1.0.8
[INFO] [stderr]     Checking xattr v1.6.1
[INFO] [stderr]     Checking rustls-pki-types v1.13.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking filetime v0.2.26
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking constant_time_eq v0.1.5
[INFO] [stderr]     Checking shell-words v1.1.0
[INFO] [stderr]     Checking unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking tar v0.4.44
[INFO] [stderr]     Checking bzip2 v0.4.4
[INFO] [stderr]     Checking comfy-table v7.2.2
[INFO] [stderr]     Checking semver v1.0.28
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking dialoguer v0.11.0
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking icu_properties v2.1.1
[INFO] [stderr]     Checking zip v0.6.6
[INFO] [stderr]     Checking clap v4.5.51
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.24
[INFO] [stderr]     Checking gitleaks-guard v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/commands/init.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/commands/install.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils`
[INFO] [stdout]  --> src/commands/status.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{git, gitleaks, utils};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/gitleaks.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/commands/init.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/commands/install.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{Context, Result};
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils`
[INFO] [stdout]  --> src/commands/status.rs:6:28
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{git, gitleaks, utils};
[INFO] [stdout]   |                            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `colored::*`
[INFO] [stdout]  --> src/gitleaks.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use colored::*;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_gitleaks_enabled` is never used
[INFO] [stdout]   --> src/git.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn is_gitleaks_enabled() -> Result<bool> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restore_file` is never used
[INFO] [stdout]   --> src/git.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn restore_file(file: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s
[INFO] [stdout] warning: function `is_gitleaks_enabled` is never used
[INFO] [stdout]   --> src/git.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn is_gitleaks_enabled() -> Result<bool> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `restore_file` is never used
[INFO] [stdout]   --> src/git.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn restore_file(file: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b4498b9ef0694f6b1699d9d619cfa285bb1064020640ffadd17e1101b73ea6ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4498b9ef0694f6b1699d9d619cfa285bb1064020640ffadd17e1101b73ea6ed", kill_on_drop: false }`
[INFO] [stdout] b4498b9ef0694f6b1699d9d619cfa285bb1064020640ffadd17e1101b73ea6ed
