[INFO] cloning repository https://github.com/KirillSchmidt/project_rnd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KirillSchmidt/project_rnd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirillSchmidt%2Fproject_rnd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirillSchmidt%2Fproject_rnd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f6a55fb761faa55b469df04507fb75c61322183 [INFO] building KirillSchmidt/project_rnd against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKirillSchmidt%2Fproject_rnd" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KirillSchmidt/project_rnd [INFO] finished tweaking git repo https://github.com/KirillSchmidt/project_rnd [INFO] tweaked toml for git repo https://github.com/KirillSchmidt/project_rnd written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KirillSchmidt/project_rnd on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KirillSchmidt/project_rnd 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook v0.3.18 [INFO] [stderr] Downloaded toml_datetime v0.6.9 [INFO] [stderr] Downloaded anstyle-lossy v1.1.3 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded anstyle-svg v0.1.7 [INFO] [stderr] Downloaded roff v0.2.2 [INFO] [stderr] Downloaded clap_complete v4.5.50 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded anstyle-wincon v3.0.8 [INFO] [stderr] Downloaded jiff-static v0.2.14 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] [stderr] Downloaded toml_edit v0.22.26 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded artem v3.0.0 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded terminal_size v0.3.0 [INFO] [stderr] Downloaded clap_mangen v0.2.26 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded instability v0.3.7 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] [stderr] Downloaded jiff v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d15d7ad7da4b24c22e8fa076f0fa7fc1f4e564055b2f7a9fa74fe70981aa8c7f [INFO] running `Command { std: "docker" "start" "-a" "d15d7ad7da4b24c22e8fa076f0fa7fc1f4e564055b2f7a9fa74fe70981aa8c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d15d7ad7da4b24c22e8fa076f0fa7fc1f4e564055b2f7a9fa74fe70981aa8c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15d7ad7da4b24c22e8fa076f0fa7fc1f4e564055b2f7a9fa74fe70981aa8c7f", kill_on_drop: false }` [INFO] [stdout] d15d7ad7da4b24c22e8fa076f0fa7fc1f4e564055b2f7a9fa74fe70981aa8c7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5b141bfd2ba988c4998fe1aa9420df6a4d85c88d9703d43f3719af8499a608c [INFO] running `Command { std: "docker" "start" "-a" "d5b141bfd2ba988c4998fe1aa9420df6a4d85c88d9703d43f3719af8499a608c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling roff v0.2.2 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling anstyle-lossy v1.1.3 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling anstyle-svg v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap_mangen v0.2.26 [INFO] [stderr] Compiling clap_complete v4.5.50 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling artem v3.0.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling ravif v0.11.12 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling project_rnd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/teams.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | / /// Please, don't kill me for the following lines. I know this is insane, but! [INFO] [stdout] 121 | | /// I can't fight the borrow checker. I have tried multiple things, but it just [INFO] [stdout] 122 | | /// doesn't like to have multiple `self` being thrown around, and I don't know [INFO] [stdout] 123 | | /// any better way to make it. At least this works [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] 124 | let member_clone = self.members.clone(); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/teams.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / /// if there are, let's say, 11 people for 3 teams, I don't want 5 + 5 + 1, [INFO] [stdout] 254 | | /// I want 4 + 4 + 3 [INFO] [stdout] | |________________________^ [INFO] [stdout] 255 | // let avg = all_names.len() as f64 / number_of_teams as f64; // maybe implement it later (needs limit testing) [INFO] [stdout] 256 | let mut member_index = 0; [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `enable_raw_mode`, `event::EnableMouseCapture`, and `execute` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | event::EnableMouseCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | terminal::{enable_raw_mode, EnterAlternateScreen}, [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: `gui::app::App` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use gui::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Terminal` and `backend::CrosstermBackend` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::{backend::CrosstermBackend, Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut new_team = teams::Team::new( [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: type `TeamMember` is more private than the item `Team::add_member` [INFO] [stdout] --> src/teams.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn add_member(&mut self, new_member: TeamMember) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Team::add_member` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TeamMember` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/teams.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct TeamMember { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_random_name`, `add_member`, `remove_member_by_name`, `remove_member_by_index`, and `name_exists` are never used [INFO] [stdout] --> src/teams.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Team { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_random_name(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn add_member(&mut self, new_member: TeamMember) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn remove_member_by_name(&mut self, old_member_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn remove_member_by_index(&mut self, old_member_index: usize) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn name_exists(&self, m_name: &str) -> bool { [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 `change_name` is never used [INFO] [stdout] --> src/teams.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl TeamMember { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn change_name(&mut self, new_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shuffle_vec` is never used [INFO] [stdout] --> src/teams.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn shuffle_vec(mut input: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_pool_of_teams` is never used [INFO] [stdout] --> src/teams.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_new_pool_of_teams(mut all_names: Vec, number_of_teams: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_random_member_name` is never used [INFO] [stdout] --> src/teams.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn choose_random_member_name(members: Iter) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/teams.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | fn choose_random_member_name(members: Iter) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | fn choose_random_member_name(members: Iter<'_, TeamMember>) -> Option<&str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "d5b141bfd2ba988c4998fe1aa9420df6a4d85c88d9703d43f3719af8499a608c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5b141bfd2ba988c4998fe1aa9420df6a4d85c88d9703d43f3719af8499a608c", kill_on_drop: false }` [INFO] [stdout] d5b141bfd2ba988c4998fe1aa9420df6a4d85c88d9703d43f3719af8499a608c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d002827760fee7489bef34250f41df2d42bd65404f5a60a895582ec90f0f0c2 [INFO] running `Command { std: "docker" "start" "-a" "1d002827760fee7489bef34250f41df2d42bd65404f5a60a895582ec90f0f0c2", kill_on_drop: false }` [INFO] [stderr] Compiling project_rnd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/teams.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | / /// Please, don't kill me for the following lines. I know this is insane, but! [INFO] [stdout] 121 | | /// I can't fight the borrow checker. I have tried multiple things, but it just [INFO] [stdout] 122 | | /// doesn't like to have multiple `self` being thrown around, and I don't know [INFO] [stdout] 123 | | /// any better way to make it. At least this works [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] 124 | let member_clone = self.members.clone(); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/teams.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / /// if there are, let's say, 11 people for 3 teams, I don't want 5 + 5 + 1, [INFO] [stdout] 254 | | /// I want 4 + 4 + 3 [INFO] [stdout] | |________________________^ [INFO] [stdout] 255 | // let avg = all_names.len() as f64 / number_of_teams as f64; // maybe implement it later (needs limit testing) [INFO] [stdout] 256 | let mut member_index = 0; [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnterAlternateScreen`, `enable_raw_mode`, `event::EnableMouseCapture`, and `execute` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | event::EnableMouseCapture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | terminal::{enable_raw_mode, EnterAlternateScreen}, [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: `gui::app::App` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use gui::app::App; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Terminal` and `backend::CrosstermBackend` [INFO] [stdout] --> src/main.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use ratatui::{backend::CrosstermBackend, Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut new_team = teams::Team::new( [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: type `TeamMember` is more private than the item `teams::Team::add_member` [INFO] [stdout] --> src/teams.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn add_member(&mut self, new_member: TeamMember) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `teams::Team::add_member` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TeamMember` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/teams.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct TeamMember { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_random_name`, `remove_member_by_name`, `remove_member_by_index`, and `name_exists` are never used [INFO] [stdout] --> src/teams.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Team { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_random_name(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn remove_member_by_name(&mut self, old_member_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn remove_member_by_index(&mut self, old_member_index: usize) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn name_exists(&self, m_name: &str) -> bool { [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 `change_name` is never used [INFO] [stdout] --> src/teams.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl TeamMember { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn change_name(&mut self, new_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_random_member_name` is never used [INFO] [stdout] --> src/teams.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn choose_random_member_name(members: Iter) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/teams.rs:274:39 [INFO] [stdout] | [INFO] [stdout] 274 | fn choose_random_member_name(members: Iter) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 274 | fn choose_random_member_name(members: Iter<'_, TeamMember>) -> Option<&str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s [INFO] running `Command { std: "docker" "inspect" "1d002827760fee7489bef34250f41df2d42bd65404f5a60a895582ec90f0f0c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d002827760fee7489bef34250f41df2d42bd65404f5a60a895582ec90f0f0c2", kill_on_drop: false }` [INFO] [stdout] 1d002827760fee7489bef34250f41df2d42bd65404f5a60a895582ec90f0f0c2