Closed
Description
Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" -FileName "rust-nightly.exe"
.\rust-nightly.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null
$env:PATH="$env:PATH;C:\rust\bin"
rustc -vV
rustc 1.6.0-nightly (1e3e7e73c 2015-11-07)
binary: rustc
commit-hash: 1e3e7e73c6086bead3949476c4f0c8231e6a0fc8
commit-date: 2015-11-07
host: x86_64-pc-windows-gnu
release: 1.6.0-nightly
cargo -vV
cargo 0.7.0-nightly (b01770c 2015-11-05)
cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading winapi-build v0.1.1
Downloading winapi v0.2.4
Downloading kernel32-sys v0.2.0
Compiling libloading v0.2.0 (file:///C:/projects/libloading)
Compiling winapi-build v0.1.1
error: linking with `gcc` failed: exit code: 1
note: "gcc" "-Wl,--enable-long-section-names" "-fno-use-linker-plugin" "-Wl,--nxcompat" "-nostdlib" "-m64" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\crt2.o" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "-L" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "C:\\projects\\libloading\\target\\debug\\build\\libloading-a805aa27801e74e6\\build_script_build.0.o" "-o" "C:\\projects\\libloading\\target\\debug\\build\\libloading-a805aa27801e74e6\\build_script_build.exe" "-Wl,--gc-sections" "-nodefaultlibs" "-L" "C:\\projects\\libloading\\target\\debug" "-L" "C:\\projects\\libloading\\target\\debug\\deps" "-L" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-L" "C:\\projects\\libloading\\.rust\\lib\\x86_64-pc-windows-gnu" "-L" "C:\\projects\\libloading\\lib\\x86_64-pc-windows-gnu" "-Wl,-Bstatic" "-Wl,-Bdynamic" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libstd-8cf6ce90.rlib" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcollections-8cf6ce90.rlib" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librustc_unicode-8cf6ce90.rlib" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\librand-8cf6ce90.rlib" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc-8cf6ce90.rlib" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liballoc_jemalloc-8cf6ce90.rlib" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\liblibc-8cf6ce90.rlib" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcore-8cf6ce90.rlib" "-l" "gcc_eh" "-l" "ws2_32" "-l" "userenv" "-l" "shell32" "-l" "advapi32" "-l" "compiler-rt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "C:\\rust\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
note: gcc.exe: error: C:\rust\lib\rustlib\x86_64-pc-windows-gnu\lib\rsbegin.o: No such file or directory
gcc.exe: error: C:\rust\lib\rustlib\x86_64-pc-windows-gnu\lib\rsend.o: No such file or directory
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
Could not compile `libloading`.
To learn more, run the command again with --verbose.
Command exited with code 101
cc @vadimcn
Things were working fine ~13 hours ago.