[INFO] crate geozero-core 0.4.3 is already in cache [INFO] checking geozero-core-0.4.3 against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] extracting crate geozero-core 0.4.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate geozero-core 0.4.3 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate geozero-core 0.4.3 [INFO] finished tweaking crates.io crate geozero-core 0.4.3 [INFO] tweaked toml for crates.io crate geozero-core 0.4.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", 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] 4cc8ed069acbd20fe0e5a7cc9c29c2a6058c681d3a0b78c2c5e9c114881fc6f8 [INFO] running `Command { std: "docker" "start" "-a" "4cc8ed069acbd20fe0e5a7cc9c29c2a6058c681d3a0b78c2c5e9c114881fc6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cc8ed069acbd20fe0e5a7cc9c29c2a6058c681d3a0b78c2c5e9c114881fc6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc8ed069acbd20fe0e5a7cc9c29c2a6058c681d3a0b78c2c5e9c114881fc6f8", kill_on_drop: false }` [INFO] [stdout] 4cc8ed069acbd20fe0e5a7cc9c29c2a6058c681d3a0b78c2c5e9c114881fc6f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd35c49254a75edd6c6d5ee93f6477788a3a7fded092a32db3817e754c6e8d0e [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" "fd35c49254a75edd6c6d5ee93f6477788a3a7fded092a32db3817e754c6e8d0e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking pdqselect v0.1.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling heapless v0.5.5 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking subtle v2.2.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking kdbush v0.2.0 [INFO] [stderr] Checking geographiclib-rs v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking hash32 v0.1.1 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rstar v0.7.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking geo-types v0.5.0 [INFO] [stderr] Checking postgres-protocol v0.5.2 [INFO] [stderr] Checking geo v0.13.0 [INFO] [stderr] Checking postgres-types v0.1.2 [INFO] [stderr] Checking rstar v0.8.1 [INFO] [stderr] Checking geo-types v0.6.0 [INFO] [stderr] Checking geo v0.14.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking polylabel v2.3.1 [INFO] [stderr] Checking geozero v0.4.0 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking tokio-postgres v0.5.5 [INFO] [stderr] Checking postgres v0.17.5 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking geojson v0.18.0 [INFO] [stderr] Checking geozero-core v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `flatgeobuf` [INFO] [stdout] --> tests/polylabel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use flatgeobuf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `flatgeobuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FgbReader` [INFO] [stdout] --> tests/polylabel.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | let mut fgb = FgbReader::open(&mut file)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FgbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GeometryType` [INFO] [stdout] --> tests/polylabel.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | geometry.process(&mut geo, GeometryType::MultiPolygon)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `GeometryType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flatgeobuf` [INFO] [stdout] --> tests/geojson.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use flatgeobuf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `flatgeobuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FgbReader` [INFO] [stdout] --> tests/geojson.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FgbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `HttpFgbReader` [INFO] [stdout] --> tests/geojson.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let mut fgb = HttpFgbReader::open(url).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type or module `HttpFgbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/geojson.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/geojson.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/geojson.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/geojson.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/geojson.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/geojson.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> tests/geojson.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^^ cannot infer type for type `{float}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> tests/geojson.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fgb.select_bbox(8.8, 47.2, 9.5, 55.3).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flatgeobuf` [INFO] [stdout] --> tests/svg.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use flatgeobuf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `flatgeobuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FgbReader` [INFO] [stdout] --> tests/svg.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FgbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> tests/svg.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | fn invert_y(header: &Header) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Header` in this scope [INFO] [stdout] --> tests/svg.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | header: &Header, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flatgeobuf` [INFO] [stdout] --> tests/geozero-api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use flatgeobuf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `flatgeobuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FgbReader` [INFO] [stdout] --> tests/geozero-api.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FgbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `geozero-core`. [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GeometryType` [INFO] [stdout] --> tests/geozero-api.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | geometry.process(&mut vertex_counter, GeometryType::MultiPolygon)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `GeometryType` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FgbReader` [INFO] [stdout] --> tests/geozero-api.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FgbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `GeometryType` [INFO] [stdout] --> tests/geozero-api.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | geometry.process(&mut max_finder, GeometryType::MultiPolygon)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type or module `GeometryType` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FgbReader` [INFO] [stdout] --> tests/geozero-api.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | let mut fgb = FgbReader::open(&mut filein)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FgbReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [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_types::polygon::Polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/polylabel.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | assert!(mpoly.contains(&label_pos)); [INFO] [stdout] | ^^^^^^^^^^ expected struct `geo_types::point::Point`, found a different struct `geo_types::point::Point` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&geo_types::point::Point` [INFO] [stdout] found reference `&geo_types::point::Point<{float}>` [INFO] [stdout] = note: perhaps two different versions of crate `geo_types` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fd35c49254a75edd6c6d5ee93f6477788a3a7fded092a32db3817e754c6e8d0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd35c49254a75edd6c6d5ee93f6477788a3a7fded092a32db3817e754c6e8d0e", kill_on_drop: false }` [INFO] [stdout] fd35c49254a75edd6c6d5ee93f6477788a3a7fded092a32db3817e754c6e8d0e