[INFO] cloning repository https://github.com/dsekercioglu/barracuda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsekercioglu/barracuda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fbarracuda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fbarracuda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f0fff8651385e54aac4a7f6a53c355865d43960 [INFO] testing dsekercioglu/barracuda against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fbarracuda" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsekercioglu/barracuda on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dsekercioglu/barracuda [INFO] finished tweaking git repo https://github.com/dsekercioglu/barracuda [INFO] tweaked toml for git repo https://github.com/dsekercioglu/barracuda written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dsekercioglu/barracuda already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enigo v0.0.14 [INFO] [stderr] Downloaded core-graphics v0.18.0 [INFO] [stderr] Downloaded unroll v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae3f986ff0ad80cb4488046b90b856b2d9cd9f5a259e2233ae2f1d9906347baa [INFO] running `Command { std: "docker" "start" "-a" "ae3f986ff0ad80cb4488046b90b856b2d9cd9f5a259e2233ae2f1d9906347baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae3f986ff0ad80cb4488046b90b856b2d9cd9f5a259e2233ae2f1d9906347baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3f986ff0ad80cb4488046b90b856b2d9cd9f5a259e2233ae2f1d9906347baa", kill_on_drop: false }` [INFO] [stdout] ae3f986ff0ad80cb4488046b90b856b2d9cd9f5a259e2233ae2f1d9906347baa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ae32e1eb3fac79a2caabe2e225966a49332f14bac641d4a4563718d5aa20507 [INFO] running `Command { std: "docker" "start" "-a" "6ae32e1eb3fac79a2caabe2e225966a49332f14bac641d4a4563718d5aa20507", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling text_io v0.1.8 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling unroll v0.1.5 [INFO] [stderr] Compiling barracuda v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CfParams` and `ConnectFour` [INFO] [stdout] --> src/main.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::cf::cf::{CfParams, ConnectFour}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cli` and `CommandOut` [INFO] [stdout] --> src/main.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::cli::cli::{Cli, CommandOut}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Enigo`, `Key`, `KeyboardControllable`, `MouseButton`, and `MouseControllable` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use enigo::{Enigo, Key, KeyboardControllable, MouseButton, MouseControllable}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_io::read` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use text_io::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all_moves` is never used [INFO] [stdout] --> src/barracuda/b_core/algorithms/extensions/mast.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl MoveMap { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn all_moves(&self) -> Vec<((Player, Move), f32)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/barracuda/b_core/algorithms/policy/softmax.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 23 | / impl, Params: BarracudaParams, Move: BarracudaMove> [INFO] [stdout] 24 | | Softmax [INFO] [stdout] | |________________________________- associated function in this implementation [INFO] [stdout] 25 | { [INFO] [stdout] 26 | pub fn new(static_eval: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/barracuda/b_core/algorithms/simulate/evaluate.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl, Params: BarracudaParams, Move: BarracudaMove> [INFO] [stdout] 22 | | Evaluate [INFO] [stdout] | |_________________________________- associated function in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub fn new(static_eval: Arc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/barracuda/b_core/algorithms/ucb/formula.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Sub { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 48 | pub fn new(t: T, u: U) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/barracuda/b_core/algorithms/ucb/formula.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Div { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(t: T, u: U) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/barracuda/b_core/algorithms/ucb/p_bias.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl< [INFO] [stdout] 22 | | Board: BarracudaBoard, [INFO] [stdout] 23 | | Params: BarracudaParams, [INFO] [stdout] 24 | | Move: BarracudaMove, [INFO] [stdout] 25 | | const DATA_REGISTERS: usize, [INFO] [stdout] 26 | | > ProgressiveBias [INFO] [stdout] | |______________________________________________________________- associated function in this implementation [INFO] [stdout] 27 | { [INFO] [stdout] 28 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_board` is never used [INFO] [stdout] --> src/barracuda/b_runner.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl< [INFO] [stdout] 21 | | Board: BarracudaBoard, [INFO] [stdout] 22 | | Params: BarracudaParams, [INFO] [stdout] 23 | | Move: BarracudaMove, [INFO] [stdout] 24 | | const DATA_REGISTERS: usize, [INFO] [stdout] 25 | | > BarracudaRunner [INFO] [stdout] | |__________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn set_board(&mut self, board: Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/barracuda/debugger.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Debugger, Params: Send, Move: Copy> { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] 5 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cf/cf.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl CfParams { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Runner` is never used [INFO] [stdout] --> src/cli/cli.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum Runner { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandOut` is never used [INFO] [stdout] --> src/cli/cli.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum CommandOut { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cmd` is never used [INFO] [stdout] --> src/cli/cli.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum Cmd<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cli` is never constructed [INFO] [stdout] --> src/cli/cli.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Cli { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, and `new_runner` are never used [INFO] [stdout] --> src/cli/cli.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Cli { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 43 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn parse(&mut self, input: String) -> CommandOut { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn new_runner< [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcmbnvqo/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librand-c56b47c21480077f.rlib,librand_chacha-cd5206cdf769805b.rlib,libppv_lite86-88ed22677a4c0286.rlib,librand_core-5b89102150326aa0.rlib,libgetrandom-62336afac1e5e68d.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libtext_io-56f1be06c9170ac5.rlib,libenigo-0d2caafa9b84e885.rlib,liblibc-06bbb9e7db53b04d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lxdo" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcmbnvqo/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/barracuda-a3164f94c3bef63a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lxdo [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `barracuda` (bin "barracuda") due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6ae32e1eb3fac79a2caabe2e225966a49332f14bac641d4a4563718d5aa20507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae32e1eb3fac79a2caabe2e225966a49332f14bac641d4a4563718d5aa20507", kill_on_drop: false }` [INFO] [stdout] 6ae32e1eb3fac79a2caabe2e225966a49332f14bac641d4a4563718d5aa20507