[INFO] fetching crate gistory 0.1.1... [INFO] testing gistory-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate gistory 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate gistory 0.1.1 [INFO] finished tweaking crates.io crate gistory 0.1.1 [INFO] tweaked toml for crates.io crate gistory 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gistory 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gistory 0.1.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_generator v0.12.1 [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded phf_macros v0.12.1 [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daa01163272adb8e6be9bc161cbda0bccab7be417178636977387db9430e0dd6 [INFO] running `Command { std: "docker" "start" "-a" "daa01163272adb8e6be9bc161cbda0bccab7be417178636977387db9430e0dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daa01163272adb8e6be9bc161cbda0bccab7be417178636977387db9430e0dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daa01163272adb8e6be9bc161cbda0bccab7be417178636977387db9430e0dd6", kill_on_drop: false }` [INFO] [stdout] daa01163272adb8e6be9bc161cbda0bccab7be417178636977387db9430e0dd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 464258006a7cee5faebd073aecdf9294619e74b18e3583e0e5795bed468e5a88 [INFO] running `Command { std: "docker" "start" "-a" "464258006a7cee5faebd073aecdf9294619e74b18e3583e0e5795bed468e5a88", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling phf_shared v0.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling phf_generator v0.12.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling regex v1.11.1 [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 clap_derive v4.5.41 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling phf_macros v0.12.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling phf v0.12.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling gistory v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> 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] --> 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: field `0` is never read [INFO] [stdout] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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: method `get_data` is never used [INFO] [stdout] --> 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.36s [INFO] running `Command { std: "docker" "inspect" "464258006a7cee5faebd073aecdf9294619e74b18e3583e0e5795bed468e5a88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464258006a7cee5faebd073aecdf9294619e74b18e3583e0e5795bed468e5a88", kill_on_drop: false }` [INFO] [stdout] 464258006a7cee5faebd073aecdf9294619e74b18e3583e0e5795bed468e5a88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b8ef847e276dc155f7cbd1687c3398d62f62c5c77186dd1a38393ccf7b9ae5c [INFO] running `Command { std: "docker" "start" "-a" "7b8ef847e276dc155f7cbd1687c3398d62f62c5c77186dd1a38393ccf7b9ae5c", kill_on_drop: false }` [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> 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] --> 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 gistory v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> 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] --> 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: field `0` is never read [INFO] [stdout] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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] --> 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: method `get_data` is never used [INFO] [stdout] --> 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "7b8ef847e276dc155f7cbd1687c3398d62f62c5c77186dd1a38393ccf7b9ae5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8ef847e276dc155f7cbd1687c3398d62f62c5c77186dd1a38393ccf7b9ae5c", kill_on_drop: false }` [INFO] [stdout] 7b8ef847e276dc155f7cbd1687c3398d62f62c5c77186dd1a38393ccf7b9ae5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd1f72e11551d42e211988b5b160be9c627042d0d8ae371804a72bc404a044ab [INFO] running `Command { std: "docker" "start" "-a" "bd1f72e11551d42e211988b5b160be9c627042d0d8ae371804a72bc404a044ab", kill_on_drop: false }` [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/git/objects.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] 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] [stderr] | [INFO] [stderr] 25 - async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stderr] 25 + fn from_hex(hex: &str, repo: &Repo) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/git/objects.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | async fn write_to_file(&self, repo: &Repo) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] 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] [stderr] | [INFO] [stderr] 27 - async fn write_to_file(&self, repo: &Repo) -> Result; [INFO] [stderr] 27 + fn write_to_file(&self, repo: &Repo) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `gistory` (lib) generated 2 warnings [INFO] [stderr] warning: `gistory` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | Git(GitError), [INFO] [stderr] | --- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - Git(GitError), [INFO] [stderr] 13 + Git(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | Io(io::Error), [INFO] [stderr] | -- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - Io(io::Error), [INFO] [stderr] 15 + Io(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | Utf8(String), [INFO] [stderr] | ---- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 16 - Utf8(String), [INFO] [stderr] 16 + Utf8(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | InvalidArg(String), [INFO] [stderr] | ---------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - InvalidArg(String), [INFO] [stderr] 17 + InvalidArg(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | InvalidData(String), [INFO] [stderr] | ----------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - InvalidData(String), [INFO] [stderr] 18 + InvalidData(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | Command(String), [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - Command(String), [INFO] [stderr] 19 + Command(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/git/error.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | Io(std::io::Error), [INFO] [stderr] | -- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - Io(std::io::Error), [INFO] [stderr] 13 + Io(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/git/error.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | Hex(FromHexError), [INFO] [stderr] | --- ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - Hex(FromHexError), [INFO] [stderr] 15 + Hex(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/git/error.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | InvalidObjectFormat(String), [INFO] [stderr] | ------------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 18 - InvalidObjectFormat(String), [INFO] [stderr] 18 + InvalidObjectFormat(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/git/error.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | InvalidRepoConfig(String), [INFO] [stderr] | ----------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - InvalidRepoConfig(String), [INFO] [stderr] 19 + InvalidRepoConfig(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `HEX_CONTENT_HASH_LEN` is never used [INFO] [stderr] --> src/git/hash.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const HEX_CONTENT_HASH_LEN: usize = CONTENT_HASH_LEN * 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_slice` is never used [INFO] [stderr] --> src/git/hash.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl ContentHash { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 12 | pub fn from_slice(slice: &[u8]) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_hex` is never used [INFO] [stderr] --> src/git/objects.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 22 | pub trait Object: Sized + PartialEq { [INFO] [stderr] | ------ associated function in this trait [INFO] [stderr] ... [INFO] [stderr] 25 | async fn from_hex(hex: &str, repo: &Repo) -> Result; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Blob` is never constructed [INFO] [stderr] --> src/git/objects.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub enum ObjectType { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] 32 | Blob, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ObjectType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `READ_FILE_BUFFER_SIZE` is never used [INFO] [stderr] --> src/git/objects.rs:47:7 [INFO] [stderr] | [INFO] [stderr] 47 | const READ_FILE_BUFFER_SIZE: usize = 4096; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `read_obj_from_file` is never used [INFO] [stderr] --> src/git/objects.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | async fn read_obj_from_file(path: impl AsRef) -> Result<(ObjectType, Vec)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Blob` is never constructed [INFO] [stderr] --> src/git/objects.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | pub struct Blob { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `get_content` are never used [INFO] [stderr] --> src/git/objects.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 161 | impl Blob { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 162 | pub fn new(content: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 167 | pub fn get_content(&self) -> &[u8] { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Regular`, `Executable`, and `Directory` are never constructed [INFO] [stderr] --> src/git/objects.rs:207:5 [INFO] [stderr] | [INFO] [stderr] 206 | pub enum TreeNodeMode { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] 207 | Regular, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 208 | Executable, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 209 | Directory, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TreeNodeMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `parse` is never used [INFO] [stderr] --> src/git/objects.rs:215:8 [INFO] [stderr] | [INFO] [stderr] 214 | impl TreeNodeMode { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 215 | fn parse(content: &[u8]) -> Result<(Self, usize)> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_nodes`, `parse_nodes`, and `parse_node` are never used [INFO] [stderr] --> src/git/objects.rs:298:12 [INFO] [stderr] | [INFO] [stderr] 297 | impl Tree { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 298 | pub fn new(nodes: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 304 | pub fn get_nodes(&self) -> &[TreeNode] { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 308 | fn parse_nodes(content: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 338 | fn parse_node(content: &[u8]) -> Result<(TreeNode, usize)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `parse_hash` and `parse_user` are never used [INFO] [stderr] --> src/git/objects.rs:495:8 [INFO] [stderr] | [INFO] [stderr] 473 | impl Commit { [INFO] [stderr] | ----------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 495 | fn parse_hash(header: &[u8], content: &[u8]) -> Result<(ContentHash, usize)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 518 | fn parse_user(header: &[u8], content: &[u8]) -> Result<(User, usize)> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `obj_path_from_hex` is never used [INFO] [stderr] --> src/git/repo.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Repo { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn obj_path_from_hex(&self, hex: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_data` is never used [INFO] [stderr] --> src/visualizer/grid.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 58 | impl CommitGrid { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] 59 | pub fn get_data(&self) -> &[CommitCount] { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gistory` (bin "gistory" test) generated 24 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gistory-309109f543df3bec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gistory-3b9f486b8d82bcd8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests gistory [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd1f72e11551d42e211988b5b160be9c627042d0d8ae371804a72bc404a044ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd1f72e11551d42e211988b5b160be9c627042d0d8ae371804a72bc404a044ab", kill_on_drop: false }` [INFO] [stdout] bd1f72e11551d42e211988b5b160be9c627042d0d8ae371804a72bc404a044ab