Can't find crate in azure pipeline

Hey everyone,

I am developing a project in Rust and recently got a really weird bug.
When I run the CI pipeline in azure, that is running in a container with the same dependencies than the one I use to develop my code, it throws an error saying that it can't find the error-stack crate:

error: no matching package named error-stack found
location searched: registry crates-io
required by package rust v0.1.0 (/azp/agent/_work/2/s/rust)

It is the only crate it can't find...

What is even weirder is that, if I go in the container and build the project it builds properly.

Has everyone met this behaviour or know what might be causing this?