Error when installing from source on Linux

I follow instructions from Installing from source — ActivityWatch v0.10.0 documentation
I have: git version 2.33.1, Python 3.8.5, Poetry version 1.1.11, node v12.22.5, npm 7.5.2, rustc 1.57.0-nightly (4e89811b4 2021-10-16), cargo 1.57.0-nightly (c7957a74b 2021-10-11) (so everything needed), python venv is also activated.
In recursively cloned git repo I do “make build” and it says (total output is large, only error is given)" Compiling rusqlite v0.25.3
error[E0277]: the trait bound (dyn handler::Handler + 'static): handler::Handler is not satisfied
→ /home/yose/.cargo/registry/src/
299 | let outcome = route.handler.handle(request, data);
| ^^^^^^ the trait handler::Handler is not implemented for (dyn handler::Handler + 'static)

For more information about this error, try rustc --explain E0277.
error: could not compile rocket due to previous error
warning: build failed, waiting for other jobs to finish…
error: build failed
make[1]: *** [Makefile:19: aw-server] Error 101
make[1]: Leaving directory ‘/home/yose/activitywatch/aw-server-rust’
make: *** [Makefile:35: build] Error 2"


it seems to be a compile bug with the rustc 1.57.0 nightly (check it here bug report)

Maybe you could try to update the rustc version first and then re-install again.