Closed johanandren closed 1 year ago
That’s odd. Can you please try “cargo clean” and try again?
Also of interest, the CI is building ok…
I'm increasingly convinced that by running cargo clean
this problem should disappear. It could be the result of some build cache that now fails given that we're relocated the backend into a backend
folder.
I ran cargo clean
from the root and then followed the README again, and all appears well.
Yeah, I suspect it is something with the environment on my machine, but I don't quite understand what it could be. Protoc version perhaps. I get this error after a cargo clean; cargo build
on the root project from current main and in the ui PR branch root and/or in the backend example project.
What version of protoc
for you? Mine is libprotoc 23.4
Ah, that's probably it protoc --version
shows libprotoc 3.11.4
, I have 23.4 installed but put the old one on PATH at some point since we need it for building Akka.
Switching to 23.4 and doing a clean and then a build I get a new problem though:
error[E0599]: no method named `timestamp_nanos_opt` found for struct `DateTime` in the current scope
--> akka-projection-rs-grpc/src/producer.rs:199:58
|
199 | nanos: envelope.offset.timestamp.timestamp_nanos_opt().unwrap_or_default() as i32
|
I think you need a cargo update
there. That shouldn't be required generally, but sometimes dependencies can go out of date.
Actually, that's a problem in our build file... Lemme get your a PR
Pretty sure I used to be able to build, but current main as of 29 sep fails with: