Last active
April 17, 2019 16:17
-
-
Save bjorn3/d91a0cf91f2d9f43adfd746c138e1334 to your computer and use it in GitHub Desktop.
Revisions
-
bjorn3 revised this gist
Apr 17, 2019 . 1 changed file with 211 additions and 186 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,303 +1,328 @@ Compiling bad_regionck_error_message v0.1.0 (/home/bjorn/Documenten/d91a0cf91f2d9f43adfd746c138e1334) error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: superregion: the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ note: subregion: the block suffix following statement 2 at 16:5 --> src/main.rs:16:5 | 16 | / let mut graphics = Glium2d::new(OpenGL::V3_2, &window); 17 | | 18 | | let view = HorRow { views: vec![] }; 19 | | ... | 33 | | } 34 | | } | |_^ error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: superregion: the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ note: subregion: the block suffix following statement 2 at 16:5 --> src/main.rs:16:5 | 16 | / let mut graphics = Glium2d::new(OpenGL::V3_2, &window); 17 | | 18 | | let view = HorRow { views: vec![] }; 19 | | ... | 33 | | } 34 | | } | |_^ error[E0488]: lifetime of variable does not enclose its declaration --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: the variable is only valid for the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ error[E0488]: lifetime of variable does not enclose its declaration --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: the variable is only valid for the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ error[E0486]: type of expression contains references that are not valid during the expression: `HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>` --> src/main.rs:18:16 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ error[E0486]: type of expression contains references that are not valid during the expression: `HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>` --> src/main.rs:18:16 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | note: type is only valid for the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:16 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | note: superregion: the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ note: subregion: the destruction scope surrounding statement at 18:5 --> src/main.rs:18:5 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:16 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | note: superregion: the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ note: subregion: the destruction scope surrounding statement at 18:5 --> src/main.rs:18:5 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0489]: type/lifetime parameter not in scope here --> src/main.rs:23:9 | 23 | / graphics.draw(&mut frame, 24 | | Viewport { 25 | | rect: [0, 0, 1, 1], 26 | | draw_size: [1, 1], ... | 30 | | view.draw(graphics, context); 31 | | }); | |________________________^ | note: the parameter is only valid for the method call at 23:9 --> src/main.rs:23:9 | 23 | / graphics.draw(&mut frame, 24 | | Viewport { 25 | | rect: [0, 0, 1, 1], 26 | | draw_size: [1, 1], ... | 30 | | view.draw(graphics, context); 31 | | }); | |________________________^ error[E0486]: type of expression contains references that are not valid during the expression: `[closure@src/main.rs:29:23: 31:24 view:&HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>]` --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ | note: type is only valid for the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ error[E0486]: type of expression contains references that are not valid during the expression: `[closure@src/main.rs:29:23: 31:24 view:&HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>]` --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ | note: type is only valid for the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ error[E0486]: type of expression contains references that are not valid during the expression: `fn(std::boxed::Box<[std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>]>) -> std::vec::Vec<std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>> {std::slice::<impl [T]><std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>>::into_vec}` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0486]: type of expression contains references that are not valid during the expression: `fn(std::boxed::Box<[std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>]>) -> std::vec::Vec<std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>> {std::slice::<impl [T]><std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>>::into_vec}` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0486]: type of expression contains references that are not valid during the expression: `std::vec::Vec<std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>>` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0486]: type of expression contains references that are not valid during the expression: `std::vec::Vec<std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>>` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0486]: type of expression contains references that are not valid during the expression: `std::boxed::Box<[std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]>` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0486]: type of expression contains references that are not valid during the expression: `std::boxed::Box<[std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]>` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0486]: type of expression contains references that are not valid during the expression: `[std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error[E0486]: type of expression contains references that are not valid during the expression: `[std::boxed::Box<dyn Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #4 defined on the body at 29:23 --> src/main.rs:29:23 | 29 | / |context, graphics| { 30 | | view.draw(graphics, context); 31 | | }); | |_______________________^ = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) error: aborting due to 19 previous errors Some errors occurred: E0486, E0487, E0488, E0489. For more information about an error, try `rustc --explain E0486`. error: Could not compile `bad_regionck_error_message`. To learn more, run the command again with --verbose. -
bjorn3 revised this gist
Apr 17, 2019 . 2 changed files with 14 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ target/ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,5 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. [[package]] name = "android_glue" version = "0.2.1" @@ -44,6 +37,15 @@ dependencies = [ "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "bad_regionck_error_message" version = "0.1.0" dependencies = [ "glium 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston2d-glium_graphics 0.32.1 (registry+https://github.com/rust-lang/crates.io-index)", "piston2d-graphics 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "bitflags" version = "0.3.3" @@ -1008,4 +1010,4 @@ dependencies = [ "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" "checksum x11-dl 2.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4e4c7f0a7fb861a1bde4aa23bbda9509bda6b87de4d47c322f86e4c88241ebdd" "checksum xml-rs 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "65e74b96bd3179209dc70a980da6df843dff09e46eee103a0376c0949257e3ef" -
bjorn3 revised this gist
May 12, 2018 . 1 changed file with 1011 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,1011 @@ [root] name = "rust_tk" version = "0.1.0" dependencies = [ "glium 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston2d-glium_graphics 0.32.1 (registry+https://github.com/rust-lang/crates.io-index)", "piston2d-graphics 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "android_glue" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "arrayvec" version = "0.3.20" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "nodrop 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "odds 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "backtrace" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "backtrace-sys 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-demangle 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "backtrace-sys" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gcc 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "bitflags" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "bitflags" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "byteorder" version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "byteorder" version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "cfg-if" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "cgl" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "cocoa" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "objc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "color_quant" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "core-foundation" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "core-foundation-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "core-foundation-sys" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "core-graphics" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "core-foundation 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "crossbeam" version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "dbghelp-sys" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "deque" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "dlib" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libloading 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "dtoa" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "dwmapi-sys" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "enum_primitive" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "flate2" version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "miniz-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "fs2" version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gcc" version = "0.3.38" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "gdi32-sys" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gif" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "color_quant 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "lzw 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gl" version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gl_generator" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "khronos_api 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "xml-rs 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "gleam" version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "glium" version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "backtrace 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "glutin 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "glob" version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "glutin" version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "android_glue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "cgl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "cocoa 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", "core-foundation 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "core-graphics 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "dwmapi-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "gdi32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "objc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "osmesa-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "shared_library 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "shell32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "user32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-client 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-kbd 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-window 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "x11-dl 2.11.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "image" version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "enum_primitive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "gif 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", "jpeg-decoder 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", "num-iter 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "num-rational 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", "png 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", "scoped_threadpool 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "inflate" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "interpolation" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "itoa" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "jpeg-decoder" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "rayon 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "kernel32-sys" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "khronos_api" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "lazy_static" version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "lazy_static" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "libc" version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "libloading" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "target_build_utils 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "linked-hash-map" version = "0.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "log" version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "lzw" version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "malloc_buf" version = "0.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "memmap" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "fs2 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "miniz-sys" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gcc 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "nodrop" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "odds 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "num" version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num-integer 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "num-iter 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "num-bigint" version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num-integer 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.21 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "num-integer" version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "num-iter" version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num-integer 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "num-rational" version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "num-bigint 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", "num-integer 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.21 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "num-traits" version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "num_cpus" version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "objc" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "malloc_buf 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "odds" version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "osmesa-sys" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "shared_library 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "phf" version = "0.7.19" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "phf_shared 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "phf_codegen" version = "0.7.19" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "phf_generator 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)", "phf_shared 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "phf_generator" version = "0.7.19" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "phf_shared 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "phf_shared" version = "0.7.19" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "piston" version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "pistoncore-event_loop 0.26.0 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-input 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-window 0.23.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "piston-float" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "piston-shaders_graphics2d" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "piston-texture" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "piston-viewport" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "piston-float 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "piston2d-glium_graphics" version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "glium 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)", "image 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)", "piston 0.26.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston-shaders_graphics2d 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "piston-texture 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston2d-graphics 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-glutin_window 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)", "rusttype 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "shader_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "piston2d-graphics" version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "interpolation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston-texture 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston-viewport 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "read_color 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "vecmath 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pistoncore-event_loop" version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "piston-viewport 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-input 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-window 0.23.0 (registry+https://github.com/rust-lang/crates.io-index)", "time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pistoncore-glutin_window" version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "gl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "glutin 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-input 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "pistoncore-window 0.23.0 (registry+https://github.com/rust-lang/crates.io-index)", "shader_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pistoncore-input" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "piston-viewport 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-serialize 0.3.21 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pistoncore-window" version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "pistoncore-input 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", "shader_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "pkg-config" version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "png" version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "flate2 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", "inflate 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "num-iter 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rand" version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rayon" version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "deque 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "read_color" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "rustc-demangle" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "rustc-serialize" version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "rustc_version" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "semver 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "rusttype" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "arrayvec 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)", "linked-hash-map 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)", "stb_truetype 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "scoped_threadpool" version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "semver" version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "serde" version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "serde" version = "0.8.17" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "serde_json" version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "dtoa 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "itoa 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "shader_version" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "shared_library" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "shell32-sys" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "smallvec" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "stb_truetype" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "target_build_utils" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "phf 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)", "phf_codegen 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "tempfile" version = "2.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "time" version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "user32-sys" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "vecmath" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "piston-float 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "wayland-client" version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", "dlib 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-scanner 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-sys 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "wayland-kbd" version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", "dlib 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", "memmap 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-client 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "wayland-scanner" version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "xml-rs 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "wayland-sys" version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "dlib 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "wayland-window" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", "tempfile 2.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "wayland-client 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "winapi" version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "winapi-build" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "x11-dl" version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "xml-rs" version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [metadata] "checksum android_glue 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e2b80445d331077679dfc6f3014f3e9ab7083e588423d35041d3fc017198189" "checksum arrayvec 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)" = "d89f1b0e242270b5b797778af0c8d182a1a2ccac5d8d6fadf414223cc0fab096" "checksum backtrace 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "346d7644f0b5f9bc73082d3b2236b69a05fd35cce0cfa3724e184e6a5c9e2a2f" "checksum backtrace-sys 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "3602e8d8c43336088a8505fa55cae2b3884a9be29440863a11528a42f46f6bb7" "checksum bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "32866f4d103c4e438b1db1158aa1b1a80ee078e5d77a59a2f906fd62a577389c" "checksum bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d" "checksum byteorder 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "96c8b41881888cc08af32d47ac4edd52bc7fa27fef774be47a92443756451304" "checksum byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0fc10e8cc6b2580fda3f36eb6dc5316657f812a3df879a44a66fc9f0fdbc4855" "checksum cfg-if 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "de1e760d7b6535af4241fca8bd8adf68e2e7edacc6b29f5d399050c5e48cf88c" "checksum cgl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "8bdd78cca65a739cb5475dbf6b6bbb49373e327f4a6f2b499c0f98632df38c10" "checksum cocoa 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3afe4613f57a171039a98db1773f5840b5743cf85aaf03afb65ddfade4f4a9db" "checksum color_quant 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a475fc4af42d83d28adf72968d9bcfaf035a1a9381642d8e85d8a04957767b0d" "checksum core-foundation 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "20a6d0448d3a99d977ae4a2aa5a98d886a923e863e81ad9ff814645b6feb3bbd" "checksum core-foundation-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "05eed248dc504a5391c63794fe4fb64f46f071280afaa1b73308f3c0ce4574c5" "checksum core-graphics 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0c56c6022ba22aedbaa7d231be545778becbe1c7aceda4c82ba2f2084dd4c723" "checksum crossbeam 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "0c5ea215664ca264da8a9d9c3be80d2eaf30923c259d03e870388eb927508f97" "checksum dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "97590ba53bcb8ac28279161ca943a924d1fd4a8fb3fa63302591647c4fc5b850" "checksum deque 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1614659040e711785ed8ea24219140654da1729f3ec8a47a9719d041112fe7bf" "checksum dlib 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "148bce4ce1c36c4509f29cb54e62c2bd265551a9b00b38070fad551a851866ec" "checksum dtoa 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0dd841b58510c9618291ffa448da2e4e0f699d984d436122372f446dae62263d" "checksum dwmapi-sys 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "07c4c7cc7b396419bc0a4d90371d0cee16cb5053b53647d287c0b728000c41fe" "checksum enum_primitive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f79eff5be92a4d7d5bddf7daa7d650717ea71628634efe6ca7bcda85b2183c23" "checksum flate2 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "3eeb481e957304178d2e782f2da1257f1434dfecbae883bafb61ada2a9fea3bb" "checksum fs2 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "bcd414e5a1a979b931bb92f41b7a54106d3f6d2e6c253e9ce943b7cd468251ef" "checksum gcc 0.3.38 (registry+https://github.com/rust-lang/crates.io-index)" = "553f11439bdefe755bf366b264820f1da70f3aaf3924e594b886beb9c831bcf5" "checksum gdi32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "65256ec4dc2592e6f05bfc1ca3b956a4e0698aa90b1dff1f5687d55a5a3fd59a" "checksum gif 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "01c7c19a035de94bd7afbaa62c241aadfbdf1a70f560b348d2312eafa566ca16" "checksum gl 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a201d035da99a5c7fabbf4d6b0819f89201498b955d9b73380ebae63bbb5e2f0" "checksum gl_generator 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f1d8edc81c5ae84605a62f5dac661a2313003b26d59839f81d47d46cf0f16a55" "checksum gleam 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)" = "b04d6c8a1df841e48dfe99ed67829c9d1d17b1bb3e44c5f3283992010e20359b" "checksum glium 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)" = "30bfe6ac8600d25f7f2a1e3203566b156d66e7c2f358f6bb79b5419ddaecd671" "checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb" "checksum glutin 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "06786fae66e7aa8464b3d8d3fb7a7c470f89d62ae511f9613ea7fbbeef61d680" "checksum image 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)" = "559d5ebbe9ec73111799e49c07717944b244f8accf5de33a8a8128bc3ecd2e00" "checksum inflate 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e7e0062d2dc2f17d2f13750d95316ae8a2ff909af0fda957084f5defd87c43bb" "checksum interpolation 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "84e53e2877f735534c2d3cdbb5ba1d04ee11107f599a1e811ab0ff3dd93fe66e" "checksum itoa 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ae3088ea4baeceb0284ee9eea42f591226e6beaecf65373e41b38d95a1b8e7a1" "checksum jpeg-decoder 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "4be50b418a1fc5d198588d9a4f682ef808a55db4084dce39d09bb0562525bb8c" "checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" "checksum khronos_api 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "09c9d3760673c427d46f91a0350f0a84a52e6bc5a84adf26dc610b6c52436630" "checksum lazy_static 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "cf186d1a8aa5f5bee5fd662bc9c1b949e0259e1bcc379d1f006847b0080c7417" "checksum lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6abe0ee2e758cd6bc8a2cd56726359007748fbf4128da998b65d0b70f881e19b" "checksum libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)" = "044d1360593a78f5c8e5e710beccdc24ab71d1f01bc19a29bcacdba22e8475d8" "checksum libloading 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "84816a8c6ed8163dfe0dbdd2b09d35c6723270ea77a4c7afa4bedf038a36cb99" "checksum linked-hash-map 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "f26e961e0c884309cd527b1402a5409d35db612b36915d755e1a4f5c1547a31c" "checksum log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ab83497bf8bf4ed2a74259c1c802351fcd67a65baa86394b6ba73c36f4838054" "checksum lzw 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7d947cbb889ed21c2a84be6ffbaebf5b4e0f4340638cba0444907e38b56be084" "checksum malloc_buf 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" "checksum memmap 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "f20f72ed93291a72e22e8b16bb18762183bb4943f0f483da5b8be1a9e8192752" "checksum miniz-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "9d1f4d337a01c32e1f2122510fed46393d53ca35a7f429cb0450abaedfa3ed54" "checksum nodrop 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "0dbbadd3f4c98dea0bd3d9b4be4c0cdaf1ab57035cb2e41fce3983db5add7cc5" "checksum num 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)" = "bde7c03b09e7c6a301ee81f6ddf66d7a28ec305699e3d3b056d2fc56470e3120" "checksum num-bigint 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "88b14378471f7c2adc5262f05b4701ef53e8da376453a8d8fee48e51db745e49" "checksum num-integer 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "fb24d9bfb3f222010df27995441ded1e954f8f69cd35021f6bef02ca9552fb92" "checksum num-iter 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)" = "287a1c9969a847055e1122ec0ea7a5c5d6f72aad97934e131c83d5c08ab4e45c" "checksum num-rational 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "54ff603b8334a72fbb27fe66948aac0abaaa40231b3cecd189e76162f6f38aaf" "checksum num-traits 0.1.36 (registry+https://github.com/rust-lang/crates.io-index)" = "a16a42856a256b39c6d3484f097f6713e14feacd9bfb02290917904fae46c81c" "checksum num_cpus 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8890e6084723d57d0df8d2720b0d60c6ee67d6c93e7169630e4371e88765dcad" "checksum objc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "877f30f37acef6749b1841cceab289707f211aecfc756553cd63976190e6cc2e" "checksum odds 0.2.24 (registry+https://github.com/rust-lang/crates.io-index)" = "97b2d7c12734955740d14f7a6723d8dd8ed53cf16770ab38ca6a1aaf3124fc0d" "checksum osmesa-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "88cfece6e95d2e717e0872a7f53a8684712ad13822a7979bc760b9c77ec0013b" "checksum phf 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)" = "95cb41511b13e592110b5c8323c1d489513b6db919148f909b8b804be73a74b5" "checksum phf_codegen 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)" = "8b74506ea0ea5f6adbef815c1e964daa2d395e7c29b7196d390a67a31fa2a020" "checksum phf_generator 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)" = "d5e1d4b224dfc609b025ea389e6eb9b850ae5814272880d7d75d71acc3d57c88" "checksum phf_shared 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)" = "9f3d84458c4040eb4b9e626cb551a2dc46d92ea96b1c30331aa9fce9abd2c438" "checksum piston 0.26.0 (registry+https://github.com/rust-lang/crates.io-index)" = "16c8388d0f9cc114c57f35324642542f6d67177ba49081e225771aaf0a61ae1b" "checksum piston-float 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "191472f1cf8b069c13ca018975e21e3082fc8ad4beeeda716c51fdc6b964c3d1" "checksum piston-shaders_graphics2d 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "63e72f03604f928d8c03d5ed56ed2638c573270e7d7f36bdb705a3876b14b00e" "checksum piston-texture 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca39d71646f3b878dd4b0f9758f38d09658b2efd08dbdd9abf9f17000f1b9832" "checksum piston-viewport 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8d6254303f902baa397b4acf918110d70a33c4062f8ab47e8a4b527d29d3a4e7" "checksum piston2d-glium_graphics 0.32.1 (registry+https://github.com/rust-lang/crates.io-index)" = "01e58b2bfca2556c7a99190cd12fcadee326481d9966fbd65ea711b5042ea950" "checksum piston2d-graphics 0.19.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6301300affad154e05f8c79b269dffa673be5d2059d11217e0ed9684f745b7b5" "checksum pistoncore-event_loop 0.26.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e81f825ea09f881e4270816f2b4052f50f2115fff6347f787dceb518fb6e2213" "checksum pistoncore-glutin_window 0.31.0 (registry+https://github.com/rust-lang/crates.io-index)" = "102851bdcde97cb5889cbe3e7952cf3ea922e6b2ec1cf791ab3b6ff5323386fe" "checksum pistoncore-input 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "909481a60e31a0ce207de289011ca84ea50c854991c3efaefe41dfb928cebf28" "checksum pistoncore-window 0.23.0 (registry+https://github.com/rust-lang/crates.io-index)" = "045119226591859eff1936fcd3a2732aec6ad41741c807c147814d0cfe0000d6" "checksum pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8cee804ecc7eaf201a4a207241472cc870e825206f6c031e3ee2a72fa425f2fa" "checksum png 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "06208e2ee243e3118a55dda9318f821f206d8563fb8d4df258767f8e62bb0997" "checksum rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "2791d88c6defac799c3f20d74f094ca33b9332612d9aef9078519c82e4fe04a5" "checksum rayon 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3b6a6e05e0e6b703e9f2ad266eb63f3712e693a17a2702b95a23de14ce8defa9" "checksum read_color 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "682bfa200630193df2954f2632b690c4643563fd6abc575edc1239bcfe57ad83" "checksum rustc-demangle 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1430d286cadb237c17c885e25447c982c97113926bb579f4379c0eca8d9586dc" "checksum rustc-serialize 0.3.21 (registry+https://github.com/rust-lang/crates.io-index)" = "bff9fc1c79f2dec76b253273d07682e94a978bd8f132ded071188122b2af9818" "checksum rustc_version 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "c5f5376ea5e30ce23c03eb77cbe4962b988deead10910c372b226388b594c084" "checksum rusttype 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c3c64ffc93b0cc5a6f5e5e84da2a4082b0271e0a1dd76e821bdac570bda7797e" "checksum scoped_threadpool 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "3ef399c8893e8cb7aa9696e895427fab3a6bf265977bb96e126f24ddd2cda85a" "checksum semver 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)" = "d4f410fedcf71af0345d7607d246e7ad15faaadd49d240ee3b24e5dc21a820ac" "checksum serde 0.7.15 (registry+https://github.com/rust-lang/crates.io-index)" = "1b0e0732aa8ec4267f61815a396a942ba3525062e3bd5520aa8419927cfc0a92" "checksum serde 0.8.17 (registry+https://github.com/rust-lang/crates.io-index)" = "784e249221c84265caeb1e2fe48aeada86f67f5acb151bd3903c4585969e43f6" "checksum serde_json 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1cb6b19e74d9f65b9d03343730b643d729a446b29376785cd65efdff4675e2fc" "checksum shader_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ed9110f79d0715af17dfc689a94e466410e68d5ffbb16b210efc653a9b59c21" "checksum shared_library 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb04126b6fcfd2710fb5b6d18f4207b6c535f2850a7e1a43bcd526d44f30a79a" "checksum shell32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "72f20b8f3c060374edb8046591ba28f62448c369ccbdc7b02075103fb3a9e38d" "checksum smallvec 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "fcc8d19212aacecf95e4a7a2179b26f7aeb9732a915cf01f05b0d3e044865410" "checksum stb_truetype 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a0955c15cfb412f0c4fdfb3d07d2b1915869e472b35646cc3a3a104a8f79517b" "checksum target_build_utils 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "54c550e226618cd35334b75e92bfa5437c61474bdb75c38bf330ab5a8037b77c" "checksum tempfile 2.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "9270837a93bad1b1dac18fe67e786b3c960513af86231f6f4f57fddd594ff0c8" "checksum time 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "3c7ec6d62a20df54e07ab3b78b9a3932972f4b7981de295563686849eb3989af" "checksum user32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6717129de5ac253f5642fc78a51d0c7de6f9f53d617fc94e9bae7f6e71cf5504" "checksum vecmath 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "91b28177904486404916c2aee33e61ee60445d246ff047fb4196461a3f372ff8" "checksum wayland-client 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)" = "ced3094c157b5cc0a08d40530e1a627d9f88b9a436971338d2646439128a559e" "checksum wayland-kbd 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "73bc10e84c1da90777beffecd24742baea17564ffc2a9918af41871c748eb050" "checksum wayland-scanner 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "5a1869370d6bafcbabae8724511d803f4e209a70e94ad94a4249269534364f66" "checksum wayland-sys 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9633f7fe5de56544215f82eaf1b76bf1b584becf7f08b58cbef4c2c7d10e803a" "checksum wayland-window 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "309b69d3a863c9c21422d889fb7d98cf02f8a2ca054960a49243ce5b67ad884c" "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" "checksum x11-dl 2.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4e4c7f0a7fb861a1bde4aa23bbda9509bda6b87de4d47c322f86e4c88241ebdd" "checksum xml-rs 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "65e74b96bd3179209dc70a980da6df843dff09e46eee103a0376c0949257e3ef" -
bjorn3 revised this gist
Nov 19, 2016 . 2 changed files with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ [package] name = "bad_regionck_error_message" version = "0.1.0" authors = ["bjorn3 <[email protected]>"] This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ Compiling rust_tk v0.1.0 (~/Documents/bad_regionck_error_message) error[E0489]: type/lifetime parameter not in scope here --> src/main.rs:18:32 | @@ -298,6 +298,6 @@ note: ...so that argument is valid for the call error: aborting due to 21 previous errors error: Could not compile `bad_regionck_error_message`. To learn more, run the command again with --verbose. -
bjorn3 created this gist
Nov 19, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ [package] name = "bad_errorck_error_message" version = "0.1.0" authors = ["bjorn3 <[email protected]>"] [dependencies] glium = "0.15.0" piston2d-graphics = "0.19.0" piston2d-glium_graphics = "0.32.1" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,303 @@ Compiling rust_tk v0.1.0 (file:///Users/bjorn/Documents/bad_regionck_error_message) error[E0489]: type/lifetime parameter not in scope here --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: the parameter is only valid for the expression at 3:0 --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ = note: this error originates in a macro outside of the current crate error[E0486]: type of expression contains references that are not valid during the expression: `[Box<Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ = note: this error originates in a macro outside of the current crate error[E0488]: lifetime of variable does not enclose its declaration --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: the variable is only valid for the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0489]: type/lifetime parameter not in scope here --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: the parameter is only valid for the expression at 3:0 --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ = note: this error originates in a macro outside of the current crate error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: superregion: the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ note: subregion: the destruction scope surrounding statement at 18:4 --> src/main.rs:18:5 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate error[E0486]: type of expression contains references that are not valid during the expression: `Box<[Box<Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]>` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ = note: this error originates in a macro outside of the current crate error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: superregion: the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ note: subregion: the destruction scope surrounding statement at 18:4 --> src/main.rs:18:5 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in a macro outside of the current crate error[E0486]: type of expression contains references that are not valid during the expression: `HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>` --> src/main.rs:18:16 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | note: type is only valid for the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: superregion: the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ note: subregion: the block suffix following statement 2 at 16:59 --> src/main.rs:16:60 | 16 | let mut graphics = Glium2d::new(OpenGL::V3_2, &window); | ^ error[E0481]: lifetime of function argument does not outlive the function call --> src/main.rs:29:23 | 29 | |context, graphics| { | ^ | note: the function argument is only valid for the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0486]: type of expression contains references that are not valid during the expression: `HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>` --> src/main.rs:18:16 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^^^^^^^^^^^^^^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0486]: type of expression contains references that are not valid during the expression: `[Box<Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ = note: this error originates in a macro outside of the current crate error[E0486]: type of expression contains references that are not valid during the expression: `[closure@src/main.rs:29:23: 31:24 view:&HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>]` --> src/main.rs:29:23 | 29 | |context, graphics| { | ^ | note: type is only valid for the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0481]: lifetime of function argument does not outlive the function call --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: the function argument is only valid for the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ = note: this error originates in a macro outside of the current crate error[E0481]: lifetime of function argument does not outlive the function call --> src/main.rs:29:23 | 29 | |context, graphics| { | ^ | note: the function argument is only valid for the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0486]: type of expression contains references that are not valid during the expression: `Box<[Box<Draw<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>>; 0]>` --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: type is only valid for the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ = note: this error originates in a macro outside of the current crate error[E0481]: lifetime of function argument does not outlive the function call --> src/main.rs:18:32 | 18 | let view = HorRow { views: vec![] }; | ^^^^^^ | note: the function argument is only valid for the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ = note: this error originates in a macro outside of the current crate error[E0486]: type of expression contains references that are not valid during the expression: `[closure@src/main.rs:29:23: 31:24 view:&HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>]` --> src/main.rs:29:23 | 29 | |context, graphics| { | ^ | note: type is only valid for the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0487]: unsafe use of destructor: destructor might be called while references are dead --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: superregion: the anonymous lifetime #3 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ note: subregion: the block suffix following statement 2 at 16:59 --> src/main.rs:16:60 | 16 | let mut graphics = Glium2d::new(OpenGL::V3_2, &window); | ^ error[E0488]: lifetime of variable does not enclose its declaration --> src/main.rs:18:9 | 18 | let view = HorRow { views: vec![] }; | ^^^^ | note: the variable is only valid for the anonymous lifetime #2 defined on the block at 29:42 --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ error[E0495]: cannot infer an appropriate lifetime for capture of `view` by closure due to conflicting requirements --> src/main.rs:29:23 | 29 | |context, graphics| { | ^ | note: first, the lifetime cannot outlive the anonymous lifetime #3 defined on the block at 29:42... --> src/main.rs:29:43 | 29 | |context, graphics| { | ^ note: ...so that the reference type `&HorRow<glium_graphics::GliumGraphics<'_, '_, glium::Frame>>` does not outlive the data it points at --> src/main.rs:23:9 | 23 | graphics.draw(&mut frame, | ^ note: but, the lifetime must be valid for the method call at 23:8... --> src/main.rs:23:9 | 23 | graphics.draw(&mut frame, | ^ note: ...so that argument is valid for the call --> src/main.rs:29:23 | 29 | |context, graphics| { | ^ error: aborting due to 21 previous errors error: Could not compile `rust_tk`. To learn more, run the command again with --verbose. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ extern crate glium; extern crate graphics; extern crate glium_graphics; use graphics::{Graphics, Context, Viewport}; use glium_graphics::{Glium2d, OpenGL}; fn main() { use glium::DisplayBuild; let mut window = glium::glutin::WindowBuilder::new() .build_glium() .unwrap(); let mut graphics = Glium2d::new(OpenGL::V3_2, &window); let view = HorRow { views: vec![] }; loop { // draw everything here let mut frame = window.draw(); graphics.draw(&mut frame, Viewport { rect: [0, 0, 1, 1], draw_size: [1, 1], window_size: [1, 1], }, |context, graphics| { view.draw(graphics, context); }); frame.finish().unwrap(); } } pub trait Draw<G: Graphics> { fn draw(&self, graphics: &mut G, context: Context); } pub struct HorRow<G: Graphics> { views: Vec<Box<Draw<G>>>, } impl<G: Graphics> Draw<G> for HorRow<G> { fn draw(&self, graphics: &mut G, context: Context) {} }