[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] checking soraxas/sbmp against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraxas%2Fsbmp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soraxas/sbmp on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded statrs v0.18.0 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 499f564fa879779e7076a547b3670b66558dcb361302656cec2b7fbf3a626048 [INFO] running `Command { std: "docker" "start" "-a" "499f564fa879779e7076a547b3670b66558dcb361302656cec2b7fbf3a626048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "499f564fa879779e7076a547b3670b66558dcb361302656cec2b7fbf3a626048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "499f564fa879779e7076a547b3670b66558dcb361302656cec2b7fbf3a626048", kill_on_drop: false }` [INFO] [stdout] 499f564fa879779e7076a547b3670b66558dcb361302656cec2b7fbf3a626048 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51ae74df6707d57e5e960f5444adc650c5d138f9dd796c29756e00426db63a56 [INFO] running `Command { std: "docker" "start" "-a" "51ae74df6707d57e5e960f5444adc650c5d138f9dd796c29756e00426db63a56", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking 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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking statrs v0.18.0 [INFO] [stderr] Checking sbmp v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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: 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: 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: 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: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 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] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, _index: u32) -> Option<&f64> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEAREST_K_RECALL_SOLUTIONS` [INFO] [stdout] | [INFO] [stdout] 244 - fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] 244 + fn get_value_address_at_index_const(&self, state: &StateId, tools::config::magic_constants::magic::NEAREST_K_RECALL_SOLUTIONS: u32) -> Option<&f64> { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, _index: u32) -> Option<&mut f64> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEAREST_K_RECALL_SOLUTIONS` [INFO] [stdout] | [INFO] [stdout] 355 - fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] 355 + fn get_value_address_at_index(&self, state: &mut StateId, tools::config::magic_constants::magic::NEAREST_K_RECALL_SOLUTIONS: u32) -> Option<&mut f64> { [INFO] [stdout] | [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, _zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STD_DEV_AS_SPACE_EXTENT_FRACTION` [INFO] [stdout] | [INFO] [stdout] 376 - fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] 376 + fn sanity_checks(&self, tools::config::magic_constants::magic::STD_DEV_AS_SPACE_EXTENT_FRACTION: f64, eps: f64, flags: u32) { [INFO] [stdout] | [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, _eps: f64, flags: u32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STD_DEV_AS_SPACE_EXTENT_FRACTION` [INFO] [stdout] | [INFO] [stdout] 376 - fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] 376 + fn sanity_checks(&self, zero: f64, tools::config::magic_constants::magic::STD_DEV_AS_SPACE_EXTENT_FRACTION: f64, flags: u32) { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, _flags: u32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEAREST_K_RECALL_SOLUTIONS` [INFO] [stdout] | [INFO] [stdout] 376 - fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] 376 + fn sanity_checks(&self, zero: f64, eps: f64, tools::config::magic_constants::magic::NEAREST_K_RECALL_SOLUTIONS: u32) { [INFO] [stdout] | [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: `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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 244 | fn get_value_address_at_index_const(&self, state: &StateId, _index: u32) -> Option<&f64> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEAREST_K_RECALL_SOLUTIONS` [INFO] [stdout] | [INFO] [stdout] 244 - fn get_value_address_at_index_const(&self, state: &StateId, index: u32) -> Option<&f64> { [INFO] [stdout] 244 + fn get_value_address_at_index_const(&self, state: &StateId, tools::config::magic_constants::magic::NEAREST_K_RECALL_SOLUTIONS: u32) -> Option<&f64> { [INFO] [stdout] | [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: `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: `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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 355 | fn get_value_address_at_index(&self, state: &mut StateId, _index: u32) -> Option<&mut f64> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEAREST_K_RECALL_SOLUTIONS` [INFO] [stdout] | [INFO] [stdout] 355 - fn get_value_address_at_index(&self, state: &mut StateId, index: u32) -> Option<&mut f64> { [INFO] [stdout] 355 + fn get_value_address_at_index(&self, state: &mut StateId, tools::config::magic_constants::magic::NEAREST_K_RECALL_SOLUTIONS: u32) -> Option<&mut f64> { [INFO] [stdout] | [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, _zero: f64, eps: f64, flags: u32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STD_DEV_AS_SPACE_EXTENT_FRACTION` [INFO] [stdout] | [INFO] [stdout] 376 - fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] 376 + fn sanity_checks(&self, tools::config::magic_constants::magic::STD_DEV_AS_SPACE_EXTENT_FRACTION: f64, eps: f64, flags: u32) { [INFO] [stdout] | [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] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, _eps: f64, flags: u32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STD_DEV_AS_SPACE_EXTENT_FRACTION` [INFO] [stdout] | [INFO] [stdout] 376 - fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] 376 + fn sanity_checks(&self, zero: f64, tools::config::magic_constants::magic::STD_DEV_AS_SPACE_EXTENT_FRACTION: f64, flags: u32) { [INFO] [stdout] | [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 376 | fn sanity_checks(&self, zero: f64, eps: f64, _flags: u32) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NEAREST_K_RECALL_SOLUTIONS` [INFO] [stdout] | [INFO] [stdout] 376 - fn sanity_checks(&self, zero: f64, eps: f64, flags: u32) { [INFO] [stdout] 376 + fn sanity_checks(&self, zero: f64, eps: f64, tools::config::magic_constants::magic::NEAREST_K_RECALL_SOLUTIONS: u32) { [INFO] [stdout] | [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(_dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] 17 + pub fn new(datastructure::arena::DEFAULT_CAPACITY: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | [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:17 [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_phs_measure_with_diameter(&self, _tran_diam: f64) -> f64 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STD_DEV_AS_SPACE_EXTENT_FRACTION` [INFO] [stdout] | [INFO] [stdout] 95 - pub fn get_phs_measure_with_diameter(&self, tran_diam: f64) -> f64 { [INFO] [stdout] 95 + pub fn get_phs_measure_with_diameter(&self, tools::config::magic_constants::magic::STD_DEV_AS_SPACE_EXTENT_FRACTION: f64) -> f64 { [INFO] [stdout] | [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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(_dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `DEFAULT_CAPACITY` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn new(dimension: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] 17 + pub fn new(datastructure::arena::DEFAULT_CAPACITY: usize, focus1: &[f64], focus2: &[f64]) -> Self { [INFO] [stdout] | [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:17 [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: 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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 95 | pub fn get_phs_measure_with_diameter(&self, _tran_diam: f64) -> f64 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `STD_DEV_AS_SPACE_EXTENT_FRACTION` [INFO] [stdout] | [INFO] [stdout] 95 - pub fn get_phs_measure_with_diameter(&self, tran_diam: f64) -> f64 { [INFO] [stdout] 95 + pub fn get_phs_measure_with_diameter(&self, tools::config::magic_constants::magic::STD_DEV_AS_SPACE_EXTENT_FRACTION: f64) -> f64 { [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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 14.30s [INFO] running `Command { std: "docker" "inspect" "51ae74df6707d57e5e960f5444adc650c5d138f9dd796c29756e00426db63a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51ae74df6707d57e5e960f5444adc650c5d138f9dd796c29756e00426db63a56", kill_on_drop: false }` [INFO] [stdout] 51ae74df6707d57e5e960f5444adc650c5d138f9dd796c29756e00426db63a56