[INFO] cloning repository https://github.com/EvgeniiAndronov/interpretator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EvgeniiAndronov/interpretator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvgeniiAndronov%2Finterpretator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvgeniiAndronov%2Finterpretator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8aa1e968e2db48f81dacba5adc0d6ce5c104d0dd [INFO] linting EvgeniiAndronov/interpretator against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvgeniiAndronov%2Finterpretator" "/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/EvgeniiAndronov/interpretator [INFO] finished tweaking git repo https://github.com/EvgeniiAndronov/interpretator [INFO] tweaked toml for git repo https://github.com/EvgeniiAndronov/interpretator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EvgeniiAndronov/interpretator 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/EvgeniiAndronov/interpretator 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] 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] 10d044ea03024bcf5f0785fe77d8877fe2f886d351485f68ab0f37345d239b61 [INFO] running `Command { std: "docker" "start" "-a" "10d044ea03024bcf5f0785fe77d8877fe2f886d351485f68ab0f37345d239b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10d044ea03024bcf5f0785fe77d8877fe2f886d351485f68ab0f37345d239b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d044ea03024bcf5f0785fe77d8877fe2f886d351485f68ab0f37345d239b61", kill_on_drop: false }` [INFO] [stdout] 10d044ea03024bcf5f0785fe77d8877fe2f886d351485f68ab0f37345d239b61 [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] e48868ae371e8e801bae08462f0cb51850c96df417b151a4f34931b221ef5762 [INFO] running `Command { std: "docker" "start" "-a" "e48868ae371e8e801bae08462f0cb51850c96df417b151a4f34931b221ef5762", kill_on_drop: false }` [INFO] [stderr] Checking lege v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | ArrayLiteral(Vec), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - ArrayLiteral(Vec), [INFO] [stdout] 56 + ArrayLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | ArrayLiteral(Vec), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 - ArrayLiteral(Vec), [INFO] [stdout] 56 + ArrayLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:306:24 [INFO] [stdout] | [INFO] [stdout] 306 | if (c == '=' && next == '=') [INFO] [stdout] | ________________________^ [INFO] [stdout] 307 | | || (c == '!' && next == '=') [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] 306 - if (c == '=' && next == '=') [INFO] [stdout] 307 - || (c == '!' && next == '=') [INFO] [stdout] 306 + if !(next != '=' || c != '=' && c != '!') [INFO] [stdout] | [INFO] [stdout] 306 - if (c == '=' && next == '=') [INFO] [stdout] 307 - || (c == '!' && next == '=') [INFO] [stdout] 306 + if (c == '!' || c == '=') && next == '=' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | / if let Some(&next) = chars.peek() { [INFO] [stdout] 306 | | if (c == '=' && next == '=') [INFO] [stdout] 307 | | || (c == '!' && next == '=') [INFO] [stdout] 308 | | || (c == '&' && next == '&') [INFO] [stdout] ... | [INFO] [stdout] 313 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 305 ~ if let Some(&next) = chars.peek() [INFO] [stdout] 306 ~ && ((c == '=' && next == '=') [INFO] [stdout] 307 | || (c == '!' && next == '=') [INFO] [stdout] 308 | || (c == '&' && next == '&') [INFO] [stdout] 309 ~ || (c == '|' && next == '|')) [INFO] [stdout] 310 | { [INFO] [stdout] 311 | op.push(chars.next().unwrap()); [INFO] [stdout] 312 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/main.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 332 | if next.is_digit(10) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try: `next.is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/main.rs:306:24 [INFO] [stdout] | [INFO] [stdout] 306 | if (c == '=' && next == '=') [INFO] [stdout] | ________________________^ [INFO] [stdout] 307 | | || (c == '!' && next == '=') [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] 306 - if (c == '=' && next == '=') [INFO] [stdout] 307 - || (c == '!' && next == '=') [INFO] [stdout] 306 + if !(next != '=' || c != '=' && c != '!') [INFO] [stdout] | [INFO] [stdout] 306 - if (c == '=' && next == '=') [INFO] [stdout] 307 - || (c == '!' && next == '=') [INFO] [stdout] 306 + if (c == '!' || c == '=') && next == '=' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/main.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | / if let Some(&next) = chars.peek() { [INFO] [stdout] 306 | | if (c == '=' && next == '=') [INFO] [stdout] 307 | | || (c == '!' && next == '=') [INFO] [stdout] 308 | | || (c == '&' && next == '&') [INFO] [stdout] ... | [INFO] [stdout] 313 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 305 ~ if let Some(&next) = chars.peek() [INFO] [stdout] 306 ~ && ((c == '=' && next == '=') [INFO] [stdout] 307 | || (c == '!' && next == '=') [INFO] [stdout] 308 | || (c == '&' && next == '&') [INFO] [stdout] 309 ~ || (c == '|' && next == '|')) [INFO] [stdout] 310 | { [INFO] [stdout] 311 | op.push(chars.next().unwrap()); [INFO] [stdout] 312 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `char::is_digit` with literal radix of 10 [INFO] [stdout] --> src/main.rs:332:24 [INFO] [stdout] | [INFO] [stdout] 332 | if next.is_digit(10) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try: `next.is_ascii_digit()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix [INFO] [stdout] = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "e48868ae371e8e801bae08462f0cb51850c96df417b151a4f34931b221ef5762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e48868ae371e8e801bae08462f0cb51850c96df417b151a4f34931b221ef5762", kill_on_drop: false }` [INFO] [stdout] e48868ae371e8e801bae08462f0cb51850c96df417b151a4f34931b221ef5762