`x86_64-w64-mingw32-gcc` failed: exit code: 1

error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\WINDOWS\\TEMP\\rustcJiY6Bi\\symbols.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.10qbc8wlidezbnva.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.17z8e6nh8d6kw19y.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1abi7767xdupvj59.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1bi0up1knvb80yg2.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1npojjaa3nsgpi8r.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1p5rvfq47tlf7qik.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1pnkq2v9ak4zxcvd.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1te3fktubbwsrxvi.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1tlfiq2y8ei1221y.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1v7p48snettqx7g.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1vczc7wy5yueheee.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.1wf7vp2gm7eacsti.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.22w1fkcfanuhs8xb.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.23dz5lj7t350v3lb.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.2iwph7hgl5jvvwgn.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.2qmz6n367mbt387q.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.2rn2b85reeumowuw.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.2x40l9g2nv2hs0if.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.338j046ox5vku9ou.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.34blu0q2kih8ux7j.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.3i9kld6gfqyrhhz6.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.3n66aatl2i1ikx4p.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.3s8zofzb2mxu31sr.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.3tglylssm74me9ak.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.41v4xn04qfauhw21.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.44atuivu5on13jzw.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.479mz1fgbovnkaau.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.4crbl1ej40uktq8h.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.4kvsk3yxnhfgnycb.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.4pfwbv8j3imtk9h3.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.4qx3sncw9mb1x1nc.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.4xwb1tm3w7krhc8s.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.52wl935zq4jtuv3i.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.7k0tvhalhma9nj2.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.egvttqlibauru16.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.io947pcq5gz89wf.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.nu66o179suigjg4.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.orrhnc37zn4wyy.rcgu.o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.3bhhh375vy2gy53h.rcgu.o" "-L" "D:\\clionReipostry\\rust_study\\target\\debug\\deps" "-L" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,--start-group" "-Wl,-Bstatic" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-1a9cea9716ed4a7b.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libpanic_unwind-d2c4d200b4b4aced.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libobject-06224e1286561daf.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libmemchr-b360b9c7802b3dd3.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libaddr2line-1da1f48ec30b8697.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libgimli-4a0f55c260fa668a.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_demangle-0027168afe7515c5.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd_detect-b0de7c233e246b0f.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libhashbrown-5a921f2c7a63ed43.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libminiz_oxide-455f91135479c110.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libadler-dd9defbfb37c5763.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_alloc-57951f933239f52d.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libunwind-8169a34b1aada330.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcfg_if-643267b422aa712e.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-a5602c1d053811c7.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-7be1b20b4be9a0e4.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_std_workspace_core-f3c3ef912bd7af7e.rlib" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-8863f9ea4bc92371.rlib" "-Wl,--end-group" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-380642ad57307f17.rlib" "-Wl,-Bdynamic" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "D:\\clionReipostry\\rust_study\\target\\debug\\deps\\rust_study-1282d247790dc3c6.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "E:\\GameDownload\\rust\\.rustup\\toolchains\\stable-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: E:/GameDownload/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find @C:\WINDOWS\TEMP\ccRVpRP9: Invalid argument
          collect2.exe: error: ld returned 1 exit status
  • I'm new to Rust and I don't know how to fix it