backend 0.1.6

A macro library for backend agnostic design
Build #150998 2019-03-27 15:10:45

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.35.0-nightly (0f88167f8 2019-03-18)

# docs.rs version cratesfyi 0.6.0 (67b2b94 2019-03-26)

# build log Updating crates.io index Downloading crates ... Downloaded backend v0.1.6 Downloading crates ... Downloaded gfx v0.6.5 Downloaded gfx_device_gl v0.4.1 Downloading crates ... Downloaded draw_state v0.1.2 Downloaded gfx_gl v0.1.5 Downloaded gl_common v0.1.0 Downloaded gl_generator v0.1.0 Downloaded xml-rs v0.1.26 Compiling khronos_api v0.0.8 Fresh cfg-if v0.1.7 Fresh libc v0.1.12 Fresh bitflags v0.2.1 Running `rustc --crate-name khronos_api /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/khronos_api-0.0.8/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=2221be04c1371fea -C extra-filename=-2221be04c1371fea --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` Fresh bitflags v1.0.4 Compiling xml-rs v0.1.26 Fresh log v0.4.6 Checking draw_state v0.1.2 Running `rustc --crate-name xml /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6ce9d9913e623cb2 -C extra-filename=-6ce9d9913e623cb2 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-8debc9b0dfe49d22.rlib --cap-lints allow` Running `rustc --crate-name draw_state /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/draw_state-0.1.2/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=0a6314f04ecbfd3e -C extra-filename=-0a6314f04ecbfd3e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-290090bdf8392774.rmeta --cap-lints allow` error: no rules expected the token `flags` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:115:5 | 115 | flags IndentFlags: u8 { | ^^^^^ no rules expected this token in macro call error[E0433]: failed to resolve: use of undeclared type or module `IndentFlags` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:77:32 | 77 | indent_stack: vec!(IndentFlags::empty()), | ^^^^^^^^^^^ use of undeclared type or module `IndentFlags` error[E0412]: cannot find type `IndentFlags` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:64:23 | 64 | indent_stack: Vec<IndentFlags>, | ^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `WROTE_TEXT` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:131:52 | 131 | self.indent_stack.last().unwrap().contains(WROTE_TEXT) | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `WROTE_MARKUP` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:136:52 | 136 | self.indent_stack.last().unwrap().contains(WROTE_MARKUP) | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `WROTE_TEXT` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:141:50 | 141 | *self.indent_stack.last_mut().unwrap() = WROTE_TEXT; | ^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `WROTE_MARKUP` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:146:50 | 146 | *self.indent_stack.last_mut().unwrap() = WROTE_MARKUP; | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `WROTE_NOTHING` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:151:50 | 151 | *self.indent_stack.last_mut().unwrap() = WROTE_NOTHING; | ^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `WROTE_NOTHING` in this scope --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/writer/emitter.rs:179:32 | 179 | self.indent_stack.push(WROTE_NOTHING); | ^^^^^^^^^^^^^ not found in this scope Checking gl_common v0.1.0 Running `rustc --crate-name gl_common /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gl_common-0.1.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=6edc23634136e13a -C extra-filename=-6edc23634136e13a --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-28d83b6461fe45c6.rmeta --cap-lints allow` Fresh num-traits v0.2.6 Fresh log v0.3.9 Fresh libc v0.2.50 Fresh num-integer v0.1.39 Fresh num-complex v0.2.1 Fresh num-bigint v0.2.2 Fresh num-iter v0.1.37 Fresh num-rational v0.2.1 Fresh num v0.2.0 Checking gfx v0.6.5 Running `rustc --crate-name gfx /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=f3b13f7b4c9fe5ab -C extra-filename=-f3b13f7b4c9fe5ab --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-6fbaa7e1f78950c0.rmeta --extern draw_state=/home/cratesfyi/cratesfyi/debug/deps/libdraw_state-0a6314f04ecbfd3e.rmeta --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-071c841174da1958.rmeta --extern num=/home/cratesfyi/cratesfyi/debug/deps/libnum-e14220d7c4fe5a0d.rmeta --cap-lints allow` error: aborting due to 9 previous errors Some errors occurred: E0412, E0425, E0433. For more information about an error, try `rustc --explain E0412`. error: Could not compile `xml-rs`. Caused by: process didn't exit successfully: `rustc --crate-name xml /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6ce9d9913e623cb2 -C extra-filename=-6ce9d9913e623cb2 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-8debc9b0dfe49d22.rlib --cap-lints allow` (exit code: 1) warning: build failed, waiting for other jobs to finish... error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/draw.rs:58:19 | 58 | use std::{intrinsics, mem}; | ^^^^^^^^^^ | = help: add #![feature(core_intrinsics)] to the crate attributes to enable error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/draw.rs:73:19 | 73 | use std::{intrinsics, mem}; | ^^^^^^^^^^ | = help: add #![feature(core_intrinsics)] to the crate attributes to enable error[E0277]: the size for values of type `Self` cannot be known at compilation time --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:133:5 | 133 | / fn map_readable<T: Copy>(&'a mut self, Self::RawMapping, usize) 134 | | -> Readable<T, R, Self>; | |____________________________________________^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> = help: consider adding a `where Self: std::marker::Sized` bound note: required by `device::mapping::Readable` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:34:1 | 34 | / pub struct Readable<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 35 | | F::Mapper: 'a 36 | | { 37 | | raw: F::Mapper, ... | 40 | | phantom_t: PhantomData<T> 41 | | } | |_^ error[E0277]: the trait bound `Self: device::Factory<R>` is not satisfied --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:133:5 | 133 | / fn map_readable<T: Copy>(&'a mut self, Self::RawMapping, usize) 134 | | -> Readable<T, R, Self>; | |____________________________________________^ the trait `device::Factory<R>` is not implemented for `Self` | = help: consider adding a `where Self: device::Factory<R>` bound note: required by `device::mapping::Readable` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:34:1 | 34 | / pub struct Readable<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 35 | | F::Mapper: 'a 36 | | { 37 | | raw: F::Mapper, ... | 40 | | phantom_t: PhantomData<T> 41 | | } | |_^ error[E0277]: the size for values of type `Self` cannot be known at compilation time --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:135:5 | 135 | / fn map_writable<T: Copy>(&'a mut self, Self::RawMapping, usize) 136 | | -> Writable<T, R, Self>; | |____________________________________________^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> = help: consider adding a `where Self: std::marker::Sized` bound note: required by `device::mapping::Writable` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:62:1 | 62 | / pub struct Writable<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 63 | | F::Mapper: 'a 64 | | { 65 | | raw: F::Mapper, ... | 68 | | phantom_t: PhantomData<T> 69 | | } | |_^ error[E0277]: the trait bound `Self: device::Factory<R>` is not satisfied --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:135:5 | 135 | / fn map_writable<T: Copy>(&'a mut self, Self::RawMapping, usize) 136 | | -> Writable<T, R, Self>; | |____________________________________________^ the trait `device::Factory<R>` is not implemented for `Self` | = help: consider adding a `where Self: device::Factory<R>` bound note: required by `device::mapping::Writable` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:62:1 | 62 | / pub struct Writable<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 63 | | F::Mapper: 'a 64 | | { 65 | | raw: F::Mapper, ... | 68 | | phantom_t: PhantomData<T> 69 | | } | |_^ error[E0277]: the size for values of type `Self` cannot be known at compilation time --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:137:5 | 137 | / fn map_read_write<T: Copy>(&'a mut self, Self::RawMapping, usize) 138 | | -> RW<T, R, Self>; | |________________________________________^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> = help: consider adding a `where Self: std::marker::Sized` bound note: required by `device::mapping::RW` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:92:1 | 92 | / pub struct RW<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 93 | | F::Mapper: 'a 94 | | { 95 | | raw: F::Mapper, ... | 98 | | phantom_t: PhantomData<T> 99 | | } | |_^ error[E0277]: the trait bound `Self: device::Factory<R>` is not satisfied --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:137:5 | 137 | / fn map_read_write<T: Copy>(&'a mut self, Self::RawMapping, usize) 138 | | -> RW<T, R, Self>; | |________________________________________^ the trait `device::Factory<R>` is not implemented for `Self` | = help: consider adding a `where Self: device::Factory<R>` bound note: required by `device::mapping::RW` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:92:1 | 92 | / pub struct RW<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 93 | | F::Mapper: 'a 94 | | { 95 | | raw: F::Mapper, ... | 98 | | phantom_t: PhantomData<T> 99 | | } | |_^ error[E0277]: the size for values of type `Self` cannot be known at compilation time --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mod.rs:230:5 | 230 | fn map_buffer_readable<T: Copy>(&mut self, &handle::Buffer<R, T>) -> mapping::Readable<T, R, Self>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> = help: consider adding a `where Self: std::marker::Sized` bound note: required by `device::mapping::Readable` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:34:1 | 34 | / pub struct Readable<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 35 | | F::Mapper: 'a 36 | | { 37 | | raw: F::Mapper, ... | 40 | | phantom_t: PhantomData<T> 41 | | } | |_^ error[E0277]: the size for values of type `Self` cannot be known at compilation time --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mod.rs:231:5 | 231 | fn map_buffer_writable<T: Copy>(&mut self, &handle::Buffer<R, T>) -> mapping::Writable<T, R, Self>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> = help: consider adding a `where Self: std::marker::Sized` bound note: required by `device::mapping::Writable` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:62:1 | 62 | / pub struct Writable<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 63 | | F::Mapper: 'a 64 | | { 65 | | raw: F::Mapper, ... | 68 | | phantom_t: PhantomData<T> 69 | | } | |_^ error[E0277]: the size for values of type `Self` cannot be known at compilation time --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mod.rs:232:5 | 232 | fn map_buffer_rw<T: Copy>(&mut self, &handle::Buffer<R, T>) -> mapping::RW<T, R, Self>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> = help: consider adding a `where Self: std::marker::Sized` bound note: required by `device::mapping::RW` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/mapping.rs:92:1 | 92 | / pub struct RW<'a, T: Copy, R: 'a + Resources, F: 'a + Factory<R>> where 93 | | F::Mapper: 'a 94 | | { 95 | | raw: F::Mapper, ... | 98 | | phantom_t: PhantomData<T> 99 | | } | |_^ error[E0277]: the size for values of type `Self` cannot be known at compilation time --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/render/mesh.rs:42:5 | 42 | fn generate<R: Resources>(buffer: &handle::Buffer<R, Self>) -> Vec<Attribute<R>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `std::marker::Sized` is not implemented for `Self` = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait> = help: consider adding a `where Self: std::marker::Sized` bound note: required by `device::handle::Buffer` --> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/device/handle.rs:43:1 | 43 | pub struct Buffer<R: Resources, T> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 12 previous errors Some errors occurred: E0277, E0658. For more information about an error, try `rustc --explain E0277`. thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `rustc --crate-name gfx /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/gfx-0.6.5/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=f3b13f7b4c9fe5ab -C extra-filename=-f3b13f7b4c9fe5ab --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bitflags=/home/cratesfyi/cratesfyi/debug/deps/libbitflags-6fbaa7e1f78950c0.rmeta --extern draw_state=/home/cratesfyi/cratesfyi/debug/deps/libdraw_state-0a6314f04ecbfd3e.rmeta --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-071c841174da1958.rmeta --extern num=/home/cratesfyi/cratesfyi/debug/deps/libnum-e14220d7c4fe5a0d.rmeta --cap-lints allow` (exit code: 1)", exit: Some(ExitStatus(ExitStatus(256))), output: None } Could not compile `gfx`.', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.