[INFO] fetching crate rpgdk 1.2.4... [INFO] checking rpgdk-1.2.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate rpgdk 1.2.4 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rpgdk 1.2.4 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcee61dc968639132f0363b90cd3a1b1dc35eaa34b05ca9abb5f31c923e6271d [INFO] running `Command { std: "docker" "start" "-a" "dcee61dc968639132f0363b90cd3a1b1dc35eaa34b05ca9abb5f31c923e6271d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcee61dc968639132f0363b90cd3a1b1dc35eaa34b05ca9abb5f31c923e6271d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcee61dc968639132f0363b90cd3a1b1dc35eaa34b05ca9abb5f31c923e6271d", kill_on_drop: false }` [INFO] [stdout] dcee61dc968639132f0363b90cd3a1b1dc35eaa34b05ca9abb5f31c923e6271d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b648c851c5ac510989ff1a3abedff44a47be451ebdbfe099538b0cb9ede3255 [INFO] running `Command { std: "docker" "start" "-a" "4b648c851c5ac510989ff1a3abedff44a47be451ebdbfe099538b0cb9ede3255", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking 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] [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 1.41s [INFO] running `Command { std: "docker" "inspect" "4b648c851c5ac510989ff1a3abedff44a47be451ebdbfe099538b0cb9ede3255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b648c851c5ac510989ff1a3abedff44a47be451ebdbfe099538b0cb9ede3255", kill_on_drop: false }` [INFO] [stdout] 4b648c851c5ac510989ff1a3abedff44a47be451ebdbfe099538b0cb9ede3255