[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] 3ade0477a07a97d4f8f6e41aae8d7197bd865c15 [INFO] building dthung1602/gistory against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdthung1602%2Fgistory" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dthung1602/gistory 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded phf_macros v0.12.1 [INFO] [stderr] Downloaded compression-codecs v0.4.30 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded phf_shared v0.12.1 [INFO] [stderr] Downloaded tokio-tar v0.3.1 [INFO] [stderr] Downloaded avif-serialize v0.8.5 [INFO] [stderr] Downloaded phf_generator v0.12.1 [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded async-compression v0.4.30 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] [stderr] Downloaded axum-valid v0.24.0 [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded phf v0.12.1 [INFO] [stderr] Downloaded xattr v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6f8c2ecb39be99e95b12568b5acdaea4295f76c0ab41795bda0acf3c83c08c5d [INFO] running `Command { std: "docker" "start" "-a" "6f8c2ecb39be99e95b12568b5acdaea4295f76c0ab41795bda0acf3c83c08c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f8c2ecb39be99e95b12568b5acdaea4295f76c0ab41795bda0acf3c83c08c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f8c2ecb39be99e95b12568b5acdaea4295f76c0ab41795bda0acf3c83c08c5d", kill_on_drop: false }` [INFO] [stdout] 6f8c2ecb39be99e95b12568b5acdaea4295f76c0ab41795bda0acf3c83c08c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] becda9b9f84d84621aed16fcd9c6c5d7f565e6710ff6611ae7d5fa30063777ee [INFO] running `Command { std: "docker" "start" "-a" "becda9b9f84d84621aed16fcd9c6c5d7f565e6710ff6611ae7d5fa30063777ee", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling compression-core v0.4.29 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling dsl_auto_type v0.1.3 [INFO] [stderr] Compiling compression-codecs v0.4.30 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling diesel_derives v2.2.7 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling async-compression v0.4.30 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-tar v0.3.1 [INFO] [stderr] Compiling gistory v0.1.1 (/opt/rustwide/workdir/gistory) [INFO] [stderr] Compiling diesel v2.2.12 [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] Compiling axum-valid v0.24.0 [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)]` (part of `#[warn(unused)]`) 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: method `get_data` is never used [INFO] [stdout] --> gistory/src/visualizer/grid.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl CommitGrid { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 59 | pub fn get_data(&self) -> &[CommitCount] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webserver v0.1.0 (/opt/rustwide/workdir/webserver) [INFO] [stdout] error: couldn't read `webserver/src/foo.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webserver` (bin "foo") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> webserver/src/error.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | 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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 23 - Database(DieselError), [INFO] [stdout] 23 + Database(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> webserver/src/error.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | GistoryError(GistoryError), [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] 24 - GistoryError(GistoryError), [INFO] [stdout] 24 + GistoryError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> webserver/src/error.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 25 - IO(IOError), [INFO] [stdout] 25 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "becda9b9f84d84621aed16fcd9c6c5d7f565e6710ff6611ae7d5fa30063777ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "becda9b9f84d84621aed16fcd9c6c5d7f565e6710ff6611ae7d5fa30063777ee", kill_on_drop: false }` [INFO] [stdout] becda9b9f84d84621aed16fcd9c6c5d7f565e6710ff6611ae7d5fa30063777ee