[INFO] updating cached repository masonium/card-engine [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/masonium/card-engine [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/masonium/card-engine" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/masonium/card-engine"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/masonium/card-engine'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/masonium/card-engine" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/masonium/card-engine"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/masonium/card-engine'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 82041c99c5a84b4425e2c3ffb656a591da7e0775 [INFO] sha for GitHub repo masonium/card-engine: 82041c99c5a84b4425e2c3ffb656a591da7e0775 [INFO] validating manifest of masonium/card-engine on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of masonium/card-engine on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing masonium/card-engine [INFO] finished frobbing masonium/card-engine [INFO] frobbed toml for masonium/card-engine written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/masonium/card-engine/Cargo.toml [INFO] started frobbing masonium/card-engine [INFO] finished frobbing masonium/card-engine [INFO] frobbed toml for masonium/card-engine written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/masonium/card-engine/Cargo.toml [INFO] crate masonium/card-engine already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking masonium/card-engine against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/masonium/card-engine:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] bb18f1ebb7fc419b12ea434a2c24a2eafe0108047ab24d8ceb145467f8a68855 [INFO] running `"docker" "start" "-a" "bb18f1ebb7fc419b12ea434a2c24a2eafe0108047ab24d8ceb145467f8a68855"` [INFO] [stderr] Checking num-complex v0.1.37 [INFO] [stderr] Checking termion v1.3.0 [INFO] [stderr] Checking ndarray v0.9.1 [INFO] [stderr] Checking ndarray-rand v0.5.0 [INFO] [stderr] Checking card-engine v0.1.0 (/opt/crater/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: 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, [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 = 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; [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 { [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 { [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/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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/germanwhist/engine.rs:71:16 [INFO] [stderr] | [INFO] [stderr] 71 | phase: Box, [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 = 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; [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 { [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 { [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/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, card: &Option, 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: 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, card: &Option, 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: 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/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; 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; 2] = [Box::new(BasicPlayer::new(None)), Box::new(RandomPlayer::new())]; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Player` [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; 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; 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref A: Array = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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 = 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: 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: 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 = 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: 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: 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 = 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 13.59s [INFO] running `"docker" "inspect" "bb18f1ebb7fc419b12ea434a2c24a2eafe0108047ab24d8ceb145467f8a68855"` [INFO] running `"docker" "rm" "-f" "bb18f1ebb7fc419b12ea434a2c24a2eafe0108047ab24d8ceb145467f8a68855"` [INFO] [stdout] bb18f1ebb7fc419b12ea434a2c24a2eafe0108047ab24d8ceb145467f8a68855