[INFO] fetching crate rpgdk 1.2.4... [INFO] documenting rpgdk-1.2.4 against master#051cab2b842113b18da28259f4b85d0a7556f7f1 for pr-104889 [INFO] extracting crate rpgdk 1.2.4 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rpgdk 1.2.4 on toolchain 051cab2b842113b18da28259f4b85d0a7556f7f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+051cab2b842113b18da28259f4b85d0a7556f7f1" "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-7/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: "/workspace/cargo-home/bin/cargo" "+051cab2b842113b18da28259f4b85d0a7556f7f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded rand_core v0.5.1 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded rand_hc v0.2.0 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+051cab2b842113b18da28259f4b85d0a7556f7f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab44f984c9223c98cd7a47e9292805f8272589c216b6e16c40209933ebc48eb5 [INFO] running `Command { std: "docker" "start" "-a" "ab44f984c9223c98cd7a47e9292805f8272589c216b6e16c40209933ebc48eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab44f984c9223c98cd7a47e9292805f8272589c216b6e16c40209933ebc48eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab44f984c9223c98cd7a47e9292805f8272589c216b6e16c40209933ebc48eb5", kill_on_drop: false }` [INFO] [stdout] ab44f984c9223c98cd7a47e9292805f8272589c216b6e16c40209933ebc48eb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+051cab2b842113b18da28259f4b85d0a7556f7f1" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3ddf0fcf2fde94b66e4e20143a78d83ffd9d1b84b88652dc6b8a0dc2829294b [INFO] running `Command { std: "docker" "start" "-a" "f3ddf0fcf2fde94b66e4e20143a78d83ffd9d1b84b88652dc6b8a0dc2829294b", 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] Documenting 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] 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] 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] 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] 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] 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] 43 + Dice::D20(count, bias) => rand::thread_rng().gen_range(count + bias, count * (20 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "f3ddf0fcf2fde94b66e4e20143a78d83ffd9d1b84b88652dc6b8a0dc2829294b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ddf0fcf2fde94b66e4e20143a78d83ffd9d1b84b88652dc6b8a0dc2829294b", kill_on_drop: false }` [INFO] [stdout] f3ddf0fcf2fde94b66e4e20143a78d83ffd9d1b84b88652dc6b8a0dc2829294b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+051cab2b842113b18da28259f4b85d0a7556f7f1" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e630494af58cd7d3e0e23bef1547e490f82555beda3c2ccfce976064973da264 [INFO] running `Command { std: "docker" "start" "-a" "e630494af58cd7d3e0e23bef1547e490f82555beda3c2ccfce976064973da264", kill_on_drop: false }` [INFO] [stderr] Documenting 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] 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] 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] 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] 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] 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] 43 + Dice::D20(count, bias) => rand::thread_rng().gen_range(count + bias, count * (20 + bias)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "e630494af58cd7d3e0e23bef1547e490f82555beda3c2ccfce976064973da264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e630494af58cd7d3e0e23bef1547e490f82555beda3c2ccfce976064973da264", kill_on_drop: false }` [INFO] [stdout] e630494af58cd7d3e0e23bef1547e490f82555beda3c2ccfce976064973da264