[INFO] cloning repository https://github.com/asian-mario/git-hydra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asian-mario/git-hydra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasian-mario%2Fgit-hydra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasian-mario%2Fgit-hydra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3bd0b5ae6ae6aab9cbce3ad02c00380adeef94e [INFO] testing asian-mario/git-hydra against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasian-mario%2Fgit-hydra" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/asian-mario/git-hydra [INFO] finished tweaking git repo https://github.com/asian-mario/git-hydra [INFO] tweaked toml for git repo https://github.com/asian-mario/git-hydra written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/asian-mario/git-hydra 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/asian-mario/git-hydra 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] Downloading crates ... [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded instability v0.3.9 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded git2 v0.20.2 [INFO] [stderr] Downloaded libgit2-sys v0.18.2+1.9.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 978f1d701cf8e1a2a0467d623c114992edd8122ec9c33dc844a0d014a2795388 [INFO] running `Command { std: "docker" "start" "-a" "978f1d701cf8e1a2a0467d623c114992edd8122ec9c33dc844a0d014a2795388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "978f1d701cf8e1a2a0467d623c114992edd8122ec9c33dc844a0d014a2795388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "978f1d701cf8e1a2a0467d623c114992edd8122ec9c33dc844a0d014a2795388", kill_on_drop: false }` [INFO] [stdout] 978f1d701cf8e1a2a0467d623c114992edd8122ec9c33dc844a0d014a2795388 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a735d93b7b7016e3d2cc2dc1e3cb949a1c7c1361b973228ff4dd73e63f95017c [INFO] running `Command { std: "docker" "start" "-a" "a735d93b7b7016e3d2cc2dc1e3cb949a1c7c1361b973228ff4dd73e63f95017c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling git-hydra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Progress` [INFO] [stdout] --> src/git.rs:3:106 [INFO] [stdout] | [INFO] [stdout] 3 | use git2::{Repository as Git2Repository, DiffOptions, StatusOptions, PushOptions, RemoteCallbacks, Cred, Progress}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any` [INFO] [stdout] --> src/git.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{any, fmt, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/git.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> src/ui.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::current, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `git2::DiffHunk` [INFO] [stdout] --> src/ui.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use git2::DiffHunk; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListState`, `Text`, and `self` [INFO] [stdout] --> src/ui.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | layout::{self, Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | style::{Color, Modifier, Style}, [INFO] [stdout] 8 | text::{Line, Span, Text}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | widgets::{ [INFO] [stdout] 10 | Block, Borders, Clear, List, ListItem, ListState, Paragraph, Tabs, Wrap [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/ui.rs:616:7 [INFO] [stdout] | [INFO] [stdout] 616 | f.set_cursor( // i am so cba to use the new one i am sorry [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/ui.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 714 | f.set_cursor( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/ui.rs:749:7 [INFO] [stdout] | [INFO] [stdout] 749 | f.set_cursor( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::Backend` [INFO] [stdout] --> src/ui.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/git.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut index_entry = git2::IndexEntry{ [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/git.rs:510:43 [INFO] [stdout] | [INFO] [stdout] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/git.rs:510:52 [INFO] [stdout] | [INFO] [stdout] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/git.rs:510:59 [INFO] [stdout] | [INFO] [stdout] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/git.rs:560:38 [INFO] [stdout] | [INFO] [stdout] 560 | callbacks.transfer_progress(|stats| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reset_mode` is never read [INFO] [stdout] --> src/app.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub reset_mode: ResetMode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_reset_description` is never used [INFO] [stdout] --> src/app.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_reset_description(&self) -> &'static str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_line` and `base_content` are never read [INFO] [stdout] --> src/git.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ConflictHunk { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 49 | pub start_line: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub base_content: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConflictHunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/git.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum MergeResolution { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergeResolution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_commits` is never used [INFO] [stdout] --> src/git.rs:906:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl Repository { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 906 | pub fn has_commits(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.33s [INFO] running `Command { std: "docker" "inspect" "a735d93b7b7016e3d2cc2dc1e3cb949a1c7c1361b973228ff4dd73e63f95017c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a735d93b7b7016e3d2cc2dc1e3cb949a1c7c1361b973228ff4dd73e63f95017c", kill_on_drop: false }` [INFO] [stdout] a735d93b7b7016e3d2cc2dc1e3cb949a1c7c1361b973228ff4dd73e63f95017c [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0299c23d4c032f4e3537e02479dc5ca72a78f203eeb1928a8ce5f2450ceb8f72 [INFO] running `Command { std: "docker" "start" "-a" "0299c23d4c032f4e3537e02479dc5ca72a78f203eeb1928a8ce5f2450ceb8f72", kill_on_drop: false }` [INFO] [stderr] Compiling git-hydra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Progress` [INFO] [stdout] --> src/git.rs:3:106 [INFO] [stdout] | [INFO] [stdout] 3 | use git2::{Repository as Git2Repository, DiffOptions, StatusOptions, PushOptions, RemoteCallbacks, Cred, Progress}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any` [INFO] [stdout] --> src/git.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{any, fmt, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/git.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::current` [INFO] [stdout] --> src/ui.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::current, vec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `git2::DiffHunk` [INFO] [stdout] --> src/ui.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use git2::DiffHunk; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ListState`, `Text`, and `self` [INFO] [stdout] --> src/ui.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | layout::{self, Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | style::{Color, Modifier, Style}, [INFO] [stdout] 8 | text::{Line, Span, Text}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | widgets::{ [INFO] [stdout] 10 | Block, Borders, Clear, List, ListItem, ListState, Paragraph, Tabs, Wrap [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/ui.rs:616:7 [INFO] [stdout] | [INFO] [stdout] 616 | f.set_cursor( // i am so cba to use the new one i am sorry [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/ui.rs:714:7 [INFO] [stdout] | [INFO] [stdout] 714 | f.set_cursor( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stdout] --> src/ui.rs:749:7 [INFO] [stdout] | [INFO] [stdout] 749 | f.set_cursor( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::Backend` [INFO] [stdout] --> src/ui.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/git.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut index_entry = git2::IndexEntry{ [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/git.rs:510:43 [INFO] [stdout] | [INFO] [stdout] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/git.rs:510:52 [INFO] [stdout] | [INFO] [stdout] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/git.rs:510:59 [INFO] [stdout] | [INFO] [stdout] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/git.rs:560:38 [INFO] [stdout] | [INFO] [stdout] 560 | callbacks.transfer_progress(|stats| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reset_mode` is never read [INFO] [stdout] --> src/app.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub reset_mode: ResetMode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_reset_description` is never used [INFO] [stdout] --> src/app.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_reset_description(&self) -> &'static str{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_line` and `base_content` are never read [INFO] [stdout] --> src/git.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ConflictHunk { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 49 | pub start_line: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub base_content: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConflictHunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Custom` is never constructed [INFO] [stdout] --> src/git.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum MergeResolution { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MergeResolution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_commits` is never used [INFO] [stdout] --> src/git.rs:906:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl Repository { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 906 | pub fn has_commits(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "0299c23d4c032f4e3537e02479dc5ca72a78f203eeb1928a8ce5f2450ceb8f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0299c23d4c032f4e3537e02479dc5ca72a78f203eeb1928a8ce5f2450ceb8f72", kill_on_drop: false }` [INFO] [stdout] 0299c23d4c032f4e3537e02479dc5ca72a78f203eeb1928a8ce5f2450ceb8f72 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f2f220291c7ebd28c7239085c9d6c687ee474ce59e56274a7cb373c71158fcfc [INFO] running `Command { std: "docker" "start" "-a" "f2f220291c7ebd28c7239085c9d6c687ee474ce59e56274a7cb373c71158fcfc", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/app.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Progress` [INFO] [stderr] --> src/git.rs:3:106 [INFO] [stderr] | [INFO] [stderr] 3 | use git2::{Repository as Git2Repository, DiffOptions, StatusOptions, PushOptions, RemoteCallbacks, Cred, Progress}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `any` [INFO] [stderr] --> src/git.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | use std::{any, fmt, vec}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/git.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `thread::current` [INFO] [stderr] --> src/ui.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{thread::current, vec}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `git2::DiffHunk` [INFO] [stderr] --> src/ui.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use git2::DiffHunk; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ListState`, `Text`, and `self` [INFO] [stderr] --> src/ui.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | layout::{self, Constraint, Direction, Layout, Rect}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 7 | style::{Color, Modifier, Style}, [INFO] [stderr] 8 | text::{Line, Span, Text}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | widgets::{ [INFO] [stderr] 10 | Block, Borders, Clear, List, ListItem, ListState, Paragraph, Tabs, Wrap [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stderr] --> src/ui.rs:616:7 [INFO] [stderr] | [INFO] [stderr] 616 | f.set_cursor( // i am so cba to use the new one i am sorry [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stderr] --> src/ui.rs:714:7 [INFO] [stderr] | [INFO] [stderr] 714 | f.set_cursor( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::set_cursor`: the method set_cursor_position indicates more clearly what about the cursor to set [INFO] [stderr] --> src/ui.rs:749:7 [INFO] [stderr] | [INFO] [stderr] 749 | f.set_cursor( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `backend::Backend` [INFO] [stderr] --> src/ui.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | backend::Backend, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/git.rs:334:13 [INFO] [stderr] | [INFO] [stderr] 334 | let mut index_entry = git2::IndexEntry{ [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current` [INFO] [stderr] --> src/git.rs:510:43 [INFO] [stderr] | [INFO] [stderr] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total` [INFO] [stderr] --> src/git.rs:510:52 [INFO] [stderr] | [INFO] [stderr] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bytes` [INFO] [stderr] --> src/git.rs:510:59 [INFO] [stderr] | [INFO] [stderr] 510 | callbacks.push_transfer_progress(|current, total, bytes| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stats` [INFO] [stderr] --> src/git.rs:560:38 [INFO] [stderr] | [INFO] [stderr] 560 | callbacks.transfer_progress(|stats| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stderr] [INFO] [stderr] warning: field `reset_mode` is never read [INFO] [stderr] --> src/app.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub struct App { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 68 | pub reset_mode: ResetMode, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_reset_description` is never used [INFO] [stderr] --> src/app.rs:169:12 [INFO] [stderr] | [INFO] [stderr] 73 | impl App { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 169 | pub fn get_reset_description(&self) -> &'static str{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `start_line` and `base_content` are never read [INFO] [stderr] --> src/git.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct ConflictHunk { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 49 | pub start_line: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub base_content: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConflictHunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Custom` is never constructed [INFO] [stderr] --> src/git.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub enum MergeResolution { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 74 | Custom(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MergeResolution` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `has_commits` is never used [INFO] [stderr] --> src/git.rs:906:12 [INFO] [stderr] | [INFO] [stderr] 144 | impl Repository { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 906 | pub fn has_commits(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `git-hydra` (bin "git-hydra" test) generated 21 warnings (run `cargo fix --bin "git-hydra" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [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/git_hydra-0d2692bb1abe4f8f) [INFO] running `Command { std: "docker" "inspect" "f2f220291c7ebd28c7239085c9d6c687ee474ce59e56274a7cb373c71158fcfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f220291c7ebd28c7239085c9d6c687ee474ce59e56274a7cb373c71158fcfc", kill_on_drop: false }` [INFO] [stdout] f2f220291c7ebd28c7239085c9d6c687ee474ce59e56274a7cb373c71158fcfc