rust-lang/rustlings

Failed to recompiling and running all exercises after all exercises done with error "Too many open files (os error 24)"

hanhiver opened this issue · 5 comments

After I finish all the exercises, rustling will recompiling and running all exercises to make sure that all of them are actually done. However, wait for few minutes, rustlings complain that failed to run the command cargo build ..., and the reason is: Too many open files (os error 24).

image

system: Darwin dhan-m3.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030 arm64

Oh, I will fix this today and publish a new version.

Until then, you can run ulimit -n 2048 and start running Rustlings again.

I just published a new version 6.3.0 which fixes this issue. Please install it using cargo install rustlings and then try again on the same exercises :D
(You don't need to start over)

Until then, you can run ulimit -n 2048 and start running Rustlings again.

Yes, it works! Thanks a lot and wait for the final fix.

@hanhiver As I said, the fix is published. Please run cargo install rustlings and try again without using ulimit.