[INFO] fetching crate rsrl 0.8.1... [INFO] checking rsrl-0.8.1 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate rsrl 0.8.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rsrl 0.8.1 [INFO] finished tweaking crates.io crate rsrl 0.8.1 [INFO] tweaked toml for crates.io crate rsrl 0.8.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsrl 0.8.1 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsrl 0.8.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8 [INFO] running `Command { std: "docker" "start" "138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking itertools v0.8.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking cblas-sys v0.1.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking blas-src v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openblas-src v0.7.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling special-fun v0.2.0 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking spaces v5.0.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking lapacke-sys v0.1.4 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking blas-src v0.4.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking lapack-src v0.4.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking quickcheck v0.9.0 [INFO] [stderr] Checking serde_test v1.0.102 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking lapacke v0.2.0 [INFO] [stderr] Checking cauchy v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling rsrl_derive v0.1.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking lfa v0.15.0 [INFO] [stderr] Checking ndarray-linalg v0.12.0 [INFO] [stderr] Checking rsrl_domains v0.2.0 [INFO] [stderr] Checking rstat v0.6.0 [INFO] [stderr] Checking rsrl v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::dense::*` [INFO] [stdout] --> src/fa/tabular/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub use self::dense::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::sparse::*` [INFO] [stdout] --> src/fa/tabular/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use self::sparse::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::dense::*` [INFO] [stdout] --> src/fa/tabular/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub use self::dense::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::sparse::*` [INFO] [stdout] --> src/fa/tabular/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use self::sparse::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnumerablePolicy` [INFO] [stdout] --> src/policies/greedy.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | policies::{EnumerablePolicy, Greedy, Policy}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnumerablePolicy` and `Function` [INFO] [stdout] --> src/policies/random.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | policies::{EnumerablePolicy, Policy, Random}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnumerablePolicy` [INFO] [stdout] --> src/policies/epsilon_greedy.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | policies::{EnumerablePolicy, EpsilonGreedy, Policy, Greedy, Random}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Basis`, `LFA`, `Polynomial`, and `optim::SGD` [INFO] [stdout] --> src/policies/softmax.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | basis::{Basis, Polynomial}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 231 | optim::SGD, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 232 | LFA, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::E` [INFO] [stdout] --> src/policies/softmax.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | use std::f64::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `td_error` is never read [INFO] [stdout] --> src/control/td/q_lambda.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | td_error: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `td_error` and `qfunc_response` are never read [INFO] [stdout] --> src/control/td/sarsa.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | td_error: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | qfunc_response: R, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `td_error` is never read [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | td_error: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `norm` is never read [INFO] [stdout] --> src/control/nac.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 11 | norm: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn borrow(&self) -> Ref { self.0.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn borrow(&self) -> Ref<'_, T> { self.0.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn borrow_mut(&self) -> RefMut { self.0.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn borrow_mut(&self) -> RefMut<'_, T> { self.0.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | fn weights_view(&self) -> WeightsView; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn weights_view(&self) -> WeightsView<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | fn weights_view_mut(&mut self) -> WeightsViewMut; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | fn weights_view(&self) -> WeightsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | fn weights_view(&self) -> WeightsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn weights_view_mut(&mut self) -> WeightsViewMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | fn weights_view(&self) -> WeightsView { self.weights.view().insert_axis(Axis(1)) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | fn weights_view(&self) -> WeightsView<'_> { self.weights.view().insert_axis(Axis(1)) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | fn weights_view_mut(&mut self) -> WeightsViewMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 208 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | fn weights_view(&self) -> WeightsView { self.weights.view() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | fn weights_view(&self) -> WeightsView<'_> { self.weights.view() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | fn weights_view_mut(&mut self) -> WeightsViewMut { self.weights.view_mut() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 300 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { self.weights.view_mut() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> crate::params::WeightsView { self.0.view().insert_axis(Axis(1)) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> crate::params::WeightsView<'_> { self.0.view().insert_axis(Axis(1)) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | fn weights_view(&self) -> crate::params::WeightsView { self.0.view() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | fn weights_view(&self) -> crate::params::WeightsView<'_> { self.0.view() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut { self.0.view_mut() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut<'_> { self.0.view_mut() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/beta.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | fn weights_view(&self) -> WeightsView { unimplemented!() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn weights_view(&self) -> WeightsView<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/beta.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | fn weights_view_mut(&mut self) -> WeightsViewMut { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/fixed_var.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> WeightsView { self.mean.weights_view() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> WeightsView<'_> { self.mean.weights_view() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/fixed_var.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> WeightsViewMut { self.mean.weights_view_mut() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { self.mean.weights_view_mut() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/general.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | fn weights_view(&self) -> WeightsView { unimplemented!() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn weights_view(&self) -> WeightsView<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/general.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | fn weights_view_mut(&mut self) -> WeightsViewMut { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/ipp.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn weights_view(&self) -> WeightsView { unimplemented!() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn weights_view(&self) -> WeightsView<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/ipp.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | fn weights_view_mut(&mut self) -> WeightsViewMut { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Composition`, `Differentiable`, and `transforms::Softplus` [INFO] [stdout] --> examples/nac_softmax.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | transforms::Softplus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | Composition, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Differentiable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `spaces::Space` and `td::SARSA` [INFO] [stdout] --> examples/tdac_beta.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | control::{ac::ActorCritic, td::SARSA}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | spaces::Space, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `State`, `spaces::Space`, and `td::SARSA` [INFO] [stdout] --> examples/tdac.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | control::{ac::ActorCritic, td::SARSA}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | domains::{ContinuousMountainCar, Domain, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | spaces::Space, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EpsilonGreedy` and `Random` [INFO] [stdout] --> examples/q_learning.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | policies::{EpsilonGreedy, Greedy, Policy, Random}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `td_error` is never read [INFO] [stdout] --> src/control/td/q_lambda.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 21 | td_error: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `td_error` and `qfunc_response` are never read [INFO] [stdout] --> src/control/td/sarsa.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | td_error: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | qfunc_response: R, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `td_error` is never read [INFO] [stdout] --> src/control/td/sarsa_lambda.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 20 | td_error: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `norm` is never read [INFO] [stdout] --> src/control/nac.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Response { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 11 | norm: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/policies/greedy.rs:152:37 [INFO] [stdout] | [INFO] [stdout] 152 | assert!(p.sample(&mut rng, &vec![1e-7, 2e-7].into()) == 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/policies/epsilon_greedy.rs:99:40 [INFO] [stdout] | [INFO] [stdout] 99 | let q = MockQ::new_shared(Some(vec![1.0, 0.0].into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/policies/epsilon_greedy.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | match p.sample(&mut rng, &vec![].into()) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec` [INFO] [stdout] --> src/policies/epsilon_greedy.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | let q = MockQ::new_shared(Some(vec![-1.0, 0.0, 0.0, 0.0].into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path ` as Into>::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn borrow(&self) -> Ref { self.0.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn borrow(&self) -> Ref<'_, T> { self.0.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn borrow_mut(&self) -> RefMut { self.0.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn borrow_mut(&self) -> RefMut<'_, T> { self.0.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | fn weights_view(&self) -> WeightsView; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn weights_view(&self) -> WeightsView<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | fn weights_view_mut(&mut self) -> WeightsViewMut; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 124 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | fn weights_view(&self) -> WeightsView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 139 | fn weights_view(&self) -> WeightsView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/params/mod.rs:143:25 [INFO] [stdout] | [INFO] [stdout] 143 | fn weights_view_mut(&mut self) -> WeightsViewMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 143 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/mocking.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn weights_view(&self) -> WeightsView { unimplemented!() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | fn weights_view(&self) -> WeightsView<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/mocking.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | fn weights_view_mut(&mut self) -> WeightsViewMut { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | fn weights_view(&self) -> WeightsView { self.weights.view().insert_axis(Axis(1)) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | fn weights_view(&self) -> WeightsView<'_> { self.weights.view().insert_axis(Axis(1)) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | fn weights_view_mut(&mut self) -> WeightsViewMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 208 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | fn weights_view(&self) -> WeightsView { self.weights.view() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 298 | fn weights_view(&self) -> WeightsView<'_> { self.weights.view() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/linear.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | fn weights_view_mut(&mut self) -> WeightsViewMut { self.weights.view_mut() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 300 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { self.weights.view_mut() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> crate::params::WeightsView { self.0.view().insert_axis(Axis(1)) } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> crate::params::WeightsView<'_> { self.0.view().insert_axis(Axis(1)) } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | fn weights_view(&self) -> crate::params::WeightsView { self.0.view() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | fn weights_view(&self) -> crate::params::WeightsView<'_> { self.0.view() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fa/tabular/dense.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut { self.0.view_mut() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | fn weights_view_mut(&mut self) -> crate::params::WeightsViewMut<'_> { self.0.view_mut() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/beta.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | fn weights_view(&self) -> WeightsView { unimplemented!() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 82 | fn weights_view(&self) -> WeightsView<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/beta.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | fn weights_view_mut(&mut self) -> WeightsViewMut { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/fixed_var.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> WeightsView { self.mean.weights_view() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn weights_view(&self) -> WeightsView<'_> { self.mean.weights_view() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/fixed_var.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> WeightsViewMut { self.mean.weights_view_mut() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { self.mean.weights_view_mut() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/general.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | fn weights_view(&self) -> WeightsView { unimplemented!() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | fn weights_view(&self) -> WeightsView<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/gaussian/general.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | fn weights_view_mut(&mut self) -> WeightsViewMut { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/ipp.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | fn weights_view(&self) -> WeightsView { unimplemented!() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn weights_view(&self) -> WeightsView<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/policies/ipp.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | fn weights_view_mut(&mut self) -> WeightsViewMut { unimplemented!() } [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn weights_view_mut(&mut self) -> WeightsViewMut<'_> { unimplemented!() } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsrl` (lib test) due to 4 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8", kill_on_drop: false }` [INFO] [stdout] 138008ef2da880fb2e8c6774b6d8b7840804cf78c594d90630eea3799c45f9c8