Help! Rust Compiling Bug?


#1

So lately I’ve been trying to compile this Github Project in Rust: https://github.com/Thinkofname/steven

I’ve been getting so many errors lately and with help from the developer and some really nice people, they helped me fix some previous errors. I’m currently stuck and would love some help so i can finally compile it :smiley:

Latest Error / Issue:


#2

Current nightly rustc is a bit broken; see https://github.com/rust-lang/rust/issues/34839 . Try an older version (or stable).

On a side-note, if you’re reporting an error message, please just copy-paste the text rather than uploading a screenshot of your terminal.


#3
  1. You’ve got an “internal compiler error”, which is always a bug. Searching the bug list finds a fairly new issue 34780 which sounds a lot like what you’re seeing.

  2. Since the current nightly would seem to be broken, you should try an older version. If you have rustup installed, that’s done by rustup install nightly-2016-07-02, and then you can start using it with rustup default nightly-2016-07-02. Try other dates if that one doesn’t work for you.

  3. Screenshots of text are less than optimal; it’d make things a bit easier if you copied the text out of the terminal, and then pasted it in a block in the message. Here’s how you do code block quotes here:

     ```
     Text from the error message here
     ```

#4
c604b2afb646 -C extra-filename=-0323c604b2afb646 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern num_integer=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum_integer-52fdddf28cd8e924.rlib --extern num_bigint=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum_bigint-2a7f315959fa8060.rlib --extern num_rational=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum_rational-576f79d570f1b9fd.rlib --extern num_traits=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum_traits-48fed47cb97b2b79.rlib --extern num_complex=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum_complex-750cc486ffff1dec.rlib --extern num_iter=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum_iter-50df698bc905252c.rlib --cap-lints allow`
   Compiling url v0.5.9
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\url-0.5.9\src\lib.rs --crate-name url --crate-type lib -g -C metadata=880fae78a076cf69 -C extra-filename=-880fae78a076cf69 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern unicode_normalization=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libunicode_normalization-5de3a9c8fd8ddf4e.rlib --extern rustc_serialize=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librustc_serialize-3561541d79c18212.rlib --extern matches=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libmatches-5d5580ffd528031c.rlib --extern unicode_bidi=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libunicode_bidi-04ad1da5552425fd.rlib --extern uuid=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libuuid-5b93bff81ff3c817.rlib --cap-lints allow`
   Compiling cgmath v0.7.0
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\cgmath-0.7.0\src\lib.rs --crate-name cgmath --crate-type lib -g -C metadata=27f7802c8ba9ffa4 -C extra-filename=-27f7802c8ba9ffa4 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern rustc_serialize=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librustc_serialize-3561541d79c18212.rlib --extern rand=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librand-49a08859d086fffe.rlib --extern num=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum-0323c604b2afb646.rlib --cap-lints allow`
   Compiling enum_primitive v0.1.0
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\enum_primitive-0.1.0\src\lib.rs --crate-name enum_primitive --crate-type lib -g -C metadata=77b731c79b5cdf4e -C extra-filename=-77b731c79b5cdf4e --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern num=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum-0323c604b2afb646.rlib --cap-lints allow`
   Compiling image v0.7.2
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\image-0.7.2\./src/lib.rs --crate-name image --crate-type lib -g --cfg "feature=\"gif_codec\"" --cfg "feature=\"tga\"" --cfg "feature=\"png\"" --cfg "feature=\"tiff\"" --cfg "feature=\"bmp\"" --cfg "feature=\"jpeg-decoder\"" --cfg "feature=\"ico\"" --cfg "feature=\"jpeg\"" --cfg "feature=\"ppm\"" --cfg "feature=\"png_codec\"" --cfg "feature=\"webp\"" --cfg "feature=\"gif\"" --cfg "feature=\"default\"" -C metadata=beca80f6b1edd77f -C extra-filename=-beca80f6b1edd77f --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern enum_primitive=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libenum_primitive-77b731c79b5cdf4e.rlib --extern png=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libpng-6401a5b60557cd9d.rlib --extern jpeg_decoder=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libjpeg_decoder-e7f902581e17f586.rlib --extern gif=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libgif-a15b01a4615d7f2a.rlib --extern byteorder=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbyteorder-7a494f72a43262ac.rlib --extern num=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum-0323c604b2afb646.rlib --extern glob=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libglob-028bcc81f721b7f5.rlib --cap-lints allow -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\miniz-sys-60c8d67696f63a43\out`
   Compiling sdl2 v0.16.1
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\sdl2-0.16.1\src/sdl2/lib.rs --crate-name sdl2 --crate-type lib -g --cfg "feature=\"default\"" -C metadata=0eae03363aebf05d -C extra-filename=-0eae03363aebf05d --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern num=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum-0323c604b2afb646.rlib --extern bitflags=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbitflags-e61ad67c3301e77d.rlib --extern sdl2_sys=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsdl2_sys-be8eb448811758f6.rlib --extern lazy_static=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblazy_static-3a04918be71c80ee.rlib --extern rand=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librand-49a08859d086fffe.rlib --extern libc=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblibc-1f3392fe1afd1313.rlib --cap-lints allow`
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\user32-sys-0.2.0\src\lib.rs --crate-name user32 --crate-type lib -g -C metadata=0bf1237156cb305b -C extra-filename=-0bf1237156cb305b --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern winapi=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libwinapi-0889532d327ff4e2.rlib --cap-lints allow -l dylib=user32`
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\kernel32-sys-0.2.2\src\lib.rs --crate-name kernel32 --crate-type lib -g -C metadata=df86a08647459244 -C extra-filename=-df86a08647459244 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern winapi=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libwinapi-0889532d327ff4e2.rlib --cap-lints allow -l dylib=kernel32`
   Compiling time v0.1.35
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\time-0.1.35\src\lib.rs --crate-name time --crate-type lib -g -C metadata=750bfdd52feafcb7 -C extra-filename=-750bfdd52feafcb7 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern libc=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblibc-1f3392fe1afd1313.rlib --extern kernel32=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libkernel32-df86a08647459244.rlib --extern winapi=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libwinapi-0889532d327ff4e2.rlib --cap-lints allow`
   Compiling gdi32-sys v0.2.0
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\gdi32-sys-0.2.0\build.rs --crate-name build_script_build --crate-type bin -g --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\gdi32-sys-2c319e2a5e40e974 --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern build=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbuild-493a7b0628804707.rlib --cap-lints allow`
   Compiling msdos_time v0.1.4
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\msdos_time-0.1.4\src\lib.rs --crate-name msdos_time --crate-type lib -g -C metadata=32259590e9e43bd0 -C extra-filename=-32259590e9e43bd0 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern kernel32=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libkernel32-df86a08647459244.rlib --extern time=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtime-750bfdd52feafcb7.rlib --extern winapi=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libwinapi-0889532d327ff4e2.rlib --cap-lints allow`
     Running `C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\gdi32-sys-2c319e2a5e40e974\build-script-build`
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\gdi32-sys-0.2.0\src\lib.rs --crate-name gdi32 --crate-type lib -g -C metadata=c6b41a9074dda47f -C extra-filename=-c6b41a9074dda47f --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern winapi=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libwinapi-0889532d327ff4e2.rlib --cap-lints allow -l dylib=gdi32`
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-sys-0.7.14\src\lib.rs --crate-name openssl_sys --crate-type lib -g -C metadata=1fd52a993b3834a7 -C extra-filename=-1fd52a993b3834a7 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern libc=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblibc-1f3392fe1afd1313.rlib --extern gdi32=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libgdi32-c6b41a9074dda47f.rlib --extern user32=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libuser32-0bf1237156cb305b.rlib --cap-lints allow -L native=C:\OpenSSL-Win64 -l dylib=ssl32 -l dylib=eay32`
   Compiling typeable v0.1.2
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\typeable-0.1.2\src\lib.rs --crate-name typeable --crate-type lib -g -C metadata=ad302c7c6ce39362 -C extra-filename=-ad302c7c6ce39362 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --cap-lints allow`
     Running `C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\steven_resources-015a53f918b40f7d\build-script-build`
     Running `rustc resources\src\lib.rs --crate-name steven_resources --crate-type lib -g -C metadata=508fa5f612d85f2f -C extra-filename=-508fa5f612d85f2f --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps`
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-sys-extras-0.7.14\src\lib.rs --crate-name openssl_sys_extras --crate-type lib -g -C metadata=5206753a3d8bd8ef -C extra-filename=-5206753a3d8bd8ef --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern openssl_sys=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libopenssl_sys-1fd52a993b3834a7.rlib --extern libc=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblibc-1f3392fe1afd1313.rlib --cap-lints allow -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-sys-extras-5c7e4d8925825f00\out -l static=openssl_shim -L native=C:\OpenSSL-Win64`
   Compiling bzip2 v0.3.0
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\bzip2-0.3.0\src\lib.rs --crate-name bzip2 --crate-type lib -g -C metadata=d5b99b9abc5b3496 -C extra-filename=-d5b99b9abc5b3496 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern libc=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblibc-1f3392fe1afd1313.rlib --extern bzip2_sys=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbzip2_sys-9803f2abe4d1d42f.rlib --cap-lints allow -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\bzip2-sys-b768200d1597b521\out`
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\openssl-0.7.14\src\lib.rs --crate-name openssl --crate-type lib -g -C metadata=6d8c7b7707d12a7d -C extra-filename=-6d8c7b7707d12a7d --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern libc=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblibc-1f3392fe1afd1313.rlib --extern lazy_static=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblazy_static-359f5533c970cd71.rlib --extern openssl_sys=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libopenssl_sys-1fd52a993b3834a7.rlib --extern openssl_sys_extras=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libopenssl_sys_extras-5206753a3d8bd8ef.rlib --extern bitflags=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbitflags-0e272044714c8076.rlib --cap-lints allow -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-5464f8f6e728c35a\out -l static=c_helpers -L native=C:\OpenSSL-Win64 -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-sys-extras-5c7e4d8925825f00\out`
   Compiling zip v0.1.17
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\zip-0.1.17\src\lib.rs --crate-name zip --crate-type lib -g --cfg "feature=\"bzip2\"" --cfg "feature=\"default\"" -C metadata=fb068c0c4e9cbc7a -C extra-filename=-fb068c0c4e9cbc7a --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern podio=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libpodio-8ee06ac339b6efd9.rlib --extern bzip2=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbzip2-d5b99b9abc5b3496.rlib --extern time=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtime-750bfdd52feafcb7.rlib --extern flate2=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libflate2-d719035eaa7c6a88.rlib --extern msdos_time=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libmsdos_time-32259590e9e43bd0.rlib --cap-lints allow -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\bzip2-sys-b768200d1597b521\out -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\miniz-sys-60c8d67696f63a43\out`
   Compiling collision v0.5.1 (https://github.com/csherratt/collision-rs?rev=f80825e#f80825ec)
     Running `rustc C:\Users\ann\.cargo\git\checkouts\collision-rs-71618a544df28f55\f80825e\src\lib.rs --crate-name collision --crate-type lib -g -C metadata=9bbd904617e002ec -C extra-filename=-9bbd904617e002ec --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern cgmath=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcgmath-27f7802c8ba9ffa4.rlib --extern num=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum-0323c604b2afb646.rlib --cap-lints allow`
   Compiling steven_blocks v0.0.1 (file:///C:/Users/ann/Desktop/Steven/steven-master/blocks)
     Running `rustc blocks\src\lib.rs --crate-name steven_blocks --crate-type lib -g -C metadata=95227e8615ee5bdd -C extra-filename=-95227e8615ee5bdd --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern lazy_static=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblazy_static-3a04918be71c80ee.rlib --extern steven_shared=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_shared-e8ab6bb30821c46b.rlib --extern cgmath=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcgmath-27f7802c8ba9ffa4.rlib --extern collision=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcollision-9bbd904617e002ec.rlib`
   Compiling cookie v0.2.5
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\cookie-0.2.5\src\lib.rs --crate-name cookie --crate-type lib -g --cfg "feature=\"rustc-serialize\"" --cfg "feature=\"openssl\"" --cfg "feature=\"secure\"" -C metadata=1f264fccb02ef6c6 -C extra-filename=-1f264fccb02ef6c6 --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern time=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtime-750bfdd52feafcb7.rlib --extern openssl=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libopenssl-6d8c7b7707d12a7d.rlib --extern url=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liburl-4690728b1e11fab3.rlib --extern rustc_serialize=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librustc_serialize-3561541d79c18212.rlib --cap-lints allow -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-5464f8f6e728c35a\out -L native=C:\OpenSSL-Win64 -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-sys-extras-5c7e4d8925825f00\out`
   Compiling hyper v0.8.1
     Running `rustc C:\Users\ann\.cargo\registry\src\github.com-1ecc6299db9ec823\hyper-0.8.1\src\lib.rs --crate-name hyper --crate-type lib -g --cfg "feature=\"openssl\"" --cfg "feature=\"cookie\"" --cfg "feature=\"default\"" --cfg "feature=\"ssl\"" -C metadata=cf1096967127487f -C extra-filename=-cf1096967127487f --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern solicit=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsolicit-b1e7a1a373a16061.rlib --extern log=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblog-bf16bb9a4912b11d.rlib --extern url=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liburl-880fae78a076cf69.rlib --extern unicase=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libunicase-87c5f8ba3db67fd3.rlib --extern typeable=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtypeable-ad302c7c6ce39362.rlib --extern num_cpus=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libnum_cpus-9256729e2e3ab66d.rlib --extern openssl=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libopenssl-6d8c7b7707d12a7d.rlib --extern traitobject=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtraitobject-516160771d9db60e.rlib --extern mime=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libmime-40ee41a2f2e225b0.rlib --extern language_tags=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblanguage_tags-abe5f88450030754.rlib --extern cookie=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcookie-1f264fccb02ef6c6.rlib --extern rustc_serialize=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librustc_serialize-3561541d79c18212.rlib --extern time=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtime-750bfdd52feafcb7.rlib --extern httparse=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libhttparse-36b96d90ffbce562.rlib --cap-lints allow -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-5464f8f6e728c35a\out -L native=C:\OpenSSL-Win64 -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-sys-extras-5c7e4d8925825f00\out`
blocks\src\lib.rs:11:17: 11:21 warning: unused import, #[warn(unused_imports)] on by default
blocks\src\lib.rs:11 use collision::{Aabb, Aabb3};
                                     ^~~~
                                Compiling steven v0.0.1 (file:///C:/Users/ann/Desktop/Steven/steven-master)
     Running `rustc src\main.rs --crate-name steven --crate-type bin -g --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern rand=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librand-49a08859d086fffe.rlib --extern rustc_serialize=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librustc_serialize-3561541d79c18212.rlib --extern openssl=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libopenssl-6d8c7b7707d12a7d.rlib --extern hyper=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libhyper-cf1096967127487f.rlib --extern steven_blocks=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_blocks-95227e8615ee5bdd.rlib --extern lazy_static=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblazy_static-3a04918be71c80ee.rlib --extern byteorder=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbyteorder-e4fc6ea0c49cabcf.rlib --extern steven_gl=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_gl-30586b6285a0a385.rlib --extern sdl2=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsdl2-0eae03363aebf05d.rlib --extern serde=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libserde-e281201342afb4d4.rlib --extern steven_shared=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_shared-e8ab6bb30821c46b.rlib --extern log=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblog-bf16bb9a4912b11d.rlib --extern time=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtime-750bfdd52feafcb7.rlib --extern zip=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libzip-fb068c0c4e9cbc7a.rlib --extern steven_resources=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_resources-508fa5f612d85f2f.rlib --extern serde_json=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libserde_json-55921106e25a0359.rlib --extern collision=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcollision-9bbd904617e002ec.rlib --extern cgmath=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcgmath-27f7802c8ba9ffa4.rlib --extern image=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libimage-beca80f6b1edd77f.rlib --extern flate2=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libflate2-d719035eaa7c6a88.rlib -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-5464f8f6e728c35a\out -L native=C:\OpenSSL-Win64 -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-sys-extras-5c7e4d8925825f00\out -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\bzip2-sys-b768200d1597b521\out -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\miniz-sys-60c8d67696f63a43\out`
src\main.rs:16:1: 16:22 error: #[feature] may not be used on the stable release channel
src\main.rs:16 #![feature(const_fn)]
               ^~~~~~~~~~~~~~~~~~~~~
src\main.rs:17:1: 17:29 error: #[feature] may not be used on the stable release channel
src\main.rs:17 #![feature(rc_would_unwrap)]
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
error: Could not compile `steven`.

Caused by:
  Process didn't exit successfully: `rustc src\main.rs --crate-name steven --crate-type bin -g --out-dir C:\Users\ann\Desktop\Steven\steven-master\target\debug --emit=dep-info,link -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug -L dependency=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps --extern rand=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librand-49a08859d086fffe.rlib --extern rustc_serialize=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\librustc_serialize-3561541d79c18212.rlib --extern openssl=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libopenssl-6d8c7b7707d12a7d.rlib --extern hyper=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libhyper-cf1096967127487f.rlib --extern steven_blocks=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_blocks-95227e8615ee5bdd.rlib --extern lazy_static=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblazy_static-3a04918be71c80ee.rlib --extern byteorder=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libbyteorder-e4fc6ea0c49cabcf.rlib --extern steven_gl=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_gl-30586b6285a0a385.rlib --extern sdl2=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsdl2-0eae03363aebf05d.rlib --extern serde=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libserde-e281201342afb4d4.rlib --extern steven_shared=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_shared-e8ab6bb30821c46b.rlib --extern log=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\liblog-bf16bb9a4912b11d.rlib --extern time=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libtime-750bfdd52feafcb7.rlib --extern zip=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libzip-fb068c0c4e9cbc7a.rlib --extern steven_resources=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libsteven_resources-508fa5f612d85f2f.rlib --extern serde_json=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libserde_json-55921106e25a0359.rlib --extern collision=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcollision-9bbd904617e002ec.rlib --extern cgmath=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libcgmath-27f7802c8ba9ffa4.rlib --extern image=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libimage-beca80f6b1edd77f.rlib --extern flate2=C:\Users\ann\Desktop\Steven\steven-master\target\debug\deps\libflate2-d719035eaa7c6a88.rlib -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-5464f8f6e728c35a\out -L native=C:\OpenSSL-Win64 -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\openssl-sys-extras-5c7e4d8925825f00\out -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\bzip2-sys-b768200d1597b521\out -L native=C:\Users\ann\Desktop\Steven\steven-master\target\debug\build\miniz-sys-60c8d67696f63a43\out` (exit code: 101)

C:\Users\ann\Desktop\Steven\steven-master>

#5

Judging from the error, you appear to have installed a version of Rust from the “stable release channel”, while the README for steven says “Currently requires SDL2, OpenSSL and nightly rust to build”. You were testing with nightly yesterday, so I’m thinking something went wrong when you tried to downgrade to an earlier nightly and you accidentally got stable instead.

You really should be using rustup for this; it’s by far the easiest way to install specific nightly builds by date. Is that what you’re using now? If you try to install nightly-2016-07-02 with rustup and set it as your default toolchain, what happens?

(I have it on good authority that rustup works on Windows, but I haven’t personally tried it so I’m unaware of any quirks.)


#6

The nightly ICE is also fixed now, so just using the current nightly should work.