Problem
While fetching from https://gitlab.com/jD91mZM2/no-std-compat, cargo hangs and is unable to fetch the dependency.
Steps
git clone https://github.com/HactarCE/rhaideptest, which contains the following Cargo.toml:
[package]
name = "rhaideptest"
version = "0.1.0"
edition = "2024"
resolver = "2"
[dependencies]
no-std-compat = { git = "https://gitlab.com/jD91mZM2/no-std-compat" }
- Run
cargo check
- Observe that the build hangs on "updating git repository
https://gitlab.com/jD91mZM2/no-std-compat"
Possible Solution(s)
I have no idea why this happens or how to fix it.
Notes
Cloning the repository via command line git works fine. Using the crate via crates.io works fine.
I tried to work around this bug by adding this patch to fetch from crates.io instead of GitLab:
[patch."https://gitlab.com/jD91mZM2/no-std-compat"]
no-std-compat = { version = "0.4.1", registry = "crates-io" }
Version
cargo 1.86.0 (adf9b6ad1 2025-02-28)
release: 1.86.0
commit-hash: adf9b6ad14cfa10ff680d5806741a144f7163698
commit-date: 2025-02-28
host: aarch64-apple-darwin
libgit2: 1.9.0 (sys:0.20.0 vendored)
libcurl: 8.7.1 (sys:0.4.79+curl-8.12.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w 11 Sep 2023
os: Mac OS 15.4.1 [64-bit]
Problem
While fetching from https://gitlab.com/jD91mZM2/no-std-compat, cargo hangs and is unable to fetch the dependency.
Steps
git clone https://github.com/HactarCE/rhaideptest, which contains the followingCargo.toml:cargo checkhttps://gitlab.com/jD91mZM2/no-std-compat"Possible Solution(s)
I have no idea why this happens or how to fix it.
Notes
Cloning the repository via command line
gitworks fine. Using the crate via crates.io works fine.I tried to work around this bug by adding this patch to fetch from crates.io instead of GitLab:
Version