[INFO] cloning repository https://github.com/terassyi/rusgit
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terassyi/rusgit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterassyi%2Frusgit", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterassyi%2Frusgit'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 09b6bdb02a51093d9bb7e49da4e120b1f11ef13a
[INFO] checking terassyi/rusgit against try#b98202ad067d72e45cec8be3d5c15d86ef0fd086 for pr-155193
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterassyi%2Frusgit" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/terassyi/rusgit
[INFO] finished tweaking git repo https://github.com/terassyi/rusgit
[INFO] tweaked toml for git repo https://github.com/terassyi/rusgit written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/terassyi/rusgit on toolchain b98202ad067d72e45cec8be3d5c15d86ef0fd086
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/terassyi/rusgit 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" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wu-diff v0.1.2
[INFO] [stderr]   Downloaded libc v0.2.91
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1611394952cd2c9416d0933cf1baa685621a7e4d5586d6712c9659ddcb5fdb15
[INFO] running `Command { std: "docker" "start" "-a" "1611394952cd2c9416d0933cf1baa685621a7e4d5586d6712c9659ddcb5fdb15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1611394952cd2c9416d0933cf1baa685621a7e4d5586d6712c9659ddcb5fdb15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1611394952cd2c9416d0933cf1baa685621a7e4d5586d6712c9659ddcb5fdb15", kill_on_drop: false }`
[INFO] [stdout] 1611394952cd2c9416d0933cf1baa685621a7e4d5586d6712c9659ddcb5fdb15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b98202ad067d72e45cec8be3d5c15d86ef0fd086" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 540b26f276a88fbce1e68dee152a2de66940d5209788f59347dc8920ecae7adc
[INFO] running `Command { std: "docker" "start" "-a" "540b26f276a88fbce1e68dee152a2de66940d5209788f59347dc8920ecae7adc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.91
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking rle-decode-fast v1.0.1
[INFO] [stderr]     Checking wu-diff v0.1.2
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking libflate v0.1.27
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking sha-1 v0.9.4
[INFO] [stderr]     Checking rusgit v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/cmd/init.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[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: `crate::cmd::GIT_HEAD_FILE`
[INFO] [stdout]  --> src/cmd/init.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::cmd::GIT_HEAD_FILE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/cmd/cat_file.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectType`
[INFO] [stdout]  --> src/cmd/cat_file.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object, ObjectType};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::object::blob::Blob`
[INFO] [stdout]  --> src/cmd/cat_file.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::object::blob::Blob;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/cmd/ls_files.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/cmd/ls_files.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/object/blob.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/object/blob.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::object::{Object, ObjectType};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/object/commit.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]   --> src/object/commit.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::object::{Object, ObjectType};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::linux::fs::MetadataExt`
[INFO] [stdout]   --> src/object/tree.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::linux::fs::MetadataExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]   --> src/object/tree.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]   --> src/object/tree.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::object::{Object, ObjectType};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]   --> src/object/mod.rs:14:33
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::object::tree::{Tree, File};
[INFO] [stdout]    |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::object::Object`
[INFO] [stdout]   --> src/index/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::object::Object;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/index/ignore.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `file_to_object` and `hash_key_to_path`
[INFO] [stdout]  --> src/index/ignore.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::cmd::cat_file::{file_to_object, hash_key_to_path};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/cmd/init.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs::File;
[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: `crate::cmd::GIT_HEAD_FILE`
[INFO] [stdout]  --> src/cmd/init.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::cmd::GIT_HEAD_FILE;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/cmd/cat_file.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectType`
[INFO] [stdout]  --> src/cmd/cat_file.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object, ObjectType};
[INFO] [stdout]   |                             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::object::blob::Blob`
[INFO] [stdout]  --> src/cmd/cat_file.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::object::blob::Blob;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/cmd/ls_files.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/cmd/ls_files.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/object/blob.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/object/blob.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::object::{Object, ObjectType};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]  --> src/object/commit.rs:8:22
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]   --> src/object/commit.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::object::{Object, ObjectType};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::linux::fs::MetadataExt`
[INFO] [stdout]   --> src/object/tree.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::linux::fs::MetadataExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Encoder`
[INFO] [stdout]   --> src/object/tree.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 | use libflate::zlib::{Encoder, Decoder};
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]   --> src/object/tree.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::object::{Object, ObjectType};
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]   --> src/object/mod.rs:14:33
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::object::tree::{Tree, File};
[INFO] [stdout]    |                                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::object::Object`
[INFO] [stdout]   --> src/index/mod.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::object::Object;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/index/ignore.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `file_to_object` and `hash_key_to_path`
[INFO] [stdout]  --> src/index/ignore.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::cmd::cat_file::{file_to_object, hash_key_to_path};
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::PermissionsExt`
[INFO] [stdout]  --> src/object/tree.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::unix::fs::PermissionsExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/object/tree.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]   --> src/object/tree.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn switch(&self, base: &str) -> io::Result<()> {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blob`
[INFO] [stdout]   --> src/object/tree.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let blob = Blob::from_hash_file(&hash_key_to_path(&hex::encode(self.hash.clone())))?;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_blob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/object/tree.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let mut entries: Vec<TreeEntry> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree_entry_size`
[INFO] [stdout]    --> src/index/mod.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let tree_entry_size = hex_to_num(&data[(total+4)..(total+8)]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_entry_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `to_entries` and `to_tree_entries` are never used
[INFO] [stdout]    --> src/object/tree.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl Tree {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn to_entries(&self, base: &str) -> io::Result<Vec<Entry>> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     fn to_tree_entries(&self) -> io::Result<Vec<TreeEntry>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::PermissionsExt`
[INFO] [stdout]  --> src/object/tree.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::os::unix::fs::PermissionsExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/object/tree.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `base`
[INFO] [stdout]   --> src/object/tree.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn switch(&self, base: &str) -> io::Result<()> {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_base`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blob`
[INFO] [stdout]   --> src/object/tree.rs:69:13
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let blob = Blob::from_hash_file(&hash_key_to_path(&hex::encode(self.hash.clone())))?;
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_blob`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/object/tree.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let mut entries: Vec<TreeEntry> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tree_entry_size`
[INFO] [stdout]    --> src/index/mod.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let tree_entry_size = hex_to_num(&data[(total+4)..(total+8)]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tree_entry_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_tree_entries` is never used
[INFO] [stdout]    --> src/object/tree.rs:203:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl Tree {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     fn to_tree_entries(&self) -> io::Result<Vec<TreeEntry>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIR` is never used
[INFO] [stdout]    --> src/object/tree.rs:260:11
[INFO] [stdout]     |
[INFO] [stdout] 260 |     const DIR: [u8; 30] = [
[INFO] [stdout]     |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.76s
[INFO] running `Command { std: "docker" "inspect" "540b26f276a88fbce1e68dee152a2de66940d5209788f59347dc8920ecae7adc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "540b26f276a88fbce1e68dee152a2de66940d5209788f59347dc8920ecae7adc", kill_on_drop: false }`
[INFO] [stdout] 540b26f276a88fbce1e68dee152a2de66940d5209788f59347dc8920ecae7adc
