[INFO] fetching crate geozero 0.7.7... [INFO] checking geozero-0.7.7 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate geozero 0.7.7 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate geozero 0.7.7 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate geozero 0.7.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate geozero 0.7.7 [INFO] tweaked toml for crates.io crate geozero 0.7.7 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.5.9 [INFO] [stderr] Downloaded tokio-postgres v0.7.5 [INFO] [stderr] Downloaded postgres-protocol v0.6.2 [INFO] [stderr] Downloaded flatgeobuf v0.5.0 [INFO] [stderr] Downloaded sqlx-core v0.5.9 [INFO] [stderr] Downloaded wkt v0.9.2 [INFO] [stderr] Downloaded postgres v0.19.2 [INFO] [stderr] Downloaded sqlx v0.5.9 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] [stderr] Downloaded sqlx-rt v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59261f5a1e6e04269635df57f5f57eb068d8235d9083d0b3eba17b598dc22f14 [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" "59261f5a1e6e04269635df57f5f57eb068d8235d9083d0b3eba17b598dc22f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59261f5a1e6e04269635df57f5f57eb068d8235d9083d0b3eba17b598dc22f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59261f5a1e6e04269635df57f5f57eb068d8235d9083d0b3eba17b598dc22f14", kill_on_drop: false }` [INFO] [stdout] 59261f5a1e6e04269635df57f5f57eb068d8235d9083d0b3eba17b598dc22f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f1cdf70503cb7bcfc3513d309e6e74e89ce9c98c0049ba78925a6293a827571 [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" "8f1cdf70503cb7bcfc3513d309e6e74e89ce9c98c0049ba78925a6293a827571", 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] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking kdbush v0.2.0 [INFO] [stderr] Checking seek_bufread v1.2.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Checking flatbuffers v0.6.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking geographiclib-rs v0.2.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking encoding_rs v0.8.29 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking phf v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking as-slice v0.1.5 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking postgres-protocol v0.6.2 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking postgres-types v0.2.2 [INFO] [stderr] Checking rstar v0.8.4 [INFO] [stderr] Checking geo-types v0.7.2 [INFO] [stderr] Checking geo v0.17.1 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking sqlx-rt v0.5.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.18 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking wkt v0.9.2 [INFO] [stderr] Checking polylabel v2.4.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking tokio-postgres v0.7.5 [INFO] [stderr] Checking postgres v0.19.2 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Checking geozero v0.7.7 [INFO] [stderr] Checking geojson v0.22.2 [INFO] [stderr] Checking geozero v0.7.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking reqwest v0.11.6 [INFO] [stderr] Checking flatgeobuf v0.5.0 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Checking sqlx v0.5.9 [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geojson.rs:28:49 [INFO] [stdout] | [INFO] [stdout] 28 | let mut fgb = HttpFgbReader::open(url).await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geojson.rs:29:48 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GeoJsonWriter<'_, BufWriter>: geozero::feature_processor::FeatureProcessor` is not satisfied [INFO] [stdout] --> tests/geojson.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fgb.process_features(&mut json).await?; [INFO] [stdout] | ---------------- ^^^^^^^^^ the trait `geozero::feature_processor::FeatureProcessor` is not implemented for `GeoJsonWriter<'_, BufWriter>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `HttpFgbReader::process_features` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flatgeobuf-0.5.0/src/http_reader.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | pub async fn process_features(&mut self, out: &mut W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `HttpFgbReader::process_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geojson.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | fgb.process_features(&mut json).await?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geojson.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 10 | fn fgb_to_geojson() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] 11 | let mut filein = BufReader::new(File::open("tests/data/countries.fgb")?); [INFO] [stdout] 12 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geojson.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 10 | fn fgb_to_geojson() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 13 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_json` exists for struct `FgbReader<'_, seek_bufread::BufReader>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/geojson.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let json = fgb.to_json()?; [INFO] [stdout] | ^^^^^^^ method cannot be called on `FgbReader<'_, seek_bufread::BufReader>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flatgeobuf-0.5.0/src/file_reader.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct FgbReader<'a, R: Read + Seek> { [INFO] [stdout] | ---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: GeozeroDatasource` [INFO] [stdout] | doesn't satisfy `_: ProcessToJson` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FgbReader<'_, seek_bufread::BufReader>: GeozeroDatasource` [INFO] [stdout] which is required by `FgbReader<'_, seek_bufread::BufReader>: ProcessToJson` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geozero::ProcessToJson` [INFO] [stdout] --> tests/geojson.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use geozero::ProcessToJson; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `geozero` due to 8 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/svg.rs:58:47 [INFO] [stdout] | [INFO] [stdout] 56 | fn fgb_to_svg() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] 57 | let mut filein = BufReader::new(File::open("tests/data/countries.fgb")?); [INFO] [stdout] 58 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/svg.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 56 | fn fgb_to_svg() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 60 | let _count = fgb.select_bbox(8.8, 47.2, 9.5, 55.3)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SvgWriter<'_, Vec>: geozero::feature_processor::FeatureProcessor` is not satisfied [INFO] [stdout] --> tests/svg.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fgb.process_features(&mut svg)?; [INFO] [stdout] | ---------------- ^^^^^^^^ the trait `geozero::feature_processor::FeatureProcessor` is not implemented for `SvgWriter<'_, Vec>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FgbReader::<'a, R>::process_features` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flatgeobuf-0.5.0/src/file_reader.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn process_features(&mut self, out: &mut W) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `FgbReader::<'a, R>::process_features` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:19:47 [INFO] [stdout] | [INFO] [stdout] 17 | fn vertex_counter() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] 18 | let mut filein = BufReader::new(File::open("tests/data/countries.fgb")?); [INFO] [stdout] 19 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/svg.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn fgb_to_svg() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 63 | fgb.process_features(&mut svg)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 17 | fn vertex_counter() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 20 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 17 | fn vertex_counter() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 21 | let feature = fgb.next()?.unwrap(); [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `VertexCounter: geozero::geometry_processor::GeomProcessor` is not satisfied [INFO] [stdout] --> tests/geozero-api.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | geometry.process(&mut vertex_counter, GeometryType::MultiPolygon)?; [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ the trait `geozero::geometry_processor::GeomProcessor` is not implemented for `VertexCounter` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `flatgeobuf::geometry_reader::>::process` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flatgeobuf-0.5.0/src/geometry_reader.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn process( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `flatgeobuf::geometry_reader::>::process` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:25:70 [INFO] [stdout] | [INFO] [stdout] 17 | fn vertex_counter() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 25 | geometry.process(&mut vertex_counter, GeometryType::MultiPolygon)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 63 | fn max_height_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 67 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 63 | fn max_height_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 68 | fgb.select_all()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:70:41 [INFO] [stdout] | [INFO] [stdout] 63 | fn max_height_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 70 | while let Some(feature) = fgb.next()? { [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `MaxHeightFinder: geozero::geometry_processor::GeomProcessor` is not satisfied [INFO] [stdout] --> tests/geozero-api.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | geometry.process(&mut max_finder, GeometryType::MultiPolygon)?; [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^ the trait `geozero::geometry_processor::GeomProcessor` is not implemented for `MaxHeightFinder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `flatgeobuf::geometry_reader::>::process` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flatgeobuf-0.5.0/src/geometry_reader.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn process( [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `flatgeobuf::geometry_reader::>::process` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:72:70 [INFO] [stdout] | [INFO] [stdout] 63 | fn max_height_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 72 | geometry.process(&mut max_finder, GeometryType::MultiPolygon)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:90:47 [INFO] [stdout] | [INFO] [stdout] 88 | fn feature_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] 89 | let mut filein = BufReader::new(File::open("tests/data/countries.fgb")?); [INFO] [stdout] 90 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 88 | fn feature_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 91 | fgb.select_all()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 88 | fn feature_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 94 | while let Some(feature) = fgb.next()? { [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FeatureFinder: geozero::property_processor::PropertyProcessor` is not satisfied [INFO] [stdout] --> tests/geozero-api.rs:95:48 [INFO] [stdout] | [INFO] [stdout] 95 | let found = feature.process_properties(&mut finder); [INFO] [stdout] | ------------------ ^^^^^^^^^^^ the trait `geozero::property_processor::PropertyProcessor` is not implemented for `FeatureFinder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `flatgeobuf::FeatureProperties::process_properties` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/geozero-0.7.7/src/api.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | fn process_properties(&self, processor: &mut P) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `flatgeobuf::FeatureProperties::process_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/geozero-api.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 88 | fn feature_finder() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 101 | let props = feature.properties()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/polylabel.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 11 | fn country_labels() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] 12 | let mut file = BufReader::new(File::open("tests/data/countries.fgb")?); [INFO] [stdout] 13 | let mut fgb = FgbReader::open(&mut file)?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/polylabel.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 11 | fn country_labels() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 14 | fgb.select_all()?; [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `GeozeroError` [INFO] [stdout] --> tests/polylabel.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 11 | fn country_labels() -> Result<()> { [INFO] [stdout] | ---------- expected `GeozeroError` because of this [INFO] [stdout] ... [INFO] [stdout] 15 | while let Some(feature) = fgb.next()? { [INFO] [stdout] | ^ the trait `From` is not implemented for `GeozeroError` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `Result<(), GeozeroError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_geo` exists for reference `&FgbFeature`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/polylabel.rs:17:60 [INFO] [stdout] | [INFO] [stdout] 17 | if let Ok(Geometry::MultiPolygon(mpoly)) = feature.to_geo() { [INFO] [stdout] | ^^^^^^ method cannot be called on `&FgbFeature` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/flatgeobuf-0.5.0/src/properties_reader.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FgbFeature { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `FgbFeature: geozero::GeozeroGeometry` [INFO] [stdout] | doesn't satisfy `FgbFeature: geozero::ToGeo` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FgbFeature: geozero::GeozeroGeometry` [INFO] [stdout] which is required by `FgbFeature: geozero::ToGeo` [INFO] [stdout] `&FgbFeature: geozero::GeozeroGeometry` [INFO] [stdout] which is required by `&FgbFeature: geozero::ToGeo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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::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] 19 | let label_pos = polylabel::(&poly, &0.10).unwrap(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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::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 `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::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | 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::Point<{float}>`, where the type parameter `{float}` is specified [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{float}: HasKernel` found in the `geo` crate: [INFO] [stdout] - impl HasKernel for f32; [INFO] [stdout] - impl HasKernel for f64; [INFO] [stdout] = note: required because of the requirements on the impl of `GeoNum` for `{float}` [INFO] [stdout] = note: required because of the requirements on the impl of `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::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | 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::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 `CoordNum` for `{float}` [INFO] [stdout] note: required by a bound in `geo::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::Polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `geo::Point<{float}>` [INFO] [stdout] --> tests/polylabel.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | 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::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 `CoordNum` for `{float}` [INFO] [stdout] note: required by a bound in `geo::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::Polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geozero::ToGeo` [INFO] [stdout] --> tests/polylabel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use geozero::ToGeo; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8f1cdf70503cb7bcfc3513d309e6e74e89ce9c98c0049ba78925a6293a827571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1cdf70503cb7bcfc3513d309e6e74e89ce9c98c0049ba78925a6293a827571", kill_on_drop: false }` [INFO] [stdout] 8f1cdf70503cb7bcfc3513d309e6e74e89ce9c98c0049ba78925a6293a827571