[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/c52fabd3c2f61213b1bebcfbee2664940c496999 against master#55e86c996809902e8bbad512cfb4d2c18be446d9 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaphaeleL%2Fcobra" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RaphaeleL/cobra on toolchain 55e86c996809902e8bbad512cfb4d2c18be446d9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "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" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.221
[INFO] [stderr]   Downloaded serde v1.0.221
[INFO] [stderr]   Downloaded serde_core v1.0.221
[INFO] [stderr]   Downloaded serde_json v1.0.144
[INFO] [stderr]   Downloaded syn v2.0.102
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1aae5e32d8a8185b5cff28e5b6933e06d613b21e7941271440b824bbec7b6a84
[INFO] running `Command { std: "docker" "start" "-a" "1aae5e32d8a8185b5cff28e5b6933e06d613b21e7941271440b824bbec7b6a84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1aae5e32d8a8185b5cff28e5b6933e06d613b21e7941271440b824bbec7b6a84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1aae5e32d8a8185b5cff28e5b6933e06d613b21e7941271440b824bbec7b6a84", kill_on_drop: false }`
[INFO] [stdout] 1aae5e32d8a8185b5cff28e5b6933e06d613b21e7941271440b824bbec7b6a84
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8df0d198b115cc145b398158bb48de4688db250241a5cf6b3b198d1b6ee90f5c
[INFO] running `Command { std: "docker" "start" "-a" "8df0d198b115cc145b398158bb48de4688db250241a5cf6b3b198d1b6ee90f5c", 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]    Compiling libc v0.2.172
[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]     Checking clap_builder v4.5.40
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking indexmap v2.11.1
[INFO] [stderr]     Checking getrandom v0.3.3
[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: `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 `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<Vec<String>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: 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<Vec<String>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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: `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: `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<Vec<String>> {
[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<String> {
[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<Object> {
[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<PathBuf, IndexEntry>,
[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<String>) -> 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<Option<Remote>> {
[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<String>, repo_path: &Path) -> io::Result<Vec<Object>> {
[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<u8> {
[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<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn get_object(&self, repo_name: &str, hash: &str) -> io::Result<Option<Object>> {
[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<Option<String>> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn list_refs(&self, repo_name: &str) -> io::Result<Vec<(String, String)>> {
[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: `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: `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<Vec<String>> {
[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<String> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn read_from(repo_path: &Path, hash: &str) -> io::Result<Object> {
[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<PathBuf, IndexEntry>,
[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<String>) -> 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<Option<Remote>> {
[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<String>, repo_path: &Path) -> io::Result<Vec<Object>> {
[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<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     pub fn get_object(&self, repo_name: &str, hash: &str) -> io::Result<Option<Object>> {
[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<Option<String>> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn list_refs(&self, repo_name: &str) -> io::Result<Vec<(String, String)>> {
[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 13.53s
[INFO] running `Command { std: "docker" "inspect" "8df0d198b115cc145b398158bb48de4688db250241a5cf6b3b198d1b6ee90f5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8df0d198b115cc145b398158bb48de4688db250241a5cf6b3b198d1b6ee90f5c", kill_on_drop: false }`
[INFO] [stdout] 8df0d198b115cc145b398158bb48de4688db250241a5cf6b3b198d1b6ee90f5c
