cosmogony
cosmogony copied to clipboard
Unable to build cosmogony as described into README.md + Pull Request
Unable to build cosmogony as described into README.md + Pull Request
hznor@local:~/mimirsbrunn/cosmogony$ cargo build --release
[...]
Compiling termcolor v1.1.3
Compiling heck v0.4.0
Compiling geo-types v0.7.7
Compiling flat_map v0.0.10
error: expected `,`, found `.`
--> /home/hznor/.cargo/registry/src/github.com-1ecc6299db9ec823/geo-types-0.7.7/src/geometry/geometry_collection.rs:111:25
|
111 | #[deprecated(since = 0.7.5, note = "Use `GeometryCollection::from(vec![geom])` instead.")]
| ^ expected `,`
Compiling smartstring v0.2.10
Compiling clap_derive v4.0.13
Compiling clap_lex v0.3.0
error: could not compile `geo-types` due to previous error
warning: build failed, waiting for other jobs to finish...
This typo has since been fixed in the repo: georust/geo. Incriminated line 111:
- https://github.com/georust/geo/blob/geo-types-0.7.7/geo-types/src/geometry/geometry_collection.rs
Now corrected by:
- https://github.com/georust/geo/blob/geo-types-0.7.8/geo-types/src/geometry/geometry_collection.rs
The solution seems to be to upgrade the geo-types dependency to version 0.7.8.
I have sent a Pull Request to address this issue.