[INFO] cloning repository https://github.com/RaphaeleL/cobra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaphaeleL/cobra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaphaeleL%2Fcobra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaphaeleL%2Fcobra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c52fabd3c2f61213b1bebcfbee2664940c496999 [INFO] checking RaphaeleL/cobra against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaphaeleL%2Fcobra" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RaphaeleL/cobra [INFO] finished tweaking git repo https://github.com/RaphaeleL/cobra [INFO] tweaked toml for git repo https://github.com/RaphaeleL/cobra written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RaphaeleL/cobra on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RaphaeleL/cobra 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking RaphaeleL/cobra against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaphaeleL%2Fcobra" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RaphaeleL/cobra [INFO] finished tweaking git repo https://github.com/RaphaeleL/cobra [INFO] tweaked toml for git repo https://github.com/RaphaeleL/cobra written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RaphaeleL/cobra on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RaphaeleL/cobra 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 serde_core v1.0.221 [INFO] [stderr] Downloaded serde v1.0.221 [INFO] [stderr] Downloaded serde_derive v1.0.221 [INFO] [stderr] Downloaded serde_json v1.0.144 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d4970b3ea0ec04a21bd1f59fd33837c7934dc68f13cbfa28b44a1ba2177db9d [INFO] running `Command { std: "docker" "start" "-a" "9d4970b3ea0ec04a21bd1f59fd33837c7934dc68f13cbfa28b44a1ba2177db9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d4970b3ea0ec04a21bd1f59fd33837c7934dc68f13cbfa28b44a1ba2177db9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4970b3ea0ec04a21bd1f59fd33837c7934dc68f13cbfa28b44a1ba2177db9d", kill_on_drop: false }` [INFO] [stdout] 9d4970b3ea0ec04a21bd1f59fd33837c7934dc68f13cbfa28b44a1ba2177db9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ee82435bbef6d65b24654d72cc640244c6dbe89ee27a81ae1ccc0d04df9ae32 [INFO] running `Command { std: "docker" "start" "-a" "7ee82435bbef6d65b24654d72cc640244c6dbe89ee27a81ae1ccc0d04df9ae32", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.221 [INFO] [stderr] Compiling serde v1.0.221 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.144 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.102 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking indexmap v2.11.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling serde_derive v1.0.221 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking cobra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cobra::core::index::IndexEntry` [INFO] [stdout] --> src/cobra/core/tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::cobra::core::index::IndexEntry; [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: `Path` [INFO] [stdout] --> src/cobra/core/workspace.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cobra/core/remote.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cobra/core/workspace.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [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: `Path` [INFO] [stdout] --> src/cobra/core/remote.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/cobra/commands/pull.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | repo: &Repository, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_repo` [INFO] [stdout] --> src/cobra/commands/clone.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let remote_repo = Repository::init(remote_path.to_str().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grandparent_dir` [INFO] [stdout] --> src/cobra/core/network.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let grandparent_dir = parent_dir.parent().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grandparent_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/cobra/commands/pull.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | repo: &Repository, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_objects_to_fetch` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn collect_objects_to_fetch(repo: &Repository, commit_hash: &str) -> io::Result> { [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 `collect_commit_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn collect_commit_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_tree_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn collect_tree_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_blob_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn collect_blob_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cobra::core::index::IndexEntry` [INFO] [stdout] --> src/cobra/core/tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::cobra::core::index::IndexEntry; [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: `Path` [INFO] [stdout] --> src/cobra/core/workspace.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cobra/core/remote.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grandparent_dir` [INFO] [stdout] --> src/cobra/core/network.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let grandparent_dir = parent_dir.parent().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grandparent_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/cobra/core/workspace.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [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: `Path` [INFO] [stdout] --> src/cobra/core/remote.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_objects_to_fetch` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn collect_objects_to_fetch(repo: &Repository, commit_hash: &str) -> io::Result> { [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 `collect_commit_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn collect_commit_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_tree_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn collect_tree_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_blob_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn collect_blob_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/cobra/commands/pull.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | repo: &Repository, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_repo` [INFO] [stdout] --> src/cobra/commands/clone.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let remote_repo = Repository::init(remote_path.to_str().unwrap())?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grandparent_dir` [INFO] [stdout] --> src/cobra/core/network.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let grandparent_dir = parent_dir.parent().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grandparent_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cobra/commands/branch.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn run(name: &str) -> io::Result<()> { [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 `push_all` is never used [INFO] [stdout] --> src/cobra/commands/push.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_all(remote_name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_objects_to_fetch` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn collect_objects_to_fetch(repo: &Repository, commit_hash: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_commit_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn collect_commit_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_tree_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn collect_tree_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_blob_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn collect_blob_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_tree`, `write_to`, `add_tree_entry`, and `read_from` are never used [INFO] [stdout] --> src/cobra/core/object.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Object { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_tree() -> Object { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn write_to(&self, repo_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn add_tree_entry(&mut self, name: String, mode: u32, hash: String) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn read_from(repo_path: &Path, hash: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_entry` and `contains` are never used [INFO] [stdout] --> src/cobra/core/index.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl Index { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn get_entry(&self, path: &Path) -> Option<&IndexEntry> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn contains(&self, path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/cobra/core/workspace.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct StashState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | pub index: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StashState` 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: method `apply` is never used [INFO] [stdout] --> src/cobra/core/workspace.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl StashState { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn apply(&self, repo: &Repository) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_urls` is never used [INFO] [stdout] --> src/cobra/core/remote.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Remote { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_urls(name: String, fetch_url: String, push_url: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_default_remote` is never used [INFO] [stdout] --> src/cobra/core/remote.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl RemoteStore { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_default_remote(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_objects` is never used [INFO] [stdout] --> src/cobra/core/network.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NetworkClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn fetch_objects(&self, object_hashes: Vec, repo_path: &Path) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_object_header` is never used [INFO] [stdout] --> src/cobra/utils/hash.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn create_object_header(obj_type: &str, content_len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_object` is never used [INFO] [stdout] --> src/cobra/utils/hash.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn hash_object(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_raw_object` is never used [INFO] [stdout] --> src/cobra/utils/hash.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn hash_raw_object(obj_type: &str, data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepositoryStorage` is never constructed [INFO] [stdout] --> src/cobra/server/storage.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RepositoryStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cobra/server/storage.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RepositoryStorage { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(base_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn init_repository(&self, name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn store_object(&self, repo_name: &str, object: &Object) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_object(&self, repo_name: &str, hash: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn update_ref(&self, repo_name: &str, ref_name: &str, commit_hash: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_ref(&self, repo_name: &str, ref_name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn list_refs(&self, repo_name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn collect_refs(&self, dir: &Path, prefix: &str, refs: &mut Vec<(String, String)>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/cobra/commands/pull.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | repo: &Repository, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grandparent_dir` [INFO] [stdout] --> src/cobra/core/network.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | let grandparent_dir = parent_dir.parent().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_grandparent_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/cobra/commands/branch.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn run(name: &str) -> io::Result<()> { [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 `push_all` is never used [INFO] [stdout] --> src/cobra/commands/push.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn push_all(remote_name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_objects_to_fetch` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn collect_objects_to_fetch(repo: &Repository, commit_hash: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_commit_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn collect_commit_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_tree_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn collect_tree_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_blob_objects` is never used [INFO] [stdout] --> src/cobra/commands/pull.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn collect_blob_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write_to` and `read_from` are never used [INFO] [stdout] --> src/cobra/core/object.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Object { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn write_to(&self, repo_path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn read_from(repo_path: &Path, hash: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/cobra/core/workspace.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct StashState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | pub index: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StashState` 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: method `apply` is never used [INFO] [stdout] --> src/cobra/core/workspace.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl StashState { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn apply(&self, repo: &Repository) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_urls` is never used [INFO] [stdout] --> src/cobra/core/remote.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Remote { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn with_urls(name: String, fetch_url: String, push_url: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_default_remote` is never used [INFO] [stdout] --> src/cobra/core/remote.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl RemoteStore { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_default_remote(&self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_objects` is never used [INFO] [stdout] --> src/cobra/core/network.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NetworkClient { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn fetch_objects(&self, object_hashes: Vec, repo_path: &Path) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RepositoryStorage` is never constructed [INFO] [stdout] --> src/cobra/server/storage.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RepositoryStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cobra/server/storage.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl RepositoryStorage { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(base_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn init_repository(&self, name: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn store_object(&self, repo_name: &str, object: &Object) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_object(&self, repo_name: &str, hash: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn update_ref(&self, repo_name: &str, ref_name: &str, commit_hash: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_ref(&self, repo_name: &str, ref_name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn list_refs(&self, repo_name: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn collect_refs(&self, dir: &Path, prefix: &str, refs: &mut Vec<(String, String)>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.43s [INFO] running `Command { std: "docker" "inspect" "7ee82435bbef6d65b24654d72cc640244c6dbe89ee27a81ae1ccc0d04df9ae32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee82435bbef6d65b24654d72cc640244c6dbe89ee27a81ae1ccc0d04df9ae32", kill_on_drop: false }` [INFO] [stdout] 7ee82435bbef6d65b24654d72cc640244c6dbe89ee27a81ae1ccc0d04df9ae32