nikivdev/code · error
No Cargo.toml found at {}. Is this the fish-shell repo?
Error message
No Cargo.toml found at {}. Is this the fish-shell repo? What it means
Error "No Cargo.toml found at {}. Is this the fish-shell repo?" thrown in nikivdev/code.
Source
Thrown at src/fish_install.rs:32
let fish_bin = bin_dir.join("fish");
// Check if already installed
if fish_bin.exists() && !opts.force {
if is_traced_fish(&fish_bin)? {
println!("Traced fish is already installed at {}", fish_bin.display());
println!("Use --force to reinstall.");
return Ok(());
}
if !opts.yes && !confirm_overwrite(&fish_bin)? {
bail!("Aborted.");
}
}
// Find fish source
let source = match opts.source {
Some(path) => {
if !path.join("Cargo.toml").exists() {
bail!(
"No Cargo.toml found at {}. Is this the fish-shell repo?",
path.display()
);
}
path
}
None => {
let Some(path) = fish_trace::fish_source_path() else {
bail!(
"Could not find fish-shell source. Please specify --source or set FISH_SOURCE_PATH.\n\
Clone from: https://github.com/fish-shell/fish-shell"
);
};
path
}
};
println!("Building traced fish from {}", source.display());View on GitHub (pinned to a747e741ae)
When it happens
Trigger: Thrown at src/fish_install.rs:32 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of nikivdev/code@a747e741ae (2026-09-01).
Data as JSON: /api/errors/3195a2116a1d1806.
Report an issue: GitHub.