[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] b363be61dec0228c7acc943d687d7336036cea53 [INFO] checking dthung1602/gistory against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthung1602%2Fgistory" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dthung1602/gistory on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0219c49ee27f057f8b7cde9c215d9fe82ea385ee82833ff2d2c79cfeefe07384 [INFO] running `Command { std: "docker" "start" "-a" "0219c49ee27f057f8b7cde9c215d9fe82ea385ee82833ff2d2c79cfeefe07384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0219c49ee27f057f8b7cde9c215d9fe82ea385ee82833ff2d2c79cfeefe07384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0219c49ee27f057f8b7cde9c215d9fe82ea385ee82833ff2d2c79cfeefe07384", kill_on_drop: false }` [INFO] [stdout] 0219c49ee27f057f8b7cde9c215d9fe82ea385ee82833ff2d2c79cfeefe07384 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 833fa0e427136b38d862f29ce4030da82c794244a4c00496548b934b787deb20 [INFO] running `Command { std: "docker" "start" "-a" "833fa0e427136b38d862f29ce4030da82c794244a4c00496548b934b787deb20", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking avif-serialize v0.8.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking zune-jpeg v0.4.20 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking clap_builder v4.5.43 [INFO] [stderr] Checking image-webp v0.2.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking clap v4.5.43 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking phf v0.12.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking validator v0.20.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking gistory v0.1.0 (/opt/rustwide/workdir/gistory) [INFO] [stderr] Checking async-compression v0.4.27 [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> gistory/src/git/objects.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 25 - async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stdout] 25 + fn from_hex(hex: &str, repo: &Repo) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> gistory/src/git/objects.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn write_to_file(&self, repo: &Repo) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 27 - async fn write_to_file(&self, repo: &Repo) -> Result; [INFO] [stdout] 27 + fn write_to_file(&self, repo: &Repo) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> gistory/src/git/objects.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 25 - async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stdout] 25 + fn from_hex(hex: &str, repo: &Repo) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> gistory/src/git/objects.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | async fn write_to_file(&self, repo: &Repo) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 27 - async fn write_to_file(&self, repo: &Repo) -> Result; [INFO] [stdout] 27 + fn write_to_file(&self, repo: &Repo) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 13 - Git(GitError), [INFO] [stdout] 13 + Git(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 15 - Io(io::Error), [INFO] [stdout] 15 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Utf8(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] 16 - Utf8(String), [INFO] [stdout] 16 + Utf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 - InvalidArg(String), [INFO] [stdout] 17 + InvalidArg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | InvalidData(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 - InvalidData(String), [INFO] [stdout] 18 + InvalidData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Command(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 - Command(String), [INFO] [stdout] 19 + Command(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 13 - Git(GitError), [INFO] [stdout] 13 + Git(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 15 - Io(io::Error), [INFO] [stdout] 15 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Utf8(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] 16 - Utf8(String), [INFO] [stdout] 16 + Utf8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 - InvalidArg(String), [INFO] [stdout] 17 + InvalidArg(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | InvalidData(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 - InvalidData(String), [INFO] [stdout] 18 + InvalidData(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/src/error.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Command(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 - Command(String), [INFO] [stdout] 19 + Command(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] --> gistory/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] [stderr] Checking diesel v2.2.12 [INFO] [stderr] Checking axum-valid v0.24.0 [INFO] [stderr] Checking webserver v0.1.0 (/opt/rustwide/workdir/webserver) [INFO] [stdout] warning: field `start_date` is never read [INFO] [stdout] --> webserver/src/dto.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CreateRepoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub start_date: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRepoDto` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> webserver/src/error.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | Database(DieselError), [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] 22 - Database(DieselError), [INFO] [stdout] 22 + Database(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> webserver/src/error.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | IO(IOError), [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] 23 - IO(IOError), [INFO] [stdout] 23 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_date` is never read [INFO] [stdout] --> webserver/src/dto.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CreateRepoDto { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub start_date: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateRepoDto` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> webserver/src/error.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | Database(DieselError), [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] 22 - Database(DieselError), [INFO] [stdout] 22 + Database(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> webserver/src/error.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | IO(IOError), [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] 23 - IO(IOError), [INFO] [stdout] 23 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.79s [INFO] running `Command { std: "docker" "inspect" "833fa0e427136b38d862f29ce4030da82c794244a4c00496548b934b787deb20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "833fa0e427136b38d862f29ce4030da82c794244a4c00496548b934b787deb20", kill_on_drop: false }` [INFO] [stdout] 833fa0e427136b38d862f29ce4030da82c794244a4c00496548b934b787deb20