[INFO] fetching crate git_rs 0.1.0...
[INFO] checking git_rs-0.1.0 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] extracting crate git_rs 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate git_rs 0.1.0
[INFO] finished tweaking crates.io crate git_rs 0.1.0
[INFO] tweaked toml for crates.io crate git_rs 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate git_rs 0.1.0 on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 76 packages to latest compatible versions
[INFO] [stderr]       Adding crc v1.8.1 (available: v3.4.0)
[INFO] [stderr]       Adding hex v0.3.2 (available: v0.4.3)
[INFO] [stderr]       Adding lru v0.1.17 (available: v0.18.0)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1dd2f78985631b5dcf34ada37edc18e02e72aef322f82d1e1ccba45de54930f
[INFO] running `Command { std: "docker" "start" "-a" "f1dd2f78985631b5dcf34ada37edc18e02e72aef322f82d1e1ccba45de54930f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1dd2f78985631b5dcf34ada37edc18e02e72aef322f82d1e1ccba45de54930f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1dd2f78985631b5dcf34ada37edc18e02e72aef322f82d1e1ccba45de54930f", kill_on_drop: false }`
[INFO] [stdout] f1dd2f78985631b5dcf34ada37edc18e02e72aef322f82d1e1ccba45de54930f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f51040921a152983d0d09aedd298597752c2d4df482883a2386b9e71767f7e59
[INFO] running `Command { std: "docker" "start" "-a" "f51040921a152983d0d09aedd298597752c2d4df482883a2386b9e71767f7e59", kill_on_drop: false }`
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking hashbrown v0.5.0
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking lru v0.1.17
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking object v0.37.3
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking git_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         0...9 => (inp + 48) as char,
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         10...16 => (inp + 87) as char,
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 48 ... 57 => xs - 48,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 97 ... 102 => xs - 97 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 65 ... 70 => xs - 65 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated`
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     foreign_links {
[INFO] [stdout]  3 | |         Io(::std::io::Error);
[INFO] [stdout]  4 | |         Encoding(::std::str::Utf8Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/stores/loose.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/objects/commit.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> src/pack/index.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{ Cursor, SeekFrom };
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if (&magic != b"\xfftOc") {
[INFO] [stdout]     |        ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -     if (&magic != b"\xfftOc") {
[INFO] [stdout] 168 +     if &magic != b"\xfftOc"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout]     |        ^                                                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 172 -     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout] 172 +     if version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/pack/read.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |         0...4 => {
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = dyn Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<dyn std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     read: Box<Fn() -> Result<R>>,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     read: Box<dyn Fn() -> Result<R>>,
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |         0...9 => (inp + 48) as char,
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         10...16 => (inp + 87) as char,
[INFO] [stdout]    |           ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |                 48 ... 57 => xs - 48,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 97 ... 102 => xs - 97 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/id.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 65 ... 70 => xs - 65 + 10,
[INFO] [stdout]    |                    ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated`
[INFO] [stdout]   --> src/errors.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout]  1 | / error_chain! {
[INFO] [stdout]  2 | |     foreign_links {
[INFO] [stdout]  3 | |         Io(::std::io::Error);
[INFO] [stdout]  4 | |         Encoding(::std::str::Utf8Error);
[INFO] [stdout] ...  |
[INFO] [stdout] 20 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/stores/loose.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/objects/commit.rs:59:10
[INFO] [stdout]    |
[INFO] [stdout] 59 |         };
[INFO] [stdout]    |          ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cursor`
[INFO] [stdout]  --> src/pack/index.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{ Cursor, SeekFrom };
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:168:8
[INFO] [stdout]     |
[INFO] [stdout] 168 |     if (&magic != b"\xfftOc") {
[INFO] [stdout]     |        ^                    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 168 -     if (&magic != b"\xfftOc") {
[INFO] [stdout] 168 +     if &magic != b"\xfftOc"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/pack/index.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout]     |        ^                                                                       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 172 -     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout] 172 +     if version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]   --> src/pack/iter.rs:99:20
[INFO] [stdout]    |
[INFO] [stdout] 99 |     use std::io::{ Read, Cursor };
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/pack/read.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 |         0...4 => {
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = dyn Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:12:58
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<dyn std::io::Read>)>>;
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |         where C: Fn(&Id) -> Result<Option<Box<std::io::Read>>> + 'static + Send + Sync {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |         where C: Fn(&Id) -> Result<Option<Box<dyn std::io::Read>>> + 'static + Send + Sync {
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = dyn Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 | type Reader = Fn(&Id) -> Result<Option<Box<dyn std::io::Read>>> + Send + Sync;
[INFO] [stdout]    |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     read: Box<Fn() -> Result<R>>,
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     read: Box<dyn Fn() -> Result<R>>,
[INFO] [stdout]    |               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = dyn Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/pack/any.rs:12:58
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<std::io::Read>)>>;
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub type GetObject = Fn(&Id) -> Result<Option<(Type, Box<dyn std::io::Read>)>>;
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/stores/loose.rs:19:47
[INFO] [stdout]    |
[INFO] [stdout] 19 |         where C: Fn(&Id) -> Result<Option<Box<std::io::Read>>> + 'static + Send + Sync {
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |         where C: Fn(&Id) -> Result<Option<Box<dyn std::io::Read>>> + 'static + Send + Sync {
[INFO] [stdout]    |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/identity.rs:95:46
[INFO] [stdout]    |
[INFO] [stdout] 95 |             let naive = match NaiveDateTime::from_timestamp_opt(timestamp, 0) {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/identity.rs:100:39
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let dt = DateTime::<Utc>::from_utc(naive, Utc);
[INFO] [stdout]     |                                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stores/loose.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut mode = Mode::FindSpace;
[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: `mode`
[INFO] [stdout]   --> src/stores/loose.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut mode = Mode::FindSpace;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/stores/mod.rs:20:43
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn get<W: Write, S: Queryable>(&self, id: &Id, _output: &mut W, _backends: &StorageSet<S>) -> Result<Option<Type>> {
[INFO] [stdout]    |                                           ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> src/pack/any.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         end: u64,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `size` is assigned to, but never used
[INFO] [stdout]   --> src/pack/read.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut size = (byte[0] & 0xf) as u64;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_size` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `size` is never read
[INFO] [stdout]   --> src/pack/read.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         size |= ((byte[0] & 0x7f) as u64) << (4 + 7 * count);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
[INFO] [stdout]   --> src/identity.rs:95:46
[INFO] [stdout]    |
[INFO] [stdout] 95 |             let naive = match NaiveDateTime::from_timestamp_opt(timestamp, 0) {
[INFO] [stdout]    |                                              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/identity.rs:100:39
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let dt = DateTime::<Utc>::from_utc(naive, Utc);
[INFO] [stdout]     |                                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FindNull` is never constructed
[INFO] [stdout]   --> src/stores/loose.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         enum Mode {
[INFO] [stdout]    |              ---- variant in this enum
[INFO] [stdout] 50 |             FindSpace,
[INFO] [stdout] 51 |             FindNull
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `author` is never read
[INFO] [stdout]   --> src/objects/commit.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Commit {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     author: Option<Identity>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git_rs` (lib) due to 2 previous errors; 44 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: struct `IndexEntry` is never constructed
[INFO] [stdout]   --> src/pack/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct IndexEntry {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Fanout` is never constructed
[INFO] [stdout]   --> src/pack/mod.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Fanout ([u32; 256]);
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `next` is never read
[INFO] [stdout]   --> src/pack/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct IndexEntry {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     next: usize
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IndexEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pack/mod.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Fanout ([u32; 256]);
[INFO] [stdout]    |            ------  ^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `crcs` is never read
[INFO] [stdout]    --> src/pack/index.rs:237:5
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub struct Index {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 237 |     crcs: Vec<u32>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage_set` is never read
[INFO] [stdout]   --> src/pack/iter.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PackfileIterator<'a, R: BufRead + Seek + std::fmt::Debug, S: Queryable> {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     storage_set: Option<&'a StorageSet<S>>
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout]   --> src/refs.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Ref {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 24 |     kind: Kind,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ref` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `email`, and `offset` are never read
[INFO] [stdout]  --> src/identity.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Identity {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 5 |     name: Vec<u8>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     email: Vec<u8>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     at: DateTime<Utc>,
[INFO] [stdout] 8 |     offset: FixedOffset
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Identity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/stores/mod.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn commits(&self, id: &Id, seen: Option<HashSet<Id>>) -> CommitIterator<Q> {
[INFO] [stdout]    |                    ^^^^^ the lifetime is elided here             ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn commits(&self, id: &Id, seen: Option<HashSet<Id>>) -> CommitIterator<'_, Q> {
[INFO] [stdout]    |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/stores/mod.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn tree(&self, id: &Id) -> TreeIterator<Q> {
[INFO] [stdout]    |                 ^^^^^              ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn tree(&self, id: &Id) -> TreeIterator<'_, Q> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/stores/loose.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         reader.read_until(0x20, &mut type_vec);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let _ = reader.read_until(0x20, &mut type_vec);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/stores/loose.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         reader.read_until(0, &mut size_vec);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = reader.read_until(0, &mut size_vec);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:116:34
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let version_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 116 -     let version_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) };
[INFO] [stdout] 116 +     let version_bytes = unsafe { u32::to_ne_bytes(2u32.to_be()) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:131:34
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let crc_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(crc) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 131 -         let crc_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(crc) };
[INFO] [stdout] 131 +         let crc_bytes = unsafe { u32::to_ne_bytes(crc) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:137:37
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let offset_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(offset) };
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 137 -         let offset_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(offset) };
[INFO] [stdout] 137 +         let offset_bytes = unsafe { u32::to_ne_bytes(offset) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:143:43
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let large_offset_bytes = unsafe { std::mem::transmute::<u64, [u8; 8]>(large_offset) };
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 143 -         let large_offset_bytes = unsafe { std::mem::transmute::<u64, [u8; 8]>(large_offset) };
[INFO] [stdout] 143 +         let large_offset_bytes = unsafe { u64::to_ne_bytes(large_offset) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:172:29
[INFO] [stdout]     |
[INFO] [stdout] 172 |     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 172 -     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout] 172 +     if (version != unsafe { u32::to_ne_bytes(2u32.to_be()) }) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/walk/tree.rs:18:94
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(storage_set: &'a StorageSet<S>, layers: Vec<IntoIter<Vec<u8>, TreeEntry>>) -> TreeIterator<S> {
[INFO] [stdout]    |                              -- the lifetime is named here                                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(storage_set: &'a StorageSet<S>, layers: Vec<IntoIter<Vec<u8>, TreeEntry>>) -> TreeIterator<'a, S> {
[INFO] [stdout]    |                                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/stores/loose.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut mode = Mode::FindSpace;
[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: `mode`
[INFO] [stdout]   --> src/stores/loose.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let mut mode = Mode::FindSpace;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/stores/mod.rs:20:43
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn get<W: Write, S: Queryable>(&self, id: &Id, _output: &mut W, _backends: &StorageSet<S>) -> Result<Option<Type>> {
[INFO] [stdout]    |                                           ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> src/pack/any.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         end: u64,
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `size` is assigned to, but never used
[INFO] [stdout]   --> src/pack/read.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let mut size = (byte[0] & 0xf) as u64;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_size` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `size` is never read
[INFO] [stdout]   --> src/pack/read.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         size |= ((byte[0] & 0x7f) as u64) << (4 + 7 * count);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FindNull` is never constructed
[INFO] [stdout]   --> src/stores/loose.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |         enum Mode {
[INFO] [stdout]    |              ---- variant in this enum
[INFO] [stdout] 50 |             FindSpace,
[INFO] [stdout] 51 |             FindNull
[INFO] [stdout]    |             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `author` is never read
[INFO] [stdout]   --> src/objects/commit.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Commit {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     author: Option<Identity>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Commit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `IndexEntry` is never constructed
[INFO] [stdout]   --> src/pack/mod.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct IndexEntry {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Fanout` is never constructed
[INFO] [stdout]   --> src/pack/mod.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Fanout ([u32; 256]);
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `next` is never read
[INFO] [stdout]   --> src/pack/mod.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct IndexEntry {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     next: usize
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IndexEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pack/mod.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Fanout ([u32; 256]);
[INFO] [stdout]    |            ------  ^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `crcs` is never read
[INFO] [stdout]    --> src/pack/index.rs:237:5
[INFO] [stdout]     |
[INFO] [stdout] 232 | pub struct Index {
[INFO] [stdout]     |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 237 |     crcs: Vec<u32>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `storage_set` is never read
[INFO] [stdout]   --> src/pack/iter.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct PackfileIterator<'a, R: BufRead + Seek + std::fmt::Debug, S: Queryable> {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     storage_set: Option<&'a StorageSet<S>>
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `kind` is never read
[INFO] [stdout]   --> src/refs.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Ref {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 24 |     kind: Kind,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ref` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `email`, and `offset` are never read
[INFO] [stdout]  --> src/identity.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Identity {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 5 |     name: Vec<u8>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 6 |     email: Vec<u8>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     at: DateTime<Utc>,
[INFO] [stdout] 8 |     offset: FixedOffset
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Identity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/stores/mod.rs:70:20
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn commits(&self, id: &Id, seen: Option<HashSet<Id>>) -> CommitIterator<Q> {
[INFO] [stdout]    |                    ^^^^^ the lifetime is elided here             ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn commits(&self, id: &Id, seen: Option<HashSet<Id>>) -> CommitIterator<'_, Q> {
[INFO] [stdout]    |                                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/stores/mod.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn tree(&self, id: &Id) -> TreeIterator<Q> {
[INFO] [stdout]    |                 ^^^^^              ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn tree(&self, id: &Id) -> TreeIterator<'_, Q> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/stores/loose.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |         reader.read_until(0x20, &mut type_vec);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let _ = reader.read_until(0x20, &mut type_vec);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/stores/loose.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         reader.read_until(0, &mut size_vec);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let _ = reader.read_until(0, &mut size_vec);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:116:34
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let version_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 116 -     let version_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) };
[INFO] [stdout] 116 +     let version_bytes = unsafe { u32::to_ne_bytes(2u32.to_be()) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:131:34
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let crc_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(crc) };
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 131 -         let crc_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(crc) };
[INFO] [stdout] 131 +         let crc_bytes = unsafe { u32::to_ne_bytes(crc) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:137:37
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let offset_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(offset) };
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 137 -         let offset_bytes = unsafe { std::mem::transmute::<u32, [u8; 4]>(offset) };
[INFO] [stdout] 137 +         let offset_bytes = unsafe { u32::to_ne_bytes(offset) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:143:43
[INFO] [stdout]     |
[INFO] [stdout] 143 |         let large_offset_bytes = unsafe { std::mem::transmute::<u64, [u8; 8]>(large_offset) };
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 143 -         let large_offset_bytes = unsafe { std::mem::transmute::<u64, [u8; 8]>(large_offset) };
[INFO] [stdout] 143 +         let large_offset_bytes = unsafe { u64::to_ne_bytes(large_offset) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/pack/index.rs:172:29
[INFO] [stdout]     |
[INFO] [stdout] 172 |     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 172 -     if (version != unsafe { std::mem::transmute::<u32, [u8; 4]>(2u32.to_be()) }) {
[INFO] [stdout] 172 +     if (version != unsafe { u32::to_ne_bytes(2u32.to_be()) }) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/walk/tree.rs:18:94
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(storage_set: &'a StorageSet<S>, layers: Vec<IntoIter<Vec<u8>, TreeEntry>>) -> TreeIterator<S> {
[INFO] [stdout]    |                              -- the lifetime is named here                                   ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn new(storage_set: &'a StorageSet<S>, layers: Vec<IntoIter<Vec<u8>, TreeEntry>>) -> TreeIterator<'a, S> {
[INFO] [stdout]    |                                                                                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `git_rs` (lib test) due to 2 previous errors; 45 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f51040921a152983d0d09aedd298597752c2d4df482883a2386b9e71767f7e59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f51040921a152983d0d09aedd298597752c2d4df482883a2386b9e71767f7e59", kill_on_drop: false }`
[INFO] [stdout] f51040921a152983d0d09aedd298597752c2d4df482883a2386b9e71767f7e59
