[INFO] updating cached repository https://github.com/mgax/rust-gdal-example1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58ae85fcc3db64b4f78207d46fe4dd39c73e1383 [INFO] testing mgax/rust-gdal-example1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgax%2Frust-gdal-example1" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mgax/rust-gdal-example1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mgax/rust-gdal-example1 [INFO] finished tweaking git repo https://github.com/mgax/rust-gdal-example1 [INFO] tweaked toml for git repo https://github.com/mgax/rust-gdal-example1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/mgax/rust-gdal-example1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (geo) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.geo.geo [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/georust/rust-gdal.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (geo) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.geo.geo [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] ec7955ae4b447480762ee604b0ef1fffcf92c529e8877045c5454cf43f33c507 [INFO] running `Command { std: "docker" "start" "-a" "ec7955ae4b447480762ee604b0ef1fffcf92c529e8877045c5454cf43f33c507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec7955ae4b447480762ee604b0ef1fffcf92c529e8877045c5454cf43f33c507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7955ae4b447480762ee604b0ef1fffcf92c529e8877045c5454cf43f33c507", kill_on_drop: false }` [INFO] [stdout] ec7955ae4b447480762ee604b0ef1fffcf92c529e8877045c5454cf43f33c507 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2eb6e552d0ebff97b953fe6a9c2469974f90b595fccdb29e422d5e9d25d8108 [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" "f2eb6e552d0ebff97b953fe6a9c2469974f90b595fccdb29e422d5e9d25d8108", kill_on_drop: false }` [INFO] [stderr] warning: dependency (geo) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.geo.geo [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling heapless v0.5.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling geographiclib-rs v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling as-slice v0.1.3 [INFO] [stderr] Compiling gdal-sys v0.2.4 (https://github.com/georust/rust-gdal.git#91e440cf) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rstar v0.8.1 [INFO] [stderr] Compiling geo-types v0.4.3 [INFO] [stderr] Compiling geo-types v0.6.0 [INFO] [stderr] Compiling geo v0.14.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling gdal v0.6.0 (https://github.com/georust/rust-gdal.git#91e440cf) [INFO] [stderr] Compiling rust-example1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Polygon` [INFO] [stdout] --> src/main.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | return Geometry::Polygon(Polygon(extent, vec!())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 34 | return Geometry::Polygon(Polygon { exterior: val, interiors: val }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 4 | use Geometry::Polygon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'geo::ToGeo': Will be removed in an upcoming version. Switch to std::convert::Into or std::convert::TryInto. [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use geo::{ToGeo, Geometry, Point, LineString, Polygon, Coordinate}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | fn points(g: Geometry) -> Vec { [INFO] [stdout] | ^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | fn points(g: Geometry) -> Vec { [INFO] [stdout] | ^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | fn extent(g: Geometry) -> Geometry { [INFO] [stdout] | ^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/main.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | fn extent(g: Geometry) -> Geometry { [INFO] [stdout] | ^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-example1`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f2eb6e552d0ebff97b953fe6a9c2469974f90b595fccdb29e422d5e9d25d8108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2eb6e552d0ebff97b953fe6a9c2469974f90b595fccdb29e422d5e9d25d8108", kill_on_drop: false }` [INFO] [stdout] f2eb6e552d0ebff97b953fe6a9c2469974f90b595fccdb29e422d5e9d25d8108