Cargo run is failing with "failed to set hostkey preference: The requested method(s) are not currently supported; class=Ssh" #14617
Labels
A-git
Area: anything dealing with git
C-bug
Category: bug
S-blocked-external
Status: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix
Problem
I was trying to build the zed editor following instructions from: https://github.com/zed-industries/zed/blob/main/docs/src/development/windows.md
When I get to the
cargo run
phase the process fails with the message below:I can manually
git clone
that repository:But I don't know why cargo can't (which makes the build fail). I tried changing the cargo toml from
ssh
tohttps
so that it becomes:blade-graphics = { git = "ssh://git@github.com/kvark/blade" }
But it still fails with a very similar message:
Steps
Follow the steps from https://github.com/zed-industries/zed/blob/main/docs/src/development/windows.md on Windows
Possible Solution(s)
No response
Notes
I'm on Windows. The git version on the system is:
I tried unsetting GIT_SSH and it didn't make any difference (not sure if cargo actually uses my system git -- probably not otherwise it'd probably work).
I don't really have any proxies that need to be set.
Version
λ cargo version --verbose
cargo 1.81.0 (2dbb1af 2024-08-20)
release: 1.81.0
commit-hash: 2dbb1af
commit-date: 2024-08-20
host: x86_64-pc-windows-msvc
libgit2: 1.8.1 (sys:0.19.0 vendored)
libcurl: 8.8.0-DEV (sys:0.4.73+curl-8.8.0 vendored ssl:Schannel)
os: Windows 10.0.22631 (Windows 11 Professional) [64-bit]
The text was updated successfully, but these errors were encountered: