[INFO] fetching crate spatial 0.2.0-rc2...
[INFO] checking spatial-0.2.0-rc2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248
[INFO] extracting crate spatial 0.2.0-rc2 into /workspace/builds/worker-12/source
[INFO] validating manifest of crates.io crate spatial 0.2.0-rc2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-12/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57b69f010366359c554e2e66df62c74d7167bc26c02aa0a37cc6dc05bd247794
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "57b69f010366359c554e2e66df62c74d7167bc26c02aa0a37cc6dc05bd247794", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57b69f010366359c554e2e66df62c74d7167bc26c02aa0a37cc6dc05bd247794", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57b69f010366359c554e2e66df62c74d7167bc26c02aa0a37cc6dc05bd247794", kill_on_drop: false }`
[INFO] [stdout] 57b69f010366359c554e2e66df62c74d7167bc26c02aa0a37cc6dc05bd247794
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8d78c5a35750e5862c97a72ce0fa666a5d1c8ab16b3ac501222eaef04602725
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b8d78c5a35750e5862c97a72ce0fa666a5d1c8ab16b3ac501222eaef04602725", kill_on_drop: false }`
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling typenum v1.13.0
[INFO] [stderr] Checking nodrop v0.1.14
[INFO] [stderr] Checking either v1.6.1
[INFO] [stderr] Checking approx v0.1.1
[INFO] [stderr] Checking unreachable v0.1.1
[INFO] [stderr] Checking libc v0.2.98
[INFO] [stderr] Checking 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] Checking rand v0.4.6
[INFO] [stderr] Checking rand v0.3.23
[INFO] [stderr] Checking num-traits v0.1.43
[INFO] [stderr] Checking num-complex v0.1.43
[INFO] [stderr] Checking ordered-float v0.2.3
[INFO] [stderr] Checking generic-array v0.3.2
[INFO] [stderr] Checking num-bigint v0.1.44
[INFO] [stderr] Checking num-rational v0.1.42
[INFO] [stderr] Checking num v0.1.42
[INFO] [stderr] Checking spatial v0.2.0-rc2 (/opt/rustwide/workdir)
[INFO] [stdout] error: 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: `#[deny(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] error: 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] error: 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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: 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] error: 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] error: 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] error: 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] error: 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: 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] error: 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: `#[deny(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] error: 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] error: 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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_parens)]` on by default
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: 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] error: 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] error: 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] error: 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] error: 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] error: aborting due to 8 previous errors; 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `spatial` due to 9 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors; 3 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "b8d78c5a35750e5862c97a72ce0fa666a5d1c8ab16b3ac501222eaef04602725", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8d78c5a35750e5862c97a72ce0fa666a5d1c8ab16b3ac501222eaef04602725", kill_on_drop: false }`
[INFO] [stdout] b8d78c5a35750e5862c97a72ce0fa666a5d1c8ab16b3ac501222eaef04602725