Created
December 7, 2018 00:46
-
-
Save fu5ha/f02fdee4b79563c47a1238a558a916aa to your computer and use it in GitHub Desktop.
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 characters
| warning: failed to automatically apply fixes suggested by rustc to crate `rendy_wsi` | |
| after fixes were automatically applied the compiler reported errors within these files: | |
| * wsi\src\lib.rs | |
| This likely indicates a bug in either rustc or cargo itself, | |
| and we would appreciate a bug report! You're likely to see | |
| a number of compiler warnings after this message which cargo | |
| attempted to fix but failed. If you could open an issue at | |
| https://github.com/rust-lang/cargo/issues | |
| quoting the full output of this command we'd be very appreciative! | |
| warning: `dyn` is a keyword in the 2018 edition | |
| --> wsi\src\lib.rs:63:42 | |
| | | |
| 63 | let surface: Box<dyn std::any::Any> = Box::new(self::$backend::create_surface(instance, $window)); | |
| | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | |
| | | |
| note: lint level defined here | |
| --> wsi\src\lib.rs:18:9 | |
| | | |
| 18 | #![deny(rust_2018_compatibility)] | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| = note: #[warn(keyword_idents)] implied by #[warn(rust_2018_compatibility)] | |
| = warning: this was previously accepted by the compiler but is being phased out; it will become | |
| a hard error in the 2018 edition! | |
| = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> | |
| warning: `dyn` is a keyword in the 2018 edition | |
| --> wsi\src\lib.rs:63:42 | |
| | | |
| 63 | let surface: Box<dyn std::any::Any> = Box::new(self::$backend::create_surface(instance, $window)); | |
| | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | |
| | | |
| note: lint level defined here | |
| --> wsi\src\lib.rs:18:9 | |
| | | |
| 18 | #![deny(rust_2018_compatibility)] | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| = note: #[warn(keyword_idents)] implied by #[warn(rust_2018_compatibility)] | |
| = warning: this was previously accepted by the compiler but is being phased out; it will become | |
| a hard error in the 2018 edition! | |
| = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> | |
| Checking rendy-factory v0.1.0 (C:\Users\Gray\Code\rendy\factory) | |
| warning: failed to automatically apply fixes suggested by rustc to crate `rendy_factory` | |
| after fixes were automatically applied the compiler reported errors within these files: | |
| * factory\src\factory.rs | |
| This likely indicates a bug in either rustc or cargo itself, | |
| and we would appreciate a bug report! You're likely to see | |
| a number of compiler warnings after this message which cargo | |
| attempted to fix but failed. If you could open an issue at | |
| https://github.com/rust-lang/cargo/issues | |
| quoting the full output of this command we'd be very appreciative! | |
| warning: `dyn` is a keyword in the 2018 edition | |
| --> factory\src\factory.rs:381:42 | |
| | | |
| 381 | let factory: Box<dyn std::any::Any> = Box::new(Factory::init(instance, $config)?); | |
| | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | |
| | | |
| note: lint level defined here | |
| --> factory\src\lib.rs:18:9 | |
| | | |
| 18 | #![deny(rust_2018_compatibility)] | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| = note: #[warn(keyword_idents)] implied by #[warn(rust_2018_compatibility)] | |
| = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! | |
| = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> | |
| warning: `dyn` is a keyword in the 2018 edition | |
| --> factory\src\factory.rs:381:42 | |
| | | |
| 381 | let factory: Box<dyn std::any::Any> = Box::new(Factory::init(instance, $config)?); | |
| | ^^^ help: you can use a raw identifier to stay compatible: `r#dyn` | |
| | | |
| note: lint level defined here | |
| --> factory\src\lib.rs:18:9 | |
| | | |
| 18 | #![deny(rust_2018_compatibility)] | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| = note: #[warn(keyword_idents)] implied by #[warn(rust_2018_compatibility)] | |
| = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! | |
| = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716> | |
| warning: unused variable: `config` | |
| --> factory\src\factory.rs:410:16 | |
| | | |
| 410 | pub fn new(config: Config<impl HeapsConfigure, impl QueuesConfigure>) -> Result<Factory<B>, failure::Error> { | |
| | ^^^^^^ help: consider using `_config` instead | |
| | | |
| note: lint level defined here | |
| --> factory\src\lib.rs:15:9 | |
| | | |
| 15 | #![deny(unused)] | |
| | ^^^^^^ | |
| = note: #[warn(unused_variables)] implied by #[warn(unused)] | |
| Checking rendy-frame v0.1.0 (C:\Users\Gray\Code\rendy\frame) | |
| Checking rendy-mesh v0.1.0 (C:\Users\Gray\Code\rendy\mesh) | |
| warning: unused variable: `config` | |
| --> factory\src\factory.rs:410:16 | |
| | | |
| 410 | pub fn new(config: Config<impl HeapsConfigure, impl QueuesConfigure>) -> Result<Factory<B>, failure::Error> { | |
| | ^^^^^^ help: consider using `_config` instead | |
| | | |
| note: lint level defined here | |
| --> factory\src\lib.rs:15:9 | |
| | | |
| 15 | #![deny(unused)] | |
| | ^^^^^^ | |
| = note: #[warn(unused_variables)] implied by #[warn(unused)] | |
| warning: outlives requirements can be inferred | |
| --> frame\src\cirque\command.rs:112:52 | |
| | | |
| 112 | pub struct CirqueEncoder<'a, B: gfx_hal::Backend, C: 'a, X = RecordingState<MultiShot>, S: 'a = (), P: 'a = (), L: 'a = PrimaryLevel> { | |
| | ^^^^ ^^^^ ^^^^ ^^^^ | |
| | | |
| note: lint level defined here | |
| --> frame\src\lib.rs:19:9 | |
| | | |
| 19 | #![deny(rust_2018_idioms)] | |
| | ^^^^^^^^^^^^^^^^ | |
| = note: #[warn(explicit_outlives_requirements)] implied by #[warn(rust_2018_idioms)] | |
| help: remove these bounds | |
| | | |
| 112 | pub struct CirqueEncoder<'a, B: gfx_hal::Backend, C, X = RecordingState<MultiShot>, S = (), P = (), L = PrimaryLevel> { | |
| | -- -- -- -- | |
| Checking rendy-graph v0.1.0 (C:\Users\Gray\Code\rendy\graph) | |
| warning: outlives requirements can be inferred | |
| --> frame\src\cirque\command.rs:112:52 | |
| | | |
| 112 | pub struct CirqueEncoder<'a, B: gfx_hal::Backend, C: 'a, X = RecordingState<MultiShot>, S: 'a = (), P: 'a = (), L: 'a = PrimaryLevel> { | |
| | ^^^^ ^^^^ ^^^^ ^^^^ | |
| | | |
| note: lint level defined here | |
| --> frame\src\lib.rs:19:9 | |
| | | |
| 19 | #![deny(rust_2018_idioms)] | |
| | ^^^^^^^^^^^^^^^^ | |
| = note: #[warn(explicit_outlives_requirements)] implied by #[warn(rust_2018_idioms)] | |
| help: remove these bounds | |
| | | |
| 112 | pub struct CirqueEncoder<'a, B: gfx_hal::Backend, C, X = RecordingState<MultiShot>, S = (), P = (), L = PrimaryLevel> { | |
| | -- -- -- -- | |
| Checking rendy-shader-proc v0.1.0 (C:\Users\Gray\Code\rendy\shader\proc) | |
| Checking rendy-shader v0.1.0 (C:\Users\Gray\Code\rendy\shader) | |
| Checking rendy v0.1.0 (C:\Users\Gray\Code\rendy\rendy) | |
| warning: unused imports: `Config`, `Factory` | |
| --> rendy\examples\init\main.rs:6:15 | |
| | | |
| 6 | factory::{Config, Factory}, | |
| | ^^^^^^ ^^^^^^^ | |
| | | |
| = note: #[warn(unused_imports)] on by default | |
| warning: unused imports: `EventsLoop`, `WindowBuilder` | |
| --> rendy\examples\init\main.rs:10:5 | |
| | | |
| 10 | EventsLoop, WindowBuilder, | |
| | ^^^^^^^^^^ ^^^^^^^^^^^^^ | |
| warning: unused imports: `Config`, `GraphBuilder`, `Graph`, `present::PresentNode` | |
| --> rendy\examples\triangle\main.rs:7:15 | |
| | | |
| 7 | factory::{Config, Factory}, | |
| | ^^^^^^ | |
| 8 | frame::{cirque::CirqueRenderPassInlineEncoder}, | |
| 9 | graph::{Graph, GraphBuilder, render::RenderPass, present::PresentNode, NodeBuffer, NodeImage}, | |
| | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| = note: #[warn(unused_imports)] on by default | |
| warning: unused imports: `EventsLoop`, `WindowBuilder` | |
| --> rendy\examples\triangle\main.rs:17:5 | |
| | | |
| 17 | EventsLoop, WindowBuilder, | |
| | ^^^^^^^^^^ ^^^^^^^^^^^^^ | |
| Fixing rendy\examples\quads\main.rs (9 fixes) | |
| warning: unused imports: `Config`, `GraphBuilder`, `Graph`, `Graphics`, `Surface`, `Target`, `present::PresentNode` | |
| --> rendy\examples\quads\main.rs:6:24 | |
| | | |
| 6 | command::{Compute, Graphics, Encoder, EncoderCommon, RenderPassEncoder, Submit, CommandPool, CommandBuffer, PendingState, ExecutableState, MultiShot, SimultaneousUse, PrimaryLevel, DrawCommand}, | |
| | ^^^^^^^^ | |
| 7 | factory::{Config, Factory}, | |
| | ^^^^^^ | |
| 8 | frame::{cirque::CirqueRenderPassInlineEncoder, Frames}, | |
| 9 | graph::{Graph, GraphBuilder, render::{RenderPass, Layout, SetLayout}, present::PresentNode, NodeBuffer, NodeImage, BufferAccess, Node, NodeDesc, NodeSubmittable}, | |
| | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^... | |
| 13 | wsi::{Surface, Target}, | |
| | ^^^^^^^ ^^^^^^ | |
| | | |
| = note: #[warn(unused_imports)] on by default | |
| warning: unused imports: `EventsLoop`, `WindowBuilder` | |
| --> rendy\examples\quads\main.rs:18:5 | |
| | | |
| 18 | EventsLoop, WindowBuilder, | |
| | ^^^^^^^^^^ ^^^^^^^^^^^^^ | |
| warning: unnecessary `unsafe` block | |
| --> rendy\examples\quads\main.rs:366:66 | |
| | | |
| 366 | let (descriptor_pool, descriptor_set/*, buffer_view*/) = unsafe { | |
| | ^^^^^^ unnecessary `unsafe` | |
| block | |
| | | |
| = note: #[warn(unused_unsafe)] on by default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment