[INFO] cloning repository https://github.com/231220075/git
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/231220075/git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F231220075%2Fgit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F231220075%2Fgit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 16e0440887f60592ef8fae8f9de9e9a5966f01ea
[INFO] checking 231220075/git against 760e1de835e253bf28bbcbfee38b5e8ed9ffe074 for pr-133502-26
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F231220075%2Fgit" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/231220075/git
[INFO] finished tweaking git repo https://github.com/231220075/git
[INFO] tweaked toml for git repo https://github.com/231220075/git written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/231220075/git on toolchain 760e1de835e253bf28bbcbfee38b5e8ed9ffe074
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/231220075/git already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c
[INFO] running `Command { std: "docker" "start" "7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking miniz_oxide v0.8.8
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking nu-ansi-term v0.50.1
[INFO] [stderr]     Checking clap_builder v4.5.35
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking diffy v0.4.2
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking tempfile v3.19.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking clap v4.5.35
[INFO] [stderr]     Checking git v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `itertools::Update`
[INFO] [stdout]  --> src/cli/args.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use itertools::Update;
[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 imports: `CommandFactory` and `Subcommand`
[INFO] [stdout]  --> src/cli/args.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::{Parser, Subcommand, CommandFactory, ValueHint};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_pathbuf`
[INFO] [stdout]   --> src/cli/args.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         to_pathbuf,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NoSubCommand`
[INFO] [stdout]  --> src/utils/error.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use GitError::{InvalidCommand, FileNotFound, NoSubCommand};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]   --> src/utils/fs.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Index,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `fmt`, and `fs::File`
[INFO] [stdout]  --> src/utils/hash.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fmt,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     io::Read,
[INFO] [stdout] 4 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 5 |     path::{PathBuf, Path}
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/utils/hash.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/utils/zlib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/utils/zlib.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, Write, BufReader};
[INFO] [stdout]   |               ^^^^        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/utils/zlib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/utils/index.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{PathBuf,Path};
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/utils/index.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{File, OpenOptions};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read`
[INFO] [stdout]  --> src/utils/index.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Write, BufWriter, Read, BufReader, BufRead};
[INFO] [stdout]   |                                 ^^^^  ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigEndian` and `ReadBytesExt`
[INFO] [stdout]  --> src/utils/index.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ReadBytesExt, BigEndian};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha1`
[INFO] [stdout]  --> src/utils/index.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sha1::{Sha1, Digest};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `take_until`
[INFO] [stdout]  --> src/utils/index.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]   |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat_n`
[INFO] [stdout]   --> src/utils/index.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::repeat_n;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Seek`
[INFO] [stdout]   --> src/utils/index.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         use std::io::Seek;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/utils/objtype.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     path::PathBuf,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]   --> src/utils/objtype.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Result
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alpha1`, `eof`, `map_res`, `map`, `number::complete::be_u32`, `preceded`, `space1`, `take_until`, `take`, `u32`, and `value`
[INFO] [stdout]   --> src/utils/objtype.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]    |                            ^^^^  ^^^^^^^^^^
[INFO] [stdout] 23 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     character::complete::{digit1, space1, u32, alpha1},
[INFO] [stdout]    |                                   ^^^^^^  ^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |         preceded,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         map, map_res, eof, value
[INFO] [stdout]    |         ^^^  ^^^^^^^  ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]   --> src/utils/blob.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     path::PathBuf
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alpha1`, `digit1`, `many1`, `map_res`, `map`, `number::complete::be_u32`, `preceded`, `separated_pair`, `space1`, `u32`, and `value`
[INFO] [stdout]   --> src/utils/tree.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     character::complete::{alpha1, digit1, space1, u32},
[INFO] [stdout]    |                           ^^^^^^  ^^^^^^  ^^^^^^  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |         preceded,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |         separated_pair,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |         many1,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |         map, map_res, eof, value,
[INFO] [stdout]    |         ^^^  ^^^^^^^       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_object`
[INFO] [stdout]   --> src/utils/tree.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         read_object,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/utils/commit.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     path::PathBuf
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alpha1`, `branch::alt`, `digit1`, `eof`, `map_res`, `map`, `number::complete::be_u32`, `opt`, `separated_pair`, `space1`, `take`, `u32`, and `value`
[INFO] [stdout]   --> src/utils/commit.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         tag, take, take_until, take_while,
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 26 |     },
[INFO] [stdout] 27 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     character::complete::{digit1, space1, u32, alpha1, },
[INFO] [stdout]    |                           ^^^^^^  ^^^^^^  ^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         separated_pair,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     },
[INFO] [stdout] 34 |     branch::alt,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     combinator::{
[INFO] [stdout] 36 |         map, map_res, eof, value, opt
[INFO] [stdout]    |         ^^^  ^^^^^^^  ^^^  ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `copy`, `fs`, `mem`, `read_dir`, and `self`
[INFO] [stdout]   --> src/utils/test.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     mem,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  4 |     io::{
[INFO] [stdout]  5 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  6 |         Write,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]  7 |     },
[INFO] [stdout]  8 |     fs,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  9 |     fs::{
[INFO] [stdout] 10 |         read_dir,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 11 |         copy,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/utils/test.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     error,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `commit::Commit`, `fs::read_file_as_bytes`, and `objtype::Obj`
[INFO] [stdout]  --> src/utils/refs.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         commit::Commit,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |         fs::read_file_as_bytes,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |         objtype::Obj,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Path` and `iter::once`
[INFO] [stdout]  --> src/command/add.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         Path,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 |     iter::once,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/add.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Either`
[INFO] [stdout]   --> src/command/add.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use itertools::Either;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GitError`, `IndexEntry`, `objtype::ObjType`, `read_file_as_bytes`, `tree::FileMode`, and `write_object`
[INFO] [stdout]   --> src/command/add.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |         objtype::ObjType,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |             IndexEntry,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |             write_object,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 24 |             read_file_as_bytes,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         tree::FileMode,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/branch.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write_ref_commit`
[INFO] [stdout]  --> src/command/branch.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     utils::refs::{read_head_ref, read_ref_commit, write_ref_commit},
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/checkout.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read_head_commit` and `write_ref_commit`
[INFO] [stdout]   --> src/command/checkout.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         write_ref_commit,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |         write_head_commit,
[INFO] [stdout] 17 |         read_head_commit,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write_object`
[INFO] [stdout]   --> src/command/checkout.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         write_object,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Command` and `Subcommand`
[INFO] [stdout]  --> src/command/commit.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand, Command};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `Write`, and `self`
[INFO] [stdout]  --> src/command/commit.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Write, Cursor};
[INFO] [stdout]   |               ^^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command as ProcessCommand`
[INFO] [stdout]  --> src/command/commit.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::process::Command as ProcessCommand;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CommitTree`, `WriteTree`, and `hash::hash_object`
[INFO] [stdout]   --> src/command/commit.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         WriteTree, CommitTree, UpdateRef
[INFO] [stdout]    |         ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |         hash::hash_object,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Into`
[INFO] [stdout]  --> src/command/init.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::convert::Into;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CommandFactory` and `Subcommand`
[INFO] [stdout]  --> src/command/init.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap::{Parser, Subcommand, CommandFactory};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjType`, `Obj`, `blob::Blob`, `commit::Commit`, `decompress_file_as_bytes`, `decompress_file`, `fs::obj_to_pathbuf`, `parse_meta`, and `tree::Tree`
[INFO] [stdout]   --> src/command/init.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |         decompress_file_as_bytes,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     },
[INFO] [stdout] 12 |     fs::obj_to_pathbuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     objtype::{
[INFO] [stdout] 14 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |         parse_meta,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 16 |         Obj,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 17 |     },
[INFO] [stdout] 18 |     blob::Blob,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |     tree::Tree,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 20 |     commit::Commit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IResult`, `number::complete::be_u32`, `tag`, `take_until`, and `take`
[INFO] [stdout]   --> src/command/init.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]    |                       ^^^  ^^^^  ^^^^^^^^^^
[INFO] [stdout] 31 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     IResult,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::write`
[INFO] [stdout]  --> src/command/merge.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/command/merge.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/merge.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChangeTag` and `TextDiff`
[INFO] [stdout]   --> src/command/merge.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use similar::{ChangeTag, TextDiff};
[INFO] [stdout]    |               ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileMode`, `ObjType`, `compress_object`, `decompress_file`, `hash::hash_object`, `obj_to_pathbuf`, `read_file_as_bytes`, `test::shell_spawn`, and `write_branch_commit`
[INFO] [stdout]   --> src/command/merge.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |         compress_object
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |         obj_to_pathbuf,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 23 |         read_file_as_bytes,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     objtype::{
[INFO] [stdout] 30 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |         write_branch_commit,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |         FileMode,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     test::shell_spawn,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `commit`
[INFO] [stdout]   --> src/command/merge.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     commit,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/rm.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/rm.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Path
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Into`
[INFO] [stdout]  --> src/command/cat_file.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::Into;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/cat_file.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{Parser, Subcommand, CommandFactory};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjType`, `blob::Blob`, `commit::Commit`, `decompress_file`, and `tree::Tree`
[INFO] [stdout]   --> src/command/cat_file.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     blob::Blob,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 17 |     tree::Tree,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 18 |     commit::Commit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IResult`, `number::complete::be_u32`, `tag`, `take_until`, and `take`
[INFO] [stdout]   --> src/command/cat_file.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]    |                       ^^^  ^^^^  ^^^^^^^^^^
[INFO] [stdout] 29 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     IResult,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::write`
[INFO] [stdout]  --> src/command/hash_object.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/hash_object.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Path,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/hash_object.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjType`, `Obj`, `commit::Commit`, `compress_object`, `decompress_file`, `obj_to_pathbuf`, and `tree::Tree`
[INFO] [stdout]   --> src/command/hash_object.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |         compress_object
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |         obj_to_pathbuf,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 21 |         Obj,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     tree::Tree,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 25 |     commit::Commit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/command/hash_object.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/update_index.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{PathBuf,Path};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/update_index.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_git_dir` and `hash::hash_object`
[INFO] [stdout]   --> src/command/update_index.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         get_git_dir,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::TempDir`
[INFO] [stdout]   --> src/command/update_index.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tempfile::TempDir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/read_tree.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::index`
[INFO] [stdout]  --> src/command/read_tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compress_object`
[INFO] [stdout]  --> src/command/read_tree.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::zlib::{compress_object, decompress_file_bytes};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::read_file_as_bytes` and `hash::hash_object`
[INFO] [stdout]   --> src/command/read_tree.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::read_file_as_bytes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/write_tree.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::read_file_as_bytes`
[INFO] [stdout]  --> src/command/write_tree.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fs::read_file_as_bytes,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/commit_tree.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `hash::hash_object` and `zlib::compress_object`
[INFO] [stdout]  --> src/command/commit_tree.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     zlib::compress_object,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     hash::hash_object,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/command/commit_tree.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/update_ref.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{PathBuf,Path};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/update_ref.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::index`
[INFO] [stdout]  --> src/command/update_ref.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `compress_object` and `decompress_file_bytes`
[INFO] [stdout]  --> src/command/update_ref.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::zlib::{compress_object, decompress_file_bytes};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileMode`, `IndexEntry`, `Index`, `Tree`, `fs::read_file_as_bytes`, and `hash::hash_object`
[INFO] [stdout]   --> src/command/update_ref.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::read_file_as_bytes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     index::{Index, IndexEntry},
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 13 |     tree::{
[INFO] [stdout] 14 |         Tree,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 15 |         FileMode,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Update`
[INFO] [stdout]  --> src/cli/args.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use itertools::Update;
[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 imports: `CommandFactory` and `Subcommand`
[INFO] [stdout]  --> src/cli/args.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::{Parser, Subcommand, CommandFactory, ValueHint};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `to_pathbuf`
[INFO] [stdout]   --> src/cli/args.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         to_pathbuf,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NoSubCommand`
[INFO] [stdout]  --> src/utils/error.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use GitError::{InvalidCommand, FileNotFound, NoSubCommand};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]   --> src/utils/fs.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         Index,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf`, `fmt`, and `fs::File`
[INFO] [stdout]  --> src/utils/hash.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fmt,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 3 |     io::Read,
[INFO] [stdout] 4 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 5 |     path::{PathBuf, Path}
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/utils/hash.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/utils/zlib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/utils/zlib.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, Write, BufReader};
[INFO] [stdout]   |               ^^^^        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/utils/zlib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/utils/index.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{PathBuf,Path};
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/utils/index.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{File, OpenOptions};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read`
[INFO] [stdout]  --> src/utils/index.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Write, BufWriter, Read, BufReader, BufRead};
[INFO] [stdout]   |                                 ^^^^  ^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BigEndian` and `ReadBytesExt`
[INFO] [stdout]  --> src/utils/index.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use byteorder::{ReadBytesExt, BigEndian};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sha1`
[INFO] [stdout]  --> src/utils/index.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sha1::{Sha1, Digest};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `take_until`
[INFO] [stdout]  --> src/utils/index.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]   |                                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat_n`
[INFO] [stdout]   --> src/utils/index.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::iter::repeat_n;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Seek`
[INFO] [stdout]   --> src/utils/index.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         use std::io::Seek;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/utils/objtype.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     path::PathBuf,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]   --> src/utils/objtype.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Result
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alpha1`, `eof`, `map_res`, `map`, `number::complete::be_u32`, `preceded`, `space1`, `take_until`, `take`, `u32`, and `value`
[INFO] [stdout]   --> src/utils/objtype.rs:22:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]    |                            ^^^^  ^^^^^^^^^^
[INFO] [stdout] 23 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 24 |     character::complete::{digit1, space1, u32, alpha1},
[INFO] [stdout]    |                                   ^^^^^^  ^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |         preceded,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         map, map_res, eof, value
[INFO] [stdout]    |         ^^^  ^^^^^^^  ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]   --> src/utils/blob.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     path::PathBuf
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alpha1`, `digit1`, `many1`, `map_res`, `map`, `number::complete::be_u32`, `preceded`, `separated_pair`, `space1`, `u32`, and `value`
[INFO] [stdout]   --> src/utils/tree.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     character::complete::{alpha1, digit1, space1, u32},
[INFO] [stdout]    |                           ^^^^^^  ^^^^^^  ^^^^^^  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |         preceded,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 32 |         separated_pair,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |         many1,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |         map, map_res, eof, value,
[INFO] [stdout]    |         ^^^  ^^^^^^^       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_object`
[INFO] [stdout]   --> src/utils/tree.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         read_object,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::PathBuf`
[INFO] [stdout]  --> src/utils/commit.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     path::PathBuf
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `alpha1`, `branch::alt`, `digit1`, `eof`, `map_res`, `map`, `number::complete::be_u32`, `opt`, `separated_pair`, `space1`, `take`, `u32`, and `value`
[INFO] [stdout]   --> src/utils/commit.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |         tag, take, take_until, take_while,
[INFO] [stdout]    |              ^^^^
[INFO] [stdout] 26 |     },
[INFO] [stdout] 27 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 28 |     character::complete::{digit1, space1, u32, alpha1, },
[INFO] [stdout]    |                           ^^^^^^  ^^^^^^  ^^^  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |         separated_pair,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     },
[INFO] [stdout] 34 |     branch::alt,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 35 |     combinator::{
[INFO] [stdout] 36 |         map, map_res, eof, value, opt
[INFO] [stdout]    |         ^^^  ^^^^^^^  ^^^  ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `copy`, `fs`, `mem`, `read_dir`, and `self`
[INFO] [stdout]   --> src/utils/test.rs:3:5
[INFO] [stdout]    |
[INFO] [stdout]  3 |     mem,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  4 |     io::{
[INFO] [stdout]  5 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]  6 |         Write,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]  7 |     },
[INFO] [stdout]  8 |     fs,
[INFO] [stdout]    |     ^^
[INFO] [stdout]  9 |     fs::{
[INFO] [stdout] 10 |         read_dir,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 11 |         copy,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error`
[INFO] [stdout]   --> src/utils/test.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     error,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `commit::Commit`, `fs::read_file_as_bytes`, and `objtype::Obj`
[INFO] [stdout]  --> src/utils/refs.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |         commit::Commit,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |         fs::read_file_as_bytes,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |         objtype::Obj,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Path` and `iter::once`
[INFO] [stdout]  --> src/command/add.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |         Path,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 7 |     iter::once,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/add.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `itertools::Either`
[INFO] [stdout]   --> src/command/add.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use itertools::Either;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GitError`, `IndexEntry`, `objtype::ObjType`, `read_file_as_bytes`, `tree::FileMode`, and `write_object`
[INFO] [stdout]   --> src/command/add.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |         objtype::ObjType,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |             IndexEntry,
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |             write_object,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 24 |             read_file_as_bytes,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         tree::FileMode,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cmd_seq`
[INFO] [stdout]    --> src/command/add.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         cmd_seq,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/branch.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write_ref_commit`
[INFO] [stdout]  --> src/command/branch.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     utils::refs::{read_head_ref, read_ref_commit, write_ref_commit},
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/checkout.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read_head_commit` and `write_ref_commit`
[INFO] [stdout]   --> src/command/checkout.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         write_ref_commit,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |         write_head_commit,
[INFO] [stdout] 17 |         read_head_commit,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `write_object`
[INFO] [stdout]   --> src/command/checkout.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         write_object,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Command` and `Subcommand`
[INFO] [stdout]  --> src/command/commit.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand, Command};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `Write`, and `self`
[INFO] [stdout]  --> src/command/commit.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Write, Cursor};
[INFO] [stdout]   |               ^^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command as ProcessCommand`
[INFO] [stdout]  --> src/command/commit.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::process::Command as ProcessCommand;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CommitTree`, `WriteTree`, and `hash::hash_object`
[INFO] [stdout]   --> src/command/commit.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         WriteTree, CommitTree, UpdateRef
[INFO] [stdout]    |         ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |         hash::hash_object,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cmd_seq` and `touch_file_in`
[INFO] [stdout]   --> src/command/commit.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         touch_file_in,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 89 |         cmd_seq,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Into`
[INFO] [stdout]  --> src/command/init.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::convert::Into;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CommandFactory` and `Subcommand`
[INFO] [stdout]  --> src/command/init.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use clap::{Parser, Subcommand, CommandFactory};
[INFO] [stdout]   |                    ^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjType`, `Obj`, `blob::Blob`, `commit::Commit`, `decompress_file_as_bytes`, `decompress_file`, `fs::obj_to_pathbuf`, `parse_meta`, and `tree::Tree`
[INFO] [stdout]   --> src/command/init.rs:9:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |         decompress_file_as_bytes,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     },
[INFO] [stdout] 12 |     fs::obj_to_pathbuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     objtype::{
[INFO] [stdout] 14 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |         parse_meta,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 16 |         Obj,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 17 |     },
[INFO] [stdout] 18 |     blob::Blob,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 19 |     tree::Tree,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 20 |     commit::Commit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IResult`, `number::complete::be_u32`, `tag`, `take_until`, and `take`
[INFO] [stdout]   --> src/command/init.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]    |                       ^^^  ^^^^  ^^^^^^^^^^
[INFO] [stdout] 31 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     IResult,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mktemp_in`
[INFO] [stdout]   --> src/command/init.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             mktemp_in,
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::write`
[INFO] [stdout]  --> src/command/merge.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/command/merge.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/merge.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ChangeTag` and `TextDiff`
[INFO] [stdout]   --> src/command/merge.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use similar::{ChangeTag, TextDiff};
[INFO] [stdout]    |               ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileMode`, `ObjType`, `compress_object`, `decompress_file`, `hash::hash_object`, `obj_to_pathbuf`, `read_file_as_bytes`, `test::shell_spawn`, and `write_branch_commit`
[INFO] [stdout]   --> src/command/merge.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |         compress_object
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |         obj_to_pathbuf,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 23 |         read_file_as_bytes,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 29 |     objtype::{
[INFO] [stdout] 30 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |         write_branch_commit,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |         FileMode,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     test::shell_spawn,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `commit`
[INFO] [stdout]   --> src/command/merge.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     commit,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mktemp_in`
[INFO] [stdout]    --> src/command/merge.rs:417:9
[INFO] [stdout]     |
[INFO] [stdout] 417 |         mktemp_in,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/rm.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/rm.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Path
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cmd_seq` and `touch_file_in`
[INFO] [stdout]    --> src/command/rm.rs:178:9
[INFO] [stdout]     |
[INFO] [stdout] 178 |         touch_file_in,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 179 |         cmd_seq,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Into`
[INFO] [stdout]  --> src/command/cat_file.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::convert::Into;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/cat_file.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use clap::{Parser, Subcommand, CommandFactory};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjType`, `blob::Blob`, `commit::Commit`, `decompress_file`, and `tree::Tree`
[INFO] [stdout]   --> src/command/cat_file.rs:7:9
[INFO] [stdout]    |
[INFO] [stdout]  7 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     blob::Blob,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 17 |     tree::Tree,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 18 |     commit::Commit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IResult`, `number::complete::be_u32`, `tag`, `take_until`, and `take`
[INFO] [stdout]   --> src/command/cat_file.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |     bytes::complete::{tag, take, take_until},
[INFO] [stdout]    |                       ^^^  ^^^^  ^^^^^^^^^^
[INFO] [stdout] 29 |     number::complete::be_u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     IResult,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/command/cat_file.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::write`
[INFO] [stdout]  --> src/command/hash_object.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/hash_object.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     Path,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/hash_object.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjType`, `Obj`, `commit::Commit`, `compress_object`, `decompress_file`, `obj_to_pathbuf`, and `tree::Tree`
[INFO] [stdout]   --> src/command/hash_object.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         decompress_file,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |         compress_object
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |         obj_to_pathbuf,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |         ObjType,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 21 |         Obj,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     tree::Tree,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 25 |     commit::Commit,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/command/hash_object.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/command/hash_object.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/update_index.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{PathBuf,Path};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/update_index.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::hash_object`
[INFO] [stdout]   --> src/command/update_index.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::TempDir`
[INFO] [stdout]   --> src/command/update_index.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tempfile::TempDir;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tempfile::tempdir`
[INFO] [stdout]    --> src/command/update_index.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     use tempfile::tempdir;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/read_tree.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::index`
[INFO] [stdout]  --> src/command/read_tree.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compress_object`
[INFO] [stdout]  --> src/command/read_tree.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::zlib::{compress_object, decompress_file_bytes};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::read_file_as_bytes` and `hash::hash_object`
[INFO] [stdout]   --> src/command/read_tree.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::read_file_as_bytes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/write_tree.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fs::read_file_as_bytes`
[INFO] [stdout]  --> src/command/write_tree.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fs::read_file_as_bytes,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cmd_seq`
[INFO] [stdout]    --> src/command/write_tree.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |         cmd_seq,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/commit_tree.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `hash::hash_object` and `zlib::compress_object`
[INFO] [stdout]  --> src/command/commit_tree.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     zlib::compress_object,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     hash::hash_object,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GitError`
[INFO] [stdout]   --> src/command/commit_tree.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     GitError,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::CatFile`
[INFO] [stdout]    --> src/command/commit_tree.rs:158:13
[INFO] [stdout]     |
[INFO] [stdout] 158 |         use super::super::CatFile;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/command/update_ref.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::{PathBuf,Path};
[INFO] [stdout]   |                         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Subcommand`
[INFO] [stdout]  --> src/command/update_ref.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use clap::{Parser, Subcommand};
[INFO] [stdout]   |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::index`
[INFO] [stdout]  --> src/command/update_ref.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::utils::index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `compress_object` and `decompress_file_bytes`
[INFO] [stdout]  --> src/command/update_ref.rs:4:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::zlib::{compress_object, decompress_file_bytes};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileMode`, `IndexEntry`, `Index`, `Tree`, `fs::read_file_as_bytes`, and `hash::hash_object`
[INFO] [stdout]   --> src/command/update_ref.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fs::read_file_as_bytes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     hash::hash_object,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     index::{Index, IndexEntry},
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 13 |     tree::{
[INFO] [stdout] 14 |         Tree,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 15 |         FileMode,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `Flatten<std::vec::IntoIter<_>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/utils/fs.rs:172:23
[INFO] [stdout]     |
[INFO] [stdout] 172 |             .map(|x|x.into_iter().chain(files).collect::<Vec<_>>())
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `&Flatten<std::vec::IntoIter<_>>: Iterator`
[INFO] [stdout]             which is required by `&Flatten<std::vec::IntoIter<_>>: IntoIterator`
[INFO] [stdout]             `&Flatten<std::vec::IntoIter<_>>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `Flatten<std::vec::IntoIter<_>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/utils/fs.rs:172:23
[INFO] [stdout]     |
[INFO] [stdout] 172 |             .map(|x|x.into_iter().chain(files).collect::<Vec<_>>())
[INFO] [stdout]     |                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `&Flatten<std::vec::IntoIter<_>>: Iterator`
[INFO] [stdout]             which is required by `&Flatten<std::vec::IntoIter<_>>: IntoIterator`
[INFO] [stdout]             `&Flatten<std::vec::IntoIter<_>>: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Read`
[INFO] [stdout]  --> src/utils/hash.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::Read,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/utils/index.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sha1::{Sha1, Digest};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Display`
[INFO] [stdout]  --> src/utils/objtype.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fmt::Display,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Read`
[INFO] [stdout]  --> src/utils/hash.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::Read,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Digest`
[INFO] [stdout]  --> src/utils/index.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sha1::{Sha1, Digest};
[INFO] [stdout]   |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `fmt::Display`
[INFO] [stdout]  --> src/utils/objtype.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     fmt::Display,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git` (bin "git") due to 1 previous error; 84 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git` (bin "git" test) due to 1 previous error; 94 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c", kill_on_drop: false }`
[INFO] [stdout] 7661ad9aa67cf644fa48bcfb93062e6e0e70c4170e9a14a8fa9517805469890c
