Skip to content

Instantly share code, notes, and snippets.

@HongPong
Created December 21, 2017 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HongPong/0269dd184ea412c7250248cbb49dd96e to your computer and use it in GitHub Desktop.
Save HongPong/0269dd184ea412c7250248cbb49dd96e to your computer and use it in GitHub Desktop.
citybound does not install on windows
had this error with windows latest visual studio 2017 and the vs toolchain of rustup just installed.
Compiling chunky v0.1.0 (file:////Projects/citybound/engine/chunky)
warning: you should consider deriving a `Default` implementation for `compact_hash_map::CompactArray<T, A>`
--> engine\compact\src\compact_hash_map.rs:231:5
|
231 | / pub fn new() -> CompactArray<T, A> {
232 | | CompactArray {
233 | | ptr: PointerToMaybeCompact::default(),
234 | | cap: 0,
235 | | _alloc: PhantomData,
236 | | }
237 | | }
| |_____^
|
= note: #[warn(new_without_default_derive)] on by default
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.175/index.html#new_without_default_derive
help: try this
|
31 | #[derive(Default)]
|
Compiling kay v0.1.0 (file:////Projects/citybound/engine/kay)
warning: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
--> engine\monet\src\geometry\mod.rs:15:1
|
15 | implement_vertex!(Vertex, position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(forget_copy)] on by default
note: argument has type geometry::Vertex
--> engine\monet\src\geometry\mod.rs:15:1
|
15 | implement_vertex!(Vertex, position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.175/index.html#forget_copy
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
warning: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
--> engine\monet\src\geometry\mod.rs:24:1
|
24 | / implement_vertex!(
25 | | Instance,
26 | | instance_position,
27 | | instance_direction,
28 | | instance_color
29 | | );
| |__^
|
note: argument has type geometry::Instance
--> engine\monet\src\geometry\mod.rs:24:1
|
24 | / implement_vertex!(
25 | | Instance,
26 | | instance_position,
27 | | instance_direction,
28 | | instance_color
29 | | );
| |__^
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.175/index.html#forget_copy
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
Finished release [optimized + debuginfo] target(s) in 284.13 secs
Running `target\release\citybound.exe`
["target\\release\\citybound.exe"]
All mapped
thread '<unnamed>' panicked at 'gl function was not loaded', C:Projects\citybound\target\release\build\glium-8f63ed3a53699cd3\out/gl_bindings.rs:2531:12
note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', src\libcore\result.rs:916:4
error: process didn't exit successfully: `target\release\citybound.exe` (exit code: 101)
PS C:Projects\citybound>
PS C:Projects\citybound> cargo run --release RUST_BACKTRACE=1
Compiling stagemaster v0.1.0 (file:////Projects/citybound/engine/stagemaster)
Compiling monet v0.1.0 (file:////Projects/citybound/engine/monet)
warning: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
--> engine\monet\src\geometry\mod.rs:15:1
|
15 | implement_vertex!(Vertex, position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(forget_copy)] on by default
note: argument has type geometry::Vertex
--> engine\monet\src\geometry\mod.rs:15:1
|
15 | implement_vertex!(Vertex, position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.175/index.html#forget_copy
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
warning: calls to `std::mem::forget` with a value that implements Copy. Forgetting a copy leaves the original intact.
--> engine\monet\src\geometry\mod.rs:24:1
|
24 | / implement_vertex!(
25 | | Instance,
26 | | instance_position,
27 | | instance_direction,
28 | | instance_color
29 | | );
| |__^
|
note: argument has type geometry::Instance
--> engine\monet\src\geometry\mod.rs:24:1
|
24 | / implement_vertex!(
25 | | Instance,
26 | | instance_position,
27 | | instance_direction,
28 | | instance_color
29 | | );
| |__^
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.175/index.html#forget_copy
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
Compiling citybound v0.3.0 (file:////Projects/citybound)
Finished release [optimized + debuginfo] target(s) in 104.29 secs
Running `target\release\citybound.exe RUST_BACKTRACE=1`
["target\\release\\citybound.exe", "RUST_BACKTRACE=1"]
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: ParseIntError { kind: InvalidDigit }', src\libcore\result.rs:916:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', src\libcore\result.rs:916:4
error: process didn't exit successfully: `target\release\citybound.exe RUST_BACKTRACE=1` (exit code: 101)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment