[INFO] cloning repository https://github.com/xiangyuan/git-browser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiangyuan/git-browser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiangyuan%2Fgit-browser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiangyuan%2Fgit-browser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d3fb9ce3c7a57c7e1dc71aa7835a775d1014f2b
[INFO] checking xiangyuan/git-browser against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiangyuan%2Fgit-browser" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xiangyuan/git-browser
[INFO] finished tweaking git repo https://github.com/xiangyuan/git-browser
[INFO] tweaked toml for git repo https://github.com/xiangyuan/git-browser written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xiangyuan/git-browser on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xiangyuan/git-browser 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74
[INFO] running `Command { std: "docker" "start" "be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking itoa v1.0.16
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling serde_json v1.0.100
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]    Compiling ryu v1.0.14
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]     Checking parking v2.1.0
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling libz-sys v1.1.9
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking num-traits v0.2.15
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking crc32fast v1.3.2
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling pin-project-internal v1.1.2
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]     Checking anstyle-parse v0.2.1
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]    Compiling basic-toml v0.1.10
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking http-body-util v0.1.0
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking pin-project v1.1.2
[INFO] [stderr]    Compiling libgit2-sys v0.18.3+1.9.2
[INFO] [stderr]    Compiling backtrace v0.3.68
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking gimli v0.27.3
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling portable-atomic v1.12.0
[INFO] [stderr]     Checking compression-core v0.4.31
[INFO] [stderr]     Checking compression-codecs v0.4.35
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling askama_parser v0.15.0
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking unicase v2.6.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking object v0.31.1
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking uuid v1.4.0
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking async-compression v0.4.36
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking hyper-util v0.1.7
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking serde_path_to_error v0.1.12
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]     Checking serde_spanned v1.0.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]     Checking toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking http-range-header v0.4.0
[INFO] [stderr]     Checking moka v0.12.12
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]     Checking addr2line v0.20.0
[INFO] [stderr]     Checking toml v0.9.10+spec-1.1.0
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]    Compiling askama_derive v0.15.0
[INFO] [stderr]     Checking sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking git2 v0.20.3
[INFO] [stderr]    Compiling askama_macros v0.15.0
[INFO] [stderr]     Checking askama v0.15.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking gitx v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `ReferenceNotFound`, `InvalidPath`, `InvalidOid`, `InvalidRef`, and `Parse` are never constructed
[INFO] [stdout]   --> src/shared/error.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum GitxError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     ReferenceNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     InvalidPath(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     InvalidOid(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     InvalidRef,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     Parse(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GitxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_to_file` is never used
[INFO] [stdout]    --> src/shared/config.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn save_to_file(&self, path: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_description` is never used
[INFO] [stdout]   --> src/domain/entities.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Repository {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn with_description(mut self, description: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tag` is never constructed
[INFO] [stdout]    --> src/domain/entities.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct Tag {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepositoryId` is never constructed
[INFO] [stdout]  --> src/domain/value_objects.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RepositoryId(pub i64);
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `as_i64` are never used
[INFO] [stdout]   --> src/domain/value_objects.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl RepositoryId {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(id: i64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn as_i64(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommitSha` is never constructed
[INFO] [stdout]   --> src/domain/value_objects.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct CommitSha(String);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `as_str` are never used
[INFO] [stdout]   --> src/domain/value_objects.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl CommitSha {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 29 |     pub fn new(sha: String) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BranchName` is never constructed
[INFO] [stdout]   --> src/domain/value_objects.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct BranchName(String);
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_str`, and `short_name` are never used
[INFO] [stdout]   --> src/domain/value_objects.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl BranchName {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 57 |     pub fn new(name: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn short_name(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `delete` and `exists_by_path` are never used
[INFO] [stdout]   --> src/ports/repository.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait RepositoryPort: Send + Sync {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     async fn delete(&self, id: i64) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     async fn exists_by_path(&self, path: &str) -> Result<bool>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save`, `delete_by_repository`, and `count_by_repository` are never used
[INFO] [stdout]   --> src/ports/commit.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait CommitPort: Send + Sync {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 31 |     async fn save(&self, commit: &Commit) -> Result<i64>;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     async fn delete_by_repository(&self, repository_id: i64) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     async fn count_by_repository(&self, repository_id: i64, branch: Option<&str>) -> Result<i64>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `list_tags`, `compare_commits`, and `get_branch_diff_commits` are never used
[INFO] [stdout]   --> src/ports/git.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait GitPort: Send + Sync {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     async fn list_tags(&self, path: &Path) -> Result<Vec<GitTag>>;
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     async fn compare_commits(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     async fn get_branch_diff_commits(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commits_fetched` is never read
[INFO] [stdout]   --> src/ports/git.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct FetchResult {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 51 |     pub commits_fetched: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FetchResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GitTag` is never constructed
[INFO] [stdout]   --> src/ports/git.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct GitTag {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `diff_plain` is never read
[INFO] [stdout]   --> src/ports/git.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct GitCommitDetail {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub diff_plain: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GitCommitDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GitDiff` is never constructed
[INFO] [stdout]    --> src/ports/git.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct GitDiff {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GitDiffPatch` is never constructed
[INFO] [stdout]    --> src/ports/git.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct GitDiffPatch {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CachePort` is never used
[INFO] [stdout]  --> src/ports/cache.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait CachePort: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save` and `delete_by_repository` are never used
[INFO] [stdout]   --> src/ports/branch.rs:8:14
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait BranchPort: Send + Sync {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout]  7 |     /// 保存分支信息
[INFO] [stdout]  8 |     async fn save(&self, branch: &Branch) -> Result<()>;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     async fn delete_by_repository(&self, repository_id: i64) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `trigger_index` is never used
[INFO] [stdout]    --> src/services/scheduler.rs:203:18
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl IndexerScheduler {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub async fn trigger_index(&self, repository_id: i64) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `message` and `author_email` are never read
[INFO] [stdout]   --> src/presentation/templates.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CommitItem {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub message: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub author_email: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CommitItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ReferenceNotFound`, `InvalidPath`, `InvalidOid`, `InvalidRef`, and `Parse` are never constructed
[INFO] [stdout]   --> src/shared/error.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum GitxError {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 33 |     ReferenceNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     InvalidPath(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     InvalidOid(String),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     InvalidRef,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     Parse(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GitxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_to_file` is never used
[INFO] [stdout]    --> src/shared/config.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 110 | impl Config {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn save_to_file(&self, path: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `with_description` is never used
[INFO] [stdout]   --> src/domain/entities.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Repository {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn with_description(mut self, description: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tag` is never constructed
[INFO] [stdout]    --> src/domain/entities.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct Tag {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepositoryId` is never constructed
[INFO] [stdout]  --> src/domain/value_objects.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RepositoryId(pub i64);
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `as_i64` are never used
[INFO] [stdout]   --> src/domain/value_objects.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl RepositoryId {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new(id: i64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn as_i64(&self) -> i64 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CommitSha` is never constructed
[INFO] [stdout]   --> src/domain/value_objects.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct CommitSha(String);
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `as_str` are never used
[INFO] [stdout]   --> src/domain/value_objects.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl CommitSha {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 29 |     pub fn new(sha: String) -> Result<Self, String> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BranchName` is never constructed
[INFO] [stdout]   --> src/domain/value_objects.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct BranchName(String);
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `as_str`, and `short_name` are never used
[INFO] [stdout]   --> src/domain/value_objects.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | impl BranchName {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 57 |     pub fn new(name: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn short_name(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `delete` and `exists_by_path` are never used
[INFO] [stdout]   --> src/ports/repository.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait RepositoryPort: Send + Sync {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     async fn delete(&self, id: i64) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     async fn exists_by_path(&self, path: &str) -> Result<bool>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save`, `delete_by_repository`, and `count_by_repository` are never used
[INFO] [stdout]   --> src/ports/commit.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait CommitPort: Send + Sync {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 31 |     async fn save(&self, commit: &Commit) -> Result<i64>;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     async fn delete_by_repository(&self, repository_id: i64) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     async fn count_by_repository(&self, repository_id: i64, branch: Option<&str>) -> Result<i64>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `list_tags`, `compare_commits`, and `get_branch_diff_commits` are never used
[INFO] [stdout]   --> src/ports/git.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub trait GitPort: Send + Sync {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     async fn list_tags(&self, path: &Path) -> Result<Vec<GitTag>>;
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     async fn compare_commits(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     async fn get_branch_diff_commits(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `commits_fetched` is never read
[INFO] [stdout]   --> src/ports/git.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct FetchResult {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 51 |     pub commits_fetched: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FetchResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GitTag` is never constructed
[INFO] [stdout]   --> src/ports/git.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct GitTag {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `diff_plain` is never read
[INFO] [stdout]   --> src/ports/git.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct GitCommitDetail {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub diff_plain: Vec<u8>,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GitCommitDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GitDiff` is never constructed
[INFO] [stdout]    --> src/ports/git.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub struct GitDiff {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GitDiffPatch` is never constructed
[INFO] [stdout]    --> src/ports/git.rs:107:12
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct GitDiffPatch {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CachePort` is never used
[INFO] [stdout]  --> src/ports/cache.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait CachePort: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `save` and `delete_by_repository` are never used
[INFO] [stdout]   --> src/ports/branch.rs:8:14
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait BranchPort: Send + Sync {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout]  7 |     /// 保存分支信息
[INFO] [stdout]  8 |     async fn save(&self, branch: &Branch) -> Result<()>;
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     async fn delete_by_repository(&self, repository_id: i64) -> Result<()>;
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `trigger_index` is never used
[INFO] [stdout]    --> src/services/scheduler.rs:203:18
[INFO] [stdout]     |
[INFO] [stdout]  23 | impl IndexerScheduler {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub async fn trigger_index(&self, repository_id: i64) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `message` and `author_email` are never read
[INFO] [stdout]   --> src/presentation/templates.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct CommitItem {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub message: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub author_email: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CommitItem` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74", kill_on_drop: false }`
[INFO] [stdout] be04cd8a30eed474163b13a01bd6ec98028121b130d14979205fd31d4fb54d74
