[INFO] fetching crate superttt 0.1.0...
[INFO] testing superttt-0.1.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate superttt 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate superttt 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate superttt 0.1.0
[INFO] tweaked toml for crates.io crate superttt 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate superttt 0.1.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate superttt 0.1.0 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.2
[INFO] [stderr]   Downloaded unicode-ident v1.0.13
[INFO] [stderr]   Downloaded proc-macro2 v1.0.89
[INFO] [stderr]   Downloaded tokio-macros v2.4.0
[INFO] [stderr]   Downloaded socket2 v0.5.7
[INFO] [stderr]   Downloaded pin-project-lite v0.2.15
[INFO] [stderr]   Downloaded num_cpus v1.16.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.24
[INFO] [stderr]   Downloaded autocfg v1.4.0
[INFO] [stderr]   Downloaded lock_api v0.4.12
[INFO] [stderr]   Downloaded bitflags v2.6.0
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.35
[INFO] [stderr]   Downloaded hermit-abi v0.3.9
[INFO] [stderr]   Downloaded miniz_oxide v0.8.0
[INFO] [stderr]   Downloaded bytes v1.8.0
[INFO] [stderr]   Downloaded redox_syscall v0.5.7
[INFO] [stderr]   Downloaded libc v0.2.161
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.20
[INFO] [stderr]   Downloaded syn v2.0.87
[INFO] [stderr]   Downloaded getrandom v0.2.15
[INFO] [stderr]   Downloaded smallvec v1.13.2
[INFO] [stderr]   Downloaded adler2 v2.0.0
[INFO] [stderr]   Downloaded parking_lot_core v0.9.10
[INFO] [stderr]   Downloaded backtrace v0.3.74
[INFO] [stderr]   Downloaded zerocopy v0.7.35
[INFO] [stderr]   Downloaded mio v1.0.2
[INFO] [stderr]   Downloaded tokio v1.41.1
[INFO] [stderr]   Downloaded parking_lot v0.12.3
[INFO] [stderr]   Downloaded rbl_circular_buffer v0.1.2
[INFO] [stderr]   Downloaded object v0.36.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1116e7f1255fc405020dc5ae68d8966659847d7c3b37753bed2becb770d23e6
[INFO] running `Command { std: "docker" "start" "-a" "f1116e7f1255fc405020dc5ae68d8966659847d7c3b37753bed2becb770d23e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1116e7f1255fc405020dc5ae68d8966659847d7c3b37753bed2becb770d23e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1116e7f1255fc405020dc5ae68d8966659847d7c3b37753bed2becb770d23e6", kill_on_drop: false }`
[INFO] [stdout] f1116e7f1255fc405020dc5ae68d8966659847d7c3b37753bed2becb770d23e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 858927f2b5101012d5ad14eac186fb993e944158a196da91084e8c60abec8640
[INFO] running `Command { std: "docker" "start" "-a" "858927f2b5101012d5ad14eac186fb993e944158a196da91084e8c60abec8640", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling rbl_circular_buffer v0.1.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling superttt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 81]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let source_board = self.get_board().as_ptr();
[INFO] [stdout]    |                            ---------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `[i8; 81]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 81]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 81]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 81]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 9]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:26:49
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let source_rosters = self.get_rosters().as_ptr();
[INFO] [stdout]    |                              ------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this `[i8; 9]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 9]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 9]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 9]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::play_game_multiple_threads`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use game::play_game_multiple_threads;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::player::Player`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use game::player::Player;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::play_game`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use game::play_game;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Ok(o) => {},
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut player1 = Arc::new(RandomBot::new(1));
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut player2 = Arc::new(RandomBot::new(2));
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut s = &mut states[idx];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_previous_move` and `set_previous_move` are never used
[INFO] [stdout]    --> src/game.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 112 |     /// Get the previous move.
[INFO] [stdout] 113 |     pub fn get_previous_move(&self) -> [i8; 2] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn set_previous_move(&mut self, previous_move: [i8; 2]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game_multiple` is never used
[INFO] [stdout]    --> src/game.rs:573:8
[INFO] [stdout]     |
[INFO] [stdout] 573 | pub fn play_game_multiple(player1: &dyn Player, player2: &dyn Player, number_of_games: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game_multiple_threads` is never used
[INFO] [stdout]    --> src/game.rs:589:14
[INFO] [stdout]     |
[INFO] [stdout] 589 | pub async fn play_game_multiple_threads(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_wins` is never used
[INFO] [stdout]   --> src/game/player.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait Player {
[INFO] [stdout]    |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn get_wins(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScareCrow` is never constructed
[INFO] [stdout]   --> src/game/player.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct ScareCrow {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/player.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 99  | impl ScareCrow {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 100 |     /// Creates a new [`ScareCrow`].
[INFO] [stdout] 101 |     pub fn new(id: i8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmartAgent` is never constructed
[INFO] [stdout]    --> src/game/player.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct SmartAgent {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/player.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl SmartAgent {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn new(id: i8, replay_buffer_capacity: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomBuffer` is never constructed
[INFO] [stdout]   --> src/game/replay_buffer.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RandomBuffer<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game/replay_buffer.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> RandomBuffer<T> {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 22 |     /// Construnct new Random Buffer.
[INFO] [stdout] 23 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Buffer` is never used
[INFO] [stdout]   --> src/game/replay_buffer.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait Buffer<T> {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `simulate_game` and `get_odds` are never used
[INFO] [stdout]   --> src/game/state.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl State {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 87 |     /// Simulates a game starting from this state.
[INFO] [stdout] 88 |     pub fn simulate_game() {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn get_odds(&self) -> [f64; 3] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 81]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let source_board = self.get_board().as_ptr();
[INFO] [stdout]    |                            ---------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `[i8; 81]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 81]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 81]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 81]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 9]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:26:49
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let source_rosters = self.get_rosters().as_ptr();
[INFO] [stdout]    |                              ------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this `[i8; 9]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 9]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 9]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 9]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.88s
[INFO] running `Command { std: "docker" "inspect" "858927f2b5101012d5ad14eac186fb993e944158a196da91084e8c60abec8640", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "858927f2b5101012d5ad14eac186fb993e944158a196da91084e8c60abec8640", kill_on_drop: false }`
[INFO] [stdout] 858927f2b5101012d5ad14eac186fb993e944158a196da91084e8c60abec8640
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 938b89c93c711beba1b7af901a63b8152d5639d974d81a24a3d982d075b2dc51
[INFO] running `Command { std: "docker" "start" "-a" "938b89c93c711beba1b7af901a63b8152d5639d974d81a24a3d982d075b2dc51", kill_on_drop: false }`
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 81]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let source_board = self.get_board().as_ptr();
[INFO] [stdout]    |                            ---------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `[i8; 81]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 81]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 81]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 81]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 9]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:26:49
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let source_rosters = self.get_rosters().as_ptr();
[INFO] [stdout]    |                              ------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this `[i8; 9]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 9]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 9]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 9]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::play_game_multiple_threads`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use game::play_game_multiple_threads;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::player::Player`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use game::player::Player;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::play_game`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use game::play_game;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Ok(o) => {},
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut player1 = Arc::new(RandomBot::new(1));
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut player2 = Arc::new(RandomBot::new(2));
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut s = &mut states[idx];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_previous_move` and `set_previous_move` are never used
[INFO] [stdout]    --> src/game.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 112 |     /// Get the previous move.
[INFO] [stdout] 113 |     pub fn get_previous_move(&self) -> [i8; 2] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn set_previous_move(&mut self, previous_move: [i8; 2]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game_multiple` is never used
[INFO] [stdout]    --> src/game.rs:573:8
[INFO] [stdout]     |
[INFO] [stdout] 573 | pub fn play_game_multiple(player1: &dyn Player, player2: &dyn Player, number_of_games: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game_multiple_threads` is never used
[INFO] [stdout]    --> src/game.rs:589:14
[INFO] [stdout]     |
[INFO] [stdout] 589 | pub async fn play_game_multiple_threads(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_wins` is never used
[INFO] [stdout]   --> src/game/player.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait Player {
[INFO] [stdout]    |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn get_wins(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScareCrow` is never constructed
[INFO] [stdout]   --> src/game/player.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct ScareCrow {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/player.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 99  | impl ScareCrow {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 100 |     /// Creates a new [`ScareCrow`].
[INFO] [stdout] 101 |     pub fn new(id: i8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmartAgent` is never constructed
[INFO] [stdout]    --> src/game/player.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct SmartAgent {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/player.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl SmartAgent {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn new(id: i8, replay_buffer_capacity: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomBuffer` is never constructed
[INFO] [stdout]   --> src/game/replay_buffer.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RandomBuffer<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game/replay_buffer.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> RandomBuffer<T> {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 22 |     /// Construnct new Random Buffer.
[INFO] [stdout] 23 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Buffer` is never used
[INFO] [stdout]   --> src/game/replay_buffer.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait Buffer<T> {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `simulate_game` and `get_odds` are never used
[INFO] [stdout]   --> src/game/state.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl State {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 87 |     /// Simulates a game starting from this state.
[INFO] [stdout] 88 |     pub fn simulate_game() {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn get_odds(&self) -> [f64; 3] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 81]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let source_board = self.get_board().as_ptr();
[INFO] [stdout]    |                            ---------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `[i8; 81]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 81]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 81]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 81]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 9]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:26:49
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let source_rosters = self.get_rosters().as_ptr();
[INFO] [stdout]    |                              ------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this `[i8; 9]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 9]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 9]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 9]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling superttt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::play_game_multiple_threads`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use game::play_game_multiple_threads;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::player::Player`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use game::player::Player;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `game::play_game`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use game::play_game;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]  --> tests/play_game_test.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut game = Game::new(1, false);
[INFO] [stdout]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> tests/play_game_test.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut game = Game::new(1, false);
[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: variable does not need to be mutable
[INFO] [stdout]   --> tests/play_game_test.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let mut player1 = RandomBot::new(1);
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/play_game_test.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut player2 = RandomBot::new(2);
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o`
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |         Ok(o) => {},
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut player1 = Arc::new(RandomBot::new(1));
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut player2 = Arc::new(RandomBot::new(2));
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let mut s = &mut states[idx];
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_previous_move` and `set_previous_move` are never used
[INFO] [stdout]    --> src/game.rs:113:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl Game {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] 112 |     /// Get the previous move.
[INFO] [stdout] 113 |     pub fn get_previous_move(&self) -> [i8; 2] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn set_previous_move(&mut self, previous_move: [i8; 2]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game_multiple` is never used
[INFO] [stdout]    --> src/game.rs:573:8
[INFO] [stdout]     |
[INFO] [stdout] 573 | pub fn play_game_multiple(player1: &dyn Player, player2: &dyn Player, number_of_games: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_game_multiple_threads` is never used
[INFO] [stdout]    --> src/game.rs:589:14
[INFO] [stdout]     |
[INFO] [stdout] 589 | pub async fn play_game_multiple_threads(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_wins` is never used
[INFO] [stdout]   --> src/game/player.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub trait Player {
[INFO] [stdout]    |           ------ method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn get_wins(&self) -> u32;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScareCrow` is never constructed
[INFO] [stdout]   --> src/game/player.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct ScareCrow {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/player.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 99  | impl ScareCrow {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] 100 |     /// Creates a new [`ScareCrow`].
[INFO] [stdout] 101 |     pub fn new(id: i8) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SmartAgent` is never constructed
[INFO] [stdout]    --> src/game/player.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub struct SmartAgent {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/game/player.rs:141:12
[INFO] [stdout]     |
[INFO] [stdout] 135 | impl SmartAgent {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn new(id: i8, replay_buffer_capacity: usize) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomBuffer` is never constructed
[INFO] [stdout]   --> src/game/replay_buffer.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct RandomBuffer<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game/replay_buffer.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> RandomBuffer<T> {
[INFO] [stdout]    | ----------------------- associated function in this implementation
[INFO] [stdout] 22 |     /// Construnct new Random Buffer.
[INFO] [stdout] 23 |     pub fn new(capacity: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Buffer` is never used
[INFO] [stdout]   --> src/game/replay_buffer.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub trait Buffer<T> {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `simulate_game` and `get_odds` are never used
[INFO] [stdout]   --> src/game/state.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl State {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 87 |     /// Simulates a game starting from this state.
[INFO] [stdout] 88 |     pub fn simulate_game() {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn get_odds(&self) -> [f64; 3] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 81]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let source_board = self.get_board().as_ptr();
[INFO] [stdout]    |                            ---------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `[i8; 81]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 81]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 81]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 81]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 9]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:26:49
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let source_rosters = self.get_rosters().as_ptr();
[INFO] [stdout]    |                              ------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this `[i8; 9]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 9]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 9]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 9]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 81]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let source_board = self.get_board().as_ptr();
[INFO] [stdout]    |                            ---------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            this `[i8; 81]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 81]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 81]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 81]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a dangling pointer will be produced because the temporary `[i8; 9]` will be dropped
[INFO] [stdout]   --> src/game/state.rs:26:49
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let source_rosters = self.get_rosters().as_ptr();
[INFO] [stdout]    |                              ------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              this `[i8; 9]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 9]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stdout]    = help: you must make sure that the variable you bind the `[i8; 9]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stdout]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 9]` inside the function will not suffice
[INFO] [stdout]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "938b89c93c711beba1b7af901a63b8152d5639d974d81a24a3d982d075b2dc51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "938b89c93c711beba1b7af901a63b8152d5639d974d81a24a3d982d075b2dc51", kill_on_drop: false }`
[INFO] [stdout] 938b89c93c711beba1b7af901a63b8152d5639d974d81a24a3d982d075b2dc51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 04cd95b1a0dbff5c5c89d54d1e1647365c586bb6d675f4e9b72c66513a41fb80
[INFO] running `Command { std: "docker" "start" "-a" "04cd95b1a0dbff5c5c89d54d1e1647365c586bb6d675f4e9b72c66513a41fb80", kill_on_drop: false }`
[INFO] [stderr] warning: a dangling pointer will be produced because the temporary `[i8; 81]` will be dropped
[INFO] [stderr]   --> src/game/state.rs:23:45
[INFO] [stderr]    |
[INFO] [stderr] 23 |         let source_board = self.get_board().as_ptr();
[INFO] [stderr]    |                            ---------------- ^^^^^^ this pointer will immediately be invalid
[INFO] [stderr]    |                            |
[INFO] [stderr]    |                            this `[i8; 81]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 81]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: you must make sure that the variable you bind the `[i8; 81]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stderr]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 81]` inside the function will not suffice
[INFO] [stderr]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr]    = note: `#[warn(dangling_pointers_from_temporaries)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: a dangling pointer will be produced because the temporary `[i8; 9]` will be dropped
[INFO] [stderr]   --> src/game/state.rs:26:49
[INFO] [stderr]    |
[INFO] [stderr] 26 |         let source_rosters = self.get_rosters().as_ptr();
[INFO] [stderr]    |                              ------------------ ^^^^^^ this pointer will immediately be invalid
[INFO] [stderr]    |                              |
[INFO] [stderr]    |                              this `[i8; 9]` is deallocated at the end of the statement, bind it to a variable to extend its lifetime
[INFO] [stderr]    |
[INFO] [stderr]    = note: pointers do not have a lifetime; when calling `as_ptr` the `[i8; 9]` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned
[INFO] [stderr]    = help: you must make sure that the variable you bind the `[i8; 9]` to lives at least as long as the pointer returned by the call to `as_ptr`
[INFO] [stderr]    = help: in particular, if this pointer is returned from the current function, binding the `[i8; 9]` inside the function will not suffice
[INFO] [stderr]    = help: for more information, see <https://doc.rust-lang.org/reference/destructors.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `superttt` (lib) generated 2 warnings
[INFO] [stderr] warning: `superttt` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: unused variable: `game`
[INFO] [stderr]  --> tests/play_game_test.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let mut game = Game::new(1, false);
[INFO] [stderr]   |             ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> tests/play_game_test.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |     let mut game = Game::new(1, false);
[INFO] [stderr]   |         ----^^^^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> tests/play_game_test.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let mut player1 = RandomBot::new(1);
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> tests/play_game_test.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let mut player2 = RandomBot::new(2);
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt::Debug`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::Debug;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `game::play_game_multiple_threads`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use game::play_game_multiple_threads;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `game::player::Player`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use game::player::Player;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `game::play_game`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use game::play_game;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `o`
[INFO] [stderr]   --> src/main.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 |         Ok(o) => {},
[INFO] [stderr]    |            ^ help: if this is intentional, prefix it with an underscore: `_o`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let mut player1 = Arc::new(RandomBot::new(1));
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     let mut player2 = Arc::new(RandomBot::new(2));
[INFO] [stderr]    |         ----^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let mut s = &mut states[idx];
[INFO] [stderr]    |         ----^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_previous_move` and `set_previous_move` are never used
[INFO] [stderr]    --> src/game.rs:113:12
[INFO] [stderr]     |
[INFO] [stderr] 111 | impl Game {
[INFO] [stderr]     | --------- methods in this implementation
[INFO] [stderr] 112 |     /// Get the previous move.
[INFO] [stderr] 113 |     pub fn get_previous_move(&self) -> [i8; 2] {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 142 |     pub fn set_previous_move(&mut self, previous_move: [i8; 2]) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `play_game_multiple` is never used
[INFO] [stderr]    --> src/game.rs:573:8
[INFO] [stderr]     |
[INFO] [stderr] 573 | pub fn play_game_multiple(player1: &dyn Player, player2: &dyn Player, number_of_games: u32) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `play_game_multiple_threads` is never used
[INFO] [stderr]    --> src/game.rs:589:14
[INFO] [stderr]     |
[INFO] [stderr] 589 | pub async fn play_game_multiple_threads(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_wins` is never used
[INFO] [stderr]   --> src/game/player.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub trait Player {
[INFO] [stderr]    |           ------ method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 42 |     fn get_wins(&self) -> u32;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ScareCrow` is never constructed
[INFO] [stderr]   --> src/game/player.rs:94:12
[INFO] [stderr]    |
[INFO] [stderr] 94 | pub struct ScareCrow {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/game/player.rs:101:12
[INFO] [stderr]     |
[INFO] [stderr] 99  | impl ScareCrow {
[INFO] [stderr]     | -------------- associated function in this implementation
[INFO] [stderr] 100 |     /// Creates a new [`ScareCrow`].
[INFO] [stderr] 101 |     pub fn new(id: i8) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SmartAgent` is never constructed
[INFO] [stderr]    --> src/game/player.rs:127:12
[INFO] [stderr]     |
[INFO] [stderr] 127 | pub struct SmartAgent {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/game/player.rs:141:12
[INFO] [stderr]     |
[INFO] [stderr] 135 | impl SmartAgent {
[INFO] [stderr]     | --------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 141 |     pub fn new(id: i8, replay_buffer_capacity: usize) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RandomBuffer` is never constructed
[INFO] [stderr]   --> src/game/replay_buffer.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct RandomBuffer<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/game/replay_buffer.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl<T> RandomBuffer<T> {
[INFO] [stderr]    | ----------------------- associated function in this implementation
[INFO] [stderr] 22 |     /// Construnct new Random Buffer.
[INFO] [stderr] 23 |     pub fn new(capacity: usize) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Buffer` is never used
[INFO] [stderr]   --> src/game/replay_buffer.rs:34:11
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub trait Buffer<T> {
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `simulate_game` and `get_odds` are never used
[INFO] [stderr]   --> src/game/state.rs:88:12
[INFO] [stderr]    |
[INFO] [stderr] 86 | impl State {
[INFO] [stderr]    | ---------- associated items in this implementation
[INFO] [stderr] 87 |     /// Simulates a game starting from this state.
[INFO] [stderr] 88 |     pub fn simulate_game() {}
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 97 |     pub fn get_odds(&self) -> [f64; 3] {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `superttt` (test "play_game_test") generated 4 warnings (run `cargo fix --test "play_game_test"` to apply 3 suggestions)
[INFO] [stderr] warning: `superttt` (bin "superttt" test) generated 22 warnings (2 duplicates) (run `cargo fix --bin "superttt" --tests` to apply 7 suggestions)
[INFO] [stderr] warning: `superttt` (bin "superttt") generated 22 warnings (22 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/superttt-55a1c40944e5bd66)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/superttt-fe6bad1cd6c2f600)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/play_game_test.rs (/opt/rustwide/target/debug/deps/play_game_test-0451ea12364eae95)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test games_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- games_test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'games_test' panicked at tests/play_game_test.rs:14:5:
[INFO] [stdout] assertion failed: player1.get_wins() > 0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x58a39dc8ffe2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58a39dc8ffe2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58a39dc8ffe2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x58a39dc8ffe2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x58a39dcb5713 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x58a39dcb5713 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x58a39dc8d1c3 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x58a39dc8d1c3 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x58a39dc8fe32 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x58a39dc9154c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x58a39dc913a2 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x58a39dc50f54 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x58a39dc50f54 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x58a39dc91f2b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x58a39dc91f2b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x58a39dc91cc6 - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:699:13
[INFO] [stdout]   16:     0x58a39dc904d9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x58a39dc9198d - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x58a39dcb4250 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x58a39dcb42bc - core::panicking::panic::h318cb8731d7e290d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:145:5
[INFO] [stdout]   20:     0x58a39dc178bb - play_game_test::games_test::h7b208fc2be645ec1
[INFO] [stdout]   21:     0x58a39dc178bb - play_game_test::games_test::{{closure}}::hf44981ec294c2039
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/play_game_test.rs:6:16
[INFO] [stdout]   22:     0x58a39dc178bb - core::ops::function::FnOnce::call_once::hc9fbc3f710bd9ef2
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x58a39dc566db - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x58a39dc566db - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   25:     0x58a39dc558ce - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   26:     0x58a39dc558ce - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x58a39dc558ce - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   28:     0x58a39dc558ce - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   29:     0x58a39dc558ce - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x58a39dc558ce - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   31:     0x58a39dc558ce - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   32:     0x58a39dc19444 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   33:     0x58a39dc19444 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x58a39dc1ce1a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x58a39dc1ce1a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x58a39dc1ce1a - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   37:     0x58a39dc1ce1a - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   38:     0x58a39dc1ce1a - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x58a39dc1ce1a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x58a39dc1ce1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x58a39dc94e87 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   42:     0x58a39dc94e87 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x58a39dc94e87 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   44:     0x77a27f140aa4 - <unknown>
[INFO] [stdout]   45:     0x77a27f1cda34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     games_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test play_game_test`
[INFO] running `Command { std: "docker" "inspect" "04cd95b1a0dbff5c5c89d54d1e1647365c586bb6d675f4e9b72c66513a41fb80", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04cd95b1a0dbff5c5c89d54d1e1647365c586bb6d675f4e9b72c66513a41fb80", kill_on_drop: false }`
[INFO] [stdout] 04cd95b1a0dbff5c5c89d54d1e1647365c586bb6d675f4e9b72c66513a41fb80
