[INFO] cloning repository https://github.com/l3kn/rust_chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/l3kn/rust_chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2Frust_chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2Frust_chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae51af4460a1760b4bee1123df071b6711bc666c [INFO] documenting l3kn/rust_chess against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fl3kn%2Frust_chess" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/l3kn/rust_chess on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/l3kn/rust_chess [INFO] finished tweaking git repo https://github.com/l3kn/rust_chess [INFO] tweaked toml for git repo https://github.com/l3kn/rust_chess written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/l3kn/rust_chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebc23c121d5115b551b18cb70a75d3be027fefb93f39c1f7519fe021f0bdf57b [INFO] running `Command { std: "docker" "start" "-a" "ebc23c121d5115b551b18cb70a75d3be027fefb93f39c1f7519fe021f0bdf57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebc23c121d5115b551b18cb70a75d3be027fefb93f39c1f7519fe021f0bdf57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc23c121d5115b551b18cb70a75d3be027fefb93f39c1f7519fe021f0bdf57b", kill_on_drop: false }` [INFO] [stdout] ebc23c121d5115b551b18cb70a75d3be027fefb93f39c1f7519fe021f0bdf57b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 890d1711fbd5d8e31e7f79eebf7cf34ff5b419d0911d6fd1a4f8273df9cf5813 [INFO] running `Command { std: "docker" "start" "-a" "890d1711fbd5d8e31e7f79eebf7cf34ff5b419d0911d6fd1a4f8273df9cf5813", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | res |= (1 << (row * 8 + c)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - res |= (1 << (row * 8 + c)); [INFO] [stdout] 18 + res |= 1 << (row * 8 + c); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | res |= (1 << (r * 8 + col)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - res |= (1 << (r * 8 + col)); [INFO] [stdout] 25 + res |= 1 << (r * 8 + col); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/occupancy_masks.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if (x != col && y != row) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 42 - if (x != col && y != row) { [INFO] [stdout] 42 + if x != col && y != row { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | res |= (1 << (y * 8 + x)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 - res |= (1 << (y * 8 + x)); [INFO] [stdout] 43 + res |= 1 << (y * 8 + x); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/occupancy_masks.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (x != col_ && y != row) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (x != col_ && y != row) { [INFO] [stdout] 59 + if x != col_ && y != row { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/occupancy_masks.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | res |= (1 << (y * 8 + (7 - x))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - res |= (1 << (y * 8 + (7 - x))); [INFO] [stdout] 60 + res |= 1 << (y * 8 + (7 - x)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | '0'...'8' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "890d1711fbd5d8e31e7f79eebf7cf34ff5b419d0911d6fd1a4f8273df9cf5813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "890d1711fbd5d8e31e7f79eebf7cf34ff5b419d0911d6fd1a4f8273df9cf5813", kill_on_drop: false }` [INFO] [stdout] 890d1711fbd5d8e31e7f79eebf7cf34ff5b419d0911d6fd1a4f8273df9cf5813