[INFO] fetching crate gameai 0.0.2... [INFO] documenting gameai-0.0.2 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] extracting crate gameai 0.0.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate gameai 0.0.2 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 crates.io crate gameai 0.0.2 [INFO] finished tweaking crates.io crate gameai 0.0.2 [INFO] tweaked toml for crates.io crate gameai 0.0.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 3a84966d263b760fdfed32fa0d04aeeaa369f6f388c99b731ee5b5d2139a7d14 [INFO] running `Command { std: "docker" "start" "-a" "3a84966d263b760fdfed32fa0d04aeeaa369f6f388c99b731ee5b5d2139a7d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a84966d263b760fdfed32fa0d04aeeaa369f6f388c99b731ee5b5d2139a7d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a84966d263b760fdfed32fa0d04aeeaa369f6f388c99b731ee5b5d2139a7d14", kill_on_drop: false }` [INFO] [stdout] 3a84966d263b760fdfed32fa0d04aeeaa369f6f388c99b731ee5b5d2139a7d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 83c068af21de215121940cf9182dea33d266aef0c018bf0cb147deee45a50792 [INFO] running `Command { std: "docker" "start" "-a" "83c068af21de215121940cf9182dea33d266aef0c018bf0cb147deee45a50792", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling cpuprofiler v0.0.4 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Documenting gameai v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking gameai v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `gameai` due to 8 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/negamax.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `gameai` [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, XorShiftRng}; [INFO] [stdout] | ^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts_parallel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/negamax.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name gameai src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=e3cb9e767ceb471a -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-8d55f87b04acb998.rmeta --extern cpuprofiler=/opt/rustwide/target/debug/deps/libcpuprofiler-3deb763baa712c9f.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-efb7a43670652d5c.rmeta --extern rayon=/opt/rustwide/target/debug/deps/librayon-6ff852cd68f4dcba.rmeta --cap-lints=warn --crate-version 0.0.2` (exit status: 1) [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{Rng, XorShiftRng}; [INFO] [stdout] | ^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/connectfour.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl rand::Rand for Color { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::XorShiftRng` [INFO] [stdout] --> src/strategies/mcts_parallel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::XorShiftRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `XorShiftRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/dots.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl rand::Rand for DotsPlayer { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/runner.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | G::Agent: Send + rand::Rand + fmt::Display, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/connectfour.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl rand::Rand for Color { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/game/dots.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl rand::Rand for DotsPlayer { [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rand` in crate `rand` [INFO] [stdout] --> src/runner.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | G::Agent: Send + rand::Rand + fmt::Display, [INFO] [stdout] | ^^^^ not found in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn parse_move(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn player_weight(&self, &Self::Agent) -> Score; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | fn agent_id(&self, &Self::Agent) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | fn new(&Self::Agent) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Agent` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | fn move_valid(&self, &Self::Move) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/game/mod.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | fn apply(&mut self, Self::Move); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Move` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/strategies/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn decide(&mut self, &G) -> G::Move; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &G` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/strategies/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | fn create(Self::Params) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Params` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | pub type Plr<'a, G> = &'a mut Player; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - pub type Plr<'a, G> = &'a mut Player; [INFO] [stdout] 116 + pub type Plr<'a, G> = &'a mut dyn Player; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "83c068af21de215121940cf9182dea33d266aef0c018bf0cb147deee45a50792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c068af21de215121940cf9182dea33d266aef0c018bf0cb147deee45a50792", kill_on_drop: false }` [INFO] [stdout] 83c068af21de215121940cf9182dea33d266aef0c018bf0cb147deee45a50792