[INFO] crate spatial 0.2.0-rc2 is already in cache
[INFO] checking spatial-0.2.0-rc2 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393
[INFO] extracting crate spatial 0.2.0-rc2 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate spatial 0.2.0-rc2 on toolchain 45d050cde277b22a755847338f2acc2c7b834141
[INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-5/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9272bfaacdd5dd8345f6ae28e194f3bd3a25f2190912f683ae1742f3de1dcd38
[INFO] running `"docker" "start" "-a" "9272bfaacdd5dd8345f6ae28e194f3bd3a25f2190912f683ae1742f3de1dcd38"`
[INFO] [stderr] Compiling autocfg v1.0.0
[INFO] [stderr] Compiling libc v0.2.69
[INFO] [stderr] Checking rustc-serialize v0.3.24
[INFO] [stderr] Checking nodrop v0.1.14
[INFO] [stderr] Checking approx v0.1.1
[INFO] [stderr] Checking itertools v0.5.10
[INFO] [stderr] Checking unreachable v0.1.1
[INFO] [stderr] Checking generic-array v0.3.2
[INFO] [stderr] Compiling num-traits v0.2.11
[INFO] [stderr] Compiling num-integer v0.1.42
[INFO] [stderr] Compiling num-iter v0.1.40
[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 ordered-float v0.2.3
[INFO] [stderr] Checking num-complex v0.1.43
[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] [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] error: 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] | ^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[deny(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] error: 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] | ^^^^^^^^
[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] error: 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] | ^^^^^
[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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_parens)]` on by default
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]
[INFO] [stderr] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: 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] | ^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[deny(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] error: 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] | ^^^^^^^^
[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] error: 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] | ^^^^^
[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] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_parens)]` on by default
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stderr]
[INFO] [stderr] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: 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] | ^^^^^
[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] error: aborting due to 8 previous errors; 4 warnings emitted
[INFO] [stderr]
[INFO] [stderr] error: could not compile `spatial`.
[INFO] [stderr]
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to 8 previous errors; 3 warnings emitted
[INFO] [stderr]
[INFO] [stderr] error: could not compile `spatial`.
[INFO] [stderr]
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "9272bfaacdd5dd8345f6ae28e194f3bd3a25f2190912f683ae1742f3de1dcd38"`
[INFO] running `"docker" "rm" "-f" "9272bfaacdd5dd8345f6ae28e194f3bd3a25f2190912f683ae1742f3de1dcd38"`
[INFO] [stdout] 9272bfaacdd5dd8345f6ae28e194f3bd3a25f2190912f683ae1742f3de1dcd38