[INFO] cloning repository https://github.com/soraxas/sbmp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soraxas/sbmp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraxas%2Fsbmp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraxas%2Fsbmp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8c3d7b983f7108f854006e5530a0959354ba7f4 [INFO] testing soraxas/sbmp against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraxas%2Fsbmp" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/soraxas/sbmp [INFO] finished tweaking git repo https://github.com/soraxas/sbmp [INFO] tweaked toml for git repo https://github.com/soraxas/sbmp written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soraxas/sbmp on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/soraxas/sbmp 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.94 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded downcast-rs v2.0.1 [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded anyhow v1.0.97 [INFO] [stderr] Downloaded bytemuck v1.22.0 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded libm v0.2.11 [INFO] [stderr] Downloaded statrs v0.18.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.9 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded itertools v0.14.0 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded syn v2.0.99 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] [stderr] Downloaded libc v0.2.170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ca437e3d4410d26402a868b098ab4fe4874d5df91e243e6d18a9c266399062e [INFO] running `Command { std: "docker" "start" "-a" "2ca437e3d4410d26402a868b098ab4fe4874d5df91e243e6d18a9c266399062e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ca437e3d4410d26402a868b098ab4fe4874d5df91e243e6d18a9c266399062e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca437e3d4410d26402a868b098ab4fe4874d5df91e243e6d18a9c266399062e", kill_on_drop: false }` [INFO] [stdout] 2ca437e3d4410d26402a868b098ab4fe4874d5df91e243e6d18a9c266399062e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a35a62d84c1b4b09e3be28a8703f28b905b8f1537b3743030e10d3ca9a901cb [INFO] running `Command { std: "docker" "start" "-a" "9a35a62d84c1b4b09e3be28a8703f28b905b8f1537b3743030e10d3ca9a901cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling sbmp_derive v0.1.0 (/opt/rustwide/workdir/sbmp_derive) [INFO] [stdout] warning: function `find_attribute` is never used [INFO] [stdout] --> sbmp_derive/src/lib.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn find_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_meta` is never used [INFO] [stdout] --> sbmp_derive/src/lib.rs:411:4 [INFO] [stdout] | [INFO] [stdout] 411 | fn find_meta(attribute: &Attribute, meta_name: &str, mut closure: impl FnMut(&syn::MetaNameValue)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sbmp_derive/src/lib.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | fn new(attributes: &Vec) -> MetaNameValueIterator { [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] 349 | fn new(attributes: &Vec) -> MetaNameValueIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling sbmp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/base/motion_validator/discrete_motion_validator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (self.checker.is_valid(s2)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (self.checker.is_valid(s2)) { [INFO] [stdout] 34 + if self.checker.is_valid(s2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/base/state_validity_checker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [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: `statespace::StateSpace` [INFO] [stdout] --> src/base/state_validity_checker.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{state_allocator::StateId, statespace::StateSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 131 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 246 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 247 | [INFO] [stdout] 248 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 253 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 254 | [INFO] [stdout] 255 | &Vec::new() [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 260 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 261 | [INFO] [stdout] 262 | &HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 271 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 272 | [INFO] [stdout] 273 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 282 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 283 | [INFO] [stdout] 284 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 289 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 290 | [INFO] [stdout] 291 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 296 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 297 | [INFO] [stdout] 298 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 328 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 329 | [INFO] [stdout] 330 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 335 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 336 | [INFO] [stdout] 337 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 357 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 358 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | panic!("Not implemented correctly."); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 19 | assert_eq!(focus1.len(), dimension); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:244:48 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/base/statespace.rs:244:65 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | state: &mut StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | loc: &ValueLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | state: &StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | loc: &ValueLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:287:41 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:287:62 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:294:64 [INFO] [stdout] | [INFO] [stdout] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reals` [INFO] [stdout] --> src/base/statespace.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/base/statespace.rs:301:51 [INFO] [stdout] | [INFO] [stdout] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/base/statespace.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reals` [INFO] [stdout] --> src/base/statespace.rs:306:58 [INFO] [stdout] | [INFO] [stdout] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:311:39 [INFO] [stdout] | [INFO] [stdout] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/base/statespace.rs:311:53 [INFO] [stdout] | [INFO] [stdout] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/base/statespace.rs:316:47 [INFO] [stdout] | [INFO] [stdout] 316 | fn register_default_projection(&mut self, projection: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | fn get_projection(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 340 | fn has_projection(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/base/statespace.rs:355:63 [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | fn print_state(&self, state: &StateId) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero` [INFO] [stdout] --> src/base/statespace.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> src/base/statespace.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/base/statespace.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspace` [INFO] [stdout] --> src/base/statespace.rs:386:44 [INFO] [stdout] | [INFO] [stdout] 386 | fn alloc_subspace_state_sampler(&self, subspace: &dyn StateSpace) -> Arc { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | state: &mut StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | loc: &SubstateLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | state: &StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | loc: &SubstateLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/base/statespace.rs:417:36 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspaces` [INFO] [stdout] --> src/base/statespace.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/base/statespace.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | fn compute_signature(&self, signature: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimension` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus1` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus2` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `phs_vec` is never read [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let mut phs_vec = DVector::from_column_slice(phs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tran_diam` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_phs_measure_with_diameter(&self, tran_diam: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tran_diam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_locations` [INFO] [stdout] --> src/base/statespace.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | fn get_value_locations(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_value_locations` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | fn get_value_locations_by_name(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_value_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_address_at_location` [INFO] [stdout] --> src/base/statespace.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / fn get_value_address_at_location( [INFO] [stdout] 266 | | &self, [INFO] [stdout] 267 | | state: &mut StateId, [INFO] [stdout] 268 | | loc: &ValueLocation, [INFO] [stdout] 269 | | ) -> Option<&mut f64> { [INFO] [stdout] | |_________________________^ method `StateSpace::get_value_address_at_location` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_address_at_location_const` [INFO] [stdout] --> src/base/statespace.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | / fn get_value_address_at_location_const( [INFO] [stdout] 277 | | &self, [INFO] [stdout] 278 | | state: &StateId, [INFO] [stdout] 279 | | loc: &ValueLocation, [INFO] [stdout] 280 | | ) -> Option<&f64> { [INFO] [stdout] | |_____________________^ method `StateSpace::get_value_address_at_location_const` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_at_location` [INFO] [stdout] --> src/base/statespace.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | / fn get_substate_at_location( [INFO] [stdout] 394 | | &self, [INFO] [stdout] 395 | | state: &mut StateId, [INFO] [stdout] 396 | | loc: &SubstateLocation, [INFO] [stdout] 397 | | ) -> Option<&mut StateId> { [INFO] [stdout] | |_____________________________^ method `StateSpace::get_substate_at_location` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_at_location_const` [INFO] [stdout] --> src/base/statespace.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | / fn get_substate_at_location_const( [INFO] [stdout] 403 | | &self, [INFO] [stdout] 404 | | state: &StateId, [INFO] [stdout] 405 | | loc: &SubstateLocation, [INFO] [stdout] 406 | | ) -> Option<&StateId> { [INFO] [stdout] | |_________________________^ method `StateSpace::get_substate_at_location_const` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | fn get_substate_locations_by_name(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_substate_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_in_order` [INFO] [stdout] --> src/base/statespace.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | pub value_locations_in_order: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_in_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | pub value_locations_by_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpaceCommonData::substate_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | pub substate_locations_by_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::substate_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `setter` is never read [INFO] [stdout] --> src/base/param.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Param { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | setter: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `range_suggestion` are never read [INFO] [stdout] --> src/base/param.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 31 | struct MyParam { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 32 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | value: ParamValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | range_suggestion: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyParam` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `set_name`, `set_value`, `set_range_suggestion`, and `get_range_suggestion` are never used [INFO] [stdout] --> src/base/param.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Param { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 58 | fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn set_value(&mut self, value: ParamValue) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn set_range_suggestion(&mut self, range_suggestion: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_range_suggestion(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `declare_param` is never used [INFO] [stdout] --> src/base/param.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl ParamSet { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 85 | fn declare_param(&mut self, name: String, setter: Box, getter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain` and `space` are never read [INFO] [stdout] --> src/base/statespace.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 26 | pub chain: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub space: Rc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubstateLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `name` are never read [INFO] [stdout] --> src/base/statespace.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_existing`, `check_validity_node`, `check_validity_root`, and `check_validity` are never used [INFO] [stdout] --> src/datastructure/nearest_neighbours_kd_tree.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 44 | / impl VpAvl [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | PointMetric: Metric, [INFO] [stdout] 47 | | Point: VpTreeObject, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn insert_existing(&mut self, root: usize, graft: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn check_validity_node(&self, root: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | fn check_validity_root(&self, root: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn check_validity(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation_world_from_ellipse` is never read [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProlateHyperspheroid { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | rotation_world_from_ellipse: DMatrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_rotation` is never used [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ProlateHyperspheroid { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn update_rotation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base/state_allocator.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow(&self) -> std::cell::Ref> { [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] 45 | pub fn borrow(&self) -> std::cell::Ref<'_, Arena> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base/state_allocator.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut> { [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] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut<'_, Arena> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `nearest_neighbours_GNANT_no_therad_safety` should have a snake case name [INFO] [stdout] --> src/datastructure/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod nearest_neighbours_GNANT_no_therad_safety; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nearest_neighbours_gnant_no_therad_safety` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn iter(&self) -> Iter { [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] 819 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:846:21 [INFO] [stdout] | [INFO] [stdout] 846 | pub fn iter_mut(&mut self) -> IterMut { [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] 846 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:878:18 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn drain(&mut self) -> Drain { [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] 878 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.01s [INFO] running `Command { std: "docker" "inspect" "9a35a62d84c1b4b09e3be28a8703f28b905b8f1537b3743030e10d3ca9a901cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a35a62d84c1b4b09e3be28a8703f28b905b8f1537b3743030e10d3ca9a901cb", kill_on_drop: false }` [INFO] [stdout] 9a35a62d84c1b4b09e3be28a8703f28b905b8f1537b3743030e10d3ca9a901cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2012c873094612aa27eee6087b4e32de57b63e7bd5c0db04331209259188fb7 [INFO] running `Command { std: "docker" "start" "-a" "d2012c873094612aa27eee6087b4e32de57b63e7bd5c0db04331209259188fb7", kill_on_drop: false }` [INFO] [stdout] warning: function `find_attribute` is never used [INFO] [stdout] --> sbmp_derive/src/lib.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn find_attribute( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_meta` is never used [INFO] [stdout] --> sbmp_derive/src/lib.rs:411:4 [INFO] [stdout] | [INFO] [stdout] 411 | fn find_meta(attribute: &Attribute, meta_name: &str, mut closure: impl FnMut(&syn::MetaNameValue)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> sbmp_derive/src/lib.rs:349:24 [INFO] [stdout] | [INFO] [stdout] 349 | fn new(attributes: &Vec) -> MetaNameValueIterator { [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] 349 | fn new(attributes: &Vec) -> MetaNameValueIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/base/motion_validator/discrete_motion_validator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (self.checker.is_valid(s2)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (self.checker.is_valid(s2)) { [INFO] [stdout] 34 + if self.checker.is_valid(s2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/base/state_validity_checker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [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: `statespace::StateSpace` [INFO] [stdout] --> src/base/state_validity_checker.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{state_allocator::StateId, statespace::StateSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 131 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 246 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 247 | [INFO] [stdout] 248 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 253 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 254 | [INFO] [stdout] 255 | &Vec::new() [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 260 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 261 | [INFO] [stdout] 262 | &HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 271 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 272 | [INFO] [stdout] 273 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 282 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 283 | [INFO] [stdout] 284 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 289 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 290 | [INFO] [stdout] 291 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 296 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 297 | [INFO] [stdout] 298 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 328 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 329 | [INFO] [stdout] 330 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 335 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 336 | [INFO] [stdout] 337 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 357 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 358 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | panic!("Not implemented correctly."); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 19 | assert_eq!(focus1.len(), dimension); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:244:48 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/base/statespace.rs:244:65 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | state: &mut StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | loc: &ValueLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | state: &StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | loc: &ValueLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:287:41 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:287:62 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:294:64 [INFO] [stdout] | [INFO] [stdout] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reals` [INFO] [stdout] --> src/base/statespace.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/base/statespace.rs:301:51 [INFO] [stdout] | [INFO] [stdout] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/base/statespace.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reals` [INFO] [stdout] --> src/base/statespace.rs:306:58 [INFO] [stdout] | [INFO] [stdout] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:311:39 [INFO] [stdout] | [INFO] [stdout] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/base/statespace.rs:311:53 [INFO] [stdout] | [INFO] [stdout] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/base/statespace.rs:316:47 [INFO] [stdout] | [INFO] [stdout] 316 | fn register_default_projection(&mut self, projection: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | fn get_projection(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 340 | fn has_projection(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/base/statespace.rs:355:63 [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | fn print_state(&self, state: &StateId) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero` [INFO] [stdout] --> src/base/statespace.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> src/base/statespace.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/base/statespace.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspace` [INFO] [stdout] --> src/base/statespace.rs:386:44 [INFO] [stdout] | [INFO] [stdout] 386 | fn alloc_subspace_state_sampler(&self, subspace: &dyn StateSpace) -> Arc { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | state: &mut StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | loc: &SubstateLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | state: &StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | loc: &SubstateLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/base/statespace.rs:417:36 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspaces` [INFO] [stdout] --> src/base/statespace.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/base/statespace.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | fn compute_signature(&self, signature: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimension` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus1` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus2` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `phs_vec` is never read [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let mut phs_vec = DVector::from_column_slice(phs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tran_diam` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_phs_measure_with_diameter(&self, tran_diam: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tran_diam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_locations` [INFO] [stdout] --> src/base/statespace.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | fn get_value_locations(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_value_locations` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | fn get_value_locations_by_name(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_value_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_address_at_location` [INFO] [stdout] --> src/base/statespace.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / fn get_value_address_at_location( [INFO] [stdout] 266 | | &self, [INFO] [stdout] 267 | | state: &mut StateId, [INFO] [stdout] 268 | | loc: &ValueLocation, [INFO] [stdout] 269 | | ) -> Option<&mut f64> { [INFO] [stdout] | |_________________________^ method `StateSpace::get_value_address_at_location` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sbmp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_address_at_location_const` [INFO] [stdout] --> src/base/statespace.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | / fn get_value_address_at_location_const( [INFO] [stdout] 277 | | &self, [INFO] [stdout] 278 | | state: &StateId, [INFO] [stdout] 279 | | loc: &ValueLocation, [INFO] [stdout] 280 | | ) -> Option<&f64> { [INFO] [stdout] | |_____________________^ method `StateSpace::get_value_address_at_location_const` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_at_location` [INFO] [stdout] --> src/base/statespace.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | / fn get_substate_at_location( [INFO] [stdout] 394 | | &self, [INFO] [stdout] 395 | | state: &mut StateId, [INFO] [stdout] 396 | | loc: &SubstateLocation, [INFO] [stdout] 397 | | ) -> Option<&mut StateId> { [INFO] [stdout] | |_____________________________^ method `StateSpace::get_substate_at_location` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_at_location_const` [INFO] [stdout] --> src/base/statespace.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | / fn get_substate_at_location_const( [INFO] [stdout] 403 | | &self, [INFO] [stdout] 404 | | state: &StateId, [INFO] [stdout] 405 | | loc: &SubstateLocation, [INFO] [stdout] 406 | | ) -> Option<&StateId> { [INFO] [stdout] | |_________________________^ method `StateSpace::get_substate_at_location_const` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | fn get_substate_locations_by_name(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_substate_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_in_order` [INFO] [stdout] --> src/base/statespace.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | pub value_locations_in_order: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_in_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | pub value_locations_by_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpaceCommonData::substate_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | pub substate_locations_by_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::substate_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `setter` is never read [INFO] [stdout] --> src/base/param.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Param { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | setter: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `range_suggestion` are never read [INFO] [stdout] --> src/base/param.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 31 | struct MyParam { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 32 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | value: ParamValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | range_suggestion: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyParam` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `set_name`, `set_value`, `set_range_suggestion`, and `get_range_suggestion` are never used [INFO] [stdout] --> src/base/param.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Param { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 58 | fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn set_value(&mut self, value: ParamValue) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn set_range_suggestion(&mut self, range_suggestion: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_range_suggestion(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `declare_param` is never used [INFO] [stdout] --> src/base/param.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl ParamSet { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 85 | fn declare_param(&mut self, name: String, setter: Box, getter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain` and `space` are never read [INFO] [stdout] --> src/base/statespace.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 26 | pub chain: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub space: Rc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubstateLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `name` are never read [INFO] [stdout] --> src/base/statespace.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_existing`, `check_validity_node`, `check_validity_root`, and `check_validity` are never used [INFO] [stdout] --> src/datastructure/nearest_neighbours_kd_tree.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 44 | / impl VpAvl [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | PointMetric: Metric, [INFO] [stdout] 47 | | Point: VpTreeObject, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn insert_existing(&mut self, root: usize, graft: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn check_validity_node(&self, root: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | fn check_validity_root(&self, root: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn check_validity(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation_world_from_ellipse` is never read [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProlateHyperspheroid { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | rotation_world_from_ellipse: DMatrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_rotation` is never used [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ProlateHyperspheroid { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn update_rotation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base/state_allocator.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow(&self) -> std::cell::Ref> { [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] 45 | pub fn borrow(&self) -> std::cell::Ref<'_, Arena> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base/state_allocator.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut> { [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] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut<'_, Arena> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `nearest_neighbours_GNANT_no_therad_safety` should have a snake case name [INFO] [stdout] --> src/datastructure/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod nearest_neighbours_GNANT_no_therad_safety; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nearest_neighbours_gnant_no_therad_safety` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn iter(&self) -> Iter { [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] 819 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:846:21 [INFO] [stdout] | [INFO] [stdout] 846 | pub fn iter_mut(&mut self) -> IterMut { [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] 846 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:878:18 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn drain(&mut self) -> Drain { [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] 878 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stdout] --> src/datastructure/arena.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/base/motion_validator/discrete_motion_validator.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | if (self.checker.is_valid(s2)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - if (self.checker.is_valid(s2)) { [INFO] [stdout] 34 + if self.checker.is_valid(s2) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/base/state_validity_checker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [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: `statespace::StateSpace` [INFO] [stdout] --> src/base/state_validity_checker.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{state_allocator::StateId, statespace::StateSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 131 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 246 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 247 | [INFO] [stdout] 248 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:255:9 [INFO] [stdout] | [INFO] [stdout] 253 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 254 | [INFO] [stdout] 255 | &Vec::new() [INFO] [stdout] | ^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 260 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 261 | [INFO] [stdout] 262 | &HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 271 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 272 | [INFO] [stdout] 273 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 282 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 283 | [INFO] [stdout] 284 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 289 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 290 | [INFO] [stdout] 291 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 296 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 297 | [INFO] [stdout] 298 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 328 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 329 | [INFO] [stdout] 330 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 335 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 336 | [INFO] [stdout] 337 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/base/statespace.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 357 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 358 | None [INFO] [stdout] | ^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | panic!("Not implemented correctly."); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 19 | assert_eq!(focus1.len(), dimension); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:244:48 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/base/statespace.rs:244:65 [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | state: &mut StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | loc: &ValueLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | state: &StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | loc: &ValueLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:287:41 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:287:62 [INFO] [stdout] | [INFO] [stdout] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:294:64 [INFO] [stdout] | [INFO] [stdout] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reals` [INFO] [stdout] --> src/base/statespace.rs:301:29 [INFO] [stdout] | [INFO] [stdout] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/base/statespace.rs:301:51 [INFO] [stdout] | [INFO] [stdout] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destination` [INFO] [stdout] --> src/base/statespace.rs:306:31 [INFO] [stdout] | [INFO] [stdout] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reals` [INFO] [stdout] --> src/base/statespace.rs:306:58 [INFO] [stdout] | [INFO] [stdout] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:311:39 [INFO] [stdout] | [INFO] [stdout] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/base/statespace.rs:311:53 [INFO] [stdout] | [INFO] [stdout] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> src/base/statespace.rs:316:47 [INFO] [stdout] | [INFO] [stdout] 316 | fn register_default_projection(&mut self, projection: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | fn get_projection(&self, name: &str) -> Option<&Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/base/statespace.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 340 | fn has_projection(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:355:42 [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/base/statespace.rs:355:63 [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 361 | fn print_state(&self, state: &StateId) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zero` [INFO] [stdout] --> src/base/statespace.rs:376:29 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eps` [INFO] [stdout] --> src/base/statespace.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/base/statespace.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspace` [INFO] [stdout] --> src/base/statespace.rs:386:44 [INFO] [stdout] | [INFO] [stdout] 386 | fn alloc_subspace_state_sampler(&self, subspace: &dyn StateSpace) -> Arc { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | state: &mut StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | loc: &SubstateLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/base/statespace.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | state: &StateId, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/base/statespace.rs:405:9 [INFO] [stdout] | [INFO] [stdout] 405 | loc: &SubstateLocation, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/base/statespace.rs:417:36 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subspaces` [INFO] [stdout] --> src/base/statespace.rs:417:60 [INFO] [stdout] | [INFO] [stdout] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspaces` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/base/statespace.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | fn compute_signature(&self, signature: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimension` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus1` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focus2` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `phs_vec` is never read [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let mut phs_vec = DVector::from_column_slice(phs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tran_diam` [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_phs_measure_with_diameter(&self, tran_diam: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tran_diam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_locations` [INFO] [stdout] --> src/base/statespace.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | fn get_value_locations(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `statespace::StateSpace::get_value_locations` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | fn get_value_locations_by_name(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `statespace::StateSpace::get_value_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_address_at_location` [INFO] [stdout] --> src/base/statespace.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / fn get_value_address_at_location( [INFO] [stdout] 266 | | &self, [INFO] [stdout] 267 | | state: &mut StateId, [INFO] [stdout] 268 | | loc: &ValueLocation, [INFO] [stdout] 269 | | ) -> Option<&mut f64> { [INFO] [stdout] | |_________________________^ method `statespace::StateSpace::get_value_address_at_location` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_address_at_location_const` [INFO] [stdout] --> src/base/statespace.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | / fn get_value_address_at_location_const( [INFO] [stdout] 277 | | &self, [INFO] [stdout] 278 | | state: &StateId, [INFO] [stdout] 279 | | loc: &ValueLocation, [INFO] [stdout] 280 | | ) -> Option<&f64> { [INFO] [stdout] | |_____________________^ method `statespace::StateSpace::get_value_address_at_location_const` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `statespace::StateSpace::get_substate_at_location` [INFO] [stdout] --> src/base/statespace.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | / fn get_substate_at_location( [INFO] [stdout] 394 | | &self, [INFO] [stdout] 395 | | state: &mut StateId, [INFO] [stdout] 396 | | loc: &SubstateLocation, [INFO] [stdout] 397 | | ) -> Option<&mut StateId> { [INFO] [stdout] | |_____________________________^ method `statespace::StateSpace::get_substate_at_location` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `statespace::StateSpace::get_substate_at_location_const` [INFO] [stdout] --> src/base/statespace.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | / fn get_substate_at_location_const( [INFO] [stdout] 403 | | &self, [INFO] [stdout] 404 | | state: &StateId, [INFO] [stdout] 405 | | loc: &SubstateLocation, [INFO] [stdout] 406 | | ) -> Option<&StateId> { [INFO] [stdout] | |_________________________^ method `statespace::StateSpace::get_substate_at_location_const` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `statespace::StateSpace::get_substate_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | fn get_substate_locations_by_name(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `statespace::StateSpace::get_substate_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_in_order` [INFO] [stdout] --> src/base/statespace.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | pub value_locations_in_order: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_in_order` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | pub value_locations_by_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SubstateLocation` is more private than the item `StateSpaceCommonData::substate_locations_by_name` [INFO] [stdout] --> src/base/statespace.rs:484:5 [INFO] [stdout] | [INFO] [stdout] 484 | pub substate_locations_by_name: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::substate_locations_by_name` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/base/statespace.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `setter` is never read [INFO] [stdout] --> src/base/param.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Param { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | setter: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `value`, and `range_suggestion` are never read [INFO] [stdout] --> src/base/param.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 31 | struct MyParam { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 32 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | value: ParamValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | range_suggestion: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyParam` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_name`, `set_name`, `set_value`, `set_range_suggestion`, and `get_range_suggestion` are never used [INFO] [stdout] --> src/base/param.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Param { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 58 | fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn set_name(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn set_value(&mut self, value: ParamValue) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn set_range_suggestion(&mut self, range_suggestion: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_range_suggestion(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `declare_param` is never used [INFO] [stdout] --> src/base/param.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl ParamSet { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 85 | fn declare_param(&mut self, name: String, setter: Box, getter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chain` and `space` are never read [INFO] [stdout] --> src/base/statespace.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | struct SubstateLocation { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 26 | pub chain: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | pub space: Rc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubstateLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `name` are never read [INFO] [stdout] --> src/base/statespace.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | struct ValueLocation { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 32 | pub index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert_existing`, `check_validity_node`, `check_validity_root`, and `check_validity` are never used [INFO] [stdout] --> src/datastructure/nearest_neighbours_kd_tree.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 44 | / impl VpAvl [INFO] [stdout] 45 | | where [INFO] [stdout] 46 | | PointMetric: Metric, [INFO] [stdout] 47 | | Point: VpTreeObject, [INFO] [stdout] | |________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | fn insert_existing(&mut self, root: usize, graft: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn check_validity_node(&self, root: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | fn check_validity_root(&self, root: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | fn check_validity(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation_world_from_ellipse` is never read [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProlateHyperspheroid { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | rotation_world_from_ellipse: DMatrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_rotation` is never used [INFO] [stdout] --> src/util/prolate_hyperspheroid.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl ProlateHyperspheroid { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn update_rotation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base/state_allocator.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn borrow(&self) -> std::cell::Ref> { [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] 45 | pub fn borrow(&self) -> std::cell::Ref<'_, Arena> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/base/state_allocator.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut> { [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] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut<'_, Arena> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `nearest_neighbours_GNANT_no_therad_safety` should have a snake case name [INFO] [stdout] --> src/datastructure/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod nearest_neighbours_GNANT_no_therad_safety; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nearest_neighbours_gnant_no_therad_safety` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:819:17 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn iter(&self) -> Iter { [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] 819 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:846:21 [INFO] [stdout] | [INFO] [stdout] 846 | pub fn iter_mut(&mut self) -> IterMut { [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] 846 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/datastructure/arena.rs:878:18 [INFO] [stdout] | [INFO] [stdout] 878 | pub fn drain(&mut self) -> Drain { [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] 878 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "d2012c873094612aa27eee6087b4e32de57b63e7bd5c0db04331209259188fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2012c873094612aa27eee6087b4e32de57b63e7bd5c0db04331209259188fb7", kill_on_drop: false }` [INFO] [stdout] d2012c873094612aa27eee6087b4e32de57b63e7bd5c0db04331209259188fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5bd76bff4026b5ce7e7effce73ce1cd593b092e82281e33be1d9ab8965df51b4 [INFO] running `Command { std: "docker" "start" "-a" "5bd76bff4026b5ce7e7effce73ce1cd593b092e82281e33be1d9ab8965df51b4", kill_on_drop: false }` [INFO] [stderr] warning: function `find_attribute` is never used [INFO] [stderr] --> sbmp_derive/src/lib.rs:398:4 [INFO] [stderr] | [INFO] [stderr] 398 | fn find_attribute( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `find_meta` is never used [INFO] [stderr] --> sbmp_derive/src/lib.rs:411:4 [INFO] [stderr] | [INFO] [stderr] 411 | fn find_meta(attribute: &Attribute, meta_name: &str, mut closure: impl FnMut(&syn::MetaNameValue)) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> sbmp_derive/src/lib.rs:349:24 [INFO] [stderr] | [INFO] [stderr] 349 | fn new(attributes: &Vec) -> MetaNameValueIterator { [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 349 | fn new(attributes: &Vec) -> MetaNameValueIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `sbmp_derive` (lib) generated 3 warnings (run `cargo fix --lib -p sbmp_derive` to apply 1 suggestion) [INFO] [stderr] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stderr] --> src/datastructure/arena.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stderr] --> src/datastructure/arena.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `serde-serialize` [INFO] [stderr] --> src/datastructure/arena.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `serde-serialize` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/base/motion_validator/discrete_motion_validator.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | if (self.checker.is_valid(s2)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 34 - if (self.checker.is_valid(s2)) { [INFO] [stderr] 34 + if self.checker.is_valid(s2) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/base/state_validity_checker.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `statespace::StateSpace` [INFO] [stderr] --> src/base/state_validity_checker.rs:3:39 [INFO] [stderr] | [INFO] [stderr] 3 | use super::{state_allocator::StateId, statespace::StateSpace}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 130 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 131 | 0 [INFO] [stderr] | ^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:248:9 [INFO] [stderr] | [INFO] [stderr] 246 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 247 | [INFO] [stderr] 248 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:255:9 [INFO] [stderr] | [INFO] [stderr] 253 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 254 | [INFO] [stderr] 255 | &Vec::new() [INFO] [stderr] | ^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:262:9 [INFO] [stderr] | [INFO] [stderr] 260 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 261 | [INFO] [stderr] 262 | &HashMap::new() [INFO] [stderr] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:273:9 [INFO] [stderr] | [INFO] [stderr] 271 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 272 | [INFO] [stderr] 273 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:284:9 [INFO] [stderr] | [INFO] [stderr] 282 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 283 | [INFO] [stderr] 284 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:291:9 [INFO] [stderr] | [INFO] [stderr] 289 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 290 | [INFO] [stderr] 291 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:298:9 [INFO] [stderr] | [INFO] [stderr] 296 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 297 | [INFO] [stderr] 298 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:330:9 [INFO] [stderr] | [INFO] [stderr] 328 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 329 | [INFO] [stderr] 330 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:337:9 [INFO] [stderr] | [INFO] [stderr] 335 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 336 | [INFO] [stderr] 337 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/base/statespace.rs:358:9 [INFO] [stderr] | [INFO] [stderr] 357 | todo!(); [INFO] [stderr] | ------- any code following this expression is unreachable [INFO] [stderr] 358 | None [INFO] [stderr] | ^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 18 | panic!("Not implemented correctly."); [INFO] [stderr] | ------------------------------------ any code following this expression is unreachable [INFO] [stderr] 19 | assert_eq!(focus1.len(), dimension); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:244:48 [INFO] [stderr] | [INFO] [stderr] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/base/statespace.rs:244:65 [INFO] [stderr] | [INFO] [stderr] 244 | fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:267:9 [INFO] [stderr] | [INFO] [stderr] 267 | state: &mut StateId, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loc` [INFO] [stderr] --> src/base/statespace.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | loc: &ValueLocation, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:278:9 [INFO] [stderr] | [INFO] [stderr] 278 | state: &StateId, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loc` [INFO] [stderr] --> src/base/statespace.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | loc: &ValueLocation, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:287:41 [INFO] [stderr] | [INFO] [stderr] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/base/statespace.rs:287:62 [INFO] [stderr] | [INFO] [stderr] 287 | fn get_value_address_at_name(&self, state: &mut StateId, name: &str) -> Option<&mut f64> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:294:47 [INFO] [stderr] | [INFO] [stderr] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/base/statespace.rs:294:64 [INFO] [stderr] | [INFO] [stderr] 294 | fn get_value_address_at_name_const(&self, state: &StateId, name: &str) -> Option<&f64> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reals` [INFO] [stderr] --> src/base/statespace.rs:301:29 [INFO] [stderr] | [INFO] [stderr] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source` [INFO] [stderr] --> src/base/statespace.rs:301:51 [INFO] [stderr] | [INFO] [stderr] 301 | fn copy_to_reals(&self, reals: &mut Vec, source: &StateId) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `destination` [INFO] [stderr] --> src/base/statespace.rs:306:31 [INFO] [stderr] | [INFO] [stderr] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reals` [INFO] [stderr] --> src/base/statespace.rs:306:58 [INFO] [stderr] | [INFO] [stderr] 306 | fn copy_from_reals(&self, destination: &mut StateId, reals: &Vec) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reals` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/base/statespace.rs:311:39 [INFO] [stderr] | [INFO] [stderr] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `projection` [INFO] [stderr] --> src/base/statespace.rs:311:53 [INFO] [stderr] | [INFO] [stderr] 311 | fn register_projection(&mut self, name: String, projection: Box) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `projection` [INFO] [stderr] --> src/base/statespace.rs:316:47 [INFO] [stderr] | [INFO] [stderr] 316 | fn register_default_projection(&mut self, projection: Box) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/base/statespace.rs:326:30 [INFO] [stderr] | [INFO] [stderr] 326 | fn get_projection(&self, name: &str) -> Option<&Box> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/base/statespace.rs:340:30 [INFO] [stderr] | [INFO] [stderr] 340 | fn has_projection(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:355:42 [INFO] [stderr] | [INFO] [stderr] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/base/statespace.rs:355:63 [INFO] [stderr] | [INFO] [stderr] 355 | fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:361:27 [INFO] [stderr] | [INFO] [stderr] 361 | fn print_state(&self, state: &StateId) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `zero` [INFO] [stderr] --> src/base/statespace.rs:376:29 [INFO] [stderr] | [INFO] [stderr] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zero` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `eps` [INFO] [stderr] --> src/base/statespace.rs:376:40 [INFO] [stderr] | [INFO] [stderr] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_eps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `flags` [INFO] [stderr] --> src/base/statespace.rs:376:50 [INFO] [stderr] | [INFO] [stderr] 376 | fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subspace` [INFO] [stderr] --> src/base/statespace.rs:386:44 [INFO] [stderr] | [INFO] [stderr] 386 | fn alloc_subspace_state_sampler(&self, subspace: &dyn StateSpace) -> Arc { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspace` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:395:9 [INFO] [stderr] | [INFO] [stderr] 395 | state: &mut StateId, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loc` [INFO] [stderr] --> src/base/statespace.rs:396:9 [INFO] [stderr] | [INFO] [stderr] 396 | loc: &SubstateLocation, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/base/statespace.rs:404:9 [INFO] [stderr] | [INFO] [stderr] 404 | state: &StateId, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loc` [INFO] [stderr] --> src/base/statespace.rs:405:9 [INFO] [stderr] | [INFO] [stderr] 405 | loc: &SubstateLocation, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/base/statespace.rs:417:36 [INFO] [stderr] | [INFO] [stderr] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `subspaces` [INFO] [stderr] --> src/base/statespace.rs:417:60 [INFO] [stderr] | [INFO] [stderr] 417 | fn get_common_subspaces(&self, other: &dyn StateSpace, subspaces: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subspaces` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `signature` [INFO] [stderr] --> src/base/statespace.rs:673:33 [INFO] [stderr] | [INFO] [stderr] 673 | fn compute_signature(&self, signature: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dimension` [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `focus1` [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `focus2` [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:17:50 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_focus2` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `phs_vec` is never read [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:63:27 [INFO] [stderr] | [INFO] [stderr] 63 | let mut phs_vec = DVector::from_column_slice(phs); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tran_diam` [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:95:49 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn get_phs_measure_with_diameter(&self, tran_diam: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tran_diam` [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_locations` [INFO] [stderr] --> src/base/statespace.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 251 | fn get_value_locations(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_value_locations` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_locations_by_name` [INFO] [stderr] --> src/base/statespace.rs:258:5 [INFO] [stderr] | [INFO] [stderr] 258 | fn get_value_locations_by_name(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_value_locations_by_name` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_address_at_location` [INFO] [stderr] --> src/base/statespace.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | / fn get_value_address_at_location( [INFO] [stderr] 266 | | &self, [INFO] [stderr] 267 | | state: &mut StateId, [INFO] [stderr] 268 | | loc: &ValueLocation, [INFO] [stderr] 269 | | ) -> Option<&mut f64> { [INFO] [stderr] | |_________________________^ method `StateSpace::get_value_address_at_location` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `StateSpace::get_value_address_at_location_const` [INFO] [stderr] --> src/base/statespace.rs:276:5 [INFO] [stderr] | [INFO] [stderr] 276 | / fn get_value_address_at_location_const( [INFO] [stderr] 277 | | &self, [INFO] [stderr] 278 | | state: &StateId, [INFO] [stderr] 279 | | loc: &ValueLocation, [INFO] [stderr] 280 | | ) -> Option<&f64> { [INFO] [stderr] | |_____________________^ method `StateSpace::get_value_address_at_location_const` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_at_location` [INFO] [stderr] --> src/base/statespace.rs:393:5 [INFO] [stderr] | [INFO] [stderr] 393 | / fn get_substate_at_location( [INFO] [stderr] 394 | | &self, [INFO] [stderr] 395 | | state: &mut StateId, [INFO] [stderr] 396 | | loc: &SubstateLocation, [INFO] [stderr] 397 | | ) -> Option<&mut StateId> { [INFO] [stderr] | |_____________________________^ method `StateSpace::get_substate_at_location` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_at_location_const` [INFO] [stderr] --> src/base/statespace.rs:402:5 [INFO] [stderr] | [INFO] [stderr] 402 | / fn get_substate_at_location_const( [INFO] [stderr] 403 | | &self, [INFO] [stderr] 404 | | state: &StateId, [INFO] [stderr] 405 | | loc: &SubstateLocation, [INFO] [stderr] 406 | | ) -> Option<&StateId> { [INFO] [stderr] | |_________________________^ method `StateSpace::get_substate_at_location_const` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SubstateLocation` is more private than the item `StateSpace::get_substate_locations_by_name` [INFO] [stderr] --> src/base/statespace.rs:411:5 [INFO] [stderr] | [INFO] [stderr] 411 | fn get_substate_locations_by_name(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `StateSpace::get_substate_locations_by_name` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_in_order` [INFO] [stderr] --> src/base/statespace.rs:482:5 [INFO] [stderr] | [INFO] [stderr] 482 | pub value_locations_in_order: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_in_order` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `StateSpaceCommonData::value_locations_by_name` [INFO] [stderr] --> src/base/statespace.rs:483:5 [INFO] [stderr] | [INFO] [stderr] 483 | pub value_locations_by_name: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::value_locations_by_name` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SubstateLocation` is more private than the item `StateSpaceCommonData::substate_locations_by_name` [INFO] [stderr] --> src/base/statespace.rs:484:5 [INFO] [stderr] | [INFO] [stderr] 484 | pub substate_locations_by_name: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StateSpaceCommonData::substate_locations_by_name` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `setter` is never read [INFO] [stderr] --> src/base/param.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Param { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 22 | setter: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `value`, and `range_suggestion` are never read [INFO] [stderr] --> src/base/param.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 31 | struct MyParam { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 32 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 33 | value: ParamValue, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 34 | range_suggestion: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MyParam` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `get_name`, `set_name`, `set_value`, `set_range_suggestion`, and `get_range_suggestion` are never used [INFO] [stderr] --> src/base/param.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 57 | impl Param { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 58 | fn get_name(&self) -> &str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | fn set_name(&mut self, name: String) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | fn set_value(&mut self, value: ParamValue) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 70 | fn set_range_suggestion(&mut self, range_suggestion: String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn get_range_suggestion(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `declare_param` is never used [INFO] [stderr] --> src/base/param.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 84 | impl ParamSet { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] 85 | fn declare_param(&mut self, name: String, setter: Box, getter: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `chain` and `space` are never read [INFO] [stderr] --> src/base/statespace.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 26 | pub chain: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 27 | pub space: Rc, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubstateLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `index` and `name` are never read [INFO] [stderr] --> src/base/statespace.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 32 | pub index: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 33 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ValueLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `insert_existing`, `check_validity_node`, `check_validity_root`, and `check_validity` are never used [INFO] [stderr] --> src/datastructure/nearest_neighbours_kd_tree.rs:245:8 [INFO] [stderr] | [INFO] [stderr] 44 | / impl VpAvl [INFO] [stderr] 45 | | where [INFO] [stderr] 46 | | PointMetric: Metric, [INFO] [stderr] 47 | | Point: VpTreeObject, [INFO] [stderr] | |________________________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 245 | fn insert_existing(&mut self, root: usize, graft: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 494 | fn check_validity_node(&self, root: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 528 | fn check_validity_root(&self, root: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 548 | fn check_validity(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `rotation_world_from_ellipse` is never read [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ProlateHyperspheroid { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | rotation_world_from_ellipse: DMatrix, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `update_rotation` is never used [INFO] [stderr] --> src/util/prolate_hyperspheroid.rs:113:8 [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 16 | impl ProlateHyperspheroid { [INFO] [stdout] running 7 tests [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 113 | fn update_rotation(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/base/state_allocator.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn borrow(&self) -> std::cell::Ref> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 45 | pub fn borrow(&self) -> std::cell::Ref<'_, Arena> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/base/state_allocator.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn borrow_mut(&self) -> std::cell::RefMut<'_, Arena> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: module `nearest_neighbours_GNANT_no_therad_safety` should have a snake case name [INFO] [stderr] --> src/datastructure/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub mod nearest_neighbours_GNANT_no_therad_safety; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nearest_neighbours_gnant_no_therad_safety` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/datastructure/arena.rs:819:17 [INFO] [stderr] | [INFO] [stderr] 819 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 819 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/datastructure/arena.rs:846:21 [INFO] [stderr] | [INFO] [stderr] 846 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 846 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/datastructure/arena.rs:878:18 [INFO] [stderr] | [INFO] [stderr] 878 | pub fn drain(&mut self) -> Drain { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 878 | pub fn drain(&mut self) -> Drain<'_, T> { [INFO] [stderr] | +++ [INFO] [stdout] test base::spaces::real_vector_state_space::tests::test_rv_distance ... ok [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_locations` [INFO] [stderr] --> src/base/statespace.rs:251:5 [INFO] [stdout] test datastructure::arena::test_ordering ... ok [INFO] [stderr] | [INFO] [stdout] test datastructure::nearest_neighbours_kd_tree::test::test_distance_state_space ... ok [INFO] [stderr] 251 | fn get_value_locations(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `statespace::StateSpace::get_value_locations` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stdout] test base::spaces::real_vector_state_space::tests::test_rv_sample ... ok [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_locations_by_name` [INFO] [stderr] --> src/base/statespace.rs:258:5 [INFO] [stderr] | [INFO] [stderr] 258 | fn get_value_locations_by_name(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `statespace::StateSpace::get_value_locations_by_name` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_address_at_location` [INFO] [stderr] --> src/base/statespace.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | / fn get_value_address_at_location( [INFO] [stderr] 266 | | &self, [INFO] [stderr] 267 | | state: &mut StateId, [INFO] [stderr] 268 | | loc: &ValueLocation, [INFO] [stderr] 269 | | ) -> Option<&mut f64> { [INFO] [stderr] | |_________________________^ method `statespace::StateSpace::get_value_address_at_location` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ValueLocation` is more private than the item `statespace::StateSpace::get_value_address_at_location_const` [INFO] [stderr] --> src/base/statespace.rs:276:5 [INFO] [stderr] | [INFO] [stderr] 276 | / fn get_value_address_at_location_const( [INFO] [stderr] 277 | | &self, [INFO] [stderr] 278 | | state: &StateId, [INFO] [stderr] 279 | | loc: &ValueLocation, [INFO] [stderr] 280 | | ) -> Option<&f64> { [INFO] [stderr] | |_____________________^ method `statespace::StateSpace::get_value_address_at_location_const` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `ValueLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | struct ValueLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SubstateLocation` is more private than the item `statespace::StateSpace::get_substate_at_location` [INFO] [stderr] --> src/base/statespace.rs:393:5 [INFO] [stderr] | [INFO] [stderr] 393 | / fn get_substate_at_location( [INFO] [stderr] 394 | | &self, [INFO] [stderr] 395 | | state: &mut StateId, [INFO] [stderr] 396 | | loc: &SubstateLocation, [INFO] [stderr] 397 | | ) -> Option<&mut StateId> { [INFO] [stderr] | |_____________________________^ method `statespace::StateSpace::get_substate_at_location` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SubstateLocation` is more private than the item `statespace::StateSpace::get_substate_at_location_const` [INFO] [stderr] --> src/base/statespace.rs:402:5 [INFO] [stderr] | [INFO] [stderr] 402 | / fn get_substate_at_location_const( [INFO] [stderr] 403 | | &self, [INFO] [stderr] 404 | | state: &StateId, [INFO] [stderr] 405 | | loc: &SubstateLocation, [INFO] [stderr] 406 | | ) -> Option<&StateId> { [INFO] [stderr] | |_________________________^ method `statespace::StateSpace::get_substate_at_location_const` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `SubstateLocation` is more private than the item `statespace::StateSpace::get_substate_locations_by_name` [INFO] [stderr] --> src/base/statespace.rs:411:5 [INFO] [stderr] | [INFO] [stderr] 411 | fn get_substate_locations_by_name(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `statespace::StateSpace::get_substate_locations_by_name` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `SubstateLocation` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/base/statespace.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | struct SubstateLocation { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sbmp` (lib) generated 81 warnings (run `cargo fix --lib -p sbmp` to apply 45 suggestions) [INFO] [stderr] warning: `sbmp` (lib test) generated 81 warnings (74 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sbmp-845635befe7feaa2) [INFO] [stdout] test base::spaces::real_vector_state_space::tests::test_rv_interpolate ... ok [INFO] [stdout] test randomness::tests::test_rng_seed_generator ... ok [INFO] [stdout] test datastructure::nearest_neighbours_kd_tree::test::test_distance ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sbmp-425d0e84ea5ea33d) [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests sbmp [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/base/motion_validator/discrete_motion_validator.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | if (self.checker.is_valid(s2)) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 34 - if (self.checker.is_valid(s2)) { [INFO] [stderr] 34 + if self.checker.is_valid(s2) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::capacity (line 744) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::clear (line 144) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::contains (line 427) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::drain (line 863) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::get (line 448) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::get2_mut (line 632) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::get_mut (line 474) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::insert (line 277) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::insert_with (line 300) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::is_empty (line 720) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::iter (line 807) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::iter_mut (line 834) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::len (line 697) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::new (line 99) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::remove (line 342) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::reserve (line 772) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::retain (line 386) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::try_insert (line 182) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::try_insert_with (line 223) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Arena::with_capacity (line 115) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Drain (line 1266) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Index (line 42) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::IntoIter (line 980) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::Iter (line 1064) ... ignored [INFO] [stdout] test src/datastructure/arena.rs - datastructure::arena::IterMut (line 1168) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 25 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5bd76bff4026b5ce7e7effce73ce1cd593b092e82281e33be1d9ab8965df51b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd76bff4026b5ce7e7effce73ce1cd593b092e82281e33be1d9ab8965df51b4", kill_on_drop: false }` [INFO] [stdout] 5bd76bff4026b5ce7e7effce73ce1cd593b092e82281e33be1d9ab8965df51b4