Cargo rust with private repo

Hello,

I have a problem with the CI in Git-Lab using rust lang cargo when a private crate has a dependency on another private crate. Both have the same owner.

I have the following report:

Updating git repository https://gitlab.com/hud-software/core/macros.git
[error: failed to load source for a dependency on macros
Caused by:
Unable to update https://gitlab.com/hud-software/core/macros.git
Caused by:
failed to clone into: /usr/local/cargo/git/db/macros-e2e610c29305fea1
Caused by:
failed to authenticate when downloading repository
attempted to find username/password via git’s credential.helper support, but failed
Caused by:
failed to acquire username/password from local configuration
ERROR: Job failed: exit code 1

I’m absolutely not familiar with CI on Git-Lab and Docker.
Do you know how I can fix this ?
Thank you