[INFO] cloning repository https://github.com/epic-64/hackerman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/epic-64/hackerman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepic-64%2Fhackerman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepic-64%2Fhackerman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0d1d7aead369b30e403b034fd3fac0dae3a73df [INFO] testing epic-64/hackerman against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fepic-64%2Fhackerman" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/epic-64/hackerman [INFO] finished tweaking git repo https://github.com/epic-64/hackerman [INFO] tweaked toml for git repo https://github.com/epic-64/hackerman written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/epic-64/hackerman on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/epic-64/hackerman 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 396c98d590f2be1456609be918edc26f67dd0de9325512cdabb6a7e8939f41ce [INFO] running `Command { std: "docker" "start" "-a" "396c98d590f2be1456609be918edc26f67dd0de9325512cdabb6a7e8939f41ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "396c98d590f2be1456609be918edc26f67dd0de9325512cdabb6a7e8939f41ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396c98d590f2be1456609be918edc26f67dd0de9325512cdabb6a7e8939f41ce", kill_on_drop: false }` [INFO] [stdout] 396c98d590f2be1456609be918edc26f67dd0de9325512cdabb6a7e8939f41ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7205546180d39d20a38523addde3cd7dd423227f1ea84d7b3d891f199285485 [INFO] running `Command { std: "docker" "start" "-a" "d7205546180d39d20a38523addde3cd7dd423227f1ea84d7b3d891f199285485", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling font8x8 v0.3.1 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling tui-big-text v0.7.1 [INFO] [stderr] Compiling hackerman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng` and `rng` [INFO] [stdout] --> src/utils.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{rng, Rng}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::layout::Alignment::Center` [INFO] [stdout] --> src/app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use ratatui::layout::Alignment::Center; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertically_center` [INFO] [stdout] --> src/games/binary_numbers.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::{center, vertically_center}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/games/binary_numbers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/app.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | Some(ref game) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_per_frame` [INFO] [stdout] --> src/games/ascii_art.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let time_per_frame = 0.25; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_per_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl AsciiCells { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 94 | pub fn new(cells: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buffer_to_string` is never used [INFO] [stdout] --> src/utils.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn buffer_to_string(buf: &Buffer) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Horizontal` is never constructed [INFO] [stdout] --> src/app.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum MenuOrientation { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 98 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuOrientation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Four`, `Twelve`, and `Sixteen` are never constructed [INFO] [stdout] --> src/games/binary_numbers.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub enum Bits { Four, Eight, Twelve, Sixteen, } [INFO] [stdout] | ---- ^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `Bits` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bits` is never read [INFO] [stdout] --> src/games/binary_numbers.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct BinaryNumbersPuzzle { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 270 | bits: Bits, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `get_overview` are never used [INFO] [stdout] --> src/games/main_screen_widget.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait MainScreenWidget: WidgetRef { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_overview(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/app.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_lines(&self) -> Vec { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | fn get_lines(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.16s [INFO] running `Command { std: "docker" "inspect" "d7205546180d39d20a38523addde3cd7dd423227f1ea84d7b3d891f199285485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7205546180d39d20a38523addde3cd7dd423227f1ea84d7b3d891f199285485", kill_on_drop: false }` [INFO] [stdout] d7205546180d39d20a38523addde3cd7dd423227f1ea84d7b3d891f199285485 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d83924db9d42948bca6fdd346f20ff9f5cc9efc1dc8ceecc84a4841ee6e784 [INFO] running `Command { std: "docker" "start" "-a" "d1d83924db9d42948bca6fdd346f20ff9f5cc9efc1dc8ceecc84a4841ee6e784", kill_on_drop: false }` [INFO] [stderr] Compiling hackerman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Rng` and `rng` [INFO] [stdout] --> src/utils.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{rng, Rng}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::layout::Alignment::Center` [INFO] [stdout] --> src/app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use ratatui::layout::Alignment::Center; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vertically_center` [INFO] [stdout] --> src/games/binary_numbers.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::utils::{center, vertically_center}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/app.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stdout] --> src/games/binary_numbers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use color_eyre::owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game` [INFO] [stdout] --> src/app.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | Some(ref game) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_per_frame` [INFO] [stdout] --> src/games/ascii_art.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let time_per_frame = 0.25; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_per_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl AsciiCells { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 94 | pub fn new(cells: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `buffer_to_string` is never used [INFO] [stdout] --> src/utils.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn buffer_to_string(buf: &Buffer) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Horizontal` is never constructed [INFO] [stdout] --> src/app.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum MenuOrientation { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 98 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MenuOrientation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Four`, `Twelve`, and `Sixteen` are never constructed [INFO] [stdout] --> src/games/binary_numbers.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | pub enum Bits { Four, Eight, Twelve, Sixteen, } [INFO] [stdout] | ---- ^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `Bits` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bits` is never read [INFO] [stdout] --> src/games/binary_numbers.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 269 | pub struct BinaryNumbersPuzzle { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 270 | bits: Bits, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name` and `get_overview` are never used [INFO] [stdout] --> src/games/main_screen_widget.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait MainScreenWidget: WidgetRef { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn get_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_overview(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/app.rs:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_lines(&self) -> Vec { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 141 | fn get_lines(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "d1d83924db9d42948bca6fdd346f20ff9f5cc9efc1dc8ceecc84a4841ee6e784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d83924db9d42948bca6fdd346f20ff9f5cc9efc1dc8ceecc84a4841ee6e784", kill_on_drop: false }` [INFO] [stdout] d1d83924db9d42948bca6fdd346f20ff9f5cc9efc1dc8ceecc84a4841ee6e784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b26fe4104cc8cf71048f63325b60931c93998e14fc1d09e5b731afe49d27e454 [INFO] running `Command { std: "docker" "start" "-a" "b26fe4104cc8cf71048f63325b60931c93998e14fc1d09e5b731afe49d27e454", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Rng` and `rng` [INFO] [stderr] --> src/utils.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use rand::{rng, Rng}; [INFO] [stderr] | ^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ratatui::layout::Alignment::Center` [INFO] [stderr] --> src/app.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use ratatui::layout::Alignment::Center; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vertically_center` [INFO] [stderr] --> src/games/binary_numbers.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::utils::{center, vertically_center}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stderr] --> src/utils.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use color_eyre::owo_colors::OwoColorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stderr] --> src/app.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use color_eyre::owo_colors::OwoColorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `color_eyre::owo_colors::OwoColorize` [INFO] [stderr] --> src/games/binary_numbers.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use color_eyre::owo_colors::OwoColorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `game` [INFO] [stderr] --> src/app.rs:65:22 [INFO] [stderr] | [INFO] [stderr] 65 | Some(ref game) => {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_game` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time_per_frame` [INFO] [stderr] --> src/games/ascii_art.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let time_per_frame = 0.25; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_per_frame` [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/utils.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 93 | impl AsciiCells { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 94 | pub fn new(cells: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `buffer_to_string` is never used [INFO] [stderr] --> src/utils.rs:150:4 [INFO] [stderr] | [INFO] [stderr] 150 | fn buffer_to_string(buf: &Buffer) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Horizontal` is never constructed [INFO] [stderr] --> src/app.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 97 | pub enum MenuOrientation { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 98 | Horizontal, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MenuOrientation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Four`, `Twelve`, and `Sixteen` are never constructed [INFO] [stderr] --> src/games/binary_numbers.rs:243:17 [INFO] [stderr] | [INFO] [stderr] 243 | pub enum Bits { Four, Eight, Twelve, Sixteen, } [INFO] [stderr] | ---- ^^^^ ^^^^^^ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variants in this enum [INFO] [stderr] | [INFO] [stderr] = note: `Bits` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `bits` is never read [INFO] [stderr] --> src/games/binary_numbers.rs:270:5 [INFO] [stderr] | [INFO] [stderr] 269 | pub struct BinaryNumbersPuzzle { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] 270 | bits: Bits, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_name` and `get_overview` are never used [INFO] [stderr] --> src/games/main_screen_widget.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait MainScreenWidget: WidgetRef { [INFO] [stderr] | ---------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 14 | fn get_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | fn get_overview(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/app.rs:141:18 [INFO] [stderr] | [INFO] [stderr] 141 | fn get_lines(&self) -> Vec { [INFO] [stderr] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 141 | fn get_lines(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `hackerman` (bin "hackerman" test) generated 15 warnings (run `cargo fix --bin "hackerman" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hackerman-b59a852f4ea220b5) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test utils::tests::test_annoying_default_behavior ... ok [INFO] [stdout] test utils::tests::test_nice_basic ... ok [INFO] [stdout] test utils::tests::test_nice_indentation ... ok [INFO] [stdout] test utils::tests::test_preserve_empty_lines ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b26fe4104cc8cf71048f63325b60931c93998e14fc1d09e5b731afe49d27e454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26fe4104cc8cf71048f63325b60931c93998e14fc1d09e5b731afe49d27e454", kill_on_drop: false }` [INFO] [stdout] b26fe4104cc8cf71048f63325b60931c93998e14fc1d09e5b731afe49d27e454