[INFO] updating cached repository https://github.com/masonium/card-engine
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 82041c99c5a84b4425e2c3ffb656a591da7e0775
[INFO] testing masonium/card-engine against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonium%2Fcard-engine" "/workspace/builds/worker-0/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/masonium/card-engine on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/masonium/card-engine
[INFO] finished tweaking git repo https://github.com/masonium/card-engine
[INFO] tweaked toml for git repo https://github.com/masonium/card-engine written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/masonium/card-engine already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0c70a3ba49c9a71a8e0e0131b04cf7c8c60a3ea1683ab8164f02ae3e15c2a6f6
[INFO] running `"docker" "start" "-a" "0c70a3ba49c9a71a8e0e0131b04cf7c8c60a3ea1683ab8164f02ae3e15c2a6f6"`
[INFO] [stderr]    Compiling matrixmultiply v0.1.13
[INFO] [stderr]    Compiling ndarray v0.9.1
[INFO] [stderr]    Compiling either v1.1.0
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling termion v1.3.0
[INFO] [stderr]    Compiling num-complex v0.1.37
[INFO] [stderr]    Compiling itertools v0.6.0
[INFO] [stderr]    Compiling ndarray-rand v0.5.0
[INFO] [stderr]    Compiling card-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/germanwhist/phase.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |             /// this is the first card played
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 44 |             gs.player_view_mut(action.player).remove_card(&action.card)?;
[INFO] [stderr]    |             ------------------------------------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/germanwhist/phase.rs:90:17
[INFO] [stderr]     |
[INFO] [stderr] 90  |                   /// Give players their new cards
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 91  | /                 {
[INFO] [stderr] 92  | |                     let r = gs.revealed.take().expect("must be a revealed card");
[INFO] [stderr] 93  | |                     gs.player_view_mut(winner).add_card(r.clone());
[INFO] [stderr] 94  | |
[INFO] [stderr] ...   |
[INFO] [stderr] 100 | |                     events[loser].push(rec_ev);
[INFO] [stderr] 101 | |                 }
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for expressions
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/learning/training.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |         /// epsilon-greedy state-choosing
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 49 |         let mut rng = thread_rng();
[INFO] [stderr]    |         --------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:71:16
[INFO] [stderr]    |
[INFO] [stderr] 71 |     phase: Box<GamePhase>,
[INFO] [stderr]    |                ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:78:24
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let phase: Box<GamePhase> = Box::new(GameOverPhase{});
[INFO] [stderr]    |                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/engine.rs:126:33
[INFO] [stderr]     |
[INFO] [stderr] 126 |     pub fn get_phase(&self) -> &GamePhase {
[INFO] [stderr]     |                                 ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/phase.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn transition(&mut self, gs: &mut GameState) -> Box<GamePhase>;
[INFO] [stderr]    |                                                         ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:164:56
[INFO] [stderr]     |
[INFO] [stderr] 164 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:190:56
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:54:25
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub fn af(&self) -> (fn(f32) -> f32) {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:65:26
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn agf(&self) -> (fn(f32, f32) -> f32) {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/germanwhist/player.rs:189:23
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn card_to_vector(mut x: &mut ArrayViewMut<f32, Ix1>, card: &Option<BasicCard>, suit_order: &[Suit]) {
[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: method is never used: `dump`
[INFO] [stderr]    --> src/learning/neural_net.rs:283:5
[INFO] [stderr]     |
[INFO] [stderr] 283 |     fn dump(&self) {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/bin/basic_player.rs:200:5
[INFO] [stderr]     |
[INFO] [stderr] 200 |     /// start the game
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 201 |     let mut actions = eng.possible_actions();
[INFO] [stderr]     |     ----------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/basic_player.rs:100:23
[INFO] [stderr]     |
[INFO] [stderr] 100 |     let players: [Box<Player>; 2] = [Box::new(BasicPlayer::new(r)), Box::new(RandomPlayer::new())];
[INFO] [stderr]     |                       ^^^^^^ help: use `dyn`: `dyn Player`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/basic_player.rs:147:23
[INFO] [stderr]     |
[INFO] [stderr] 147 |     let players: [Box<Player>; 2] = [Box::new(BasicPlayer::new(None)), Box::new(RandomPlayer::new())];
[INFO] [stderr]     |                       ^^^^^^ help: use `dyn`: `dyn Player`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     lazy_static! {
[INFO] [stderr] 20 | |         static ref A: Array<f32, Ix1> = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]);
[INFO] [stderr] 21 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     lazy_static! {
[INFO] [stderr] 20 | |         static ref A: Array<f32, Ix1> = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]);
[INFO] [stderr] 21 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> src/bin/basic_player.rs:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |         sl.train_on_episode(false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `b` should have an upper case name
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:29:20
[INFO] [stderr]    |
[INFO] [stderr] 29 |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr]    |                    ^ help: convert the identifier to upper case: `B`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 25.02s
[INFO] running `"docker" "inspect" "0c70a3ba49c9a71a8e0e0131b04cf7c8c60a3ea1683ab8164f02ae3e15c2a6f6"`
[INFO] running `"docker" "rm" "-f" "0c70a3ba49c9a71a8e0e0131b04cf7c8c60a3ea1683ab8164f02ae3e15c2a6f6"`
[INFO] [stdout] 0c70a3ba49c9a71a8e0e0131b04cf7c8c60a3ea1683ab8164f02ae3e15c2a6f6
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "test" "--frozen" "--no-run"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 846a0fa83b7c35914ef51118a6b23b48554423317792188f742c8040445ecda4
[INFO] running `"docker" "start" "-a" "846a0fa83b7c35914ef51118a6b23b48554423317792188f742c8040445ecda4"`
[INFO] [stderr]    Compiling card-engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/germanwhist/phase.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |             /// this is the first card played
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 44 |             gs.player_view_mut(action.player).remove_card(&action.card)?;
[INFO] [stderr]    |             ------------------------------------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/germanwhist/phase.rs:90:17
[INFO] [stderr]     |
[INFO] [stderr] 90  |                   /// Give players their new cards
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 91  | /                 {
[INFO] [stderr] 92  | |                     let r = gs.revealed.take().expect("must be a revealed card");
[INFO] [stderr] 93  | |                     gs.player_view_mut(winner).add_card(r.clone());
[INFO] [stderr] 94  | |
[INFO] [stderr] ...   |
[INFO] [stderr] 100 | |                     events[loser].push(rec_ev);
[INFO] [stderr] 101 | |                 }
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for expressions
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/learning/training.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |         /// epsilon-greedy state-choosing
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 49 |         let mut rng = thread_rng();
[INFO] [stderr]    |         --------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:71:16
[INFO] [stderr]    |
[INFO] [stderr] 71 |     phase: Box<GamePhase>,
[INFO] [stderr]    |                ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:78:24
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let phase: Box<GamePhase> = Box::new(GameOverPhase{});
[INFO] [stderr]    |                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/engine.rs:126:33
[INFO] [stderr]     |
[INFO] [stderr] 126 |     pub fn get_phase(&self) -> &GamePhase {
[INFO] [stderr]     |                                 ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/phase.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn transition(&mut self, gs: &mut GameState) -> Box<GamePhase>;
[INFO] [stderr]    |                                                         ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:164:56
[INFO] [stderr]     |
[INFO] [stderr] 164 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:190:56
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:54:25
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub fn af(&self) -> (fn(f32) -> f32) {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:65:26
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn agf(&self) -> (fn(f32, f32) -> f32) {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/germanwhist/player.rs:189:23
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn card_to_vector(mut x: &mut ArrayViewMut<f32, Ix1>, card: &Option<BasicCard>, suit_order: &[Suit]) {
[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: method is never used: `dump`
[INFO] [stderr]    --> src/learning/neural_net.rs:283:5
[INFO] [stderr]     |
[INFO] [stderr] 283 |     fn dump(&self) {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/bin/basic_player.rs:200:5
[INFO] [stderr]     |
[INFO] [stderr] 200 |     /// start the game
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 201 |     let mut actions = eng.possible_actions();
[INFO] [stderr]     |     ----------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/germanwhist/phase.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |             /// this is the first card played
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 44 |             gs.player_view_mut(action.player).remove_card(&action.card)?;
[INFO] [stderr]    |             ------------------------------------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/germanwhist/phase.rs:90:17
[INFO] [stderr]     |
[INFO] [stderr] 90  |                   /// Give players their new cards
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 91  | /                 {
[INFO] [stderr] 92  | |                     let r = gs.revealed.take().expect("must be a revealed card");
[INFO] [stderr] 93  | |                     gs.player_view_mut(winner).add_card(r.clone());
[INFO] [stderr] 94  | |
[INFO] [stderr] ...   |
[INFO] [stderr] 100 | |                     events[loser].push(rec_ev);
[INFO] [stderr] 101 | |                 }
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for expressions
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/learning/training.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |         /// epsilon-greedy state-choosing
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 49 |         let mut rng = thread_rng();
[INFO] [stderr]    |         --------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/basic_player.rs:100:23
[INFO] [stderr]     |
[INFO] [stderr] 100 |     let players: [Box<Player>; 2] = [Box::new(BasicPlayer::new(r)), Box::new(RandomPlayer::new())];
[INFO] [stderr]     |                       ^^^^^^ help: use `dyn`: `dyn Player`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/basic_player.rs:147:23
[INFO] [stderr]     |
[INFO] [stderr] 147 |     let players: [Box<Player>; 2] = [Box::new(BasicPlayer::new(None)), Box::new(RandomPlayer::new())];
[INFO] [stderr]     |                       ^^^^^^ help: use `dyn`: `dyn Player`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     lazy_static! {
[INFO] [stderr] 20 | |         static ref A: Array<f32, Ix1> = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]);
[INFO] [stderr] 21 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     lazy_static! {
[INFO] [stderr] 20 | |         static ref A: Array<f32, Ix1> = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]);
[INFO] [stderr] 21 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:71:16
[INFO] [stderr]    |
[INFO] [stderr] 71 |     phase: Box<GamePhase>,
[INFO] [stderr]    |                ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:78:24
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let phase: Box<GamePhase> = Box::new(GameOverPhase{});
[INFO] [stderr]    |                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/engine.rs:126:33
[INFO] [stderr]     |
[INFO] [stderr] 126 |     pub fn get_phase(&self) -> &GamePhase {
[INFO] [stderr]     |                                 ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/phase.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn transition(&mut self, gs: &mut GameState) -> Box<GamePhase>;
[INFO] [stderr]    |                                                         ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:164:56
[INFO] [stderr]     |
[INFO] [stderr] 164 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:190:56
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:54:25
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub fn af(&self) -> (fn(f32) -> f32) {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:65:26
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn agf(&self) -> (fn(f32, f32) -> f32) {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> src/bin/basic_player.rs:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |         sl.train_on_episode(false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `b` should have an upper case name
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:29:20
[INFO] [stderr]    |
[INFO] [stderr] 29 |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr]    |                    ^ help: convert the identifier to upper case: `B`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/germanwhist/player.rs:189:23
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn card_to_vector(mut x: &mut ArrayViewMut<f32, Ix1>, card: &Option<BasicCard>, suit_order: &[Suit]) {
[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: method is never used: `dump`
[INFO] [stderr]    --> src/learning/neural_net.rs:283:5
[INFO] [stderr]     |
[INFO] [stderr] 283 |     fn dump(&self) {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.92s
[INFO] running `"docker" "inspect" "846a0fa83b7c35914ef51118a6b23b48554423317792188f742c8040445ecda4"`
[INFO] running `"docker" "rm" "-f" "846a0fa83b7c35914ef51118a6b23b48554423317792188f742c8040445ecda4"`
[INFO] [stdout] 846a0fa83b7c35914ef51118a6b23b48554423317792188f742c8040445ecda4
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "test" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 32d3287ebe6a37107fce03776be4145b30d4b67319b1c4912bc13062f91b35fc
[INFO] running `"docker" "start" "-a" "32d3287ebe6a37107fce03776be4145b30d4b67319b1c4912bc13062f91b35fc"`
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/germanwhist/phase.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |             /// this is the first card played
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 44 |             gs.player_view_mut(action.player).remove_card(&action.card)?;
[INFO] [stderr]    |             ------------------------------------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/germanwhist/phase.rs:90:17
[INFO] [stderr]     |
[INFO] [stderr] 90  |                   /// Give players their new cards
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 91  | /                 {
[INFO] [stderr] 92  | |                     let r = gs.revealed.take().expect("must be a revealed card");
[INFO] [stderr] 93  | |                     gs.player_view_mut(winner).add_card(r.clone());
[INFO] [stderr] 94  | |
[INFO] [stderr] ...   |
[INFO] [stderr] 100 | |                     events[loser].push(rec_ev);
[INFO] [stderr] 101 | |                 }
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for expressions
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/learning/training.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |         /// epsilon-greedy state-choosing
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 49 |         let mut rng = thread_rng();
[INFO] [stderr]    |         --------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:71:16
[INFO] [stderr]    |
[INFO] [stderr] 71 |     phase: Box<GamePhase>,
[INFO] [stderr]    |                ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:78:24
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let phase: Box<GamePhase> = Box::new(GameOverPhase{});
[INFO] [stderr]    |                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/engine.rs:126:33
[INFO] [stderr]     |
[INFO] [stderr] 126 |     pub fn get_phase(&self) -> &GamePhase {
[INFO] [stderr]     |                                 ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/phase.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn transition(&mut self, gs: &mut GameState) -> Box<GamePhase>;
[INFO] [stderr]    |                                                         ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:164:56
[INFO] [stderr]     |
[INFO] [stderr] 164 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:190:56
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:54:25
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub fn af(&self) -> (fn(f32) -> f32) {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:65:26
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn agf(&self) -> (fn(f32, f32) -> f32) {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/germanwhist/player.rs:189:23
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn card_to_vector(mut x: &mut ArrayViewMut<f32, Ix1>, card: &Option<BasicCard>, suit_order: &[Suit]) {
[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: method is never used: `dump`
[INFO] [stderr]    --> src/learning/neural_net.rs:283:5
[INFO] [stderr]     |
[INFO] [stderr] 283 |     fn dump(&self) {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/germanwhist/phase.rs:43:13
[INFO] [stderr]    |
[INFO] [stderr] 43 |             /// this is the first card played
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 44 |             gs.player_view_mut(action.player).remove_card(&action.card)?;
[INFO] [stderr]    |             ------------------------------------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/germanwhist/phase.rs:90:17
[INFO] [stderr]     |
[INFO] [stderr] 90  |                   /// Give players their new cards
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 91  | /                 {
[INFO] [stderr] 92  | |                     let r = gs.revealed.take().expect("must be a revealed card");
[INFO] [stderr] 93  | |                     gs.player_view_mut(winner).add_card(r.clone());
[INFO] [stderr] 94  | |
[INFO] [stderr] ...   |
[INFO] [stderr] 100 | |                     events[loser].push(rec_ev);
[INFO] [stderr] 101 | |                 }
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for expressions
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/learning/training.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |         /// epsilon-greedy state-choosing
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 49 |         let mut rng = thread_rng();
[INFO] [stderr]    |         --------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:71:16
[INFO] [stderr]    |
[INFO] [stderr] 71 |     phase: Box<GamePhase>,
[INFO] [stderr]    |                ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/engine.rs:78:24
[INFO] [stderr]    |
[INFO] [stderr] 78 |         let phase: Box<GamePhase> = Box::new(GameOverPhase{});
[INFO] [stderr]    |                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/engine.rs:126:33
[INFO] [stderr]     |
[INFO] [stderr] 126 |     pub fn get_phase(&self) -> &GamePhase {
[INFO] [stderr]     |                                 ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/germanwhist/phase.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn transition(&mut self, gs: &mut GameState) -> Box<GamePhase>;
[INFO] [stderr]    |                                                         ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:164:56
[INFO] [stderr]     |
[INFO] [stderr] 164 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/germanwhist/phase.rs:190:56
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn transition(&mut self, _: &mut GameState) -> Box<GamePhase> {
[INFO] [stderr]     |                                                        ^^^^^^^^^ help: use `dyn`: `dyn GamePhase`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:54:25
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub fn af(&self) -> (fn(f32) -> f32) {
[INFO] [stderr]    |                         ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around type
[INFO] [stderr]   --> src/learning/neural_net.rs:65:26
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn agf(&self) -> (fn(f32, f32) -> f32) {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/cards.rs:87:9
[INFO] [stderr]    |
[INFO] [stderr] 87 | /         lazy_static! {
[INFO] [stderr] 88 | |             static ref RED: String = format!("{}", color::Fg(color::Red));
[INFO] [stderr] 89 | |             static ref GREEN: String = format!("{}", color::Fg(color::Green));
[INFO] [stderr] 90 | |             static ref BLUE: String = format!("{}", color::Fg(color::Blue));
[INFO] [stderr] 91 | |             static ref RESET: String = format!("{}", color::Fg(color::Reset));
[INFO] [stderr] 92 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/germanwhist/player.rs:189:23
[INFO] [stderr]     |
[INFO] [stderr] 189 |     fn card_to_vector(mut x: &mut ArrayViewMut<f32, Ix1>, card: &Option<BasicCard>, suit_order: &[Suit]) {
[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: method is never used: `dump`
[INFO] [stderr]    --> src/learning/neural_net.rs:283:5
[INFO] [stderr]     |
[INFO] [stderr] 283 |     fn dump(&self) {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/bin/basic_player.rs:200:5
[INFO] [stderr]     |
[INFO] [stderr] 200 |     /// start the game
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 201 |     let mut actions = eng.possible_actions();
[INFO] [stderr]     |     ----------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/basic_player.rs:100:23
[INFO] [stderr]     |
[INFO] [stderr] 100 |     let players: [Box<Player>; 2] = [Box::new(BasicPlayer::new(r)), Box::new(RandomPlayer::new())];
[INFO] [stderr]     |                       ^^^^^^ help: use `dyn`: `dyn Player`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/bin/basic_player.rs:147:23
[INFO] [stderr]     |
[INFO] [stderr] 147 |     let players: [Box<Player>; 2] = [Box::new(BasicPlayer::new(None)), Box::new(RandomPlayer::new())];
[INFO] [stderr]     |                       ^^^^^^ help: use `dyn`: `dyn Player`
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> src/bin/basic_player.rs:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |         sl.train_on_episode(false);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     lazy_static! {
[INFO] [stderr] 20 | |         static ref A: Array<f32, Ix1> = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]);
[INFO] [stderr] 21 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 | /     lazy_static! {
[INFO] [stderr] 20 | |         static ref A: Array<f32, Ix1> = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]);
[INFO] [stderr] 21 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /     lazy_static! {
[INFO] [stderr] 27 | |         static ref A: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 28 | |                                                [-0.2, 0.6, 0.3, 0.1, 0.1]]);
[INFO] [stderr] 29 | |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr] 30 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:39:5
[INFO] [stderr]    |
[INFO] [stderr] 39 | /     lazy_static! {
[INFO] [stderr] 40 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2],
[INFO] [stderr] 41 | |                                                 [0.14, -0.4, -0.5, 0.28, 0.2],
[INFO] [stderr] 42 | |                                                 [0.56, 0.4, 0.75, -0.1, -0.2]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 45 | |         static ref A2: Array<f32, Ix1> = arr1(&[1.0, -0.2, 0.5]);
[INFO] [stderr] 46 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:56:5
[INFO] [stderr]    |
[INFO] [stderr] 56 | /     lazy_static! {
[INFO] [stderr] 57 | |         static ref A1: Array<f32, Ix2> = arr2(&[[0.1, 0.2],
[INFO] [stderr] 58 | |                                                 [0.3, 0.4],
[INFO] [stderr] 59 | |                                                 [0.5, 0.6]]);
[INFO] [stderr] ...  |
[INFO] [stderr] 62 | |         static ref A2: Array<f32, Ix1> = arr1(&[0.6, -0.4, -0.2]);
[INFO] [stderr] 63 | |     }
[INFO] [stderr]    | |_____^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `b` should have an upper case name
[INFO] [stderr]   --> src/bin/single_layer_learn.rs:29:20
[INFO] [stderr]    |
[INFO] [stderr] 29 |         static ref b: Array<f32, Ix1> = arr1(&[-0.071, 0.4]);
[INFO] [stderr]    |                    ^ help: convert the identifier to upper case: `B`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/card_engine-ae7674a0055dd362
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test learning::neural_net::tests::test_relu ... ok
[INFO] [stdout] test learning::neural_net::tests::test_linear ... ok
[INFO] [stdout] test learning::neural_net::tests::test_sigmoid ... ok
[INFO] [stdout] test learning::neural_net::tests::test_sym_sigmoid ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/basic_player-49f05cc9d68b1e29
[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
[INFO] [stdout] 
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/single_layer_learn-5b3ed4b48b26863f
[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
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests card-engine
[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
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "32d3287ebe6a37107fce03776be4145b30d4b67319b1c4912bc13062f91b35fc"`
[INFO] running `"docker" "rm" "-f" "32d3287ebe6a37107fce03776be4145b30d4b67319b1c4912bc13062f91b35fc"`
[INFO] [stdout] 32d3287ebe6a37107fce03776be4145b30d4b67319b1c4912bc13062f91b35fc
