[INFO] cloning repository https://github.com/andrewbriand/uttt-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewbriand/uttt-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbriand%2Futtt-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbriand%2Futtt-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4cefdd3c39ea89e0e2164f930c07ee1387c91988 [INFO] checking andrewbriand/uttt-bot against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewbriand%2Futtt-bot" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrewbriand/uttt-bot on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrewbriand/uttt-bot [INFO] finished tweaking git repo https://github.com/andrewbriand/uttt-bot [INFO] tweaked toml for git repo https://github.com/andrewbriand/uttt-bot written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/andrewbriand/uttt-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80be74770e06641f2c0d7dec7761bd4dfaa5a6980cd05baf00586debe53d6a1c [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" "80be74770e06641f2c0d7dec7761bd4dfaa5a6980cd05baf00586debe53d6a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80be74770e06641f2c0d7dec7761bd4dfaa5a6980cd05baf00586debe53d6a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80be74770e06641f2c0d7dec7761bd4dfaa5a6980cd05baf00586debe53d6a1c", kill_on_drop: false }` [INFO] [stdout] 80be74770e06641f2c0d7dec7761bd4dfaa5a6980cd05baf00586debe53d6a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 155da63456b464f516f807685d47aa442e93ebde804cce61a22f000f480bd1d4 [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" "155da63456b464f516f807685d47aa442e93ebde804cce61a22f000f480bd1d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling bitintr v0.3.0 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking uttt-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> src/bitboard.rs:457:24 [INFO] [stdout] | [INFO] [stdout] 457 | let mut now = Instant::now(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 214 | use crate::simplesearch::Instant; [INFO] [stdout] | [INFO] [stdout] 214 | use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut m: i64; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xtime` [INFO] [stdout] --> src/simplesearch.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_move(&mut self, xtime: Duration, otime: Duration) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_xtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `otime` [INFO] [stdout] --> src/simplesearch.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_move(&mut self, xtime: Duration, otime: Duration) -> i64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_otime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upper_popcnt` [INFO] [stdout] --> src/bitboard.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | let mut upper_popcnt: u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_upper_popcnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lower_popcnt` [INFO] [stdout] --> src/bitboard.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let mut lower_popcnt: u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lower_popcnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut subcmd: String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bitboard.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/bitboard.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `depth` [INFO] [stdout] --> src/simplesearch.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | depth: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `me` [INFO] [stdout] --> src/simplesearch.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | me: i8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `branching_mc` [INFO] [stdout] --> src/simplesearch.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn branching_mc(board: &mut BitBoard, branching: u8, me: i8) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ab_then_mc` [INFO] [stdout] --> src/simplesearch.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn ab_then_mc(games: u64) -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abriand_eval_1` [INFO] [stdout] --> src/simplesearch.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn abriand_eval_1() -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `diagonal` [INFO] [stdout] --> src/simplesearch.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn diagonal() -> Box i32> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `centers` [INFO] [stdout] --> src/simplesearch.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn centers() -> Box i32> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_to_move` [INFO] [stdout] --> src/bitboard.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn get_to_move(&self) -> i8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pretty_print` [INFO] [stdout] --> src/bitboard.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn pretty_print(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mask_to_sf` [INFO] [stdout] --> src/bitboard.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn mask_to_sf(mask: u128) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_move` [INFO] [stdout] --> src/bitboard.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn random_move(moves: u128) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uttt-bot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "155da63456b464f516f807685d47aa442e93ebde804cce61a22f000f480bd1d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "155da63456b464f516f807685d47aa442e93ebde804cce61a22f000f480bd1d4", kill_on_drop: false }` [INFO] [stdout] 155da63456b464f516f807685d47aa442e93ebde804cce61a22f000f480bd1d4