[INFO] cloning repository https://github.com/GabrielDertoni/path_planning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GabrielDertoni/path_planning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabrielDertoni%2Fpath_planning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabrielDertoni%2Fpath_planning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05f737b23f9381a350496a4fc710e1dbf48d2756 [INFO] checking GabrielDertoni/path_planning/05f737b23f9381a350496a4fc710e1dbf48d2756 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabrielDertoni%2Fpath_planning" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GabrielDertoni/path_planning on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GabrielDertoni/path_planning [INFO] finished tweaking git repo https://github.com/GabrielDertoni/path_planning [INFO] tweaked toml for git repo https://github.com/GabrielDertoni/path_planning written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 189 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding config v0.10.1 (available: v0.14.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding core-graphics v0.23.2 (available: v0.24.0) [INFO] [stderr] Adding core-graphics-types v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding core-text v20.1.0 (available: v21.0.0) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding directories v3.0.2 (available: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding fixedbitset v0.2.0 (available: v0.5.7) [INFO] [stderr] Adding freetype-sys v0.20.1 (available: v0.22.1) [INFO] [stderr] Adding gif v0.12.0 (available: v0.13.1) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding image v0.24.9 (available: v0.25.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding lexical-core v0.7.6 (available: v1.0.2) [INFO] [stderr] Adding linked-hash-map v0.3.0 (available: v0.5.6) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.0) [INFO] [stderr] Adding nalgebra v0.27.1 (available: v0.33.0) [INFO] [stderr] Adding nalgebra v0.29.0 (available: v0.33.0) [INFO] [stderr] Adding nalgebra-macros v0.1.0 (available: v0.2.2) [INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v4.3.0) [INFO] [stderr] Adding petgraph v0.5.1 (available: v0.6.5) [INFO] [stderr] Adding ptree v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding rust-ini v0.13.0 (available: v0.21.1) [INFO] [stderr] Adding serde v0.8.23 (available: v1.0.210) [INFO] [stderr] Adding serde-hjson v0.9.1 (available: v1.1.0) [INFO] [stderr] Adding serde-value v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding serde_test v0.8.23 (available: v1.0.177) [INFO] [stderr] Adding simba v0.5.1 (available: v0.9.0) [INFO] [stderr] Adding simba v0.6.0 (available: v0.9.0) [INFO] [stderr] Adding statrs v0.15.0 (available: v0.17.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding ttf-parser v0.20.0 (available: v0.24.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ptree v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d40aaf69cffedd76c2959350a8c1935f121c4c9585443ee16c4fe83f116fb38b [INFO] running `Command { std: "docker" "start" "-a" "d40aaf69cffedd76c2959350a8c1935f121c4c9585443ee16c4fe83f116fb38b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d40aaf69cffedd76c2959350a8c1935f121c4c9585443ee16c4fe83f116fb38b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d40aaf69cffedd76c2959350a8c1935f121c4c9585443ee16c4fe83f116fb38b", kill_on_drop: false }` [INFO] [stdout] d40aaf69cffedd76c2959350a8c1935f121c4c9585443ee16c4fe83f116fb38b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e064ade15dad9652f44e8b9700f01b1cc8e8758b41faae77c892f756d65d12 [INFO] running `Command { std: "docker" "start" "-a" "e7e064ade15dad9652f44e8b9700f01b1cc8e8758b41faae77c892f756d65d12", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking vec_array v0.1.0 (/opt/rustwide/workdir/vec_array) [INFO] [stderr] Checking simba v0.5.1 [INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> vec_array/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(maybe_uninit_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `option_result_unwrap_unchecked` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> vec_array/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(option_result_unwrap_unchecked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> vec_array/src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(maybe_uninit_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `option_result_unwrap_unchecked` has been stable since 1.58.0 and no longer requires an attribute to enable [INFO] [stdout] --> vec_array/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(option_result_unwrap_unchecked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [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.29.0 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking kd_tree v0.1.0 (/opt/rustwide/workdir/kd_tree) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> kd_tree/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Extend` [INFO] [stdout] --> kd_tree/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Extend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> kd_tree/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Extend` [INFO] [stdout] --> kd_tree/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Extend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kd_tree/src/lib.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | let mut tree = KDTree::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> kd_tree/src/lib.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | let mut tree = KDTree::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rrt v0.1.0 (/opt/rustwide/workdir/rrt) [INFO] [stdout] error[E0432]: unresolved import `kd_tree::visitor::NearestIndexedVisitor` [INFO] [stdout] --> rrt/src/solvers/star.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use kd_tree::{HasCoords, KDTree, visitor::NearestIndexedVisitor}; [INFO] [stdout] | ^^^^^^^^^--------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `NearestVisitor` [INFO] [stdout] | no `NearestIndexedVisitor` in `visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `kd_tree::visitor::NearestIndexedVisitor`, `kd_tree::visitor::WithinRadiusIndicesVisitor` [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WithinRadiusIndicesVisitor` in `visitor` [INFO] [stdout] | | [INFO] [stdout] | no `NearestIndexedVisitor` in `visitor` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 15 | visitor::{NearestVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 15 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `kd_tree::visitor::NearestIndexedVisitor`, `kd_tree::visitor::WithinRadiusIndicesVisitor` [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WithinRadiusIndicesVisitor` in `visitor` [INFO] [stdout] | | [INFO] [stdout] | no `NearestIndexedVisitor` in `visitor` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | visitor::{NearestVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(feature = "rrt_start_innacurate_solver"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` 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: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "rrt_start_innacurate_solver")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` 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: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(feature = "rrt_start_innacurate_solver"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` 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: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "rrt_start_innacurate_solver")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kd_tree::visitor::NearestIndexedVisitor` [INFO] [stdout] --> rrt/src/solvers/star.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use kd_tree::{HasCoords, KDTree, visitor::NearestIndexedVisitor}; [INFO] [stdout] | ^^^^^^^^^--------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `NearestVisitor` [INFO] [stdout] | no `NearestIndexedVisitor` in `visitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `kd_tree::visitor::NearestIndexedVisitor`, `kd_tree::visitor::WithinRadiusIndicesVisitor` [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WithinRadiusIndicesVisitor` in `visitor` [INFO] [stdout] | | [INFO] [stdout] | no `NearestIndexedVisitor` in `visitor` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 15 | visitor::{NearestVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 15 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `kd_tree::visitor::NearestIndexedVisitor`, `kd_tree::visitor::WithinRadiusIndicesVisitor` [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WithinRadiusIndicesVisitor` in `visitor` [INFO] [stdout] | | [INFO] [stdout] | no `NearestIndexedVisitor` in `visitor` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | visitor::{NearestVisitor, PreconditionVisitor, WithinRadiusIndicesVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | visitor::{NearestIndexedVisitor, PreconditionVisitor, WithinRadiusVisitor}, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(not(feature = "rrt_start_innacurate_solver"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` 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: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "rrt_start_innacurate_solver")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` 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: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(not(feature = "rrt_start_innacurate_solver"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` 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: `rrt_start_innacurate_solver` [INFO] [stdout] --> rrt/src/solvers/mod.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "rrt_start_innacurate_solver")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `multithreaded` [INFO] [stdout] = help: consider adding `rrt_start_innacurate_solver` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_nearest` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/simple.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let nearest = point_tree.find_nearest(&rnd_point) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `insert` with a similar name [INFO] [stdout] | [INFO] [stdout] 56 | let nearest = point_tree.insert(&rnd_point) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/simple.rs:61:89 [INFO] [stdout] | [INFO] [stdout] 61 | let mut direction: na::SVector = (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 61 | let mut direction: na::SVector = (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/simple.rs:74:70 [INFO] [stdout] | [INFO] [stdout] 74 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 74 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_nearest` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/simple.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let nearest = point_tree.find_nearest(&rnd_point) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `insert` with a similar name [INFO] [stdout] | [INFO] [stdout] 56 | let nearest = point_tree.insert(&rnd_point) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:172:51 [INFO] [stdout] | [INFO] [stdout] 172 | (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 172 | (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/simple.rs:61:89 [INFO] [stdout] | [INFO] [stdout] 61 | let mut direction: na::SVector = (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 61 | let mut direction: na::SVector = (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_indices_within_radius` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | let within_radius = point_tree.find_indices_within_radius(&next_step, update_radius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | let p = point_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/simple.rs:74:70 [INFO] [stdout] | [INFO] [stdout] 74 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 74 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:197:40 [INFO] [stdout] | [INFO] [stdout] 197 | let p = point_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | let min_cost = point_tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:172:51 [INFO] [stdout] | [INFO] [stdout] 172 | (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 172 | (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | point_tree.get_point(min_cost_idx).add_child(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | rewire(node_idx, within_radius, &point_tree, step_size); [INFO] [stdout] | ------ ^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/star.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn rewire(node_idx: usize, near: I, tree: &KDTree, N>, step_size: f32) [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_indices_within_radius` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | let within_radius = point_tree.find_indices_within_radius(&next_step, update_radius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:218:49 [INFO] [stdout] | [INFO] [stdout] 218 | .min_by_key(|&i| point_tree.get_point(i).cost().to_ord()); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:221:66 [INFO] [stdout] | [INFO] [stdout] 221 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 221 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | let p = point_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | let reached = point_tree.get_point(reached_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | let to_idx = point_tree.insert(Node::new(to, cost, reached_idx, std::iter::empty())); [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> rrt/src/solvers/star.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn new(p: na::Point, cost: f32, connected: usize, children: I) -> Self [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:197:40 [INFO] [stdout] | [INFO] [stdout] 197 | let p = point_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | let to = point_tree.get_point(to_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | let prev = point_tree.get_point(prev); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | let min_cost = point_tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 209 | point_tree.get_point(min_cost_idx).add_child(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | rewire(node_idx, within_radius, &point_tree, step_size); [INFO] [stdout] | ------ ^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/star.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn rewire(node_idx: usize, near: I, tree: &KDTree, N>, step_size: f32) [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | let neighbor = tree.get_point(neighbor_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:304:43 [INFO] [stdout] | [INFO] [stdout] 304 | let old_parent = tree.get_point(old_parent_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:218:49 [INFO] [stdout] | [INFO] [stdout] 218 | .min_by_key(|&i| point_tree.get_point(i).cost().to_ord()); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:221:66 [INFO] [stdout] | [INFO] [stdout] 221 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 221 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | let child = tree.get_point(child_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KDTree, N>: Clone` is not satisfied [INFO] [stdout] --> rrt/src/solvers/star.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 344 | pub kd_tree: KDTree, N>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `KDTree, N>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | let reached = point_tree.get_point(reached_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star.rs:230:60 [INFO] [stdout] | [INFO] [stdout] 230 | let to_idx = point_tree.insert(Node::new(to, cost, reached_idx, std::iter::empty())); [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> rrt/src/solvers/star.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | fn new(p: na::Point, cost: f32, connected: usize, children: I) -> Self [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:431:51 [INFO] [stdout] | [INFO] [stdout] 431 | (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 431 | (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_indices_within_radius` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:444:41 [INFO] [stdout] | [INFO] [stdout] 444 | let within_radius = kd_tree.find_indices_within_radius(&next_step, update_radius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | let to = point_tree.get_point(to_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:451:37 [INFO] [stdout] | [INFO] [stdout] 451 | let p = kd_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | let prev = point_tree.get_point(prev); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:456:37 [INFO] [stdout] | [INFO] [stdout] 456 | let p = kd_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | let min_cost = kd_tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | kd_tree.get_point(min_cost_idx).add_child(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | rewire(node_idx, within_radius, kd_tree, step_size); [INFO] [stdout] | ------ ^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/star.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn rewire(node_idx: usize, near: I, tree: &KDTree, N>, step_size: f32) [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `> as IntoIterator>::Item == usize` [INFO] [stdout] --> rrt/src/solvers/star.rs:476:28 [INFO] [stdout] | [INFO] [stdout] 476 | .chain(std::iter::once(node_idx)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::chain` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:476:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::iter::Chain>, std::iter::Once<&star::Node>>` is not an iterator [INFO] [stdout] --> rrt/src/solvers/star.rs:477:22 [INFO] [stdout] | [INFO] [stdout] 473 | *reached_idx = reached_idx [INFO] [stdout] | ________________________________- [INFO] [stdout] 474 | | .iter() [INFO] [stdout] 475 | | .copied() [INFO] [stdout] 476 | | .chain(std::iter::once(node_idx)) [INFO] [stdout] 477 | | .min_by_key(|&i| kd_tree.get_point(i).cost().to_ord()); [INFO] [stdout] | | -^^^^^^^^^^ `std::iter::Chain>, std::iter::Once<&star::Node>>` is not an iterator [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::iter::Chain>, std::iter::Once<&star::Node>>: Iterator` [INFO] [stdout] which is required by `&mut std::iter::Chain>, std::iter::Once<&star::Node>>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:296:29 [INFO] [stdout] | [INFO] [stdout] 296 | let neighbor = tree.get_point(neighbor_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:477:46 [INFO] [stdout] | [INFO] [stdout] 477 | .min_by_key(|&i| kd_tree.get_point(i).cost().to_ord()); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:480:66 [INFO] [stdout] | [INFO] [stdout] 480 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 480 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:304:43 [INFO] [stdout] | [INFO] [stdout] 304 | let old_parent = tree.get_point(old_parent_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | let new_cost = tree.get_point(from_origin).cost() + tree.get_point(from_target).cost(); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:188:74 [INFO] [stdout] | [INFO] [stdout] 188 | let new_cost = tree.get_point(from_origin).cost() + tree.get_point(from_target).cost(); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let node = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:326:30 [INFO] [stdout] | [INFO] [stdout] 326 | let child = tree.get_point(child_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `KDTree, N>: Clone` is not satisfied [INFO] [stdout] --> rrt/src/solvers/star.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 333 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 344 | pub kd_tree: KDTree, N>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `KDTree, N>` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | let node = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:431:51 [INFO] [stdout] | [INFO] [stdout] 431 | (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 431 | (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:240:72 [INFO] [stdout] | [INFO] [stdout] 240 | let direction: na::SVector = (rnd_point - nearest.point()).cap_magnitude(cfg.step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 240 | let direction: na::SVector = (rnd_point - nearest.point()).coords.cap_magnitude(cfg.step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:260:30 [INFO] [stdout] | [INFO] [stdout] 260 | let p = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_indices_within_radius` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:444:41 [INFO] [stdout] | [INFO] [stdout] 444 | let within_radius = kd_tree.find_indices_within_radius(&next_step, update_radius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | let p = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let min_cost = tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:451:37 [INFO] [stdout] | [INFO] [stdout] 451 | let p = kd_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | tree.get_point(min_cost_idx).add_child(new_node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:285:16 [INFO] [stdout] | [INFO] [stdout] 285 | rewire(new_node_idx, within_radius, tree, cfg); [INFO] [stdout] | ------ ^^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star_connect::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn rewire<'a, O, I, const N: usize>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | node_idx: usize, [INFO] [stdout] | --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | Some((new_node, new_node_idx)) [INFO] [stdout] | ^^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star_connect::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:456:37 [INFO] [stdout] | [INFO] [stdout] 456 | let p = kd_tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | let target_node = tree.get_point(target_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:462:36 [INFO] [stdout] | [INFO] [stdout] 462 | let min_cost = kd_tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&'a KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | let p = self.tree.get_point(curr); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:468:21 [INFO] [stdout] | [INFO] [stdout] 468 | kd_tree.get_point(min_cost_idx).add_child(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | rewire(node_idx, within_radius, kd_tree, step_size); [INFO] [stdout] | ------ ^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/star.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn rewire(node_idx: usize, near: I, tree: &KDTree, N>, step_size: f32) [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `> as IntoIterator>::Item == usize` [INFO] [stdout] --> rrt/src/solvers/star.rs:476:28 [INFO] [stdout] | [INFO] [stdout] 476 | .chain(std::iter::once(node_idx)) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star::Node` [INFO] [stdout] note: required by a bound in `std::iter::Iterator::chain` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/iter/traits/iterator.rs:476:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | let neighbor = tree.get_point(neighbor_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `std::iter::Chain>, std::iter::Once<&star::Node>>` is not an iterator [INFO] [stdout] --> rrt/src/solvers/star.rs:477:22 [INFO] [stdout] | [INFO] [stdout] 473 | *reached_idx = reached_idx [INFO] [stdout] | ________________________________- [INFO] [stdout] 474 | | .iter() [INFO] [stdout] 475 | | .copied() [INFO] [stdout] 476 | | .chain(std::iter::once(node_idx)) [INFO] [stdout] 477 | | .min_by_key(|&i| kd_tree.get_point(i).cost().to_ord()); [INFO] [stdout] | | -^^^^^^^^^^ `std::iter::Chain>, std::iter::Once<&star::Node>>` is not an iterator [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::iter::Chain>, std::iter::Once<&star::Node>>: Iterator` [INFO] [stdout] which is required by `&mut std::iter::Chain>, std::iter::Once<&star::Node>>: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:390:43 [INFO] [stdout] | [INFO] [stdout] 390 | let old_parent = tree.get_point(old_parent_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:477:46 [INFO] [stdout] | [INFO] [stdout] 477 | .min_by_key(|&i| kd_tree.get_point(i).cost().to_ord()); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star.rs:480:66 [INFO] [stdout] | [INFO] [stdout] 480 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 480 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:412:30 [INFO] [stdout] | [INFO] [stdout] 412 | let child = tree.get_point(child_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 86 | (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:188:37 [INFO] [stdout] | [INFO] [stdout] 188 | let new_cost = tree.get_point(from_origin).cost() + tree.get_point(from_target).cost(); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | let p = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | let min_cost = tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:188:74 [INFO] [stdout] | [INFO] [stdout] 188 | let new_cost = tree.get_point(from_origin).cost() + tree.get_point(from_target).cost(); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | tree.get_point(min_cost_idx).add_child(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | rewire(node_idx, within_radius, &tree, step_size); [INFO] [stdout] | ------ ^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&node::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn rewire(node_idx: usize, near: I, tree: &KDTree, N>, step_size: f32) [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 204 | let node = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | .min_by_key(|&i| tree.get_point(i).cost().to_ord()); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:141:66 [INFO] [stdout] | [INFO] [stdout] 141 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 141 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | let node = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let reached = tree.get_point(reached_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | let to_idx = tree.insert(Node::new(to, cost, reached_idx, std::iter::empty())); [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&node::Node` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> rrt/src/solvers/node.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn new(p: na::Point, cost: f32, connected: usize, children: I) -> Self [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:240:72 [INFO] [stdout] | [INFO] [stdout] 240 | let direction: na::SVector = (rnd_point - nearest.point()).cap_magnitude(cfg.step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 240 | let direction: na::SVector = (rnd_point - nearest.point()).coords.cap_magnitude(cfg.step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | let to = tree.get_point(to_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let prev = tree.get_point(prev); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:260:30 [INFO] [stdout] | [INFO] [stdout] 260 | let p = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | let p = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | let neighbor = tree.get_point(neighbor_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:271:29 [INFO] [stdout] | [INFO] [stdout] 271 | let min_cost = tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:188:43 [INFO] [stdout] | [INFO] [stdout] 188 | let old_parent = tree.get_point(old_parent_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 283 | tree.get_point(min_cost_idx).add_child(new_node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:285:16 [INFO] [stdout] | [INFO] [stdout] 285 | rewire(new_node_idx, within_radius, tree, cfg); [INFO] [stdout] | ------ ^^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star_connect::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:371:4 [INFO] [stdout] | [INFO] [stdout] 371 | fn rewire<'a, O, I, const N: usize>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 372 | node_idx: usize, [INFO] [stdout] | --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | Some((new_node, new_node_idx)) [INFO] [stdout] | ^^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&star_connect::Node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | let child = tree.get_point(child_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for mutable reference `&mut KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | let target_node = tree.get_point(target_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&'a KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | let p = self.tree.get_point(curr); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> rrt/src/solvers/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:380:21 [INFO] [stdout] | [INFO] [stdout] 380 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | let neighbor = tree.get_point(neighbor_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rrt/src/solvers/star.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | let mut kd_tree = KDTree::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:390:43 [INFO] [stdout] | [INFO] [stdout] 390 | let old_parent = tree.get_point(old_parent_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:410:25 [INFO] [stdout] | [INFO] [stdout] 410 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/star_connect.rs:412:30 [INFO] [stdout] | [INFO] [stdout] 412 | let child = tree.get_point(child_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rrt` (lib) due to 71 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | (rnd_point.point() - nearest.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 86 | (rnd_point.point() - nearest.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | let p = tree.get_point(i); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | let min_cost = tree.get_point(min_cost_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 129 | tree.get_point(min_cost_idx).add_child(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | rewire(node_idx, within_radius, &tree, step_size); [INFO] [stdout] | ------ ^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&node::Node` [INFO] [stdout] note: function defined here [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn rewire(node_idx: usize, near: I, tree: &KDTree, N>, step_size: f32) [INFO] [stdout] | ^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:138:43 [INFO] [stdout] | [INFO] [stdout] 138 | .min_by_key(|&i| tree.get_point(i).cost().to_ord()); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap_magnitude` found for struct `OPoint` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:141:66 [INFO] [stdout] | [INFO] [stdout] 141 | direction = (rnd_point.point() - step_point.point()).cap_magnitude(step_size); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `OPoint>` [INFO] [stdout] | [INFO] [stdout] help: one of the expressions' fields has a method of the same name [INFO] [stdout] | [INFO] [stdout] 141 | direction = (rnd_point.point() - step_point.point()).coords.cap_magnitude(step_size); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | let reached = tree.get_point(reached_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:155:50 [INFO] [stdout] | [INFO] [stdout] 155 | let to_idx = tree.insert(Node::new(to, cost, reached_idx, std::iter::empty())); [INFO] [stdout] | --------- ^^^^^^^^^^^ expected `usize`, found `&Node` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `usize` [INFO] [stdout] found reference `&node::Node` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> rrt/src/solvers/node.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) fn new(p: na::Point, cost: f32, connected: usize, children: I) -> Self [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | let to = tree.get_point(to_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for struct `KDTree` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let prev = tree.get_point(prev); [INFO] [stdout] | ^^^^^^^^^ method not found in `KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | let neighbor = tree.get_point(neighbor_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:188:43 [INFO] [stdout] | [INFO] [stdout] 188 | let old_parent = tree.get_point(old_parent_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let node = tree.get_point(node_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_point` found for reference `&KDTree, N>` in the current scope [INFO] [stdout] --> rrt/src/solvers/risk_alloc.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | let child = tree.get_point(child_idx); [INFO] [stdout] | ^^^^^^^^^ method not found in `&KDTree, N>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> rrt/src/solvers/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rrt/src/solvers/star.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | let mut kd_tree = KDTree::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rrt` (lib test) due to 71 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7e064ade15dad9652f44e8b9700f01b1cc8e8758b41faae77c892f756d65d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e064ade15dad9652f44e8b9700f01b1cc8e8758b41faae77c892f756d65d12", kill_on_drop: false }` [INFO] [stdout] e7e064ade15dad9652f44e8b9700f01b1cc8e8758b41faae77c892f756d65d12