[INFO] cloning repository https://github.com/krishna4040/BYO-git [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krishna4040/BYO-git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2FBYO-git", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2FBYO-git'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2a9933893b6991f6fa74a7f2a5db4fdc38d24b1 [INFO] checking krishna4040/BYO-git against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrishna4040%2FBYO-git" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/krishna4040/BYO-git [INFO] finished tweaking git repo https://github.com/krishna4040/BYO-git [INFO] tweaked toml for git repo https://github.com/krishna4040/BYO-git written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krishna4040/BYO-git on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krishna4040/BYO-git 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded libredox v0.1.4 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded clap_derive v4.5.40 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded bstr v1.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c3a1d538da5351a2fa984551342b6d8c82ec20181bf6058761e65348020ac06 [INFO] running `Command { std: "docker" "start" "-a" "0c3a1d538da5351a2fa984551342b6d8c82ec20181bf6058761e65348020ac06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c3a1d538da5351a2fa984551342b6d8c82ec20181bf6058761e65348020ac06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c3a1d538da5351a2fa984551342b6d8c82ec20181bf6058761e65348020ac06", kill_on_drop: false }` [INFO] [stdout] 0c3a1d538da5351a2fa984551342b6d8c82ec20181bf6058761e65348020ac06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b2f71c8c5dce2c24b462da8377cf5238a11314547f6e87e622856b27d19e210 [INFO] running `Command { std: "docker" "start" "-a" "5b2f71c8c5dce2c24b462da8377cf5238a11314547f6e87e622856b27d19e210", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking modern-vcs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/cli/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn print_error(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_file_size` is never used [INFO] [stdout] --> src/cli/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn format_file_size(size: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_global`, `set_user_name`, `set_user_email`, `set_editor`, and `get_editor` are never used [INFO] [stdout] --> src/config.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn save_global(&self) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn set_user_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn set_user_email(&mut self, email: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn set_editor(&mut self, editor: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_editor(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set_global_user` and `set_repo_user` are never used [INFO] [stdout] --> src/config.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl ConfigManager { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn set_global_user(name: String, email: String) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn set_repo_user(repo_root: &Path, name: String, email: String) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `blob_from_file`, `tree_from_directory`, and `commit` are never used [INFO] [stdout] --> src/objects.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Object { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn blob_from_file(path: &Path) -> VcsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn tree_from_directory(dir_path: &Path, repo_root: &Path, store: &ObjectStore) -> VcsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn commit( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Renamed` and `Copied` are never constructed [INFO] [stdout] --> src/index.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum FileStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Renamed { from: String }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Copied { from: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileStatus` 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: methods `remove_file`, `get_entry`, and `resolve_conflict` are never used [INFO] [stdout] --> src/index.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Index { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn remove_file(&mut self, path: &Path, repo_root: &Path) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn get_entry(&self, path: &str) -> Option<&IndexEntry> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn resolve_conflict(&mut self, path: &str, stage: u8) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Renamed` and `Copied` are never constructed [INFO] [stdout] --> src/diff.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum DiffType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Renamed { from: PathBuf }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Copied { from: PathBuf }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffType` 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: fields `old_line_no` and `new_line_no` are never read [INFO] [stdout] --> src/diff.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct DiffLine { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub old_line_no: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub new_line_no: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffLine` 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 `content` is never read [INFO] [stdout] --> src/merge.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct FileState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | content: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileState` 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: methods `list_remote_branches` and `get_remote_branch_commit` are never used [INFO] [stdout] --> src/remote.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> RemoteManager<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn list_remote_branches(&self, remote_name: &str) -> VcsResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn get_remote_branch_commit(&self, remote_name: &str, branch_name: &str) -> VcsResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoteServer` is never constructed [INFO] [stdout] --> src/remote.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | pub struct RemoteServer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/remote.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 405 | impl RemoteServer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 406 | pub fn new(repo: Repository, port: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub async fn start(&self) -> VcsResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidHash`, `MergeConflict`, `InvalidCommit`, `IndexCorruption`, and `PermissionDenied` are never constructed [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum VcsError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | InvalidHash { hash: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | MergeConflict { path: PathBuf }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | InvalidCommit { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | IndexCorruption, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | PermissionDenied { path: PathBuf }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VcsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `invalid_hash`, `merge_conflict`, `invalid_commit`, and `permission_denied` are never used [INFO] [stdout] --> src/error.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl VcsError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn invalid_hash(hash: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn merge_conflict(path: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn invalid_commit(reason: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn permission_denied(path: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_file` is never used [INFO] [stdout] --> src/utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn hash_file(path: &Path) -> VcsResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_error` is never used [INFO] [stdout] --> src/cli/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn print_error(message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_file_size` is never used [INFO] [stdout] --> src/cli/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn format_file_size(size: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_global`, `set_user_name`, `set_user_email`, `set_editor`, and `get_editor` are never used [INFO] [stdout] --> src/config.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn save_global(&self) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn set_user_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn set_user_email(&mut self, email: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn set_editor(&mut self, editor: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_editor(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set_global_user` and `set_repo_user` are never used [INFO] [stdout] --> src/config.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl ConfigManager { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn set_global_user(name: String, email: String) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn set_repo_user(repo_root: &Path, name: String, email: String) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `blob_from_file`, `tree_from_directory`, and `commit` are never used [INFO] [stdout] --> src/objects.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl Object { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn blob_from_file(path: &Path) -> VcsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn tree_from_directory(dir_path: &Path, repo_root: &Path, store: &ObjectStore) -> VcsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn commit( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Renamed` and `Copied` are never constructed [INFO] [stdout] --> src/index.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum FileStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Renamed { from: String }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | Copied { from: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileStatus` 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: methods `remove_file`, `get_entry`, and `resolve_conflict` are never used [INFO] [stdout] --> src/index.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Index { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn remove_file(&mut self, path: &Path, repo_root: &Path) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn get_entry(&self, path: &str) -> Option<&IndexEntry> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn resolve_conflict(&mut self, path: &str, stage: u8) -> VcsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Renamed` and `Copied` are never constructed [INFO] [stdout] --> src/diff.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum DiffType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Renamed { from: PathBuf }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | Copied { from: PathBuf }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffType` 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: fields `old_line_no` and `new_line_no` are never read [INFO] [stdout] --> src/diff.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct DiffLine { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub old_line_no: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | pub new_line_no: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffLine` 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 `content` is never read [INFO] [stdout] --> src/merge.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct FileState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | content: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileState` 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: methods `list_remote_branches` and `get_remote_branch_commit` are never used [INFO] [stdout] --> src/remote.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> RemoteManager<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn list_remote_branches(&self, remote_name: &str) -> VcsResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn get_remote_branch_commit(&self, remote_name: &str, branch_name: &str) -> VcsResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoteServer` is never constructed [INFO] [stdout] --> src/remote.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | pub struct RemoteServer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/remote.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 405 | impl RemoteServer { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 406 | pub fn new(repo: Repository, port: u16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub async fn start(&self) -> VcsResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidHash`, `MergeConflict`, `InvalidCommit`, `IndexCorruption`, and `PermissionDenied` are never constructed [INFO] [stdout] --> src/error.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum VcsError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | InvalidHash { hash: String }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | MergeConflict { path: PathBuf }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | InvalidCommit { reason: String }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | IndexCorruption, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | PermissionDenied { path: PathBuf }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VcsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `invalid_hash`, `merge_conflict`, `invalid_commit`, and `permission_denied` are never used [INFO] [stdout] --> src/error.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl VcsError { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn invalid_hash(hash: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn merge_conflict(path: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn invalid_commit(reason: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn permission_denied(path: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_file` is never used [INFO] [stdout] --> src/utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn hash_file(path: &Path) -> VcsResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "5b2f71c8c5dce2c24b462da8377cf5238a11314547f6e87e622856b27d19e210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2f71c8c5dce2c24b462da8377cf5238a11314547f6e87e622856b27d19e210", kill_on_drop: false }` [INFO] [stdout] 5b2f71c8c5dce2c24b462da8377cf5238a11314547f6e87e622856b27d19e210