[INFO] cloning repository https://github.com/inxeoz/chak-vcs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inxeoz/chak-vcs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finxeoz%2Fchak-vcs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finxeoz%2Fchak-vcs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 19f17399706f4ed3d101db81b4eac710195ca02b [INFO] checking inxeoz/chak-vcs against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finxeoz%2Fchak-vcs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/inxeoz/chak-vcs [INFO] finished tweaking git repo https://github.com/inxeoz/chak-vcs [INFO] tweaked toml for git repo https://github.com/inxeoz/chak-vcs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/inxeoz/chak-vcs on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 90 packages to latest Rust 1.90.0-nightly compatible versions [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3181daf115126fbf7fdc25b45942fa14c33c9178d07b8b69076f9a0c06044db [INFO] running `Command { std: "docker" "start" "-a" "f3181daf115126fbf7fdc25b45942fa14c33c9178d07b8b69076f9a0c06044db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3181daf115126fbf7fdc25b45942fa14c33c9178d07b8b69076f9a0c06044db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3181daf115126fbf7fdc25b45942fa14c33c9178d07b8b69076f9a0c06044db", kill_on_drop: false }` [INFO] [stdout] f3181daf115126fbf7fdc25b45942fa14c33c9178d07b8b69076f9a0c06044db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbb05b21a721b0ccc1599ac31d2e700c93cf03285b1b057d91729af49f663e42 [INFO] running `Command { std: "docker" "start" "-a" "cbb05b21a721b0ccc1599ac31d2e700c93cf03285b1b057d91729af49f663e42", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking chak-vcs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `get_chak_fold_path` and `get_current_chak_path` [INFO] [stdout] --> src/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | get_chak_fold_path, get_current_chak_path, get_current_dir_path, save_config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_chak_fold_path` and `get_current_chak_path` [INFO] [stdout] --> src/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | get_chak_fold_path, get_current_chak_path, get_current_dir_path, save_config, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_remote` [INFO] [stdout] --> src/config.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | .retain(|alias, current_remote| alias != &no_need_alias); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_remote` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/config.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | .retain(|current_alias, command| current_alias != &no_need_alias); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/util.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | let serialized = toml::to_string(data).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commnand` [INFO] [stdout] --> src/config_global.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | .retain(|current_alias, commnand| current_alias != &no_need_alias); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commnand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/status.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut root_tree = RootTreeObject::get_root_object() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> src/remote.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | RemoteCommand::Add { remote, alias } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `remote: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/remote.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | RemoteCommand::Add { remote, alias } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_remote` [INFO] [stdout] --> src/config.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | .retain(|alias, current_remote| alias != &no_need_alias); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_remote` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/config.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | .retain(|current_alias, command| current_alias != &no_need_alias); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/util.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | let serialized = toml::to_string(data).map_err(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHAK_PATH` is never used [INFO] [stdout] --> src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static CHAK_PATH: OnceCell = OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WORKING_DIR` is never used [INFO] [stdout] --> src/config.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub static mut WORKING_DIR: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_chak_path` is never used [INFO] [stdout] --> src/config.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_current_chak_path() -> &'static PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_remote`, `remove_remote`, `create_alias`, `remove_alias`, and `set_work_with_nested_ignore_file` are never used [INFO] [stdout] --> src/config.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn add_remote(&mut self, remote: String, alias: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn remove_remote(&mut self, no_need_alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn create_alias(&mut self, command: String, alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn remove_alias(&mut self, no_need_alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_work_with_nested_ignore_file(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_file` is never used [INFO] [stdout] --> src/config.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_config_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/custom_error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ChakError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | InvalidPath(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | NoEntriesFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | InvalidRepoState(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | MissingObject(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | NothingToCommit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | FileNotTracked(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | MergeConflict(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | BranchNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InvalidBranchName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | DetachedHead, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | CannotDeleteCurrentBranch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | InvalidCommand(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | MissingArgument(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | AmbiguousReference(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | RepoLocked, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | ConcurrentOperationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChakError` 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 `add_dir_child` and `add_file_child` are never used [INFO] [stdout] --> src/root_tree_object.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RootTreeObject { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn add_dir_child(&mut self, dir_name: String, nested_dir: &mut NestedTreeHashPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_file_child(&mut self, key: String, value: VersionHeadPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_vcs_presence_in_dir` is never used [INFO] [stdout] --> src/util.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn check_vcs_presence_in_dir(fold: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_to_string` is never used [INFO] [stdout] --> src/util.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn file_to_string(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_content_to_string_vec` is never used [INFO] [stdout] --> src/util.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn string_content_to_string_vec(content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `was_it_registered` is never used [INFO] [stdout] --> src/util.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn was_it_registered(pointer: T, dir: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_global_vcs_alias`, `remove_global_vcs_alias`, and `set_global_vcs_work_with_nested_ignore_file` are never used [INFO] [stdout] --> src/config_global.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GlobalConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn create_global_vcs_alias(&mut self, command: String, alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn remove_global_vcs_alias(&mut self, no_need_alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_global_vcs_work_with_nested_ignore_file(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIR` is never constructed [INFO] [stdout] --> src/status.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum EntryType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 20 | FILE, [INFO] [stdout] 21 | DIR, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entry_old_hash` and `entry_type` are never read [INFO] [stdout] --> src/status.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct OperationChanged { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 27 | pub entry_old_hash: HashPointer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry_type` is never read [INFO] [stdout] --> src/status.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct OperationNew { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entry_hash` and `entry_type` are never read [INFO] [stdout] --> src/status.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct OperationRemoved { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 42 | pub entry_hash: HashPointer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_pointers_from_commit_log` is never used [INFO] [stdout] --> src/root_tree_pointer.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RootTreePointer { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_pointers_from_commit_log() -> Result, ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exists` is never used [INFO] [stdout] --> src/blob_pointer.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl BlobObjectPointer { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn exists(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pointer_to_version` is never used [INFO] [stdout] --> src/version_head_object.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl VersionHeadObject { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_pointer_to_version(&self) -> Option<&VersionPointer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/hash_pointer.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HashPointer { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn combine(first: &Self, second: &Self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_file_path(file_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn from_file(file: &File) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_save_string(content: &str, save_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn from_pointers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn from_string_vec(strings: &[String]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn and_string_from_file_path_ref(file_path: &Path) -> Result<(Self, String), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PathExt` is never used [INFO] [stdout] --> src/trait_extension.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait PathExt { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/nested_tree_object.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl NestedTreeObject { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_diff` is never used [INFO] [stdout] --> src/blob_object.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl BlobObject { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_diff(prev_file: &File, new_file: &File) -> BlobObject { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_version` is never used [INFO] [stdout] --> src/version_pointer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl VersionPointer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn load_version(&self) -> VersionObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_pointer_existence` is never used [INFO] [stdout] --> src/chak_traits.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ChakPointerTraits: restricted::RestrictedNew { [INFO] [stdout] | ----------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn remove_pointer_existence(hash_pointer: &T) -> Result<(), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_root_tree_pointer`, `get_first_root_tree_pointer`, `clear_stage`, and `is_stage_clear` are never used [INFO] [stdout] --> src/stage.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Stage { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_root_tree_pointer( root_tree_pointer: RootTreePointer) -> Result<(), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_first_root_tree_pointer() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_stage() -> Result<(), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_stage_clear( ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commnand` [INFO] [stdout] --> src/config_global.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | .retain(|current_alias, commnand| current_alias != &no_need_alias); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commnand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/status.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut root_tree = RootTreeObject::get_root_object() [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> src/remote.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | RemoteCommand::Add { remote, alias } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `remote: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/remote.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | RemoteCommand::Add { remote, alias } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CHAK_PATH` is never used [INFO] [stdout] --> src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static CHAK_PATH: OnceCell = OnceCell::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `WORKING_DIR` is never used [INFO] [stdout] --> src/config.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub static mut WORKING_DIR: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_chak_path` is never used [INFO] [stdout] --> src/config.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_current_chak_path() -> &'static PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_remote`, `remove_remote`, `create_alias`, `remove_alias`, and `set_work_with_nested_ignore_file` are never used [INFO] [stdout] --> src/config.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn add_remote(&mut self, remote: String, alias: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn remove_remote(&mut self, no_need_alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn create_alias(&mut self, command: String, alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn remove_alias(&mut self, no_need_alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_work_with_nested_ignore_file(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_file` is never used [INFO] [stdout] --> src/config.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_config_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/custom_error.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ChakError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | InvalidPath(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | NoEntriesFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | InvalidRepoState(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | MissingObject(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | NothingToCommit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | FileNotTracked(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 31 | MergeConflict(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | BranchNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | InvalidBranchName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | DetachedHead, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | CannotDeleteCurrentBranch, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | InvalidCommand(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | MissingArgument(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | AmbiguousReference(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | RepoLocked, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | ConcurrentOperationError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChakError` 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 `add_dir_child` and `add_file_child` are never used [INFO] [stdout] --> src/root_tree_object.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RootTreeObject { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn add_dir_child(&mut self, dir_name: String, nested_dir: &mut NestedTreeHashPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn add_file_child(&mut self, key: String, value: VersionHeadPointer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_vcs_presence_in_dir` is never used [INFO] [stdout] --> src/util.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn check_vcs_presence_in_dir(fold: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_to_string` is never used [INFO] [stdout] --> src/util.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn file_to_string(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_content_to_string_vec` is never used [INFO] [stdout] --> src/util.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn string_content_to_string_vec(content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `was_it_registered` is never used [INFO] [stdout] --> src/util.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn was_it_registered(pointer: T, dir: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_global_vcs_alias`, `remove_global_vcs_alias`, and `set_global_vcs_work_with_nested_ignore_file` are never used [INFO] [stdout] --> src/config_global.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GlobalConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn create_global_vcs_alias(&mut self, command: String, alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn remove_global_vcs_alias(&mut self, no_need_alias: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set_global_vcs_work_with_nested_ignore_file(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIR` is never constructed [INFO] [stdout] --> src/status.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum EntryType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 20 | FILE, [INFO] [stdout] 21 | DIR, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entry_old_hash` and `entry_type` are never read [INFO] [stdout] --> src/status.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct OperationChanged { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 27 | pub entry_old_hash: HashPointer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry_type` is never read [INFO] [stdout] --> src/status.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct OperationNew { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entry_hash` and `entry_type` are never read [INFO] [stdout] --> src/status.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct OperationRemoved { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 42 | pub entry_hash: HashPointer, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub entry_type: EntryType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_pointers_from_commit_log` is never used [INFO] [stdout] --> src/root_tree_pointer.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RootTreePointer { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_pointers_from_commit_log() -> Result, ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exists` is never used [INFO] [stdout] --> src/blob_pointer.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl BlobObjectPointer { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn exists(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pointer_to_version` is never used [INFO] [stdout] --> src/version_head_object.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl VersionHeadObject { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn get_pointer_to_version(&self) -> Option<&VersionPointer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/hash_pointer.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl HashPointer { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn combine(first: &Self, second: &Self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_file_path(file_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn from_file(file: &File) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_save_string(content: &str, save_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn from_pointers( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn from_string_vec(strings: &[String]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn and_string_from_file_path_ref(file_path: &Path) -> Result<(Self, String), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PathExt` is never used [INFO] [stdout] --> src/trait_extension.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait PathExt { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/nested_tree_object.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl NestedTreeObject { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_diff` is never used [INFO] [stdout] --> src/blob_object.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl BlobObject { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn get_diff(prev_file: &File, new_file: &File) -> BlobObject { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_version` is never used [INFO] [stdout] --> src/version_pointer.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl VersionPointer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn load_version(&self) -> VersionObject { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `remove_pointer_existence` is never used [INFO] [stdout] --> src/chak_traits.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ChakPointerTraits: restricted::RestrictedNew { [INFO] [stdout] | ----------------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn remove_pointer_existence(hash_pointer: &T) -> Result<(), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_root_tree_pointer`, `get_first_root_tree_pointer`, `clear_stage`, and `is_stage_clear` are never used [INFO] [stdout] --> src/stage.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Stage { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_root_tree_pointer( root_tree_pointer: RootTreePointer) -> Result<(), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn get_first_root_tree_pointer() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear_stage() -> Result<(), ChakError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_stage_clear( ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.04s [INFO] running `Command { std: "docker" "inspect" "cbb05b21a721b0ccc1599ac31d2e700c93cf03285b1b057d91729af49f663e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb05b21a721b0ccc1599ac31d2e700c93cf03285b1b057d91729af49f663e42", kill_on_drop: false }` [INFO] [stdout] cbb05b21a721b0ccc1599ac31d2e700c93cf03285b1b057d91729af49f663e42