[INFO] cloning repository https://github.com/masonium/card-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masonium/card-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonium%2Fcard-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonium%2Fcard-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82041c99c5a84b4425e2c3ffb656a591da7e0775 [INFO] checking masonium/card-engine against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonium%2Fcard-engine" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masonium/card-engine on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/masonium/card-engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0acf175642b4554200a3e69c1efd775aaad780f165785b869f1f184472737d83 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0acf175642b4554200a3e69c1efd775aaad780f165785b869f1f184472737d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0acf175642b4554200a3e69c1efd775aaad780f165785b869f1f184472737d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0acf175642b4554200a3e69c1efd775aaad780f165785b869f1f184472737d83", kill_on_drop: false }` [INFO] [stdout] 0acf175642b4554200a3e69c1efd775aaad780f165785b869f1f184472737d83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66edfdba6d0e5481596941f277bae90c4824d507b9bd6ffdba2f65a860fb8911 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "66edfdba6d0e5481596941f277bae90c4824d507b9bd6ffdba2f65a860fb8911", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling ndarray v0.9.1 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking itertools v0.6.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking termion v1.3.0 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking num-complex v0.1.37 [INFO] [stderr] Checking clap v2.24.2 [INFO] [stderr] Checking ndarray-rand v0.5.0 [INFO] [stderr] Checking card-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/engine.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | phase: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/engine.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let phase: Box = Box::new(GameOverPhase{}); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/engine.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_phase(&self) -> &GamePhase { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/phase.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | fn transition(&mut self, gs: &mut GameState) -> Box; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/germanwhist/phase.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | /// this is the first card played [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | gs.player_view_mut(action.player).remove_card(&action.card)?; [INFO] [stdout] | ------------------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/germanwhist/phase.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | /// Give players their new cards [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | / { [INFO] [stdout] 92 | | let r = gs.revealed.take().expect("must be a revealed card"); [INFO] [stdout] 93 | | gs.player_view_mut(winner).add_card(r.clone()); [INFO] [stdout] 94 | | [INFO] [stdout] ... | [INFO] [stdout] 100 | | events[loser].push(rec_ev); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/phase.rs:164:56 [INFO] [stdout] | [INFO] [stdout] 164 | fn transition(&mut self, _: &mut GameState) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/phase.rs:190:56 [INFO] [stdout] | [INFO] [stdout] 190 | fn transition(&mut self, _: &mut GameState) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/learning/model.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_q(&self, &ArrayView) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &ArrayView` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/learning/neural_net.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn af(&self) -> (fn(f32) -> f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/learning/neural_net.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn agf(&self) -> (fn(f32, f32) -> f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/learning/training.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | /// epsilon-greedy state-choosing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | let mut rng = thread_rng(); [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/engine.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | phase: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/engine.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let phase: Box = Box::new(GameOverPhase{}); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/engine.rs:126:33 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_phase(&self) -> &GamePhase { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/phase.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | fn transition(&mut self, gs: &mut GameState) -> Box; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/germanwhist/phase.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | /// this is the first card played [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | gs.player_view_mut(action.player).remove_card(&action.card)?; [INFO] [stdout] | ------------------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/germanwhist/phase.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | /// Give players their new cards [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | / { [INFO] [stdout] 92 | | let r = gs.revealed.take().expect("must be a revealed card"); [INFO] [stdout] 93 | | gs.player_view_mut(winner).add_card(r.clone()); [INFO] [stdout] 94 | | [INFO] [stdout] ... | [INFO] [stdout] 100 | | events[loser].push(rec_ev); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/phase.rs:164:56 [INFO] [stdout] | [INFO] [stdout] 164 | fn transition(&mut self, _: &mut GameState) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/germanwhist/phase.rs:190:56 [INFO] [stdout] | [INFO] [stdout] 190 | fn transition(&mut self, _: &mut GameState) -> Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GamePhase` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/learning/model.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | fn evaluate_q(&self, &ArrayView) -> f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &ArrayView` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/learning/neural_net.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn af(&self) -> (fn(f32) -> f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/learning/neural_net.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn agf(&self) -> (fn(f32, f32) -> f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/learning/training.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | /// epsilon-greedy state-choosing [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | let mut rng = thread_rng(); [INFO] [stdout] | --------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/cards.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | / lazy_static! { [INFO] [stdout] 88 | | static ref RED: String = format!("{}", color::Fg(color::Red)); [INFO] [stdout] 89 | | static ref GREEN: String = format!("{}", color::Fg(color::Green)); [INFO] [stdout] 90 | | static ref BLUE: String = format!("{}", color::Fg(color::Blue)); [INFO] [stdout] 91 | | static ref RESET: String = format!("{}", color::Fg(color::Reset)); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/germanwhist/player.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | fn card_to_vector(mut x: &mut ArrayViewMut, card: &Option, suit_order: &[Suit]) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/learning/neural_net.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cards.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | ALL_SUITS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 40 | ALL_SUITS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 40 | IntoIterator::into_iter(ALL_SUITS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cards.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | ALL_RANKS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 144 | ALL_RANKS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 144 | IntoIterator::into_iter(ALL_RANKS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/basic_player.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | let players: [Box; 2] = [Box::new(BasicPlayer::new(r)), Box::new(RandomPlayer::new())]; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/basic_player.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | let players: [Box; 2] = [Box::new(BasicPlayer::new(None)), Box::new(RandomPlayer::new())]; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/bin/basic_player.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | /// start the game [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | let mut actions = eng.possible_actions(); [INFO] [stdout] | ----------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/basic_player.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | let players: [Box; 2] = [Box::new(BasicPlayer::new(r)), Box::new(RandomPlayer::new())]; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/basic_player.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | let players: [Box; 2] = [Box::new(BasicPlayer::new(None)), Box::new(RandomPlayer::new())]; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Player` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/bin/basic_player.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | /// start the game [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 201 | let mut actions = eng.possible_actions(); [INFO] [stdout] | ----------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/germanwhist/player.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | fn card_to_vector(mut x: &mut ArrayViewMut, card: &Option, suit_order: &[Suit]) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref A: Array = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref A: Array = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref A: Array = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref A: Array = arr1(&[0.3, 0.4, -0.5, 0.8, 0.2]); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref A: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 28 | | [-0.2, 0.6, 0.3, 0.1, 0.1]]); [INFO] [stdout] 29 | | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / lazy_static! { [INFO] [stdout] 40 | | static ref A1: Array = arr2(&[[0.3, 0.4, -0.5, 0.8, 0.2], [INFO] [stdout] 41 | | [0.14, -0.4, -0.5, 0.28, 0.2], [INFO] [stdout] 42 | | [0.56, 0.4, 0.75, -0.1, -0.2]]); [INFO] [stdout] ... | [INFO] [stdout] 45 | | static ref A2: Array = arr1(&[1.0, -0.2, 0.5]); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/basic_player.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | sl.train_on_episode(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/single_layer_learn.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / lazy_static! { [INFO] [stdout] 57 | | static ref A1: Array = arr2(&[[0.1, 0.2], [INFO] [stdout] 58 | | [0.3, 0.4], [INFO] [stdout] 59 | | [0.5, 0.6]]); [INFO] [stdout] ... | [INFO] [stdout] 62 | | static ref A2: Array = arr1(&[0.6, -0.4, -0.2]); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/learning/neural_net.rs:283:8 [INFO] [stdout] | [INFO] [stdout] 283 | fn dump(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cards.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | ALL_SUITS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 40 | ALL_SUITS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 40 | IntoIterator::into_iter(ALL_SUITS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> src/cards.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | ALL_RANKS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 144 | ALL_RANKS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 144 | IntoIterator::into_iter(ALL_RANKS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/basic_player.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | sl.train_on_episode(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `b` should have an upper case name [INFO] [stdout] --> src/bin/single_layer_learn.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] | ^ help: convert the identifier to upper case: `B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `b` should have an upper case name [INFO] [stdout] --> src/bin/single_layer_learn.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | static ref b: Array = arr1(&[-0.071, 0.4]); [INFO] [stdout] | ^ help: convert the identifier to upper case: `B` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.40s [INFO] running `Command { std: "docker" "inspect" "66edfdba6d0e5481596941f277bae90c4824d507b9bd6ffdba2f65a860fb8911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66edfdba6d0e5481596941f277bae90c4824d507b9bd6ffdba2f65a860fb8911", kill_on_drop: false }` [INFO] [stdout] 66edfdba6d0e5481596941f277bae90c4824d507b9bd6ffdba2f65a860fb8911