[INFO] cloning repository https://github.com/RobinGoldbach/prototyp_speed_networking [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobinGoldbach/prototyp_speed_networking" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobinGoldbach%2Fprototyp_speed_networking", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobinGoldbach%2Fprototyp_speed_networking'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 500c128bc075ece20699722bc28dcc4fa24d3af8 [INFO] building RobinGoldbach/prototyp_speed_networking against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobinGoldbach%2Fprototyp_speed_networking" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RobinGoldbach/prototyp_speed_networking on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RobinGoldbach/prototyp_speed_networking [INFO] finished tweaking git repo https://github.com/RobinGoldbach/prototyp_speed_networking [INFO] tweaked toml for git repo https://github.com/RobinGoldbach/prototyp_speed_networking written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RobinGoldbach/prototyp_speed_networking 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xlsxwriter v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8e93842083d82fad6a735bd7b95f6c41fcdf5b6646e8d698854b07ecf00b322 [INFO] running `Command { std: "docker" "start" "-a" "f8e93842083d82fad6a735bd7b95f6c41fcdf5b6646e8d698854b07ecf00b322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8e93842083d82fad6a735bd7b95f6c41fcdf5b6646e8d698854b07ecf00b322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e93842083d82fad6a735bd7b95f6c41fcdf5b6646e8d698854b07ecf00b322", kill_on_drop: false }` [INFO] [stdout] f8e93842083d82fad6a735bd7b95f6c41fcdf5b6646e8d698854b07ecf00b322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aef3895ff161a5ef42a7c82debb34079e8584fac51ea95a6e6aa11b4703f207b [INFO] running `Command { std: "docker" "start" "-a" "aef3895ff161a5ef42a7c82debb34079e8584fac51ea95a6e6aa11b4703f207b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling libxlsxwriter-sys v1.1.4 [INFO] [stderr] Compiling xlsxwriter v0.3.5 [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/persons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_file` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::{self, remove_file}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/main.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashSet, error::Error, io, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime as XLSDateTime`, `Format`, and `Worksheet` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | DateTime as XLSDateTime, Format, FormatAlignment, FormatColor, FormatUnderline, Workbook, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 15 | Worksheet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | if (filename == "d\n".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if (filename == "d\n".to_string()) { [INFO] [stdout] 42 + if filename == "d\n".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | if (tmp.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if (tmp.len() == 0) { [INFO] [stdout] 347 + if tmp.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:372:16 [INFO] [stdout] | [INFO] [stdout] 372 | if (counter < 6) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 372 - if (counter < 6) { [INFO] [stdout] 372 + if counter < 6 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:461:32 [INFO] [stdout] | [INFO] [stdout] 461 | ... if (name == person.name) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 461 - if (name == person.name) { [INFO] [stdout] 461 + if name == person.name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:634:28 [INFO] [stdout] | [INFO] [stdout] 634 | if (index == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 634 - if (index == 0) { [INFO] [stdout] 634 + if index == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:838:28 [INFO] [stdout] | [INFO] [stdout] 838 | if (index == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - if (index == 0) { [INFO] [stdout] 838 + if index == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1082:24 [INFO] [stdout] | [INFO] [stdout] 1082 | if (met == 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1082 - if (met == 2) { [INFO] [stdout] 1082 + if met == 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1085:24 [INFO] [stdout] | [INFO] [stdout] 1085 | if (met == 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1085 - if (met == 3) { [INFO] [stdout] 1085 + if met == 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1088:24 [INFO] [stdout] | [INFO] [stdout] 1088 | if (met == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1088 - if (met == 4) { [INFO] [stdout] 1088 + if met == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1127:16 [INFO] [stdout] | [INFO] [stdout] 1127 | if (second_group_number != first_group_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1127 - if (second_group_number != first_group_number) { [INFO] [stdout] 1127 + if second_group_number != first_group_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1166:12 [INFO] [stdout] | [INFO] [stdout] 1166 | if (second_group_number == group_count - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1166 - if (second_group_number == group_count - 1) { [INFO] [stdout] 1166 + if second_group_number == group_count - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1201:16 [INFO] [stdout] | [INFO] [stdout] 1201 | if (second_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1202 | && second_group_number != third_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1201 ~ if second_group_number != first_group_number [INFO] [stdout] 1202 ~ && second_group_number != third_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1208:16 [INFO] [stdout] | [INFO] [stdout] 1208 | if (third_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1209 | && third_group_number != second_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1208 ~ if third_group_number != first_group_number [INFO] [stdout] 1209 ~ && third_group_number != second_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1307:16 [INFO] [stdout] | [INFO] [stdout] 1307 | if (second_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1308 | && second_group_number != third_group_number [INFO] [stdout] 1309 | && second_group_number != fourth_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1307 ~ if second_group_number != first_group_number [INFO] [stdout] 1308 | && second_group_number != third_group_number [INFO] [stdout] 1309 ~ && second_group_number != fourth_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1316:16 [INFO] [stdout] | [INFO] [stdout] 1316 | if (third_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1317 | && third_group_number != second_group_number [INFO] [stdout] 1318 | && third_group_number != fourth_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1316 ~ if third_group_number != first_group_number [INFO] [stdout] 1317 | && third_group_number != second_group_number [INFO] [stdout] 1318 ~ && third_group_number != fourth_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1325:16 [INFO] [stdout] | [INFO] [stdout] 1325 | if (fourth_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1326 | && fourth_group_number != third_group_number [INFO] [stdout] 1327 | && fourth_group_number != second_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1325 ~ if fourth_group_number != first_group_number [INFO] [stdout] 1326 | && fourth_group_number != third_group_number [INFO] [stdout] 1327 ~ && fourth_group_number != second_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1463:16 [INFO] [stdout] | [INFO] [stdout] 1463 | if (second_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1469 | && second_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1463 ~ if second_group_number != first_group_number [INFO] [stdout] 1464 | && second_group_number != third_group_number [INFO] [stdout] ... [INFO] [stdout] 1468 | && second_group_number != seven_group_number [INFO] [stdout] 1469 ~ && second_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1475:16 [INFO] [stdout] | [INFO] [stdout] 1475 | if (third_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1481 | && third_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1475 ~ if third_group_number != first_group_number [INFO] [stdout] 1476 | && third_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1480 | && third_group_number != seven_group_number [INFO] [stdout] 1481 ~ && third_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1487:16 [INFO] [stdout] | [INFO] [stdout] 1487 | if (fourth_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1493 | && fourth_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1487 ~ if fourth_group_number != first_group_number [INFO] [stdout] 1488 | && fourth_group_number != third_group_number [INFO] [stdout] ... [INFO] [stdout] 1492 | && fourth_group_number != seven_group_number [INFO] [stdout] 1493 ~ && fourth_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1499:16 [INFO] [stdout] | [INFO] [stdout] 1499 | if (five_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1505 | && five_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1499 ~ if five_group_number != first_group_number [INFO] [stdout] 1500 | && five_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1504 | && five_group_number != seven_group_number [INFO] [stdout] 1505 ~ && five_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1511:16 [INFO] [stdout] | [INFO] [stdout] 1511 | if (six_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1517 | && six_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1511 ~ if six_group_number != first_group_number [INFO] [stdout] 1512 | && six_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1516 | && six_group_number != seven_group_number [INFO] [stdout] 1517 ~ && six_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1523:16 [INFO] [stdout] | [INFO] [stdout] 1523 | if (seven_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1529 | && seven_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1523 ~ if seven_group_number != first_group_number [INFO] [stdout] 1524 | && seven_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1528 | && seven_group_number != five_group_number [INFO] [stdout] 1529 ~ && seven_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1535:16 [INFO] [stdout] | [INFO] [stdout] 1535 | if (eight_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1541 | && eight_group_number != five_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1535 ~ if eight_group_number != first_group_number [INFO] [stdout] 1536 | && eight_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1540 | && eight_group_number != seven_group_number [INFO] [stdout] 1541 ~ && eight_group_number != five_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> src/main.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashSet, error::Error, io, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/group.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn copy(&mut self,group: Group) -> Group { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_size3` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let group_size3 = 5; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_size3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_size2` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let group_size2 = 6; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_group` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let current_group: Group = Group { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let t = all_pers.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_group` [INFO] [stdout] --> src/main.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let current_group: Group = Group { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_vec` [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let new_vec: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let new_number = number - 60; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let new_number = number - 120; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let new_number = number - 180; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | let new_number = number - 240; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let new_number = number - 300; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sec_counter` is assigned to, but never used [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut sec_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sec_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_person2` [INFO] [stdout] --> src/main.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | let mut init_person2 = init_person1.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_person2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | for i in 0..group_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:424:21 [INFO] [stdout] | [INFO] [stdout] 424 | for count in pos_in_tmp { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | let t = p_help.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third_pers` [INFO] [stdout] --> src/main.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let third_pers = names.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_third_pers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmp_ind` is assigned to, but never used [INFO] [stdout] --> src/main.rs:633:33 [INFO] [stdout] | [INFO] [stdout] 633 | let mut tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_tmp_ind` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:635:29 [INFO] [stdout] | [INFO] [stdout] 635 | ... tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:637:29 [INFO] [stdout] | [INFO] [stdout] 637 | ... tmp_ind = index - 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:648:33 [INFO] [stdout] | [INFO] [stdout] 648 | let mut len = tmp.len() - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third_pers` [INFO] [stdout] --> src/main.rs:658:29 [INFO] [stdout] | [INFO] [stdout] 658 | let third_pers = names.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_third_pers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmp_ind` is assigned to, but never used [INFO] [stdout] --> src/main.rs:837:33 [INFO] [stdout] | [INFO] [stdout] 837 | let mut tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_tmp_ind` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:839:29 [INFO] [stdout] | [INFO] [stdout] 839 | ... tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:841:29 [INFO] [stdout] | [INFO] [stdout] 841 | ... tmp_ind = index - 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:852:33 [INFO] [stdout] | [INFO] [stdout] 852 | let mut len = tmp.len() - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `possible_persons` [INFO] [stdout] --> src/main.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | possible_persons: [Vec; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_possible_persons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let mut init_person = tmp.get(index - 1).unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut init_person1 = init_person.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let mut init_person2 = init_person1.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | let mut cur_pers = persons_in_group [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:648:29 [INFO] [stdout] | [INFO] [stdout] 648 | let mut len = tmp.len() - 1; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:852:29 [INFO] [stdout] | [INFO] [stdout] 852 | let mut len = tmp.len() - 1; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `position` is never read [INFO] [stdout] --> src/main.rs:941:33 [INFO] [stdout] | [INFO] [stdout] 941 | let mut position = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format1` [INFO] [stdout] --> src/main.rs:988:13 [INFO] [stdout] | [INFO] [stdout] 988 | let mut format1 = workbook.add_format().set_font_color(FormatColor::Red); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format2` [INFO] [stdout] --> src/main.rs:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | let mut format2 = workbook [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format3` [INFO] [stdout] --> src/main.rs:995:13 [INFO] [stdout] | [INFO] [stdout] 995 | let mut format3 = workbook [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | let mut format1 = workbook.add_format().set_font_color(FormatColor::Red); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | let mut format2 = workbook [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let mut format3 = workbook [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERSONS_MIN` is never used [INFO] [stdout] --> src/main.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | const PERSONS_MIN: i32 = 120; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERSONS_MAX` is never used [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | const PERSONS_MAX: i32 = 300; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERSONS_Test_2` is never used [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | const PERSONS_Test_2: i32 = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_better_result2` is never used [INFO] [stdout] --> src/main.rs:1111:4 [INFO] [stdout] | [INFO] [stdout] 1111 | fn try_better_result2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_better_result3` is never used [INFO] [stdout] --> src/main.rs:1182:4 [INFO] [stdout] | [INFO] [stdout] 1182 | fn try_better_result3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_better_result8` is never used [INFO] [stdout] --> src/main.rs:1425:4 [INFO] [stdout] | [INFO] [stdout] 1425 | fn try_better_result8( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy` is never used [INFO] [stdout] --> src/group.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Group { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn copy(&mut self,group: Group) -> Group { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` is never used [INFO] [stdout] --> src/persons.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Persons { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn Copy(&mut self) -> Persons { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pers` should have an upper case name [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | const pers: i32 = 80; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PERS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERSONS_Test_2` should have an upper case name [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | const PERSONS_Test_2: i32 = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PERSONS_TEST_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_10Min` should have a snake case name [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let name_10Min = "10Minute_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `name_10_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_20Min` should have a snake case name [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let name_20Min = "20Minute_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `name_20_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_5Min` should have a snake case name [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let name_5Min = "5Minute_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `name_5_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_1Std` should have a snake case name [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let name_1Std = "1Stunde_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `name_1_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxMeetings` should have a snake case name [INFO] [stdout] --> src/main.rs:885:13 [INFO] [stdout] | [INFO] [stdout] 885 | let mut maxMeetings = 2; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `max_meetings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tooMuchMeetings` should have a snake case name [INFO] [stdout] --> src/main.rs:886:9 [INFO] [stdout] | [INFO] [stdout] 886 | let tooMuchMeetings = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `too_much_meetings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `groupClone` should have a snake case name [INFO] [stdout] --> src/main.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let groupClone = group.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `group_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1009:17 [INFO] [stdout] | [INFO] [stdout] 1009 | sheet1.write_number(line_number, field_number, person.name.into(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1009 | let _ = sheet1.write_number(line_number, field_number, person.name.into(), None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1038:9 [INFO] [stdout] | [INFO] [stdout] 1038 | sheet1.write_string(line_number, field_number, &qua, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1038 | let _ = sheet1.write_string(line_number, field_number, &qua, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | sheet1.write_string(line_number, field_number, &q.to_string(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1040 | let _ = sheet1.write_string(line_number, field_number, &q.to_string(), None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculateQuality` should have a snake case name [INFO] [stdout] --> src/main.rs:1057:4 [INFO] [stdout] | [INFO] [stdout] 1057 | fn calculateQuality( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_quality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valueDobble` should have a snake case name [INFO] [stdout] --> src/main.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1058 | valueDobble: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `value_dobble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valueTrible` should have a snake case name [INFO] [stdout] --> src/main.rs:1059:5 [INFO] [stdout] | [INFO] [stdout] 1059 | valueTrible: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `value_trible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valueQuatruple` should have a snake case name [INFO] [stdout] --> src/main.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 1060 | valueQuatruple: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `value_quatruple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `calculatedArray` should have a snake case name [INFO] [stdout] --> src/main.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | let mut calculatedArray = [0.0; 7]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculated_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` should have a snake case name [INFO] [stdout] --> src/persons.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn Copy(&mut self) -> Persons { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.62s [INFO] running `Command { std: "docker" "inspect" "aef3895ff161a5ef42a7c82debb34079e8584fac51ea95a6e6aa11b4703f207b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef3895ff161a5ef42a7c82debb34079e8584fac51ea95a6e6aa11b4703f207b", kill_on_drop: false }` [INFO] [stdout] aef3895ff161a5ef42a7c82debb34079e8584fac51ea95a6e6aa11b4703f207b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bb39df12fa4dbd4af57f75f00a670dfb8658fdd4ac1b77a10ae60a6fa847e90 [INFO] running `Command { std: "docker" "start" "-a" "2bb39df12fa4dbd4af57f75f00a670dfb8658fdd4ac1b77a10ae60a6fa847e90", kill_on_drop: false }` [INFO] [stderr] Compiling hello_world v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::marker::Copy` [INFO] [stdout] --> src/persons.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::Copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `remove_file` [INFO] [stdout] --> src/main.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::{self, remove_file}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/main.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashSet, error::Error, io, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime as XLSDateTime`, `Format`, and `Worksheet` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | DateTime as XLSDateTime, Format, FormatAlignment, FormatColor, FormatUnderline, Workbook, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 15 | Worksheet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | if (filename == "d\n".to_string()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if (filename == "d\n".to_string()) { [INFO] [stdout] 42 + if filename == "d\n".to_string() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:347:12 [INFO] [stdout] | [INFO] [stdout] 347 | if (tmp.len() == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if (tmp.len() == 0) { [INFO] [stdout] 347 + if tmp.len() == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:372:16 [INFO] [stdout] | [INFO] [stdout] 372 | if (counter < 6) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 372 - if (counter < 6) { [INFO] [stdout] 372 + if counter < 6 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:461:32 [INFO] [stdout] | [INFO] [stdout] 461 | ... if (name == person.name) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 461 - if (name == person.name) { [INFO] [stdout] 461 + if name == person.name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:634:28 [INFO] [stdout] | [INFO] [stdout] 634 | if (index == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 634 - if (index == 0) { [INFO] [stdout] 634 + if index == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:838:28 [INFO] [stdout] | [INFO] [stdout] 838 | if (index == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 838 - if (index == 0) { [INFO] [stdout] 838 + if index == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1082:24 [INFO] [stdout] | [INFO] [stdout] 1082 | if (met == 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1082 - if (met == 2) { [INFO] [stdout] 1082 + if met == 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1085:24 [INFO] [stdout] | [INFO] [stdout] 1085 | if (met == 3) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1085 - if (met == 3) { [INFO] [stdout] 1085 + if met == 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1088:24 [INFO] [stdout] | [INFO] [stdout] 1088 | if (met == 4) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1088 - if (met == 4) { [INFO] [stdout] 1088 + if met == 4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1127:16 [INFO] [stdout] | [INFO] [stdout] 1127 | if (second_group_number != first_group_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1127 - if (second_group_number != first_group_number) { [INFO] [stdout] 1127 + if second_group_number != first_group_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1166:12 [INFO] [stdout] | [INFO] [stdout] 1166 | if (second_group_number == group_count - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1166 - if (second_group_number == group_count - 1) { [INFO] [stdout] 1166 + if second_group_number == group_count - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1201:16 [INFO] [stdout] | [INFO] [stdout] 1201 | if (second_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1202 | && second_group_number != third_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1201 ~ if second_group_number != first_group_number [INFO] [stdout] 1202 ~ && second_group_number != third_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1208:16 [INFO] [stdout] | [INFO] [stdout] 1208 | if (third_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1209 | && third_group_number != second_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1208 ~ if third_group_number != first_group_number [INFO] [stdout] 1209 ~ && third_group_number != second_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1307:16 [INFO] [stdout] | [INFO] [stdout] 1307 | if (second_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1308 | && second_group_number != third_group_number [INFO] [stdout] 1309 | && second_group_number != fourth_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1307 ~ if second_group_number != first_group_number [INFO] [stdout] 1308 | && second_group_number != third_group_number [INFO] [stdout] 1309 ~ && second_group_number != fourth_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1316:16 [INFO] [stdout] | [INFO] [stdout] 1316 | if (third_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1317 | && third_group_number != second_group_number [INFO] [stdout] 1318 | && third_group_number != fourth_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1316 ~ if third_group_number != first_group_number [INFO] [stdout] 1317 | && third_group_number != second_group_number [INFO] [stdout] 1318 ~ && third_group_number != fourth_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1325:16 [INFO] [stdout] | [INFO] [stdout] 1325 | if (fourth_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] 1326 | && fourth_group_number != third_group_number [INFO] [stdout] 1327 | && fourth_group_number != second_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1325 ~ if fourth_group_number != first_group_number [INFO] [stdout] 1326 | && fourth_group_number != third_group_number [INFO] [stdout] 1327 ~ && fourth_group_number != second_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1463:16 [INFO] [stdout] | [INFO] [stdout] 1463 | if (second_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1469 | && second_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1463 ~ if second_group_number != first_group_number [INFO] [stdout] 1464 | && second_group_number != third_group_number [INFO] [stdout] ... [INFO] [stdout] 1468 | && second_group_number != seven_group_number [INFO] [stdout] 1469 ~ && second_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1475:16 [INFO] [stdout] | [INFO] [stdout] 1475 | if (third_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1481 | && third_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1475 ~ if third_group_number != first_group_number [INFO] [stdout] 1476 | && third_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1480 | && third_group_number != seven_group_number [INFO] [stdout] 1481 ~ && third_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1487:16 [INFO] [stdout] | [INFO] [stdout] 1487 | if (fourth_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1493 | && fourth_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1487 ~ if fourth_group_number != first_group_number [INFO] [stdout] 1488 | && fourth_group_number != third_group_number [INFO] [stdout] ... [INFO] [stdout] 1492 | && fourth_group_number != seven_group_number [INFO] [stdout] 1493 ~ && fourth_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1499:16 [INFO] [stdout] | [INFO] [stdout] 1499 | if (five_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1505 | && five_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1499 ~ if five_group_number != first_group_number [INFO] [stdout] 1500 | && five_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1504 | && five_group_number != seven_group_number [INFO] [stdout] 1505 ~ && five_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1511:16 [INFO] [stdout] | [INFO] [stdout] 1511 | if (six_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1517 | && six_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1511 ~ if six_group_number != first_group_number [INFO] [stdout] 1512 | && six_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1516 | && six_group_number != seven_group_number [INFO] [stdout] 1517 ~ && six_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1523:16 [INFO] [stdout] | [INFO] [stdout] 1523 | if (seven_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1529 | && seven_group_number != eight_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1523 ~ if seven_group_number != first_group_number [INFO] [stdout] 1524 | && seven_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1528 | && seven_group_number != five_group_number [INFO] [stdout] 1529 ~ && seven_group_number != eight_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1535:16 [INFO] [stdout] | [INFO] [stdout] 1535 | if (eight_group_number != first_group_number [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1541 | && eight_group_number != five_group_number) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1535 ~ if eight_group_number != first_group_number [INFO] [stdout] 1536 | && eight_group_number != second_group_number [INFO] [stdout] ... [INFO] [stdout] 1540 | && eight_group_number != seven_group_number [INFO] [stdout] 1541 ~ && eight_group_number != five_group_number [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> src/main.rs:11:51 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{collections::HashSet, error::Error, io, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/group.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn copy(&mut self,group: Group) -> Group { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_size3` [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let group_size3 = 5; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_size3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_size2` [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let group_size2 = 6; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_size2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_group` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let current_group: Group = Group { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let t = all_pers.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_group` [INFO] [stdout] --> src/main.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | let current_group: Group = Group { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_vec` [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let new_vec: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let new_number = number - 60; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | let new_number = number - 120; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:270:17 [INFO] [stdout] | [INFO] [stdout] 270 | let new_number = number - 180; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | let new_number = number - 240; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_number` [INFO] [stdout] --> src/main.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | let new_number = number - 300; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sec_counter` is assigned to, but never used [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut sec_counter = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sec_counter` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init_person2` [INFO] [stdout] --> src/main.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | let mut init_person2 = init_person1.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_person2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:363:13 [INFO] [stdout] | [INFO] [stdout] 363 | for i in 0..group_size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/main.rs:424:21 [INFO] [stdout] | [INFO] [stdout] 424 | for count in pos_in_tmp { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | let t = p_help.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third_pers` [INFO] [stdout] --> src/main.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let third_pers = names.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_third_pers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmp_ind` is assigned to, but never used [INFO] [stdout] --> src/main.rs:633:33 [INFO] [stdout] | [INFO] [stdout] 633 | let mut tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_tmp_ind` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:635:29 [INFO] [stdout] | [INFO] [stdout] 635 | ... tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:637:29 [INFO] [stdout] | [INFO] [stdout] 637 | ... tmp_ind = index - 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:648:33 [INFO] [stdout] | [INFO] [stdout] 648 | let mut len = tmp.len() - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `third_pers` [INFO] [stdout] --> src/main.rs:658:29 [INFO] [stdout] | [INFO] [stdout] 658 | let third_pers = names.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_third_pers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tmp_ind` is assigned to, but never used [INFO] [stdout] --> src/main.rs:837:33 [INFO] [stdout] | [INFO] [stdout] 837 | let mut tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_tmp_ind` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:839:29 [INFO] [stdout] | [INFO] [stdout] 839 | ... tmp_ind = index; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_ind` is never read [INFO] [stdout] --> src/main.rs:841:29 [INFO] [stdout] | [INFO] [stdout] 841 | ... tmp_ind = index - 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/main.rs:852:33 [INFO] [stdout] | [INFO] [stdout] 852 | let mut len = tmp.len() - 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `possible_persons` [INFO] [stdout] --> src/main.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | possible_persons: [Vec; 6], [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_possible_persons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | let mut init_person = tmp.get(index - 1).unwrap().clone(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let mut init_person1 = init_person.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | let mut init_person2 = init_person1.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:449:21 [INFO] [stdout] | [INFO] [stdout] 449 | let mut cur_pers = persons_in_group [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:648:29 [INFO] [stdout] | [INFO] [stdout] 648 | let mut len = tmp.len() - 1; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:852:29 [INFO] [stdout] | [INFO] [stdout] 852 | let mut len = tmp.len() - 1; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `position` is never read [INFO] [stdout] --> src/main.rs:941:33 [INFO] [stdout] | [INFO] [stdout] 941 | let mut position = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format1` [INFO] [stdout] --> src/main.rs:988:13 [INFO] [stdout] | [INFO] [stdout] 988 | let mut format1 = workbook.add_format().set_font_color(FormatColor::Red); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format2` [INFO] [stdout] --> src/main.rs:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | let mut format2 = workbook [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format3` [INFO] [stdout] --> src/main.rs:995:13 [INFO] [stdout] | [INFO] [stdout] 995 | let mut format3 = workbook [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | let mut format1 = workbook.add_format().set_font_color(FormatColor::Red); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | let mut format2 = workbook [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let mut format3 = workbook [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_better_result2` is never used [INFO] [stdout] --> src/main.rs:1111:4 [INFO] [stdout] | [INFO] [stdout] 1111 | fn try_better_result2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_better_result3` is never used [INFO] [stdout] --> src/main.rs:1182:4 [INFO] [stdout] | [INFO] [stdout] 1182 | fn try_better_result3( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_better_result8` is never used [INFO] [stdout] --> src/main.rs:1425:4 [INFO] [stdout] | [INFO] [stdout] 1425 | fn try_better_result8( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `copy` is never used [INFO] [stdout] --> src/group.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Group { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | fn copy(&mut self,group: Group) -> Group { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` is never used [INFO] [stdout] --> src/persons.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Persons { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | fn Copy(&mut self) -> Persons { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `pers` should have an upper case name [INFO] [stdout] --> src/main.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | const pers: i32 = 80; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `PERS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERSONS_Test_2` should have an upper case name [INFO] [stdout] --> src/main.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | const PERSONS_Test_2: i32 = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PERSONS_TEST_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_10Min` should have a snake case name [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | let name_10Min = "10Minute_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `name_10_min` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_20Min` should have a snake case name [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let name_20Min = "20Minute_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `name_20_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_5Min` should have a snake case name [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let name_5Min = "5Minute_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `name_5_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name_1Std` should have a snake case name [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | let name_1Std = "1Stunde_".to_string() + &filename.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `name_1_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxMeetings` should have a snake case name [INFO] [stdout] --> src/main.rs:885:13 [INFO] [stdout] | [INFO] [stdout] 885 | let mut maxMeetings = 2; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `max_meetings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tooMuchMeetings` should have a snake case name [INFO] [stdout] --> src/main.rs:886:9 [INFO] [stdout] | [INFO] [stdout] 886 | let tooMuchMeetings = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `too_much_meetings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `groupClone` should have a snake case name [INFO] [stdout] --> src/main.rs:942:29 [INFO] [stdout] | [INFO] [stdout] 942 | let groupClone = group.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `group_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1009:17 [INFO] [stdout] | [INFO] [stdout] 1009 | sheet1.write_number(line_number, field_number, person.name.into(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1009 | let _ = sheet1.write_number(line_number, field_number, person.name.into(), None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1038:9 [INFO] [stdout] | [INFO] [stdout] 1038 | sheet1.write_string(line_number, field_number, &qua, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1038 | let _ = sheet1.write_string(line_number, field_number, &qua, None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | sheet1.write_string(line_number, field_number, &q.to_string(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 1040 | let _ = sheet1.write_string(line_number, field_number, &q.to_string(), None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculateQuality` should have a snake case name [INFO] [stdout] --> src/main.rs:1057:4 [INFO] [stdout] | [INFO] [stdout] 1057 | fn calculateQuality( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_quality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valueDobble` should have a snake case name [INFO] [stdout] --> src/main.rs:1058:5 [INFO] [stdout] | [INFO] [stdout] 1058 | valueDobble: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `value_dobble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valueTrible` should have a snake case name [INFO] [stdout] --> src/main.rs:1059:5 [INFO] [stdout] | [INFO] [stdout] 1059 | valueTrible: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `value_trible` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `valueQuatruple` should have a snake case name [INFO] [stdout] --> src/main.rs:1060:5 [INFO] [stdout] | [INFO] [stdout] 1060 | valueQuatruple: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `value_quatruple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `calculatedArray` should have a snake case name [INFO] [stdout] --> src/main.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | let mut calculatedArray = [0.0; 7]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculated_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` should have a snake case name [INFO] [stdout] --> src/persons.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn Copy(&mut self) -> Persons { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "2bb39df12fa4dbd4af57f75f00a670dfb8658fdd4ac1b77a10ae60a6fa847e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb39df12fa4dbd4af57f75f00a670dfb8658fdd4ac1b77a10ae60a6fa847e90", kill_on_drop: false }` [INFO] [stdout] 2bb39df12fa4dbd4af57f75f00a670dfb8658fdd4ac1b77a10ae60a6fa847e90