[INFO] cloning repository https://github.com/d-dorazio/mattors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d-dorazio/mattors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-dorazio%2Fmattors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-dorazio%2Fmattors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5a2a8f47d6194d91f9e59a6afcc17f2ed679e8c [INFO] checking d-dorazio/mattors against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd-dorazio%2Fmattors" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/d-dorazio/mattors [INFO] finished tweaking git repo https://github.com/d-dorazio/mattors [INFO] tweaked toml for git repo https://github.com/d-dorazio/mattors written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/d-dorazio/mattors on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/d-dorazio/mattors already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded unicode-width v0.1.6 [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded image v0.22.3 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded syn v1.0.9 [INFO] [stderr] Downloaded png v0.15.1 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded structopt v0.3.5 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded structopt-derive v0.3.5 [INFO] [stderr] Downloaded proptest v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b783199619a96c6f90a46daad044a1c0901173f48783ae7c779f930217827bba [INFO] running `Command { std: "docker" "start" "-a" "b783199619a96c6f90a46daad044a1c0901173f48783ae7c779f930217827bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b783199619a96c6f90a46daad044a1c0901173f48783ae7c779f930217827bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b783199619a96c6f90a46daad044a1c0901173f48783ae7c779f930217827bba", kill_on_drop: false }` [INFO] [stdout] b783199619a96c6f90a46daad044a1c0901173f48783ae7c779f930217827bba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a207434c04f07e2596eca36a8f512ee505068755f58f43464cd77188e61593a5 [INFO] running `Command { std: "docker" "start" "-a" "a207434c04f07e2596eca36a8f512ee505068755f58f43464cd77188e61593a5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v1.0.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.15.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.4 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking geo v0.1.0 (/opt/rustwide/workdir/geo) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> geo/src/point.rs:132:71 [INFO] [stdout] | [INFO] [stdout] 132 | Err(e) => Err("bad coord number format, ".to_string() + e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> geo/src/kdtree.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn iter(&self) -> KdTreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn iter(&self) -> KdTreeIter<'_, T, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/angle.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use geo::PointF64; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/bbox.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | use geo::PointU32; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/convex_hull.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use geo::{Point, Polygon}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/delaunay.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use geo::Point; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/kmeans.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | use geo::Point; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/line.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | use geo::PointI32; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/polygon.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | use geo::{BoundingBox, PointF64, PointU32}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/triangle.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use geo::PointI32; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `geo` [INFO] [stdout] --> geo/src/kdtree.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | use geo::{BoundingBox, PointU32}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `geo` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `geo`, use `cargo add geo` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> geo/src/kdtree.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `proptest` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 392 + use proptest::proptest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> geo/src/kdtree.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `proptest` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 392 + use proptest::proptest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> geo/src/kdtree.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `proptest` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 392 + use proptest::proptest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> geo/src/utils/ksmallest.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `proptest` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use proptest::proptest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> geo/src/utils/ksmallest.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `proptest` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 73 + use proptest::proptest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proptest` in this scope [INFO] [stdout] --> geo/src/utils/mod.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | proptest! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `proptest` is in scope, but it is a crate, not a macro [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 70 + use proptest::proptest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ksmallest_by` and `ksmallest` [INFO] [stdout] --> geo/src/utils/ksmallest.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | use super::{ksmallest, ksmallest_by}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::split_element_at` [INFO] [stdout] --> geo/src/utils/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use super::split_element_at; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> geo/src/utils/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking matto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> geo/src/convex_hull.rs:199:51 [INFO] [stdout] | [INFO] [stdout] 199 | let hull = convex_hull(points.iter().map(|p| p.cast::())); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 199 | let hull = convex_hull(points.iter().map(|p: /* Type */| p.cast::())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> geo/src/kdtree.rs:613:26 [INFO] [stdout] | [INFO] [stdout] 613 | .min_by_key(|(pt, _)| pt.squared_dist::(&to_search)); [INFO] [stdout] | ^^^^^^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 613 | .min_by_key(|(pt, _): (_, _)| pt.squared_dist::(&to_search)); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> geo/src/point.rs:132:71 [INFO] [stdout] | [INFO] [stdout] 132 | Err(e) => Err("bad coord number format, ".to_string() + e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> geo/src/polygon.rs:199:40 [INFO] [stdout] | [INFO] [stdout] 199 | let polygon = Polygon::new(points.clone()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> geo/src/polygon.rs:236:40 [INFO] [stdout] | [INFO] [stdout] 236 | let polygon = Polygon::new(points.clone()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `geo` (lib test) due to 19 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a207434c04f07e2596eca36a8f512ee505068755f58f43464cd77188e61593a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a207434c04f07e2596eca36a8f512ee505068755f58f43464cd77188e61593a5", kill_on_drop: false }` [INFO] [stdout] a207434c04f07e2596eca36a8f512ee505068755f58f43464cd77188e61593a5