Output
Doesn't just happen on install, happens on any compiling. Worth noting it only happened after I installed Unity with Visual Studio 2015.
cargo install rustfmt --verbose
Updating registry `https://github.com/rust-lang/crates.io-index`
Fresh winapi v0.2.5
Fresh libc v0.2.4
Fresh winapi-build v0.1.1
Fresh rustc-serialize v0.3.16
Fresh diff v0.1.7
Fresh bitflags v0.3.3
Fresh getopts v0.2.14
Fresh unicode-segmentation v0.1.2
Fresh regex-syntax v0.2.2
Fresh memchr v0.1.7
Compiling kernel32-sys v0.2.1
Running `rustc C:\Users\Aaron\AppData\Local\.multirust\cargo\registry\src\github.com-0a35038f75765ae4\kernel32-sys-0.2.1\build.rs --crate-name build_script_build --crate-type bin -g --out-dir G:\poly\target-install\release\build\kernel32-sys-35c1a745c861d23a --emit=dep-info,link -L dependency=G:\poly\target-install\release\deps -L dependency=G:\poly\target-install\release\deps --extern build=G:\poly\target-install\release\deps\libbuild-304afb6bdff23d72.rlib --cap-lints allow`
Fresh log v0.3.4
Fresh toml v0.1.25
Fresh unicode-xid v0.0.3
Fresh aho-corasick v0.4.0
Fresh strings v0.0.1
Fresh regex v0.1.44
Compiling env_logger v0.3.2
Running `rustc C:\Users\Aaron\AppData\Local\.multirust\cargo\registry\src\github.com-0a35038f75765ae4\env_logger-0.3.2\src\lib.rs --crate-name env_logger --crate-type lib -C opt-level=3 -C metadata=d6d4f90527157295 -C extra-filename=-d6d4f90527157295 --out-dir G:\poly\target-install\release\deps --emit=dep-info,link -L dependency=G:\poly\target-install\release\deps -L dependency=G:\poly\target-install\release\deps --extern log=G:\poly\target-install\release\deps\liblog-db195e915b7f1b50.rlib --extern regex=G:\poly\target-install\release\deps\libregex-14c7acbc4abf7a40.rlib --cap-lints allow`
error: linking with `link.exe` failed: exit code: 1
note: "link.exe" "/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC/lib\\amd64" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib" "G:\\poly\\target-install\\release\\build\\kernel32-sys-35c1a745c861d23a\\build_script_build.0.o" "/OUT:G:\\poly\\target-install\\release\\build\\kernel32-sys-35c1a745c861d23a\\build_script_build.exe" "/OPT:REF,ICF" "/DEBUG" "/LIBPATH:G:\\poly\\target-install\\release\\deps" "/LIBPATH:G:\\poly\\target-install\\release\\deps" "/LIBPATH:C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib" "/LIBPATH:G:\\poly\\.rust\\bin\\x86_64-pc-windows-msvc" "/LIBPATH:G:\\poly\\bin\\x86_64-pc-windows-msvc" "C:\\Users\\Aaron\\Documents\\GitHub\\poly\\target-install\\release\\deps\\libbuild-304afb6bdff23d72.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-35c36e89.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcollections-35c36e89.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_unicode-35c36e89.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\librand-35c36e89.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-35c36e89.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc_system-35c36e89.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-35c36e89.rlib" "C:\\Users\\Aaron\\AppData\\Local\\.multirust\\toolchains\\stable\\bin\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-35c36e89.rlib" "ws2_32.lib" "userenv.lib" "advapi32.lib" "kernel32.lib" "shell32.lib" "msvcrt.lib" "compiler-rt.lib"
note: /usr/bin/link: extra operand `/NXCOMPAT'
Try `/usr/bin/link --help' for more information.
error: aborting due to previous error
Build failed, waiting for other jobs to finish...
failed to compile `rustfmt v0.2.1`, intermediate artifacts can be found at `G:\poly\target-install`
Caused by:
Could not compile `kernel32-sys`.
Caused by:
Process didn't exit successfully: `rustc C:\Users\Aaron\AppData\Local\.multirust\cargo\registry\src\github.com-0a35038f75765ae4\kernel32-sys-0.2.1\build.rs --crate-name build_script_build --crate-type bin -g --out-dir G:\poly\target-install\release\build\kernel32-sys-35c1a745c861d23a --emit=dep-info,link -L dependency=G:\poly\target-install\release\deps -L dependency=G:\poly\target-install\release\deps --extern build=G:\poly\target-install\release\deps\libbuild-304afb6bdff23d72.rlib --cap-lints allow` (exit code: 101)
Version
also using the latest multirust-rs
rustc 1.5.0 (3d7cd77e4 2015-12-04)
binary: rustc
commit-hash: 3d7cd77e442ce34eaac8a176ae8be17669498ebc
commit-date: 2015-12-04
host: x86_64-pc-windows-msvc
release: 1.5.0
cargo 0.6.0-nightly (e1ed995 2015-10-22)
Output
Doesn't just happen on install, happens on any compiling. Worth noting it only happened after I installed Unity with Visual Studio 2015.
Version
also using the latest multirust-rs