[INFO] cloning repository https://github.com/IKOPOO/Git-Github-Commit-lazy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IKOPOO/Git-Github-Commit-lazy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKOPOO%2FGit-Github-Commit-lazy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKOPOO%2FGit-Github-Commit-lazy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ed5c0e41a365dd266c8f0a8b806612b2741fce7
[INFO] building IKOPOO/Git-Github-Commit-lazy against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIKOPOO%2FGit-Github-Commit-lazy" "/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/IKOPOO/Git-Github-Commit-lazy
[INFO] finished tweaking git repo https://github.com/IKOPOO/Git-Github-Commit-lazy
[INFO] tweaked toml for git repo https://github.com/IKOPOO/Git-Github-Commit-lazy written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IKOPOO/Git-Github-Commit-lazy on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/IKOPOO/Git-Github-Commit-lazy 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows-implement v0.57.0
[INFO] [stderr]   Downloaded windows-interface v0.57.0
[INFO] [stderr]   Downloaded snafu-derive v0.8.6
[INFO] [stderr]   Downloaded rfd v0.12.1
[INFO] [stderr]   Downloaded snafu v0.8.6
[INFO] [stderr]   Downloaded windows-core v0.57.0
[INFO] [stderr]   Downloaded ureq v2.12.1
[INFO] [stderr]   Downloaded sysinfo v0.33.1
[INFO] [stderr]   Downloaded octocrab v0.44.1
[INFO] [stderr]   Downloaded windows v0.57.0
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c0483052c25cb93d54b4f2e493490423ebb1cfaa9ea17dba11e4bef9f19eef61
[INFO] running `Command { std: "docker" "start" "-a" "c0483052c25cb93d54b4f2e493490423ebb1cfaa9ea17dba11e4bef9f19eef61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0483052c25cb93d54b4f2e493490423ebb1cfaa9ea17dba11e4bef9f19eef61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0483052c25cb93d54b4f2e493490423ebb1cfaa9ea17dba11e4bef9f19eef61", kill_on_drop: false }`
[INFO] [stdout] c0483052c25cb93d54b4f2e493490423ebb1cfaa9ea17dba11e4bef9f19eef61
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ca2948933f1efc6d9d948319d424a98c1785e394af8faeec59922412c642f28
[INFO] running `Command { std: "docker" "start" "-a" "2ca2948933f1efc6d9d948319d424a98c1785e394af8faeec59922412c642f28", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling target-lexicon v0.12.16
[INFO] [stderr]    Compiling winnow v0.6.24
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling version-compare v0.2.0
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.13
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling rustls v0.23.29
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling rustls-native-certs v0.8.1
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling rfd v0.12.1
[INFO] [stderr]    Compiling clap_builder v4.5.27
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling cfg-expr v0.15.8
[INFO] [stderr]    Compiling secrecy v0.10.3
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling web-time v1.1.0
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling sysinfo v0.33.1
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling clap v4.5.28
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling snafu-derive v0.8.6
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling snafu v0.8.6
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.4
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling system-deps v6.2.2
[INFO] [stderr]    Compiling glib-sys v0.18.1
[INFO] [stderr]    Compiling gobject-sys v0.18.0
[INFO] [stderr]    Compiling gdk-sys v0.18.2
[INFO] [stderr]    Compiling atk-sys v0.18.2
[INFO] [stderr]    Compiling gio-sys v0.18.1
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.18.0
[INFO] [stderr]    Compiling pango-sys v0.18.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.18.2
[INFO] [stderr]    Compiling gtk-sys v0.18.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.138
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.39
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling ureq v2.12.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-rustls v0.26.2
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling octocrab v0.44.1
[INFO] [stderr]    Compiling asisten_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow::Error`
[INFO] [stdout]  --> src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Error;
[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: `self`
[INFO] [stdout]  --> src/config.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::{self, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/config.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/core/process.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Project`
[INFO] [stdout]   --> src/core/utils.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::config::{ProcessStatus, Project};
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::log::*`
[INFO] [stdout]   --> src/core/utils.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::log::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/core/utils.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |   (Ok(()))
[INFO] [stdout]     |   ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 119 -   (Ok(()))
[INFO] [stdout] 119 +   Ok(()) 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nix::libc::user`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use nix::libc::user;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::core::log_global::{self, init_global_log, log_global};
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |   auth::{self, auth_user},
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Logger`
[INFO] [stdout]   --> src/main.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::log::{LogType, Logger};
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_github`
[INFO] [stdout]    --> src/core/utils.rs:117:7
[INFO] [stdout]     |
[INFO] [stdout] 117 |   let token_github = token.trim();
[INFO] [stdout]     |       ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_github`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_type`
[INFO] [stdout]   --> src/log.rs:90:23
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn write_log(&self, log_type: LogType, message: &str, show_on_terminal: bool) {}
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/log.rs:90:42
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn write_log(&self, log_type: LogType, message: &str, show_on_terminal: bool) {}
[INFO] [stdout]    |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `show_on_terminal`
[INFO] [stdout]   --> src/log.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn write_log(&self, log_type: LogType, message: &str, show_on_terminal: bool) {}
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_show_on_terminal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepoConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct RepoConfig {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `load` is never used
[INFO] [stdout]   --> src/config.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl RepoConfig {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 78 |   pub fn load() -> anyhow::Result<Self> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RemoveProject` and `Shutdown` are never constructed
[INFO] [stdout]   --> src/core/process.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum MonitorEvent {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 12 |   AddProject(Project),
[INFO] [stdout] 13 |   RemoveProject(usize),
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout] 14 |   Shutdown,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_token_pat` is never used
[INFO] [stdout]    --> src/core/utils.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn validate_token_pat(token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Warn`, `Input`, and `Auth` are never constructed
[INFO] [stdout]   --> src/log.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum LogType {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 10 |   Info,
[INFO] [stdout] 11 |   Warn,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 12 |   Error,
[INFO] [stdout] 13 |   Input,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 14 |   Path,
[INFO] [stdout] 15 |   Auth,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Logger` is never constructed
[INFO] [stdout]   --> src/log.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Logger {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/log.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Logger {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 24 |   pub fn new(log_path: &[String]) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] running `Command { std: "docker" "inspect" "2ca2948933f1efc6d9d948319d424a98c1785e394af8faeec59922412c642f28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ca2948933f1efc6d9d948319d424a98c1785e394af8faeec59922412c642f28", kill_on_drop: false }`
[INFO] [stdout] 2ca2948933f1efc6d9d948319d424a98c1785e394af8faeec59922412c642f28
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4109e4a85a3952cb6c85986b1703c30328d8c66cd252a3a0de28360295869cbd
[INFO] running `Command { std: "docker" "start" "-a" "4109e4a85a3952cb6c85986b1703c30328d8c66cd252a3a0de28360295869cbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling asisten_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow::Error`
[INFO] [stdout]  --> src/config.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Error;
[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: `self`
[INFO] [stdout]  --> src/config.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::{self, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/config.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/core/process.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, Mutex, RwLock};
[INFO] [stdout]   |                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Project`
[INFO] [stdout]   --> src/core/utils.rs:15:36
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::config::{ProcessStatus, Project};
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::log::*`
[INFO] [stdout]   --> src/core/utils.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::log::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/core/utils.rs:119:3
[INFO] [stdout]     |
[INFO] [stdout] 119 |   (Ok(()))
[INFO] [stdout]     |   ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 119 -   (Ok(()))
[INFO] [stdout] 119 +   Ok(()) 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::E`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::f32::consts::E;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nix::libc::user`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use nix::libc::user;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::core::log_global::{self, init_global_log, log_global};
[INFO] [stdout]    |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |   auth::{self, auth_user},
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Logger`
[INFO] [stdout]   --> src/main.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::log::{LogType, Logger};
[INFO] [stdout]    |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_github`
[INFO] [stdout]    --> src/core/utils.rs:117:7
[INFO] [stdout]     |
[INFO] [stdout] 117 |   let token_github = token.trim();
[INFO] [stdout]     |       ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_github`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_type`
[INFO] [stdout]   --> src/log.rs:90:23
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn write_log(&self, log_type: LogType, message: &str, show_on_terminal: bool) {}
[INFO] [stdout]    |                       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/log.rs:90:42
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn write_log(&self, log_type: LogType, message: &str, show_on_terminal: bool) {}
[INFO] [stdout]    |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `show_on_terminal`
[INFO] [stdout]   --> src/log.rs:90:57
[INFO] [stdout]    |
[INFO] [stdout] 90 |   fn write_log(&self, log_type: LogType, message: &str, show_on_terminal: bool) {}
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_show_on_terminal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepoConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct RepoConfig {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `load` is never used
[INFO] [stdout]   --> src/config.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl RepoConfig {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 78 |   pub fn load() -> anyhow::Result<Self> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `RemoveProject` and `Shutdown` are never constructed
[INFO] [stdout]   --> src/core/process.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum MonitorEvent {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 12 |   AddProject(Project),
[INFO] [stdout] 13 |   RemoveProject(usize),
[INFO] [stdout]    |   ^^^^^^^^^^^^^
[INFO] [stdout] 14 |   Shutdown,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_token_pat` is never used
[INFO] [stdout]    --> src/core/utils.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn validate_token_pat(token: &str) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Warn`, `Input`, and `Auth` are never constructed
[INFO] [stdout]   --> src/log.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub enum LogType {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 10 |   Info,
[INFO] [stdout] 11 |   Warn,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout] 12 |   Error,
[INFO] [stdout] 13 |   Input,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 14 |   Path,
[INFO] [stdout] 15 |   Auth,
[INFO] [stdout]    |   ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Logger` is never constructed
[INFO] [stdout]   --> src/log.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Logger {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/log.rs:24:10
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Logger {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 24 |   pub fn new(log_path: &[String]) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.74s
[INFO] running `Command { std: "docker" "inspect" "4109e4a85a3952cb6c85986b1703c30328d8c66cd252a3a0de28360295869cbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4109e4a85a3952cb6c85986b1703c30328d8c66cd252a3a0de28360295869cbd", kill_on_drop: false }`
[INFO] [stdout] 4109e4a85a3952cb6c85986b1703c30328d8c66cd252a3a0de28360295869cbd
