[INFO] fetching crate rpgdk 1.2.4... [INFO] building rpgdk-1.2.4 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate rpgdk 1.2.4 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate rpgdk 1.2.4 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 crates.io crate rpgdk 1.2.4 [INFO] finished tweaking crates.io crate rpgdk 1.2.4 [INFO] tweaked toml for crates.io crate rpgdk 1.2.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate rpgdk 1.2.4 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] 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] a2ab5e0eb0e045c38d773f84654d30fb0d588dcfbfaefa8c1bf9c2a852de000d [INFO] running `Command { std: "docker" "start" "-a" "a2ab5e0eb0e045c38d773f84654d30fb0d588dcfbfaefa8c1bf9c2a852de000d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2ab5e0eb0e045c38d773f84654d30fb0d588dcfbfaefa8c1bf9c2a852de000d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ab5e0eb0e045c38d773f84654d30fb0d588dcfbfaefa8c1bf9c2a852de000d", kill_on_drop: false }` [INFO] [stdout] a2ab5e0eb0e045c38d773f84654d30fb0d588dcfbfaefa8c1bf9c2a852de000d [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] d3337142c80db1068ee82502c23c50d706d77b653a52200b225a864dbf47b0b9 [INFO] running `Command { std: "docker" "start" "-a" "d3337142c80db1068ee82502c23c50d706d77b653a52200b225a864dbf47b0b9", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling rpgdk v1.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | Dice::D4(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 29 | | rand::thread_rng().gen_range(count + bias, count * (4 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 30 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - Dice::D4(count, bias) => ( [INFO] [stdout] 29 - rand::thread_rng().gen_range(count + bias, count * (4 + bias)) [INFO] [stdout] 28 + Dice::D4(count, bias) => rand::thread_rng().gen_range(count + bias, count * (4 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | Dice::D6(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 32 | | rand::thread_rng().gen_range(count + bias, count * (6 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 33 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - Dice::D6(count, bias) => ( [INFO] [stdout] 32 - rand::thread_rng().gen_range(count + bias, count * (6 + bias)) [INFO] [stdout] 31 + Dice::D6(count, bias) => rand::thread_rng().gen_range(count + bias, count * (6 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | Dice::D8(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | rand::thread_rng().gen_range(count + bias, count * (8 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 36 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - Dice::D8(count, bias) => ( [INFO] [stdout] 35 - rand::thread_rng().gen_range(count + bias, count * (8 + bias)) [INFO] [stdout] 34 + Dice::D8(count, bias) => rand::thread_rng().gen_range(count + bias, count * (8 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | Dice::D10(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 38 | | rand::thread_rng().gen_range(count + bias, count * (10 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 39 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - Dice::D10(count, bias) => ( [INFO] [stdout] 38 - rand::thread_rng().gen_range(count + bias, count * (10 + bias)) [INFO] [stdout] 37 + Dice::D10(count, bias) => rand::thread_rng().gen_range(count + bias, count * (10 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | Dice::D12(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 41 | | rand::thread_rng().gen_range(count + bias, count * (12 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 42 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - Dice::D12(count, bias) => ( [INFO] [stdout] 41 - rand::thread_rng().gen_range(count + bias, count * (12 + bias)) [INFO] [stdout] 40 + Dice::D12(count, bias) => rand::thread_rng().gen_range(count + bias, count * (12 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | Dice::D20(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 44 | | rand::thread_rng().gen_range(count + bias, count * (20 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 45 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - Dice::D20(count, bias) => ( [INFO] [stdout] 44 - rand::thread_rng().gen_range(count + bias, count * (20 + bias)) [INFO] [stdout] 43 + Dice::D20(count, bias) => rand::thread_rng().gen_range(count + bias, count * (20 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "d3337142c80db1068ee82502c23c50d706d77b653a52200b225a864dbf47b0b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3337142c80db1068ee82502c23c50d706d77b653a52200b225a864dbf47b0b9", kill_on_drop: false }` [INFO] [stdout] d3337142c80db1068ee82502c23c50d706d77b653a52200b225a864dbf47b0b9 [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] cd525e027d0b9f49d997853b736104254f3de8af95fe62b1f2b96c6b9249348c [INFO] running `Command { std: "docker" "start" "-a" "cd525e027d0b9f49d997853b736104254f3de8af95fe62b1f2b96c6b9249348c", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | Dice::D4(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 29 | | rand::thread_rng().gen_range(count + bias, count * (4 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 30 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - Dice::D4(count, bias) => ( [INFO] [stdout] 29 - rand::thread_rng().gen_range(count + bias, count * (4 + bias)) [INFO] [stdout] 28 + Dice::D4(count, bias) => rand::thread_rng().gen_range(count + bias, count * (4 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | Dice::D6(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 32 | | rand::thread_rng().gen_range(count + bias, count * (6 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 33 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - Dice::D6(count, bias) => ( [INFO] [stdout] 32 - rand::thread_rng().gen_range(count + bias, count * (6 + bias)) [INFO] [stdout] 31 + Dice::D6(count, bias) => rand::thread_rng().gen_range(count + bias, count * (6 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | Dice::D8(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | rand::thread_rng().gen_range(count + bias, count * (8 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 36 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - Dice::D8(count, bias) => ( [INFO] [stdout] 35 - rand::thread_rng().gen_range(count + bias, count * (8 + bias)) [INFO] [stdout] 34 + Dice::D8(count, bias) => rand::thread_rng().gen_range(count + bias, count * (8 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | Dice::D10(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 38 | | rand::thread_rng().gen_range(count + bias, count * (10 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 39 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - Dice::D10(count, bias) => ( [INFO] [stdout] 38 - rand::thread_rng().gen_range(count + bias, count * (10 + bias)) [INFO] [stdout] 37 + Dice::D10(count, bias) => rand::thread_rng().gen_range(count + bias, count * (10 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | Dice::D12(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 41 | | rand::thread_rng().gen_range(count + bias, count * (12 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 42 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - Dice::D12(count, bias) => ( [INFO] [stdout] 41 - rand::thread_rng().gen_range(count + bias, count * (12 + bias)) [INFO] [stdout] 40 + Dice::D12(count, bias) => rand::thread_rng().gen_range(count + bias, count * (12 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | Dice::D20(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 44 | | rand::thread_rng().gen_range(count + bias, count * (20 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 45 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - Dice::D20(count, bias) => ( [INFO] [stdout] 44 - rand::thread_rng().gen_range(count + bias, count * (20 + bias)) [INFO] [stdout] 43 + Dice::D20(count, bias) => rand::thread_rng().gen_range(count + bias, count * (20 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rpgdk v1.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | Dice::D4(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 29 | | rand::thread_rng().gen_range(count + bias, count * (4 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 30 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - Dice::D4(count, bias) => ( [INFO] [stdout] 29 - rand::thread_rng().gen_range(count + bias, count * (4 + bias)) [INFO] [stdout] 28 + Dice::D4(count, bias) => rand::thread_rng().gen_range(count + bias, count * (4 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | Dice::D6(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 32 | | rand::thread_rng().gen_range(count + bias, count * (6 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 33 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - Dice::D6(count, bias) => ( [INFO] [stdout] 32 - rand::thread_rng().gen_range(count + bias, count * (6 + bias)) [INFO] [stdout] 31 + Dice::D6(count, bias) => rand::thread_rng().gen_range(count + bias, count * (6 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | Dice::D8(count, bias) => ( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 35 | | rand::thread_rng().gen_range(count + bias, count * (8 + bias)) [INFO] [stdout] | | ____________^______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 36 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - Dice::D8(count, bias) => ( [INFO] [stdout] 35 - rand::thread_rng().gen_range(count + bias, count * (8 + bias)) [INFO] [stdout] 34 + Dice::D8(count, bias) => rand::thread_rng().gen_range(count + bias, count * (8 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | Dice::D10(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 38 | | rand::thread_rng().gen_range(count + bias, count * (10 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 39 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - Dice::D10(count, bias) => ( [INFO] [stdout] 38 - rand::thread_rng().gen_range(count + bias, count * (10 + bias)) [INFO] [stdout] 37 + Dice::D10(count, bias) => rand::thread_rng().gen_range(count + bias, count * (10 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | Dice::D12(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 41 | | rand::thread_rng().gen_range(count + bias, count * (12 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 42 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - Dice::D12(count, bias) => ( [INFO] [stdout] 41 - rand::thread_rng().gen_range(count + bias, count * (12 + bias)) [INFO] [stdout] 40 + Dice::D12(count, bias) => rand::thread_rng().gen_range(count + bias, count * (12 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/dice/mod.rs:43:35 [INFO] [stdout] | [INFO] [stdout] 43 | Dice::D20(count, bias) => ( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 44 | | rand::thread_rng().gen_range(count + bias, count * (20 + bias)) [INFO] [stdout] | | ____________^_______________________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 45 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - Dice::D20(count, bias) => ( [INFO] [stdout] 44 - rand::thread_rng().gen_range(count + bias, count * (20 + bias)) [INFO] [stdout] 43 + Dice::D20(count, bias) => rand::thread_rng().gen_range(count + bias, count * (20 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "cd525e027d0b9f49d997853b736104254f3de8af95fe62b1f2b96c6b9249348c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd525e027d0b9f49d997853b736104254f3de8af95fe62b1f2b96c6b9249348c", kill_on_drop: false }` [INFO] [stdout] cd525e027d0b9f49d997853b736104254f3de8af95fe62b1f2b96c6b9249348c