com.intellij.execution.ExecutionException: Cargo execution failed (exit code 101). /home/z/bin/cargo fmt -- --write-mode=overwrite --skip-children ./src/main.rs stdout : stderr : !! executing '/home/z/build/1nonpkgs/cargo/cargo//target/x86_64-unknown-linux-gnu/release//cargo' with args: 'fmt -- --write-mode=overwrite --skip-children ./src/main.rs' error: no such subcommand: `fmt` Did you mean `doc`?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by icanrealizeum
, 1 year ago
/cargo/cargo//target/x86_64-unknown-linux-gnu/release//cargo' with args: 'fmt -- --write-mode=overwrite --skip-children ./src/main.rs' error: no such subcommand: `fmt` Did you mean `doc`?
com.intellij.execution.ExecutionException: Cargo execution failed (exit code 101). /home/z/bin/cargo fmt -- --write-mode=overwrite --skip-children ./src/main.rs stdout : stderr : !! executing '/home/z/build/1nonpkgs/cargo/cargo//target/x86_64-unknown-linux-gnu/release//cargo' with args: 'fmt -- --write-mode=overwrite --skip-children ./src/main.rs' error: no such subcommand: `fmt` Did you mean `doc`?
at org.rust.cargo.toolchain.Cargo.execute(Cargo.kt:89)
at org.rust.cargo.toolchain.Cargo.reformatFile(Cargo.kt:64)
at org.rust.cargo.toolchain.Cargo.reformatFile$default(Cargo.kt:63)
at org.rust.cargo.commands.CargoFmtTest$testCargoFmt$1.invoke(CargoFmtTest.kt:16)
at org.rust.cargo.commands.CargoFmtTest$testCargoFmt$1.invoke(CargoFmtTest.kt:9)
at org.rust.cargo.RustWithToolchainTestBase.withProject(RustWithToolchainTestBase.kt:27)
at org.rust.cargo.commands.CargoFmtTest.testCargoFmt(CargoFmtTest.kt:12)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.