Due to this issue in the time crate, this dependency of the actix-web crate used with the current Cargo.lock file doesn't compile on nightly.
A simple fix is to update the dependencies. Updating just the affected dependency can be done as follows: cargo update time@0.3.20, which will update it to time@0.3.36.
Note that I think this isn't something that should be handled by the actix-web crate, as it is a library, and doesn't contain any lock-file, so that the simplest solution is just to update this lock file.
Due to this issue in the
time
crate, this dependency of theactix-web
crate used with the currentCargo.lock
file doesn't compile on nightly.A simple fix is to update the dependencies. Updating just the affected dependency can be done as follows:
cargo update time@0.3.20
, which will update it totime@0.3.36
.Note that I think this isn't something that should be handled by the
actix-web
crate, as it is a library, and doesn't contain any lock-file, so that the simplest solution is just to update this lock file.