[INFO] cloning repository https://github.com/dthung1602/gistory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dthung1602/gistory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthung1602%2Fgistory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthung1602%2Fgistory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edb44cfe2f8eb295eb4b684f4e9ccb7e5ed64e76 [INFO] checking dthung1602/gistory against try#723ab942d877517caf445dafde0416803ef56501 for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthung1602%2Fgistory" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dthung1602/gistory [INFO] finished tweaking git repo https://github.com/dthung1602/gistory [INFO] tweaked toml for git repo https://github.com/dthung1602/gistory written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dthung1602/gistory on toolchain 723ab942d877517caf445dafde0416803ef56501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dthung1602/gistory 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" "+723ab942d877517caf445dafde0416803ef56501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dthung1602/gistory against try#723ab942d877517caf445dafde0416803ef56501 for pr-143857 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthung1602%2Fgistory" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dthung1602/gistory [INFO] finished tweaking git repo https://github.com/dthung1602/gistory [INFO] tweaked toml for git repo https://github.com/dthung1602/gistory written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dthung1602/gistory on toolchain 723ab942d877517caf445dafde0416803ef56501 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dthung1602/gistory 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" "+723ab942d877517caf445dafde0416803ef56501" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2aa8f18372825c5e7dc5971da5c172436d56bc4dc3949c228841a6e4293f050 [INFO] running `Command { std: "docker" "start" "-a" "a2aa8f18372825c5e7dc5971da5c172436d56bc4dc3949c228841a6e4293f050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2aa8f18372825c5e7dc5971da5c172436d56bc4dc3949c228841a6e4293f050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2aa8f18372825c5e7dc5971da5c172436d56bc4dc3949c228841a6e4293f050", kill_on_drop: false }` [INFO] [stdout] a2aa8f18372825c5e7dc5971da5c172436d56bc4dc3949c228841a6e4293f050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+723ab942d877517caf445dafde0416803ef56501" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf15dde1e9c7cbad650fbeb98bcad9ac250377ef165a53b27e85174c74946876 [INFO] running `Command { std: "docker" "start" "-a" "bf15dde1e9c7cbad650fbeb98bcad9ac250377ef165a53b27e85174c74946876", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking avif-serialize v0.8.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking rgb v0.8.51 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking zune-jpeg v0.4.19 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking gistory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer` and `Luma` [INFO] [stdout] --> src/visualizer.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | use image::{GenericImageView, ImageBuffer, Luma, imageops}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer` and `Luma` [INFO] [stdout] --> src/visualizer.rs:161:39 [INFO] [stdout] | [INFO] [stdout] 161 | use image::{GenericImageView, ImageBuffer, Luma, imageops}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/visualizer.rs:214:39 [INFO] [stdout] | [INFO] [stdout] 214 | pub async fn show_text(&mut self, text: String) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/visualizer.rs:214:39 [INFO] [stdout] | [INFO] [stdout] 214 | pub async fn show_text(&mut self, text: String) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Git(GitError), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Git(GitError), [INFO] [stdout] 11 + Git(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Io(io::Error), [INFO] [stdout] 13 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidArg(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - InvalidArg(String), [INFO] [stdout] 14 + InvalidArg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidData` is never constructed [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | InvalidData(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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/git/error.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Io(std::io::Error), [INFO] [stdout] 13 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git/error.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Hex(FromHexError), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Hex(FromHexError), [INFO] [stdout] 15 + Hex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git/error.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | InvalidObjectFormat(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - InvalidObjectFormat(String), [INFO] [stdout] 18 + InvalidObjectFormat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git/error.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | InvalidRepoConfig(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - InvalidRepoConfig(String), [INFO] [stdout] 19 + InvalidRepoConfig(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_CONTENT_HASH_LEN` is never used [INFO] [stdout] --> src/git/hash.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEX_CONTENT_HASH_LEN: usize = CONTENT_HASH_LEN * 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_slice` is never used [INFO] [stdout] --> src/git/hash.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ContentHash { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub fn from_slice(slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hex` is never used [INFO] [stdout] --> src/git/objects.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Object: Sized + PartialEq { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Blob` is never constructed [INFO] [stdout] --> src/git/objects.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ObjectType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 32 | Blob, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READ_FILE_BUFFER_SIZE` is never used [INFO] [stdout] --> src/git/objects.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const READ_FILE_BUFFER_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_obj_from_file` is never used [INFO] [stdout] --> src/git/objects.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | async fn read_obj_from_file(path: impl AsRef) -> Result<(ObjectType, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blob` is never constructed [INFO] [stdout] --> src/git/objects.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Blob { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_content` are never used [INFO] [stdout] --> src/git/objects.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl Blob { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 162 | pub fn new(content: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn get_content(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Regular`, `Executable`, and `Directory` are never constructed [INFO] [stdout] --> src/git/objects.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub enum TreeNodeMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 207 | Regular, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 208 | Executable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 209 | Directory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeNodeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/git/objects.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 214 | impl TreeNodeMode { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 215 | fn parse(content: &[u8]) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_nodes`, `parse_nodes`, and `parse_node` are never used [INFO] [stdout] --> src/git/objects.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 298 | pub fn new(nodes: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn get_nodes(&self) -> &[TreeNode] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | fn parse_nodes(content: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn parse_node(content: &[u8]) -> Result<(TreeNode, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_hash` and `parse_user` are never used [INFO] [stdout] --> src/git/objects.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 473 | impl Commit { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 495 | fn parse_hash(header: &[u8], content: &[u8]) -> Result<(ContentHash, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | fn parse_user(header: &[u8], content: &[u8]) -> Result<(User, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `obj_path_from_hex` is never used [INFO] [stdout] --> src/git/repo.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Repo { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn obj_path_from_hex(&self, hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Zero`, `Few`, `Some`, and `ALot` are never constructed [INFO] [stdout] --> src/visualizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum CommitCount { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | Zero = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Few = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Some = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Many = 3, [INFO] [stdout] 17 | ALot = 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitCount` 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: methods `random`, `read_text_file`, `read_image_file`, and `show_text` are never used [INFO] [stdout] --> src/visualizer.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommitGrid { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn random(&mut self, end_date: NaiveDate) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn read_text_file(&mut self, path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub async fn read_image_file(&mut self, path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn show_text(&mut self, text: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | Git(GitError), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - Git(GitError), [INFO] [stdout] 11 + Git(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Io(io::Error), [INFO] [stdout] 13 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | InvalidArg(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - InvalidArg(String), [INFO] [stdout] 14 + InvalidArg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidData` is never constructed [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | InvalidData(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` 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/git/error.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Io(std::io::Error), [INFO] [stdout] 13 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git/error.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Hex(FromHexError), [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - Hex(FromHexError), [INFO] [stdout] 15 + Hex(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git/error.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | InvalidObjectFormat(String), [INFO] [stdout] | ------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - InvalidObjectFormat(String), [INFO] [stdout] 18 + InvalidObjectFormat(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git/error.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | InvalidRepoConfig(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - InvalidRepoConfig(String), [INFO] [stdout] 19 + InvalidRepoConfig(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEX_CONTENT_HASH_LEN` is never used [INFO] [stdout] --> src/git/hash.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const HEX_CONTENT_HASH_LEN: usize = CONTENT_HASH_LEN * 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_slice` is never used [INFO] [stdout] --> src/git/hash.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ContentHash { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | pub fn from_slice(slice: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hex` is never used [INFO] [stdout] --> src/git/objects.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Object: Sized + PartialEq { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Blob` is never constructed [INFO] [stdout] --> src/git/objects.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum ObjectType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 32 | Blob, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READ_FILE_BUFFER_SIZE` is never used [INFO] [stdout] --> src/git/objects.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | const READ_FILE_BUFFER_SIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_obj_from_file` is never used [INFO] [stdout] --> src/git/objects.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | async fn read_obj_from_file(path: impl AsRef) -> Result<(ObjectType, Vec)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blob` is never constructed [INFO] [stdout] --> src/git/objects.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Blob { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_content` are never used [INFO] [stdout] --> src/git/objects.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl Blob { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 162 | pub fn new(content: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn get_content(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Regular`, `Executable`, and `Directory` are never constructed [INFO] [stdout] --> src/git/objects.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub enum TreeNodeMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 207 | Regular, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 208 | Executable, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 209 | Directory, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeNodeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/git/objects.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 214 | impl TreeNodeMode { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 215 | fn parse(content: &[u8]) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_nodes`, `parse_nodes`, and `parse_node` are never used [INFO] [stdout] --> src/git/objects.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl Tree { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 298 | pub fn new(nodes: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | pub fn get_nodes(&self) -> &[TreeNode] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | fn parse_nodes(content: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | fn parse_node(content: &[u8]) -> Result<(TreeNode, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_hash` and `parse_user` are never used [INFO] [stdout] --> src/git/objects.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 473 | impl Commit { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 495 | fn parse_hash(header: &[u8], content: &[u8]) -> Result<(ContentHash, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | fn parse_user(header: &[u8], content: &[u8]) -> Result<(User, usize)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `obj_path_from_hex` is never used [INFO] [stdout] --> src/git/repo.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Repo { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn obj_path_from_hex(&self, hex: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Zero`, `Few`, `Some`, and `ALot` are never constructed [INFO] [stdout] --> src/visualizer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum CommitCount { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | Zero = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Few = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Some = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Many = 3, [INFO] [stdout] 17 | ALot = 4, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommitCount` 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: methods `random`, `read_text_file`, `read_image_file`, and `show_text` are never used [INFO] [stdout] --> src/visualizer.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl CommitGrid { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn random(&mut self, end_date: NaiveDate) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub async fn read_text_file(&mut self, path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub async fn read_image_file(&mut self, path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn show_text(&mut self, text: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.28s [INFO] running `Command { std: "docker" "inspect" "bf15dde1e9c7cbad650fbeb98bcad9ac250377ef165a53b27e85174c74946876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf15dde1e9c7cbad650fbeb98bcad9ac250377ef165a53b27e85174c74946876", kill_on_drop: false }` [INFO] [stdout] bf15dde1e9c7cbad650fbeb98bcad9ac250377ef165a53b27e85174c74946876