[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabrielDertoni%2Fpath_planning" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GabrielDertoni/path_planning on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 187 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding nalgebra v0.29.0 (available: v0.33.2) [INFO] [stderr] Adding ptree v0.3.2 (available: v0.5.1) [INFO] [stderr] Adding statrs v0.15.0 (available: v0.17.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 serde_test v0.8.23 [INFO] [stderr] Downloaded ptree v0.3.2 [INFO] [stderr] Downloaded config v0.10.1 [INFO] [stderr] Downloaded serde-value v0.6.0 [INFO] [stderr] Downloaded csv v1.3.1 [INFO] [stderr] Downloaded tint v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae473a2cb930b34ab839ee59acc774c14cada8816cd811d9f447c92303574655 [INFO] running `Command { std: "docker" "start" "-a" "ae473a2cb930b34ab839ee59acc774c14cada8816cd811d9f447c92303574655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae473a2cb930b34ab839ee59acc774c14cada8816cd811d9f447c92303574655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae473a2cb930b34ab839ee59acc774c14cada8816cd811d9f447c92303574655", kill_on_drop: false }` [INFO] [stdout] ae473a2cb930b34ab839ee59acc774c14cada8816cd811d9f447c92303574655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2981a169d28b9fa6e7476650db926b9a282f4bc265ddd1c22d43d8921a8d577e [INFO] running `Command { std: "docker" "start" "-a" "2981a169d28b9fa6e7476650db926b9a282f4bc265ddd1c22d43d8921a8d577e", 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.11 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking vec_array v0.1.0 (/opt/rustwide/workdir/vec_array) [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking wide v0.7.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [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.27.1 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stderr] Checking kd_tree v0.1.0 (/opt/rustwide/workdir/kd_tree) [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] 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] 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 `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 `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 `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/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 `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 `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: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: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: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: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: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 `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: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 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 `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: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[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 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: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 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 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]: 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: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 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 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 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.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 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: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 `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 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]: 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 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: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 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 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:468:5 [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 full name for the type has been written to '/opt/rustwide/target/debug/deps/rrt-1c13108b52df2074.long-type-8094163354158172982.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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: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 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.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[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[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: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/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 `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 `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 `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_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 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 `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 `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: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.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_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_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: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/iter/traits/iterator.rs:468:5 [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]: `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 full name for the type has been written to '/opt/rustwide/target/debug/deps/rrt-3075241edf45474a.long-type-4250926597257019216.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `&'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 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: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 `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: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]: 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[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_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 `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 `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/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: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: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: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/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 `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[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[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 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 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 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: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: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[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[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 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 `&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 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 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]: 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] 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 70 previous errors [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] 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 70 previous errors [INFO] running `Command { std: "docker" "inspect" "2981a169d28b9fa6e7476650db926b9a282f4bc265ddd1c22d43d8921a8d577e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2981a169d28b9fa6e7476650db926b9a282f4bc265ddd1c22d43d8921a8d577e", kill_on_drop: false }` [INFO] [stdout] 2981a169d28b9fa6e7476650db926b9a282f4bc265ddd1c22d43d8921a8d577e