[INFO] cloning repository https://github.com/superhawk610/rusty-git [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/superhawk610/rusty-git" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhawk610%2Frusty-git", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhawk610%2Frusty-git'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37ca58b87c00143d6abdd4f5ec5fc7a906d14d23 [INFO] building superhawk610/rusty-git against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhawk610%2Frusty-git" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/superhawk610/rusty-git [INFO] finished tweaking git repo https://github.com/superhawk610/rusty-git [INFO] tweaked toml for git repo https://github.com/superhawk610/rusty-git written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/superhawk610/rusty-git on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/superhawk610/rusty-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/a1phyr/rust-crc32fast` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded io_tee v0.1.1 [INFO] [stderr] Downloaded clap v4.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db7c082e89a2989fcdf61e7842d25b8b9b56aa239e88ec4278bcecd5148045f2 [INFO] running `Command { std: "docker" "start" "-a" "db7c082e89a2989fcdf61e7842d25b8b9b56aa239e88ec4278bcecd5148045f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db7c082e89a2989fcdf61e7842d25b8b9b56aa239e88ec4278bcecd5148045f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7c082e89a2989fcdf61e7842d25b8b9b56aa239e88ec4278bcecd5148045f2", kill_on_drop: false }` [INFO] [stdout] db7c082e89a2989fcdf61e7842d25b8b9b56aa239e88ec4278bcecd5148045f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34bf4fc26c75ba76061d267cca9c4723d992376d66b10f1bc2e93c94cbd7984a [INFO] running `Command { std: "docker" "start" "-a" "34bf4fc26c75ba76061d267cca9c4723d992376d66b10f1bc2e93c94cbd7984a", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling crc32fast v1.3.2 (https://github.com/a1phyr/rust-crc32fast?branch=write_hasher#e9e2dec7) [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling io_tee v0.1.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling clap v4.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling rusty-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/subcommand/unpack_objects.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/subcommand/unpack_objects.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 9 | [INFO] [stdout] 10 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_len` is never read [INFO] [stdout] --> src/index.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | entry_len += 2; [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: unused variable: `tag` [INFO] [stdout] --> src/object.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Tag(tag) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pack_parser` [INFO] [stdout] --> src/pack.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut pack_parser = { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pack_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pack.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut pack_parser = { [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: `cached` [INFO] [stdout] --> src/subcommand/ls_files.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(cached: bool, staged: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cached` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/subcommand/unpack_objects.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stdin = BufReader::new(std::io::stdin().lock()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subcommand/unpack_objects.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stdin = BufReader::new(std::io::stdin().lock()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/index.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Index` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags_ext` is never read [INFO] [stdout] --> src/index.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IndexEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub flags_ext: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mtime` is never read [INFO] [stdout] --> src/index.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct IndexEntryStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub mtime: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntryStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tag` is never constructed [INFO] [stdout] --> src/object.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Object { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Tag(Tag), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` 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 `version` and `obj_count` are never read [INFO] [stdout] --> src/pack.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Pack { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub obj_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pack` 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 `size` is never read [INFO] [stdout] --> src/pack.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PackedObject { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackedObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.89s [INFO] running `Command { std: "docker" "inspect" "34bf4fc26c75ba76061d267cca9c4723d992376d66b10f1bc2e93c94cbd7984a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34bf4fc26c75ba76061d267cca9c4723d992376d66b10f1bc2e93c94cbd7984a", kill_on_drop: false }` [INFO] [stdout] 34bf4fc26c75ba76061d267cca9c4723d992376d66b10f1bc2e93c94cbd7984a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d22b79837b5476759a816a08f254b2f341a307ab6cf4c05c776279519737c5 [INFO] running `Command { std: "docker" "start" "-a" "25d22b79837b5476759a816a08f254b2f341a307ab6cf4c05c776279519737c5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/subcommand/unpack_objects.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/subcommand/unpack_objects.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 9 | [INFO] [stdout] 10 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_len` is never read [INFO] [stdout] --> src/index.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | entry_len += 2; [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: unused variable: `tag` [INFO] [stdout] --> src/object.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Tag(tag) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pack_parser` [INFO] [stdout] --> src/pack.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut pack_parser = { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pack_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pack.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut pack_parser = { [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: `cached` [INFO] [stdout] --> src/subcommand/ls_files.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(cached: bool, staged: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cached` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/subcommand/unpack_objects.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stdin = BufReader::new(std::io::stdin().lock()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subcommand/unpack_objects.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stdin = BufReader::new(std::io::stdin().lock()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/index.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Index` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags_ext` is never read [INFO] [stdout] --> src/index.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IndexEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub flags_ext: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mtime` is never read [INFO] [stdout] --> src/index.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct IndexEntryStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub mtime: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntryStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Tag` is never constructed [INFO] [stdout] --> src/object.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Object { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Tag(Tag), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` 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 `version` and `obj_count` are never read [INFO] [stdout] --> src/pack.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Pack { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub obj_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pack` 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 `size` is never read [INFO] [stdout] --> src/pack.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PackedObject { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackedObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/subcommand/unpack_objects.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/subcommand/unpack_objects.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 9 | [INFO] [stdout] 10 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_len` is never read [INFO] [stdout] --> src/index.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | entry_len += 2; [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: unused variable: `tag` [INFO] [stdout] --> src/object.rs:267:23 [INFO] [stdout] | [INFO] [stdout] 267 | Self::Tag(tag) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pack_parser` [INFO] [stdout] --> src/pack.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut pack_parser = { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pack_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pack.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | let mut pack_parser = { [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: `cached` [INFO] [stdout] --> src/subcommand/ls_files.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(cached: bool, staged: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cached` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/subcommand/unpack_objects.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stdin = BufReader::new(std::io::stdin().lock()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subcommand/unpack_objects.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut stdin = BufReader::new(std::io::stdin().lock()); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/index.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Index { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Index` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags_ext` is never read [INFO] [stdout] --> src/index.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IndexEntry { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub flags_ext: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mtime` is never read [INFO] [stdout] --> src/index.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct IndexEntryStats { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub mtime: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexEntryStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tag` is never constructed [INFO] [stdout] --> src/object.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Object { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Tag(Tag), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` 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 `version` and `obj_count` are never read [INFO] [stdout] --> src/pack.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Pack { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub obj_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pack` 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 `size` is never read [INFO] [stdout] --> src/pack.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PackedObject { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PackedObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "25d22b79837b5476759a816a08f254b2f341a307ab6cf4c05c776279519737c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d22b79837b5476759a816a08f254b2f341a307ab6cf4c05c776279519737c5", kill_on_drop: false }` [INFO] [stdout] 25d22b79837b5476759a816a08f254b2f341a307ab6cf4c05c776279519737c5