Failed to create file when running make on Cygwin64

System: Cygwin64 under Windows 10

I cloned the git repository:
git clone https://github.com/JuliaLang/julia.git

Then I ran make:
`cd julia

make`

I got the following error message:
` % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

100 497 100 497 0 0 497 0 0:00:01 --:–:-- 0:00:01 722
0 382k 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:-- 0

Warning: Failed to create the file

Warning: /cygdrive/c/w/temp/julia/julia/stdlib/srccache/Pkg-2f953bbde5d93c9c814

Warning: d140014c76dfec5433e3c.tar.gz: No such file or directory

4 382k 4 16840 0 0 16840 0 0:00:23 0:00:01 0:00:22 1027k

curl: (23) Failed writing body (0 != 16384)

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0

Warning: Failed to create the file

Warning: /cygdrive/c/w/temp/julia/julia/stdlib/srccache/Pkg-2f953bbde5d93c9c814

Warning: d140014c76dfec5433e3c.tar.gz: No such file or directory

0 382k 0 596 0 0 596 0 0:10:57 --:–:-- 0:10:57 596

curl: (23) Failed writing body (0 != 596)

make[1]: *** [Makefile:27: /cygdrive/c/w/temp/julia/julia/stdlib/srccache/Pkg-2f953bbde5d93c9c814d140014c76dfec5433e3c.tar.gz] Error 23

make: *** [Makefile:63: julia-stdlib] Error 2
`

It seems the problem is curl. However, I tested curl and it worked fine:

curl -o test https://github.com/JuliaLang/julia/issues/35741

It turned out that I didn’t install curl on Cygwin64. The problem is now solved.