Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All versions > 0.37.5 is broken on build #161

Closed
vitordeoliveira opened this issue Apr 2, 2024 · 2 comments · Fixed by #162
Closed

All versions > 0.37.5 is broken on build #161

vitordeoliveira opened this issue Apr 2, 2024 · 2 comments · Fixed by #162

Comments

@vitordeoliveira
Copy link

my env is rust 1.77.1, on Ubuntu machine

Delete target and .lock to not have a cache before trying to reproduce the error.

I checked that was happening because the build on GitHub was not passing.


error[E0063]: missing field `find_nearest` in initializer of `gcloud_sdk::google::firestore::v1::StructuredQuery`
  --> /home/vitor/.asdf/installs/rust/1.77.1/registry/src/index.crates.io-6f17d22bba15001f/firestore-0.38.0/src/db/query_models.rs:46:9
   |
46 |         StructuredQuery {
   |         ^^^^^^^^^^^^^^^ missing `find_nearest`

error[E0063]: missing field `explain_options` in initializer of `gcloud_sdk::google::firestore::v1::RunQueryRequest`
  --> /home/vitor/.asdf/installs/rust/1.77.1/registry/src/index.crates.io-6f17d22bba15001f/firestore-0.38.0/src/db/query.rs:75:44
   |
75 |         Ok(gcloud_sdk::tonic::Request::new(RunQueryRequest {
   |                                            ^^^^^^^^^^^^^^^ missing `explain_options`

error[E0063]: missing field `explain_options` in initializer of `gcloud_sdk::google::firestore::v1::RunAggregationQueryRequest`
   --> /home/vitor/.asdf/installs/rust/1.77.1/registry/src/index.crates.io-6f17d22bba15001f/firestore-0.38.0/src/db/aggregated_query.rs:276:44
    |
276 |         Ok(gcloud_sdk::tonic::Request::new(RunAggregationQueryRequest {
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `explain_options`
@abdolence
Copy link
Owner

Damn, sorry for inconveniences. I've just produced gcloud sdk version and haven't checked it yet with firestore. I'll create a patch version soon.

@abdolence
Copy link
Owner

Fixed in https://github.com/abdolence/firestore-rs/releases/tag/v0.39.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants