[INFO] cloning repository https://github.com/vojtech-petrak/Trigonometry_calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vojtech-petrak/Trigonometry_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvojtech-petrak%2FTrigonometry_calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvojtech-petrak%2FTrigonometry_calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70b7fdec988d52b91021c18b21d3548c3bf82b13 [INFO] linting vojtech-petrak/Trigonometry_calculator against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvojtech-petrak%2FTrigonometry_calculator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vojtech-petrak/Trigonometry_calculator [INFO] finished tweaking git repo https://github.com/vojtech-petrak/Trigonometry_calculator [INFO] tweaked toml for git repo https://github.com/vojtech-petrak/Trigonometry_calculator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vojtech-petrak/Trigonometry_calculator on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vojtech-petrak/Trigonometry_calculator 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00ed51a433f9dc2e50c72bd96345304c28de27c65ea2eb07f482283ad74f980e [INFO] running `Command { std: "docker" "start" "-a" "00ed51a433f9dc2e50c72bd96345304c28de27c65ea2eb07f482283ad74f980e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00ed51a433f9dc2e50c72bd96345304c28de27c65ea2eb07f482283ad74f980e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ed51a433f9dc2e50c72bd96345304c28de27c65ea2eb07f482283ad74f980e", kill_on_drop: false }` [INFO] [stdout] 00ed51a433f9dc2e50c72bd96345304c28de27c65ea2eb07f482283ad74f980e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05c6ca841353fdfbad780d4de11fb67db847a69fdf222f4c8cc31e3389d55bce [INFO] running `Command { std: "docker" "start" "-a" "05c6ca841353fdfbad780d4de11fb67db847a69fdf222f4c8cc31e3389d55bce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking trigonometry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if (known[Properties::Hypotenuse as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] | ________^ [INFO] [stdout] 64 | | || (known[Properties::Area as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 63 - if (known[Properties::Hypotenuse as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 64 - || (known[Properties::Area as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 63 + if !(!known[Properties::Pendant0 as usize] || !known[Properties::Hypotenuse as usize] && !known[Properties::Area as usize]) [INFO] [stdout] | [INFO] [stdout] 63 - if (known[Properties::Hypotenuse as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 64 - || (known[Properties::Area as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 63 + if (known[Properties::Area as usize] || known[Properties::Hypotenuse as usize]) && known[Properties::Pendant0 as usize] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if (known[Properties::Hypotenuse as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] | ________^ [INFO] [stdout] 64 | | || (known[Properties::Area as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 63 - if (known[Properties::Hypotenuse as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 64 - || (known[Properties::Area as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 63 + if !(!known[Properties::Pendant0 as usize] || !known[Properties::Hypotenuse as usize] && !known[Properties::Area as usize]) [INFO] [stdout] | [INFO] [stdout] 63 - if (known[Properties::Hypotenuse as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 64 - || (known[Properties::Area as usize] && known[Properties::Pendant0 as usize]) [INFO] [stdout] 63 + if (known[Properties::Area as usize] || known[Properties::Hypotenuse as usize]) && known[Properties::Pendant0 as usize] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/main.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | if value == "" { [INFO] [stdout] | ^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `value.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] = note: `#[warn(clippy::comparison_to_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison to empty slice [INFO] [stdout] --> src/main.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | if value == "" { [INFO] [stdout] | ^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `value.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty [INFO] [stdout] = note: `#[warn(clippy::comparison_to_empty)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "05c6ca841353fdfbad780d4de11fb67db847a69fdf222f4c8cc31e3389d55bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c6ca841353fdfbad780d4de11fb67db847a69fdf222f4c8cc31e3389d55bce", kill_on_drop: false }` [INFO] [stdout] 05c6ca841353fdfbad780d4de11fb67db847a69fdf222f4c8cc31e3389d55bce