[INFO] fetching crate gameai 0.0.2... [INFO] checking gameai-0.0.2 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate gameai 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate gameai 0.0.2 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9f5c7990bfd5683ed783e7ebd4ab135513eafeaa73eb159f1c1e9607c335c66 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c9f5c7990bfd5683ed783e7ebd4ab135513eafeaa73eb159f1c1e9607c335c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9f5c7990bfd5683ed783e7ebd4ab135513eafeaa73eb159f1c1e9607c335c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f5c7990bfd5683ed783e7ebd4ab135513eafeaa73eb159f1c1e9607c335c66", kill_on_drop: false }` [INFO] [stdout] c9f5c7990bfd5683ed783e7ebd4ab135513eafeaa73eb159f1c1e9607c335c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3631dc67e6ca63df733c9e3a420d1e5e88ecf79d2ac72e08a2bfca1173c615d6 [INFO] running `Command { std: "docker" "start" "-a" "3631dc67e6ca63df733c9e3a420d1e5e88ecf79d2ac72e08a2bfca1173c615d6", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling cpuprofiler v0.0.4 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking gameai v0.0.2 (/opt/rustwide/workdir) [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] [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[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[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] [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[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/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: 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] | ^^^^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: 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] | ^^^^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [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] [stderr] error: could not compile `gameai` [INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3631dc67e6ca63df733c9e3a420d1e5e88ecf79d2ac72e08a2bfca1173c615d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3631dc67e6ca63df733c9e3a420d1e5e88ecf79d2ac72e08a2bfca1173c615d6", kill_on_drop: false }` [INFO] [stdout] 3631dc67e6ca63df733c9e3a420d1e5e88ecf79d2ac72e08a2bfca1173c615d6