[INFO] fetching crate spatial 0.2.0-rc2...
[INFO] testing spatial-0.2.0-rc2 against 1.60.0 for beta-1.61-1
[INFO] extracting crate spatial 0.2.0-rc2 into /workspace/builds/worker-108/source
[INFO] validating manifest of crates.io crate spatial 0.2.0-rc2 on toolchain 1.60.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate spatial 0.2.0-rc2
[INFO] finished tweaking crates.io crate spatial 0.2.0-rc2
[INFO] tweaked toml for crates.io crate spatial 0.2.0-rc2 written to /workspace/builds/worker-108/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded unreachable v0.1.1
[INFO] [stderr] Downloaded itertools v0.5.10
[INFO] [stderr] Downloaded ordered-float v0.2.3
[INFO] [stderr] Downloaded generic-array v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9515e1ba8d10913c8728cd51b17f2e8635d580e2f5f6400dc1f19bd4b1d4e741
[INFO] running `Command { std: "docker" "start" "-a" "9515e1ba8d10913c8728cd51b17f2e8635d580e2f5f6400dc1f19bd4b1d4e741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9515e1ba8d10913c8728cd51b17f2e8635d580e2f5f6400dc1f19bd4b1d4e741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9515e1ba8d10913c8728cd51b17f2e8635d580e2f5f6400dc1f19bd4b1d4e741", kill_on_drop: false }`
[INFO] [stdout] 9515e1ba8d10913c8728cd51b17f2e8635d580e2f5f6400dc1f19bd4b1d4e741
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 98605e54ad5d10303614561df094a6baca1763aa3ac3fd8b2fb27955e3c09307
[INFO] running `Command { std: "docker" "start" "-a" "98605e54ad5d10303614561df094a6baca1763aa3ac3fd8b2fb27955e3c09307", kill_on_drop: false }`
[INFO] [stderr] Compiling autocfg v1.1.0
[INFO] [stderr] Compiling libc v0.2.123
[INFO] [stderr] Compiling rustc-serialize v0.3.24
[INFO] [stderr] Compiling typenum v1.15.0
[INFO] [stderr] Compiling void v1.0.2
[INFO] [stderr] Compiling either v1.6.1
[INFO] [stderr] Compiling nodrop v0.1.14
[INFO] [stderr] Compiling unreachable v0.1.1
[INFO] [stderr] Compiling itertools v0.5.10
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling num-iter v0.1.42
[INFO] [stderr] Compiling rand v0.4.6
[INFO] [stderr] Compiling generic-array v0.3.2
[INFO] [stderr] Compiling num-complex v0.1.43
[INFO] [stderr] Compiling num-traits v0.1.43
[INFO] [stderr] Compiling ordered-float v0.2.3
[INFO] [stderr] Compiling num-bigint v0.1.44
[INFO] [stderr] Compiling num-rational v0.1.42
[INFO] [stderr] Compiling num v0.1.42
[INFO] [stderr] Compiling spatial v0.2.0-rc2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout] --> src/lib.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[macro_use]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:27:32
[INFO] [stdout] |
[INFO] [stdout] 27 | fn insert_into_root(&self, mut root: NODE, leaf: MbrLeaf
) -> NODE;
[INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:46:10
[INFO] [stdout] |
[INFO] [stdout] 46 | mut root: NODE,
[INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:49:10
[INFO] [stdout] |
[INFO] [stdout] 49 | mut f: F)
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:82:58
[INFO] [stdout] |
[INFO] [stdout] 82 | |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 82 - |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stdout] 82 + |distance, (&(x, y), &z)| distance + pow(((x + y)/two) - z, 2));
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:134:66
[INFO] [stdout] |
[INFO] [stdout] 134 | |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 134 - |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stdout] 134 + |distance, (&(x1, y1), &x2, &y2)| distance + pow((x1 + y1)/two - (x2 + y2)/two, 2));
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:186:32
[INFO] [stdout] |
[INFO] [stdout] 186 | distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 186 - distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stdout] 186 + distance + pow((x1 + y1) / two - (x2 + y2) / two, 2)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:13:31
[INFO] [stdout] |
[INFO] [stdout] 13 | fn retain_part(&mut self, mut f: F) -> usize;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:19:35
[INFO] [stdout] |
[INFO] [stdout] 19 | fn retain_mut_part(&mut self, mut f: F) -> usize;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:25:40
[INFO] [stdout] |
[INFO] [stdout] 25 | fn retain_and_split_off(&mut self, mut f: F) -> Option>;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:31:53
[INFO] [stdout] |
[INFO] [stdout] 31 | fn retain_and_append(&mut self, m: &mut Vec, mut f: F);
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:37:30
[INFO] [stdout] |
[INFO] [stdout] 37 | fn retain_mut(&mut self, mut f: F);
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future
[INFO] [stdout] --> src/tree/mbr/index/r.rs:418:30
[INFO] [stdout] |
[INFO] [stdout] 418 | children.retain_mut(|child| self.remove_leaves_from_level(query, child, removed, to_reinsert, f, NOT_AT_ROOT));
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout] = note: for more information, see issue #48919
[INFO] [stdout] = help: call with fully qualified syntax `RetainMut::retain_mut(...)` to keep using the current method
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mbr`
[INFO] [stdout] --> src/tree/mbr/index/r.rs:48:53
[INFO] [stdout] |
[INFO] [stdout] 48 | fn pick_seed>(&self, mbr: &Rect, children: &Vec) -> (usize, usize) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mbr`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/tree/mbr/map.rs:419:17
[INFO] [stdout] |
[INFO] [stdout] 419 | let mut unsafe_leaf = unsafe {
[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: 15 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.89s
[INFO] running `Command { std: "docker" "inspect" "98605e54ad5d10303614561df094a6baca1763aa3ac3fd8b2fb27955e3c09307", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98605e54ad5d10303614561df094a6baca1763aa3ac3fd8b2fb27955e3c09307", kill_on_drop: false }`
[INFO] [stdout] 98605e54ad5d10303614561df094a6baca1763aa3ac3fd8b2fb27955e3c09307
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d265ed11e0cb29604a1f0f62e14cf469a7f30bfcd2a2191c0e2d2b5121fb8364
[INFO] running `Command { std: "docker" "start" "-a" "d265ed11e0cb29604a1f0f62e14cf469a7f30bfcd2a2191c0e2d2b5121fb8364", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Compiling approx v0.1.1
[INFO] [stderr] Compiling rand v0.3.23
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout] --> src/lib.rs:12:1
[INFO] [stdout] |
[INFO] [stdout] 12 | #[macro_use]
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:27:32
[INFO] [stdout] |
[INFO] [stdout] 27 | fn insert_into_root(&self, mut root: NODE, leaf: MbrLeaf) -> NODE;
[INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:46:10
[INFO] [stdout] |
[INFO] [stdout] 46 | mut root: NODE,
[INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:49:10
[INFO] [stdout] |
[INFO] [stdout] 49 | mut f: F)
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:82:58
[INFO] [stdout] |
[INFO] [stdout] 82 | |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 82 - |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stdout] 82 + |distance, (&(x, y), &z)| distance + pow(((x + y)/two) - z, 2));
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:134:66
[INFO] [stdout] |
[INFO] [stdout] 134 | |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 134 - |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stdout] 134 + |distance, (&(x1, y1), &x2, &y2)| distance + pow((x1 + y1)/two - (x2 + y2)/two, 2));
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:186:32
[INFO] [stdout] |
[INFO] [stdout] 186 | distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 186 - distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stdout] 186 + distance + pow((x1 + y1) / two - (x2 + y2) / two, 2)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:13:31
[INFO] [stdout] |
[INFO] [stdout] 13 | fn retain_part(&mut self, mut f: F) -> usize;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:19:35
[INFO] [stdout] |
[INFO] [stdout] 19 | fn retain_mut_part(&mut self, mut f: F) -> usize;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:25:40
[INFO] [stdout] |
[INFO] [stdout] 25 | fn retain_and_split_off(&mut self, mut f: F) -> Option>;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:31:53
[INFO] [stdout] |
[INFO] [stdout] 31 | fn retain_and_append(&mut self, m: &mut Vec, mut f: F);
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:37:30
[INFO] [stdout] |
[INFO] [stdout] 37 | fn retain_mut(&mut self, mut f: F);
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future
[INFO] [stdout] --> src/tree/mbr/index/r.rs:418:30
[INFO] [stdout] |
[INFO] [stdout] 418 | children.retain_mut(|child| self.remove_leaves_from_level(query, child, removed, to_reinsert, f, NOT_AT_ROOT));
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout] = note: for more information, see issue #48919
[INFO] [stdout] = help: call with fully qualified syntax `RetainMut::retain_mut(...)` to keep using the current method
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mbr`
[INFO] [stdout] --> src/tree/mbr/index/r.rs:48:53
[INFO] [stdout] |
[INFO] [stdout] 48 | fn pick_seed>(&self, mbr: &Rect, children: &Vec) -> (usize, usize) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mbr`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/tree/mbr/map.rs:419:17
[INFO] [stdout] |
[INFO] [stdout] 419 | let mut unsafe_leaf = unsafe {
[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: 15 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling spatial v0.2.0-rc2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:27:32
[INFO] [stdout] |
[INFO] [stdout] 27 | fn insert_into_root(&self, mut root: NODE, leaf: MbrLeaf) -> NODE;
[INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:46:10
[INFO] [stdout] |
[INFO] [stdout] 46 | mut root: NODE,
[INFO] [stdout] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/tree/mbr/index/mod.rs:49:10
[INFO] [stdout] |
[INFO] [stdout] 49 | mut f: F)
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:82:58
[INFO] [stdout] |
[INFO] [stdout] 82 | |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 82 - |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stdout] 82 + |distance, (&(x, y), &z)| distance + pow(((x + y)/two) - z, 2));
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:134:66
[INFO] [stdout] |
[INFO] [stdout] 134 | |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 134 - |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stdout] 134 + |distance, (&(x1, y1), &x2, &y2)| distance + pow((x1 + y1)/two - (x2 + y2)/two, 2));
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout] --> src/tree/mbr/leafgeometry.rs:186:32
[INFO] [stdout] |
[INFO] [stdout] 186 | distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stdout] | ^ ^
[INFO] [stdout] |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] 186 - distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stdout] 186 + distance + pow((x1 + y1) / two - (x2 + y2) / two, 2)
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:13:31
[INFO] [stdout] |
[INFO] [stdout] 13 | fn retain_part(&mut self, mut f: F) -> usize;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:19:35
[INFO] [stdout] |
[INFO] [stdout] 19 | fn retain_mut_part(&mut self, mut f: F) -> usize;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:25:40
[INFO] [stdout] |
[INFO] [stdout] 25 | fn retain_and_split_off(&mut self, mut f: F) -> Option>;
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:31:53
[INFO] [stdout] |
[INFO] [stdout] 31 | fn retain_and_append(&mut self, m: &mut Vec, mut f: F);
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: patterns aren't allowed in functions without bodies
[INFO] [stdout] --> src/vecext.rs:37:30
[INFO] [stdout] |
[INFO] [stdout] 37 | fn retain_mut(&mut self, mut f: F);
[INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stdout] |
[INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] = note: for more information, see issue #35203
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future
[INFO] [stdout] --> src/tree/mbr/index/r.rs:418:30
[INFO] [stdout] |
[INFO] [stdout] 418 | children.retain_mut(|child| self.remove_leaves_from_level(query, child, removed, to_reinsert, f, NOT_AT_ROOT));
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout] = note: for more information, see issue #48919
[INFO] [stdout] = help: call with fully qualified syntax `vecext::RetainMut::retain_mut(...)` to keep using the current method
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future
[INFO] [stdout] --> src/vecext.rs:183:11
[INFO] [stdout] |
[INFO] [stdout] 183 | v.retain_mut(|x| {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout] = note: for more information, see issue #48919
[INFO] [stdout] = help: call with fully qualified syntax `vecext::RetainMut::retain_mut(...)` to keep using the current method
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `mbr`
[INFO] [stdout] --> src/tree/mbr/index/r.rs:48:53
[INFO] [stdout] |
[INFO] [stdout] 48 | fn pick_seed>(&self, mbr: &Rect, children: &Vec) -> (usize, usize) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mbr`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/tree/mbr/map.rs:419:17
[INFO] [stdout] |
[INFO] [stdout] 419 | let mut unsafe_leaf = unsafe {
[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: 15 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.96s
[INFO] running `Command { std: "docker" "inspect" "d265ed11e0cb29604a1f0f62e14cf469a7f30bfcd2a2191c0e2d2b5121fb8364", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d265ed11e0cb29604a1f0f62e14cf469a7f30bfcd2a2191c0e2d2b5121fb8364", kill_on_drop: false }`
[INFO] [stdout] d265ed11e0cb29604a1f0f62e14cf469a7f30bfcd2a2191c0e2d2b5121fb8364
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a9b9baab3c6ff37043a22c3e72ffea1b3065ce68886fe3abfee3e2bb6c35479c
[INFO] running `Command { std: "docker" "start" "-a" "a9b9baab3c6ff37043a22c3e72ffea1b3065ce68886fe3abfee3e2bb6c35479c", kill_on_drop: false }`
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr] --> src/lib.rs:12:1
[INFO] [stderr] |
[INFO] [stderr] 12 | #[macro_use]
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/tree/mbr/index/mod.rs:27:32
[INFO] [stderr] |
[INFO] [stderr] 27 | fn insert_into_root(&self, mut root: NODE, leaf: MbrLeaf) -> NODE;
[INFO] [stderr] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(patterns_in_fns_without_body)]` on by default
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/tree/mbr/index/mod.rs:46:10
[INFO] [stderr] |
[INFO] [stderr] 46 | mut root: NODE,
[INFO] [stderr] | ^^^^^^^^ help: remove `mut` from the parameter: `root`
[INFO] [stderr] |
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/tree/mbr/index/mod.rs:49:10
[INFO] [stderr] |
[INFO] [stderr] 49 | mut f: F)
[INFO] [stderr] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stderr] |
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr] --> src/tree/mbr/leafgeometry.rs:82:58
[INFO] [stderr] |
[INFO] [stderr] 82 | |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stderr] | ^ ^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] 82 - |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stderr] 82 + |distance, (&(x, y), &z)| distance + pow(((x + y)/two) - z, 2));
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr] --> src/tree/mbr/leafgeometry.rs:134:66
[INFO] [stderr] |
[INFO] [stderr] 134 | |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stderr] | ^ ^
[INFO] [stderr] |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] 134 - |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stderr] 134 + |distance, (&(x1, y1), &x2, &y2)| distance + pow((x1 + y1)/two - (x2 + y2)/two, 2));
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr] --> src/tree/mbr/leafgeometry.rs:186:32
[INFO] [stderr] |
[INFO] [stderr] 186 | distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stderr] | ^ ^
[INFO] [stderr] |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] 186 - distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stderr] 186 + distance + pow((x1 + y1) / two - (x2 + y2) / two, 2)
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/vecext.rs:13:31
[INFO] [stderr] |
[INFO] [stderr] 13 | fn retain_part(&mut self, mut f: F) -> usize;
[INFO] [stderr] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stderr] |
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/vecext.rs:19:35
[INFO] [stderr] |
[INFO] [stderr] 19 | fn retain_mut_part(&mut self, mut f: F) -> usize;
[INFO] [stderr] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stderr] |
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/vecext.rs:25:40
[INFO] [stderr] |
[INFO] [stderr] 25 | fn retain_and_split_off(&mut self, mut f: F) -> Option>;
[INFO] [stderr] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stderr] |
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/vecext.rs:31:53
[INFO] [stderr] |
[INFO] [stderr] 31 | fn retain_and_append(&mut self, m: &mut Vec, mut f: F);
[INFO] [stderr] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stderr] |
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: patterns aren't allowed in functions without bodies
[INFO] [stderr] --> src/vecext.rs:37:30
[INFO] [stderr] |
[INFO] [stderr] 37 | fn retain_mut(&mut self, mut f: F);
[INFO] [stderr] | ^^^^^ help: remove `mut` from the parameter: `f`
[INFO] [stderr] |
[INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stderr] = note: for more information, see issue #35203
[INFO] [stderr]
[INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future
[INFO] [stderr] --> src/tree/mbr/index/r.rs:418:30
[INFO] [stderr] |
[INFO] [stderr] 418 | children.retain_mut(|child| self.remove_leaves_from_level(query, child, removed, to_reinsert, f, NOT_AT_ROOT));
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stderr] = note: for more information, see issue #48919
[INFO] [stderr] = help: call with fully qualified syntax `RetainMut::retain_mut(...)` to keep using the current method
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `mbr`
[INFO] [stderr] --> src/tree/mbr/index/r.rs:48:53
[INFO] [stderr] |
[INFO] [stderr] 48 | fn pick_seed>(&self, mbr: &Rect, children: &Vec) -> (usize, usize) {
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mbr`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/tree/mbr/map.rs:419:17
[INFO] [stderr] |
[INFO] [stderr] 419 | let mut unsafe_leaf = unsafe {
[INFO] [stderr] | ----^^^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future
[INFO] [stderr] --> src/tree/mbr/index/r.rs:418:30
[INFO] [stderr] |
[INFO] [stderr] 418 | children.retain_mut(|child| self.remove_leaves_from_level(query, child, removed, to_reinsert, f, NOT_AT_ROOT));
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stderr] = note: for more information, see issue #48919
[INFO] [stderr] = help: call with fully qualified syntax `vecext::RetainMut::retain_mut(...)` to keep using the current method
[INFO] [stderr]
[INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future
[INFO] [stderr] --> src/vecext.rs:183:11
[INFO] [stderr] |
[INFO] [stderr] 183 | v.retain_mut(|x| {
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stderr] = note: for more information, see issue #48919
[INFO] [stderr] = help: call with fully qualified syntax `vecext::RetainMut::retain_mut(...)` to keep using the current method
[INFO] [stderr]
[INFO] [stderr] warning: `spatial` (lib) generated 15 warnings
[INFO] [stderr] warning: `spatial` (lib test) generated 15 warnings (13 duplicates)
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/spatial-54f461497b3a1b19)
[INFO] [stdout]
[INFO] [stdout] running 7 tests
[INFO] [stdout] test tree::mbr::index::rstar::tests::margin ... ok
[INFO] [stdout] test tree::mbr::leafgeometry::tests::line_segment ... ok
[INFO] [stdout] test tree::mbr::leafgeometry::tests::point ... ok
[INFO] [stdout] test tree::mbr::leafgeometry::tests::rect ... ok
[INFO] [stdout] test vecext::tests::retain_and_append ... ok
[INFO] [stdout] test vecext::tests::retain_mut ... ok
[INFO] [stdout] test vecext::tests::retain_and_split_off ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Running tests/rstar.rs (/opt/rustwide/target/debug/deps/rstar-aa1e2987c0a9d26b)
[INFO] [stdout]
[INFO] [stdout] running 1 test
[INFO] [stdout] test rstar_integration ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] Running tests/rtree.rs (/opt/rustwide/target/debug/deps/rtree-8c210ef2f4418c7e)
[INFO] [stdout]
[INFO] [stdout] running 2 tests
[INFO] [stdout] test rlinear_integration ... ok
[INFO] [stderr] Doc-tests spatial
[INFO] [stdout] test rquadratic_integration ... ok
[INFO] [stdout]
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr] --> /opt/rustwide/workdir/src/tree/mbr/leafgeometry.rs:82:58
[INFO] [stderr] |
[INFO] [stderr] 82 | |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stderr] | ^ ^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] 82 - |distance, (&(x, y), &z)| distance + pow((((x + y)/two) - z), 2));
[INFO] [stderr] 82 + |distance, (&(x, y), &z)| distance + pow(((x + y)/two) - z, 2));
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr] --> /opt/rustwide/workdir/src/tree/mbr/leafgeometry.rs:134:66
[INFO] [stderr] |
[INFO] [stderr] 134 | |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stderr] | ^ ^
[INFO] [stderr] |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] 134 - |distance, (&(x1, y1), &x2, &y2)| distance + pow(((x1 + y1)/two - (x2 + y2)/two), 2));
[INFO] [stderr] 134 + |distance, (&(x1, y1), &x2, &y2)| distance + pow((x1 + y1)/two - (x2 + y2)/two, 2));
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr] --> /opt/rustwide/workdir/src/tree/mbr/leafgeometry.rs:186:32
[INFO] [stderr] |
[INFO] [stderr] 186 | distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stderr] | ^ ^
[INFO] [stderr] |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] 186 - distance + pow(((x1 + y1) / two - (x2 + y2) / two), 2)
[INFO] [stderr] 186 + distance + pow((x1 + y1) / two - (x2 + y2) / two, 2)
[INFO] [stderr] |
[INFO] [stderr]
[INFO] [stderr] warning: 3 warnings emitted
[INFO] [stderr]
[INFO] [stdout]
[INFO] [stdout] running 0 tests
[INFO] [stdout]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout]
[INFO] running `Command { std: "docker" "inspect" "a9b9baab3c6ff37043a22c3e72ffea1b3065ce68886fe3abfee3e2bb6c35479c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a9b9baab3c6ff37043a22c3e72ffea1b3065ce68886fe3abfee3e2bb6c35479c", kill_on_drop: false }`
[INFO] [stdout] a9b9baab3c6ff37043a22c3e72ffea1b3065ce68886fe3abfee3e2bb6c35479c