[INFO] cloning repository https://github.com/shanegibbs/spatium-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shanegibbs/spatium-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanegibbs%2Fspatium-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanegibbs%2Fspatium-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73bf514ea9a4cf6962149d5d628ad169faa328a7 [INFO] documenting shanegibbs/spatium-wasm against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshanegibbs%2Fspatium-wasm" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shanegibbs/spatium-wasm on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shanegibbs/spatium-wasm [INFO] finished tweaking git repo https://github.com/shanegibbs/spatium-wasm [INFO] tweaked toml for git repo https://github.com/shanegibbs/spatium-wasm written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/shanegibbs/spatium-wasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/shanegibbs/rand.git` [INFO] [stderr] Updating git repository `https://github.com/raskr/rust-autograd` [INFO] [stderr] warning: Patch `rand v0.3.18 (https://github.com/shanegibbs/rand.git?branch=wasm#cbd99e5e)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version v0.2.2 [INFO] [stderr] Downloaded extprim v1.5.1 [INFO] [stderr] Downloaded ndarray v0.10.14 [INFO] [stderr] Downloaded serde_derive_internals v0.22.1 [INFO] [stderr] Downloaded serde_derive v1.0.35 [INFO] [stderr] Downloaded serde v1.0.35 [INFO] [stderr] Downloaded pcg_rand v0.7.1 [INFO] [stderr] Downloaded ndarray-rand v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2891585a091133b74896cc3868756ea53029c3c4c73b40817e23f2403f900e48 [INFO] running `Command { std: "docker" "start" "-a" "2891585a091133b74896cc3868756ea53029c3c4c73b40817e23f2403f900e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2891585a091133b74896cc3868756ea53029c3c4c73b40817e23f2403f900e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2891585a091133b74896cc3868756ea53029c3c4c73b40817e23f2403f900e48", kill_on_drop: false }` [INFO] [stdout] 2891585a091133b74896cc3868756ea53029c3c4c73b40817e23f2403f900e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1d4d3c088570e5985cd73d598302a139d717c823866fd319e62685161a00f59 [INFO] running `Command { std: "docker" "start" "-a" "a1d4d3c088570e5985cd73d598302a139d717c823866fd319e62685161a00f59", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: Patch `rand v0.3.18 (https://github.com/shanegibbs/rand.git?branch=wasm#cbd99e5e)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling ndarray v0.10.14 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Compiling spatium-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling extprim v1.5.1 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling serde_derive_internals v0.22.1 [INFO] [stderr] Checking ndarray-rand v0.6.1 [INFO] [stderr] Checking autograd v0.7.0 (https://github.com/raskr/rust-autograd#71acf4c4) [INFO] [stderr] Compiling serde_derive v1.0.35 [INFO] [stderr] Checking serde v1.0.35 [INFO] [stderr] Checking serde_json v1.0.13 [INFO] [stderr] Checking pcg_rand v0.7.1 [INFO] [stderr] Checking spatium-lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/game/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/game/mod.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Box` [INFO] [stdout] | [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] --> lib/src/game/mod.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub game1: GameDescription<(usize)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - pub game1: GameDescription<(usize)>, [INFO] [stdout] 59 + pub game1: GameDescription, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> lib/src/game/mod.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] 93 + pub fn into_game(self, rng: RcRng) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> lib/src/network/qtable.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | RcRng, [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RcRng` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | GameState, [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &Action, [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Action` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | &GameState, [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | usize, [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | bool, [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/lib.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fn debug(&self, &str) {} [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/rng.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | rng: Rc>>, [INFO] [stdout] | ^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - rng: Rc>>, [INFO] [stdout] 6 + rng: Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/spatium.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | game: Box, [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - game: Box, [INFO] [stdout] 17 + game: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/spatium.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | network: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - network: Box, [INFO] [stdout] 18 + network: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool); [INFO] [stdout] 16 + fn step(&mut self, sys: &dyn SpatiumSys, action: &Action) -> (GameState, usize, bool); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] 18 + fn eval(&self, &dyn SpatiumSys, &Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] 18 + fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] 93 + pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] 18 + fn test(&self, &dyn SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] 21 + fn next_action(&mut self, &dyn SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - &SpatiumSys, [INFO] [stdout] 24 + &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:88:67 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn to_model(self, rng: RcRng, ios: (usize, usize)) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub fn to_model(self, rng: RcRng, ios: (usize, usize)) -> Box { [INFO] [stdout] 88 + pub fn to_model(self, rng: RcRng, ios: (usize, usize)) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/rng.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(rng: Box) -> Self { [INFO] [stdout] | ^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new(rng: Box) -> Self { [INFO] [stdout] 10 + pub fn new(rng: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn step(&mut self, _sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - fn step(&mut self, _sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] 154 + fn step(&mut self, _sys: &dyn SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn new(p: Game1Parameters, mut rng: RcRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 - pub fn new(p: Game1Parameters, mut rng: RcRng) -> Box { [INFO] [stdout] 211 + pub fn new(p: Game1Parameters, mut rng: RcRng) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 - fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] 269 + fn step(&mut self, sys: &dyn SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 - fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] 285 + fn eval(&self, sys: &dyn SpatiumSys, model: &Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:285:50 [INFO] [stdout] | [INFO] [stdout] 285 | fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 - fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] 285 + fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/qtable.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn test(&self, _sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn test(&self, _sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] 22 + fn test(&self, _sys: &dyn SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/qtable.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | fn next_action(&mut self, _: &SpatiumSys, rng: Option, s: &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn next_action(&mut self, _: &SpatiumSys, rng: Option, s: &GameState) -> (Action, f32) { [INFO] [stdout] 31 + fn next_action(&mut self, _: &dyn SpatiumSys, rng: Option, s: &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/qtable.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | _sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - _sys: &SpatiumSys, [INFO] [stdout] 50 + _sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | _sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - _sys: &SpatiumSys, [INFO] [stdout] 90 + _sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - sys: &SpatiumSys, [INFO] [stdout] 101 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - sys: &SpatiumSys, [INFO] [stdout] 110 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | fn test(&self, sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - fn test(&self, sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] 158 + fn test(&self, sys: &dyn SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 165 - sys: &SpatiumSys, [INFO] [stdout] 165 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - sys: &SpatiumSys, [INFO] [stdout] 193 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mse_each` [INFO] [stdout] --> lib/src/network/neural_net.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | mse_each: Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mse_each` [INFO] [stdout] --> lib/src/network/neural_net.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn mse_each(&self, x_val: Array2, y_val: Array2) -> ArrayD { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/action.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | i => panic!(format!("Bad action value: {}", i)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 40 - i => panic!(format!("Bad action value: {}", i)), [INFO] [stdout] 40 + i => panic!("Bad action value: {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/lib.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | panic!(format!("[fatal] {}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 110 - panic!(format!("[fatal] {}", e)) [INFO] [stdout] 110 + panic!("[fatal] {}", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting spatium-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.37s [INFO] running `Command { std: "docker" "inspect" "a1d4d3c088570e5985cd73d598302a139d717c823866fd319e62685161a00f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d4d3c088570e5985cd73d598302a139d717c823866fd319e62685161a00f59", kill_on_drop: false }` [INFO] [stdout] a1d4d3c088570e5985cd73d598302a139d717c823866fd319e62685161a00f59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 9d10da3689635b461f767a7395aa5f0b21b0f6b9d8ca677d8c5786fdd6cea2f9 [INFO] running `Command { std: "docker" "start" "-a" "9d10da3689635b461f767a7395aa5f0b21b0f6b9d8ca677d8c5786fdd6cea2f9", kill_on_drop: false }` [INFO] [stderr] warning: Patch `rand v0.3.18 (https://github.com/shanegibbs/rand.git?branch=wasm#cbd99e5e)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling ndarray v0.10.14 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling spatium-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling extprim v1.5.1 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling serde_derive_internals v0.22.1 [INFO] [stderr] Checking ndarray-rand v0.6.1 [INFO] [stderr] Checking autograd v0.7.0 (https://github.com/raskr/rust-autograd#71acf4c4) [INFO] [stderr] Compiling serde_derive v1.0.35 [INFO] [stderr] Checking serde v1.0.35 [INFO] [stderr] Checking serde_json v1.0.13 [INFO] [stderr] Checking pcg_rand v0.7.1 [INFO] [stderr] Checking spatium-lib v0.1.0 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/game/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/game/mod.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Box` [INFO] [stdout] | [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] --> lib/src/game/mod.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub game1: GameDescription<(usize)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - pub game1: GameDescription<(usize)>, [INFO] [stdout] 59 + pub game1: GameDescription, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> lib/src/game/mod.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 93 - pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] 93 + pub fn into_game(self, rng: RcRng) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> lib/src/network/qtable.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Option` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &SpatiumSys` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | RcRng, [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: RcRng` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | GameState, [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &Action, [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Action` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | &GameState, [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &GameState` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | usize, [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/network/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | bool, [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: bool` [INFO] [stdout] | [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> lib/src/lib.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | fn debug(&self, &str) {} [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/rng.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | rng: Rc>>, [INFO] [stdout] | ^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - rng: Rc>>, [INFO] [stdout] 6 + rng: Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/spatium.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | game: Box, [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - game: Box, [INFO] [stdout] 17 + game: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/spatium.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | network: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - network: Box, [INFO] [stdout] 18 + network: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool); [INFO] [stdout] 16 + fn step(&mut self, sys: &dyn SpatiumSys, action: &Action) -> (GameState, usize, bool); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] 18 + fn eval(&self, &dyn SpatiumSys, &Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] 18 + fn eval(&self, &SpatiumSys, &Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/mod.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] 93 + pub fn into_game(self, rng: RcRng) -> (Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn test(&self, &SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] 18 + fn test(&self, &dyn SpatiumSys, &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn next_action(&mut self, &SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] 21 + fn next_action(&mut self, &dyn SpatiumSys, Option, &GameState) -> (Action, f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - &SpatiumSys, [INFO] [stdout] 24 + &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/mod.rs:88:67 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn to_model(self, rng: RcRng, ios: (usize, usize)) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub fn to_model(self, rng: RcRng, ios: (usize, usize)) -> Box { [INFO] [stdout] 88 + pub fn to_model(self, rng: RcRng, ios: (usize, usize)) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/rng.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(rng: Box) -> Self { [INFO] [stdout] | ^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new(rng: Box) -> Self { [INFO] [stdout] 10 + pub fn new(rng: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | fn step(&mut self, _sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 - fn step(&mut self, _sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] 154 + fn step(&mut self, _sys: &dyn SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:211:59 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn new(p: Game1Parameters, mut rng: RcRng) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 - pub fn new(p: Game1Parameters, mut rng: RcRng) -> Box { [INFO] [stdout] 211 + pub fn new(p: Game1Parameters, mut rng: RcRng) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 - fn step(&mut self, sys: &SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] 269 + fn step(&mut self, sys: &dyn SpatiumSys, action: &Action) -> (GameState, usize, bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 - fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] 285 + fn eval(&self, sys: &dyn SpatiumSys, model: &Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/game/game1.rs:285:50 [INFO] [stdout] | [INFO] [stdout] 285 | fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 285 - fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] 285 + fn eval(&self, sys: &SpatiumSys, model: &Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/qtable.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn test(&self, _sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn test(&self, _sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] 22 + fn test(&self, _sys: &dyn SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/qtable.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | fn next_action(&mut self, _: &SpatiumSys, rng: Option, s: &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn next_action(&mut self, _: &SpatiumSys, rng: Option, s: &GameState) -> (Action, f32) { [INFO] [stdout] 31 + fn next_action(&mut self, _: &dyn SpatiumSys, rng: Option, s: &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/qtable.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | _sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - _sys: &SpatiumSys, [INFO] [stdout] 50 + _sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | _sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - _sys: &SpatiumSys, [INFO] [stdout] 90 + _sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - sys: &SpatiumSys, [INFO] [stdout] 101 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 - sys: &SpatiumSys, [INFO] [stdout] 110 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | fn test(&self, sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - fn test(&self, sys: &SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] 158 + fn test(&self, sys: &dyn SpatiumSys, game_state: &GameState) -> (Action, f32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 165 - sys: &SpatiumSys, [INFO] [stdout] 165 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> lib/src/network/single_layer.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | sys: &SpatiumSys, [INFO] [stdout] | ^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - sys: &SpatiumSys, [INFO] [stdout] 193 + sys: &dyn SpatiumSys, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mse_each` [INFO] [stdout] --> lib/src/network/neural_net.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | mse_each: Tensor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mse_each` [INFO] [stdout] --> lib/src/network/neural_net.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn mse_each(&self, x_val: Array2, y_val: Array2) -> ArrayD { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/action.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | i => panic!(format!("Bad action value: {}", i)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 40 - i => panic!(format!("Bad action value: {}", i)), [INFO] [stdout] 40 + i => panic!("Bad action value: {}", i), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> lib/src/lib.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | panic!(format!("[fatal] {}", e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 110 - panic!(format!("[fatal] {}", e)) [INFO] [stdout] 110 + panic!("[fatal] {}", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting spatium-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.82s [INFO] running `Command { std: "docker" "inspect" "9d10da3689635b461f767a7395aa5f0b21b0f6b9d8ca677d8c5786fdd6cea2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d10da3689635b461f767a7395aa5f0b21b0f6b9d8ca677d8c5786fdd6cea2f9", kill_on_drop: false }` [INFO] [stdout] 9d10da3689635b461f767a7395aa5f0b21b0f6b9d8ca677d8c5786fdd6cea2f9