[INFO] fetching crate geozero-core 0.6.2... [INFO] checking geozero-core-0.6.2 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate geozero-core 0.6.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate geozero-core 0.6.2 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate geozero-core 0.6.2 [INFO] finished tweaking crates.io crate geozero-core 0.6.2 [INFO] tweaked toml for crates.io crate geozero-core 0.6.2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95525c3d21ad18f2aceb857f9915149a62259014b2795a416340fcbd578b3ea3 [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" "95525c3d21ad18f2aceb857f9915149a62259014b2795a416340fcbd578b3ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95525c3d21ad18f2aceb857f9915149a62259014b2795a416340fcbd578b3ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95525c3d21ad18f2aceb857f9915149a62259014b2795a416340fcbd578b3ea3", kill_on_drop: false }` [INFO] [stdout] 95525c3d21ad18f2aceb857f9915149a62259014b2795a416340fcbd578b3ea3 [INFO] running `Command { std: "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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4719932964a111a64c8ca99698d3416c6b2630e9ccdb0d78584b4b49e0cb56d0 [INFO] running `Command { std: "docker" "start" "-a" "4719932964a111a64c8ca99698d3416c6b2630e9ccdb0d78584b4b49e0cb56d0", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking seek_bufread v1.2.2 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking kdbush v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking geographiclib-rs v0.2.0 [INFO] [stderr] Checking flatbuffers v0.6.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.9.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking hmac v0.9.0 [INFO] [stderr] Checking postgres-protocol v0.5.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking postgres-types v0.1.3 [INFO] [stderr] Checking rstar v0.8.4 [INFO] [stderr] Checking geo-types v0.6.2 [INFO] [stderr] Checking geo-types v0.7.2 [INFO] [stderr] Checking geo v0.14.2 [INFO] [stderr] Checking geo v0.17.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking futures-util v0.3.18 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking geozero v0.6.0 [INFO] [stderr] Checking polylabel v2.4.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking tokio-postgres v0.5.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking postgres v0.17.5 [INFO] [stderr] Checking geojson v0.21.0 [INFO] [stderr] Checking geozero-core v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `srid` [INFO] [stdout] --> src/wkb_reader.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | srid: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `envelope` [INFO] [stdout] --> src/wkb_reader.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | envelope: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking flatgeobuf v0.4.1 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/polylabel.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | let label_pos = polylabel(&poly, &0.10).unwrap(); [INFO] [stdout] | ^^^^^ expected struct `geo_types::polygon::Polygon`, found reference [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&geo_types::polygon::Polygon<_>` [INFO] [stdout] found reference `&&&geo::Polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `geo::MultiPolygon: Contains>` is not satisfied [INFO] [stdout] --> tests/polylabel.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(mpoly.contains(&label_pos)); [INFO] [stdout] | ^^^^^^^^ the trait `Contains>` is not implemented for `geo::MultiPolygon` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as Contains>> [INFO] [stdout] as Contains>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo_types::point::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let label_pos = polylabel(&poly, &0.10).unwrap(); [INFO] [stdout] | --------- ^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `label_pos` the explicit type `geo_types::point::Point<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: num_traits::cast::FromPrimitive` found in the `num_traits` crate: [INFO] [stdout] - impl num_traits::cast::FromPrimitive for f32; [INFO] [stdout] - impl num_traits::cast::FromPrimitive for f64; [INFO] [stdout] note: required by a bound in `polylabel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/polylabel-2.4.0/src/lib.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | T: GeoFloat + FromPrimitive + Sum, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `polylabel` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 22 | let label_pos = polylabel::(&poly, &0.10).unwrap(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo_types::point::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let label_pos = polylabel(&poly, &0.10).unwrap(); [INFO] [stdout] | --------- ^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `label_pos` the explicit type `geo_types::point::Point<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: num_traits::float::Float` found in the `num_traits` crate: [INFO] [stdout] - impl num_traits::float::Float for f32; [INFO] [stdout] - impl num_traits::float::Float for f64; [INFO] [stdout] = note: required because of the requirements on the impl of `geo::GeoFloat` for `{float}` [INFO] [stdout] note: required by a bound in `polylabel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/polylabel-2.4.0/src/lib.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | T: GeoFloat + FromPrimitive + Sum, [INFO] [stdout] | ^^^^^^^^ required by this bound in `polylabel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo_types::point::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let label_pos = polylabel(&poly, &0.10).unwrap(); [INFO] [stdout] | --------- ^^^^^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `label_pos` the explicit type `geo_types::point::Point<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: geo::algorithm::kernels::HasKernel` found in the `geo` crate: [INFO] [stdout] - impl geo::algorithm::kernels::HasKernel for f32; [INFO] [stdout] - impl geo::algorithm::kernels::HasKernel for f64; [INFO] [stdout] = note: required because of the requirements on the impl of `geo::GeoNum` for `{float}` [INFO] [stdout] = note: required because of the requirements on the impl of `geo::GeoFloat` for `{float}` [INFO] [stdout] note: required by a bound in `polylabel` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/polylabel-2.4.0/src/lib.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | T: GeoFloat + FromPrimitive + Sum, [INFO] [stdout] | ^^^^^^^^ required by this bound in `polylabel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo_types::point::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | let label_pos = polylabel(&poly, &0.10).unwrap(); [INFO] [stdout] | --------- ^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `label_pos` the explicit type `geo_types::point::Point<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: num_traits::Num` found in the `num_traits` crate: [INFO] [stdout] - impl num_traits::Num for f32; [INFO] [stdout] - impl num_traits::Num for f64; [INFO] [stdout] = note: required because of the requirements on the impl of `geo_types::CoordinateType` for `{float}` [INFO] [stdout] = note: required because of the requirements on the impl of `geo_types::CoordNum` for `{float}` [INFO] [stdout] note: required by a bound in `geo_types::polygon::Polygon` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/geo-types-0.7.2/src/polygon.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | T: CoordNum, [INFO] [stdout] | ^^^^^^^^ required by this bound in `geo_types::polygon::Polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo_types::point::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | let label_pos = polylabel(&poly, &0.10).unwrap(); [INFO] [stdout] | --------- ^^^^^ cannot infer type for type `{float}` [INFO] [stdout] | | [INFO] [stdout] | consider giving `label_pos` the explicit type `geo_types::point::Point<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: num_traits::cast::NumCast` found in the `num_traits` crate: [INFO] [stdout] - impl num_traits::cast::NumCast for f32; [INFO] [stdout] - impl num_traits::cast::NumCast for f64; [INFO] [stdout] = note: required because of the requirements on the impl of `geo_types::CoordinateType` for `{float}` [INFO] [stdout] = note: required because of the requirements on the impl of `geo_types::CoordNum` for `{float}` [INFO] [stdout] note: required by a bound in `geo_types::polygon::Polygon` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/geo-types-0.7.2/src/polygon.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | T: CoordNum, [INFO] [stdout] | ^^^^^^^^ required by this bound in `geo_types::polygon::Polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `geozero-core` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "4719932964a111a64c8ca99698d3416c6b2630e9ccdb0d78584b4b49e0cb56d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4719932964a111a64c8ca99698d3416c6b2630e9ccdb0d78584b4b49e0cb56d0", kill_on_drop: false }` [INFO] [stdout] 4719932964a111a64c8ca99698d3416c6b2630e9ccdb0d78584b4b49e0cb56d0