[INFO] cloning repository https://github.com/svarlamov/git-ai-workflows-testing-fork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svarlamov/git-ai-workflows-testing-fork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvarlamov%2Fgit-ai-workflows-testing-fork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvarlamov%2Fgit-ai-workflows-testing-fork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82aac756b53b9e9f22655a51662ae07fece6bc95 [INFO] checking svarlamov/git-ai-workflows-testing-fork against try#70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvarlamov%2Fgit-ai-workflows-testing-fork" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/svarlamov/git-ai-workflows-testing-fork [INFO] finished tweaking git repo https://github.com/svarlamov/git-ai-workflows-testing-fork [INFO] tweaked toml for git repo https://github.com/svarlamov/git-ai-workflows-testing-fork written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/svarlamov/git-ai-workflows-testing-fork on toolchain 70daa2c0d8eed7066b07966f3c0b0b8622bff4e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/svarlamov/git-ai-workflows-testing-fork 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" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minreq v2.14.1 [INFO] [stderr] Downloaded jsonc-parser v0.27.0 [INFO] [stderr] Downloaded diff-match-patch-rs v0.5.1 [INFO] [stderr] Downloaded rusqlite v0.31.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76809de6c9049fe4dab865f19381cf14ad57c247e041feba05948a992268b897 [INFO] running `Command { std: "docker" "start" "-a" "76809de6c9049fe4dab865f19381cf14ad57c247e041feba05948a992268b897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76809de6c9049fe4dab865f19381cf14ad57c247e041feba05948a992268b897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76809de6c9049fe4dab865f19381cf14ad57c247e041feba05948a992268b897", kill_on_drop: false }` [INFO] [stdout] 76809de6c9049fe4dab865f19381cf14ad57c247e041feba05948a992268b897 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+70daa2c0d8eed7066b07966f3c0b0b8622bff4e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06ec85c9cf0ab217a84d651c834d314991258c90b2227ab759ef9ede3d4f831b [INFO] running `Command { std: "docker" "start" "-a" "06ec85c9cf0ab217a84d651c834d314991258c90b2227ab759ef9ede3d4f831b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking async-executor v1.13.3 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking diff-match-patch-rs v0.5.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking jsonc-parser v0.27.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking async-net v1.8.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking async-io v2.5.0 [INFO] [stderr] Checking async-signal v0.2.12 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking smol v1.3.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking minreq v2.14.1 [INFO] [stderr] Checking git2 v0.20.2 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking git-ai v1.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::config; [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: `HashSet` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{BTreeMap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/commands/checkpoint_agent/agent_presets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Checkpoint` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::authorship::working_log::{AgentId, Checkpoint, CheckpointKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::GitAiError` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::error::GitAiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::git::cli_parser::ParsedGitInvocation` [INFO] [stdout] --> src/git/repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::git::cli_parser::ParsedGitInvocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show_authorship_note` [INFO] [stdout] --> src/git/repository.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::git::refs::{get_authorship, show_authorship_note}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/git/repository.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/utils.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) struct Deletion { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deletion` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct Insertion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Insertion` 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: associated functions `merge_line_ranges`, `ranges_can_merge`, `merge_ranges`, and `collect_latest_line_attributions` are never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl AuthorshipLog { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | fn merge_line_ranges(ranges: &[LineRange]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn ranges_can_merge(range1: &LineRange, range2: &LineRange) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn merge_ranges(range1: &LineRange, range2: &LineRange) -> LineRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn collect_latest_line_attributions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_line_range` is never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:764:4 [INFO] [stdout] | [INFO] [stdout] 764 | fn count_line_range(range: &LineRange) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_committed_files_content` is never used [INFO] [stdout] --> src/authorship/post_commit.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_committed_files_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trees_identical` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:636:4 [INFO] [stdout] | [INFO] [stdout] 636 | fn trees_identical(commit1: &Commit, commit2: &Commit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_authorship_log` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:643:4 [INFO] [stdout] | [INFO] [stdout] 643 | fn copy_authorship_log(repo: &Repository, from_sha: &str, to_sha: &str) -> Result<(), GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_agent` and `agent_tool` are never read [INFO] [stdout] --> src/git/test_utils/mod.rs:1272:5 [INFO] [stdout] | [INFO] [stdout] 1270 | pub struct SnapshotCheckpoint { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 1271 | author: String, [INFO] [stdout] 1272 | has_agent: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1273 | agent_tool: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnapshotCheckpoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/commands/git_handlers.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/repository.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1063 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | ) -> Result, GitAiError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_fixture` is never used [INFO] [stdout] --> tests/test_utils.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn load_fixture(filename: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path`, `stats`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log`, `stdout`, and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn insert_at>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn replace_at>(&mut self, index: usize, line: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 718 | pub fn contents(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 727 | fn write_and_checkpoint(&self, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats`, `current_branch`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stdout` and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stdout` and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `assert_authorship_snapshot` is never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn insert_at>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn replace_at>(&mut self, index: usize, line: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 718 | pub fn contents(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 727 | fn write_and_checkpoint(&self, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats`, `current_branch`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log`, `stdout`, and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn replace_at>(&mut self, index: usize, line: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats`, `current_branch`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log` and `stdout` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn replace_at>(&mut self, index: usize, line: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats`, `current_branch`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log`, `stdout`, and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rebase` is never constructed [INFO] [stdout] --> tests/github/github_test_harness.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum MergeStrategy { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Rebase, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergeStrategy` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `git_with_env` and `current_working_logs` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log`, `stdout`, and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path`, `stats`, `git_with_env`, and `current_working_logs` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stdout` is never read [INFO] [stdout] --> tests/repos/test_repo.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn insert_at>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn replace_at>(&mut self, index: usize, line: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 718 | pub fn contents(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 727 | fn write_and_checkpoint(&self, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats`, `current_branch`, `git_with_env`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stdout` and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn replace_at>(&mut self, index: usize, line: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats`, `current_branch`, `git_with_env`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log`, `stdout`, and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stats`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log` and `stdout` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::config; [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: `HashSet` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{BTreeMap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/commands/checkpoint_agent/agent_presets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Checkpoint` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::authorship::working_log::{AgentId, Checkpoint, CheckpointKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::GitAiError` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::error::GitAiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::git::cli_parser::ParsedGitInvocation` [INFO] [stdout] --> src/git/repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::git::cli_parser::ParsedGitInvocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show_authorship_note` [INFO] [stdout] --> src/git/repository.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::git::refs::{get_authorship, show_authorship_note}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/git/repository.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/utils.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn stage(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn assert_committed_lines>(&mut self, lines: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn insert_at>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 594 | pub fn replace_at>(&mut self, index: usize, line: T) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | pub fn delete_at(&mut self, index: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | pub fn delete_range(&mut self, start: usize, end: usize) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 718 | pub fn contents(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 727 | fn write_and_checkpoint(&self, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path`, `stats`, `current_branch`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `authorship_log`, `stdout`, and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/repos/test_file.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a> TestFile<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn assert_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn assert_blame_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn format_blame_for_snapshot(&self, blame_output: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub fn assert_blame_contents_expected(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn parse_blame_output(&self, blame_output: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn lines_by_author(&self, author_type: AuthorType) -> Vec<&ExpectedLine> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | pub fn set_contents_no_stage>(&mut self, lines: Vec) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 757 | fn write_and_checkpoint_no_stage(&self, contents: &str, author_type: &AuthorType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path`, `stats`, `current_branch`, `git_with_env`, `current_working_logs`, and `read_file` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl TestRepo { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn stats(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn current_branch(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn git_with_env(&self, args: &[&str], envs: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn current_working_logs(&self) -> PersistedWorkingLog { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn read_file(&self, filename: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stdout` and `commit_sha` are never read [INFO] [stdout] --> tests/repos/test_repo.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 232 | pub struct NewCommit { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 233 | pub authorship_log: AuthorshipLog, [INFO] [stdout] 234 | pub stdout: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | pub commit_sha: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewCommit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `assert_authorship_snapshot` and `print_authorship` are never used [INFO] [stdout] --> tests/repos/test_repo.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 238 | impl NewCommit { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 239 | pub fn assert_authorship_snapshot(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn print_authorship(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/repos/test_repo.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn filename(&self, filename: &str) -> TestFile<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::config; [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: `HashSet` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{BTreeMap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/commands/checkpoint_agent/agent_presets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Checkpoint` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::authorship::working_log::{AgentId, Checkpoint, CheckpointKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::GitAiError` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::error::GitAiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::git::cli_parser::ParsedGitInvocation` [INFO] [stdout] --> src/git/repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::git::cli_parser::ParsedGitInvocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show_authorship_note` [INFO] [stdout] --> src/git/repository.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::git::refs::{get_authorship, show_authorship_note}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/git/repository.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/utils.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::config` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::config; [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: `HashSet` [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{BTreeMap, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/commands/checkpoint_agent/agent_presets.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Checkpoint` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::authorship::working_log::{AgentId, Checkpoint, CheckpointKind}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::GitAiError` [INFO] [stdout] --> src/commands/git_ai_handlers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::error::GitAiError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::git::cli_parser::ParsedGitInvocation` [INFO] [stdout] --> src/git/repository.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::git::cli_parser::ParsedGitInvocation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `show_authorship_note` [INFO] [stdout] --> src/git/repository.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::git::refs::{get_authorship, show_authorship_note}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::OnceLock` [INFO] [stdout] --> src/git/repository.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::OnceLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/utils.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2651:13 [INFO] [stdout] | [INFO] [stdout] 2651 | let mut attributions_v2 = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2663:13 [INFO] [stdout] | [INFO] [stdout] 2663 | let mut attributions_v3 = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2675:13 [INFO] [stdout] | [INFO] [stdout] 2675 | let mut attributions_v4 = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2726:13 [INFO] [stdout] | [INFO] [stdout] 2726 | let mut v2_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2790:13 [INFO] [stdout] | [INFO] [stdout] 2790 | let mut v1_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2802:13 [INFO] [stdout] | [INFO] [stdout] 2802 | let mut v2_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2846:13 [INFO] [stdout] | [INFO] [stdout] 2846 | let mut v1_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2858:13 [INFO] [stdout] | [INFO] [stdout] 2858 | let mut v2_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2651:13 [INFO] [stdout] | [INFO] [stdout] 2651 | let mut attributions_v2 = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2663:13 [INFO] [stdout] | [INFO] [stdout] 2663 | let mut attributions_v3 = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2675:13 [INFO] [stdout] | [INFO] [stdout] 2675 | let mut attributions_v4 = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2726:13 [INFO] [stdout] | [INFO] [stdout] 2726 | let mut v2_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2790:13 [INFO] [stdout] | [INFO] [stdout] 2790 | let mut v1_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2802:13 [INFO] [stdout] | [INFO] [stdout] 2802 | let mut v2_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2846:13 [INFO] [stdout] | [INFO] [stdout] 2846 | let mut v1_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/authorship/attribution_tracker.rs:2858:13 [INFO] [stdout] | [INFO] [stdout] 2858 | let mut v2_attributions = tracker [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `line_count`, `is_empty`, `overlaps`, and `intersection` are never used [INFO] [stdout] --> src/authorship/attribution_tracker.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl LineAttribution { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn line_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn overlaps(&self, start_line: u32, end_line: u32) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn intersection(&self, start_line: u32, end_line: u32) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/authorship/attribution_tracker.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Attribution { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) struct Deletion { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deletion` 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: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct Insertion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Insertion` 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: associated function `with_config` is never used [INFO] [stdout] --> src/authorship/attribution_tracker.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 230 | impl AttributionTracker { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn with_config(config: AttributionConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `filter_to_committed_lines`, `merge_line_ranges`, `ranges_can_merge`, `merge_ranges`, and `collect_latest_line_attributions` are never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl AuthorshipLog { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn filter_to_committed_lines(&mut self, committed_hunks: &HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn merge_line_ranges(ranges: &[LineRange]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn ranges_can_merge(range1: &LineRange, range2: &LineRange) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn merge_ranges(range1: &LineRange, range2: &LineRange) -> LineRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn collect_latest_line_attributions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_line_range` is never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:764:4 [INFO] [stdout] | [INFO] [stdout] 764 | fn count_line_range(range: &LineRange) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_committed_files_content` is never used [INFO] [stdout] --> src/authorship/post_commit.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_committed_files_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trees_identical` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:636:4 [INFO] [stdout] | [INFO] [stdout] 636 | fn trees_identical(commit1: &Commit, commit2: &Commit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_authorship_log` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:643:4 [INFO] [stdout] | [INFO] [stdout] 643 | fn copy_authorship_log(repo: &Repository, from_sha: &str, to_sha: &str) -> Result<(), GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_sha` is never read [INFO] [stdout] --> src/ci/ci_context.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | Merge { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 15 | base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CiEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ignore_prompts` is never used [INFO] [stdout] --> src/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_ignore_prompts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `committer` and `time` are never used [INFO] [stdout] --> src/git/repository.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 334 | impl<'a> Commit<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn committer(&self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn time(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peel_to_commit` is never used [INFO] [stdout] --> src/git/repository.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 680 | impl<'a> Reference<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn peel_to_commit(&self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `References` is never constructed [INFO] [stdout] --> src/git/repository.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 763 | pub struct References<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `git`, `fetch_authorship`, `references`, `get_file_content`, and `diff_workdir_added_lines` are never used [INFO] [stdout] --> src/git/repository.rs:806:12 [INFO] [stdout] | [INFO] [stdout] 795 | impl Repository { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn git(&self, args: &[&str]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1319 | pub fn fetch_authorship<'a>(&'a self, remote_name: &str) -> Result<(), GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1379 | pub fn references<'a>(&'a self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1442 | pub fn get_file_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1607 | pub fn diff_workdir_added_lines( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all_ai_touched_files` is never used [INFO] [stdout] --> src/git/repo_storage.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl PersistedWorkingLog { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn all_ai_touched_files(&self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnapshotCheckpoint` is never constructed [INFO] [stdout] --> src/git/test_utils/mod.rs:1270:12 [INFO] [stdout] | [INFO] [stdout] 1270 | pub struct SnapshotCheckpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnapshotEntry` is never constructed [INFO] [stdout] --> src/git/test_utils/mod.rs:1278:12 [INFO] [stdout] | [INFO] [stdout] 1278 | pub struct SnapshotEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snapshot_checkpoints` is never used [INFO] [stdout] --> src/git/test_utils/mod.rs:1283:8 [INFO] [stdout] | [INFO] [stdout] 1283 | pub fn snapshot_checkpoints(checkpoints: &[Checkpoint]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Message` is never constructed [INFO] [stdout] --> src/observability/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | enum LogEnvelope { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Message(MessageEnvelope), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEnvelope` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_message` is never used [INFO] [stdout] --> src/observability/mod.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn log_message(message: &str, level: &str, context: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/commands/git_handlers.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/repository.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1063 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | ) -> Result, GitAiError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/authorship/attribution_tracker.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl Attribution { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn is_empty(&self) -> 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: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) struct Deletion { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deletion` 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: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct Insertion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Insertion` 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: associated function `with_config` is never used [INFO] [stdout] --> src/authorship/attribution_tracker.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 230 | impl AttributionTracker { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn with_config(config: AttributionConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `filter_to_committed_lines`, `merge_line_ranges`, `ranges_can_merge`, `merge_ranges`, and `collect_latest_line_attributions` are never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl AuthorshipLog { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn filter_to_committed_lines(&mut self, committed_hunks: &HashMap>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn merge_line_ranges(ranges: &[LineRange]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn ranges_can_merge(range1: &LineRange, range2: &LineRange) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn merge_ranges(range1: &LineRange, range2: &LineRange) -> LineRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn collect_latest_line_attributions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_line_range` is never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:764:4 [INFO] [stdout] | [INFO] [stdout] 764 | fn count_line_range(range: &LineRange) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_committed_files_content` is never used [INFO] [stdout] --> src/authorship/post_commit.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_committed_files_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trees_identical` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:636:4 [INFO] [stdout] | [INFO] [stdout] 636 | fn trees_identical(commit1: &Commit, commit2: &Commit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_authorship_log` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:643:4 [INFO] [stdout] | [INFO] [stdout] 643 | fn copy_authorship_log(repo: &Repository, from_sha: &str, to_sha: &str) -> Result<(), GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_sha` is never read [INFO] [stdout] --> src/ci/ci_context.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | Merge { [INFO] [stdout] | ----- field in this variant [INFO] [stdout] ... [INFO] [stdout] 15 | base_sha: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CiEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_ignore_prompts` is never used [INFO] [stdout] --> src/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_ignore_prompts(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `committer` and `time` are never used [INFO] [stdout] --> src/git/repository.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 334 | impl<'a> Commit<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 436 | pub fn committer(&self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn time(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peel_to_commit` is never used [INFO] [stdout] --> src/git/repository.rs:725:12 [INFO] [stdout] | [INFO] [stdout] 680 | impl<'a> Reference<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 725 | pub fn peel_to_commit(&self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `References` is never constructed [INFO] [stdout] --> src/git/repository.rs:763:12 [INFO] [stdout] | [INFO] [stdout] 763 | pub struct References<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `git`, `fetch_authorship`, `references`, `get_file_content`, and `diff_workdir_added_lines` are never used [INFO] [stdout] --> src/git/repository.rs:806:12 [INFO] [stdout] | [INFO] [stdout] 795 | impl Repository { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 806 | pub fn git(&self, args: &[&str]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1319 | pub fn fetch_authorship<'a>(&'a self, remote_name: &str) -> Result<(), GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1379 | pub fn references<'a>(&'a self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1442 | pub fn get_file_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1607 | pub fn diff_workdir_added_lines( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all_ai_touched_files` is never used [INFO] [stdout] --> src/git/repo_storage.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl PersistedWorkingLog { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn all_ai_touched_files(&self) -> Result, GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnapshotCheckpoint` is never constructed [INFO] [stdout] --> src/git/test_utils/mod.rs:1270:12 [INFO] [stdout] | [INFO] [stdout] 1270 | pub struct SnapshotCheckpoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SnapshotEntry` is never constructed [INFO] [stdout] --> src/git/test_utils/mod.rs:1278:12 [INFO] [stdout] | [INFO] [stdout] 1278 | pub struct SnapshotEntry { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snapshot_checkpoints` is never used [INFO] [stdout] --> src/git/test_utils/mod.rs:1283:8 [INFO] [stdout] | [INFO] [stdout] 1283 | pub fn snapshot_checkpoints(checkpoints: &[Checkpoint]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Message` is never constructed [INFO] [stdout] --> src/observability/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 44 | enum LogEnvelope { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 47 | Message(MessageEnvelope), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEnvelope` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `log_message` is never used [INFO] [stdout] --> src/observability/mod.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn log_message(message: &str, level: &str, context: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/commands/git_handlers.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/repository.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1063 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | ) -> Result, GitAiError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) struct Deletion { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 136 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deletion` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `bytes` is never read [INFO] [stdout] --> src/authorship/attribution_tracker.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 141 | pub(crate) struct Insertion { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) bytes: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Insertion` 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: associated functions `merge_line_ranges`, `ranges_can_merge`, `merge_ranges`, and `collect_latest_line_attributions` are never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl AuthorshipLog { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | fn merge_line_ranges(ranges: &[LineRange]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn ranges_can_merge(range1: &LineRange, range2: &LineRange) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn merge_ranges(range1: &LineRange, range2: &LineRange) -> LineRange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | fn collect_latest_line_attributions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_line_range` is never used [INFO] [stdout] --> src/authorship/authorship_log_serialization.rs:764:4 [INFO] [stdout] | [INFO] [stdout] 764 | fn count_line_range(range: &LineRange) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_committed_files_content` is never used [INFO] [stdout] --> src/authorship/post_commit.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_committed_files_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trees_identical` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:636:4 [INFO] [stdout] | [INFO] [stdout] 636 | fn trees_identical(commit1: &Commit, commit2: &Commit) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_authorship_log` is never used [INFO] [stdout] --> src/authorship/rebase_authorship.rs:643:4 [INFO] [stdout] | [INFO] [stdout] 643 | fn copy_authorship_log(repo: &Repository, from_sha: &str, to_sha: &str) -> Result<(), GitAiError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `has_agent` and `agent_tool` are never read [INFO] [stdout] --> src/git/test_utils/mod.rs:1272:5 [INFO] [stdout] | [INFO] [stdout] 1270 | pub struct SnapshotCheckpoint { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 1271 | author: String, [INFO] [stdout] 1272 | has_agent: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1273 | agent_tool: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SnapshotCheckpoint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/commands/git_handlers.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 54 | let handler = forward_signal_handler as *const () as usize; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git/repository.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1063 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | ) -> Result, GitAiError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.43s [INFO] running `Command { std: "docker" "inspect" "06ec85c9cf0ab217a84d651c834d314991258c90b2227ab759ef9ede3d4f831b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ec85c9cf0ab217a84d651c834d314991258c90b2227ab759ef9ede3d4f831b", kill_on_drop: false }` [INFO] [stdout] 06ec85c9cf0ab217a84d651c834d314991258c90b2227ab759ef9ede3d4f831b