Hello, I'm doing rustlings exercise on Mac (M1 Pro, Sonoma 14.5). For Clippy exercises, rustlings couldn't write to Cargo.toml file inside 22_clippy folder. I verified that clippy is installed since I could run cargo clippy
Unfortunately, this is a known issue that will be fixed in the upcoming version 6. I will try my best to release it as soon as possible. Until then, please skip the Clippy exercises.
Hello, I'm doing
rustlings
exercise on Mac (M1 Pro, Sonoma 14.5). For Clippy exercises, rustlings couldn't write to Cargo.toml file inside 22_clippy folder. I verified thatclippy
is installed since I could runcargo clippy
Error message
When running
RUST_BACKTRACE=full rustlings run clippy1
, the output to the terminal is:The code panicked at this part:
https://github.com/rust-lang/rustlings/blob/42b5c0a1f7d4bb5c58a1535092d29c1b49df41de/src/exercise.rs#L138C1-L155C92
What I tried
Cargo.toml
file inside22_clippy
folderexercises
andsrc
folder, but the issue remains the sameCargo.toml
file exists and the terminal is running at the project rootrustlings
rustlings
command.