[INFO] crate gameai 0.0.2 is already in cache [INFO] testing gameai-0.0.2 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [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 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] 50344758548c39526c8301816920738434ed3650859764fa9d62c6367d5f07d7 [INFO] running `Command { std: "docker" "start" "-a" "50344758548c39526c8301816920738434ed3650859764fa9d62c6367d5f07d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50344758548c39526c8301816920738434ed3650859764fa9d62c6367d5f07d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50344758548c39526c8301816920738434ed3650859764fa9d62c6367d5f07d7", kill_on_drop: false }` [INFO] [stdout] 50344758548c39526c8301816920738434ed3650859764fa9d62c6367d5f07d7 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9ff18af03922af6c1f521df091e7f0139efbd7b88516b852e5ff593b3efb7a7 [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" "a9ff18af03922af6c1f521df091e7f0139efbd7b88516b852e5ff593b3efb7a7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling cpuprofiler v0.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling 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[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: 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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a9ff18af03922af6c1f521df091e7f0139efbd7b88516b852e5ff593b3efb7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9ff18af03922af6c1f521df091e7f0139efbd7b88516b852e5ff593b3efb7a7", kill_on_drop: false }` [INFO] [stdout] a9ff18af03922af6c1f521df091e7f0139efbd7b88516b852e5ff593b3efb7a7