value_from_type_macros 1.0.6

Implement enum (and cast methods) for a set of struct types

Build #97447 2018-04-27 20:20:12

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.26.0-dev (0eb87c9bf 2018-03-16)

# docs.rs version cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading value_from_type_macros v1.0.6 Fresh unicode-xid v0.1.0 Fresh unicode-segmentation v1.2.0 Compiling proc-macro2 v0.3.7 Fresh heck v0.3.0 Running `rustc --crate-name proc_macro2 .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="nightly"' --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=485456a5b82b2404 -C extra-filename=-485456a5b82b2404 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern unicode_xid=/home/cratesfyi/cratesfyi/debug/deps/libunicode_xid-3eff40339770c4d8.rlib --extern-version unicode_xid=unicode-xid,0.1.0 --cap-lints allow` error[E0433]: failed to resolve. Could not find `Group` in `proc_macro` --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:63:45 | 63 | let mut group = proc_macro::Group::new(delim, tt.stream.inner.0); | ^^^^^ Could not find `Group` in `proc_macro` error[E0433]: failed to resolve. Could not find `Op` in `proc_macro` --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:72:42 | 72 | let mut op = proc_macro::Op::new(tt.op(), spacing); | ^^ Could not find `Op` in `proc_macro` error[E0433]: failed to resolve. Could not find `token_stream` in `proc_macro` --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:102:38 | 102 | pub struct TokenTreeIter(proc_macro::token_stream::IntoIter); | ^^^^^^^^^^^^ Could not find `token_stream` in `proc_macro` error[E0599]: no associated item named `Group` found for type `proc_macro::TokenTree` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:119:13 | 119 | proc_macro::TokenTree::Group(tt) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `proc_macro::TokenTree` error[E0599]: no associated item named `Op` found for type `proc_macro::TokenTree` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:131:13 | 131 | proc_macro::TokenTree::Op(tt) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `proc_macro::TokenTree` error[E0599]: no associated item named `Term` found for type `proc_macro::TokenTree` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:140:13 | 140 | proc_macro::TokenTree::Term(s) => ::Term::_new(Term { term: s }).into(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `proc_macro::TokenTree` error[E0599]: no associated item named `Literal` found for type `proc_macro::TokenTree` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:141:13 | 141 | proc_macro::TokenTree::Literal(l) => ::Literal::_new(Literal { lit: l }).into(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated item not found in `proc_macro::TokenTree` error[E0599]: no function or associated item named `new` found for type `proc_macro::Term` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:270:19 | 270 | term: proc_macro::Term::new(string, span.0), | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Term` error[E0599]: no method named `span` found for type `proc_macro::Term` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:279:24 | 279 | Span(self.term.span()) | ^^^^ error[E0599]: no method named `set_span` found for type `proc_macro::Term` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:283:19 | 283 | self.term.set_span(span.0); | ^^^^^^^^ error[E0599]: no function or associated item named `u8_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `u16_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `u32_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `u64_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `usize_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i8_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i16_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i32_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i64_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `isize_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `f32_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `f64_suffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:301:27 | 301 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 319 | / suffixed_numbers! { 320 | | u8_suffixed => u8, 321 | | u16_suffixed => u16, 322 | | u32_suffixed => u32, ... | 332 | | f64_suffixed => f64, 333 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `u8_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `u16_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `u32_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `u64_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `usize_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i8_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i16_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i32_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `i64_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `isize_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:309:27 | 309 | Literal::_new(proc_macro::Literal::$name(n)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` ... 335 | / unsuffixed_integers! { 336 | | u8_unsuffixed => u8, 337 | | u16_unsuffixed => u16, 338 | | u32_unsuffixed => u32, ... | 345 | | isize_unsuffixed => isize, 346 | | } | |_____- in this macro invocation error[E0599]: no function or associated item named `f32_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:349:23 | 349 | Literal::_new(proc_macro::Literal::f32_unsuffixed(f)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` error[E0599]: no function or associated item named `f64_unsuffixed` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:353:23 | 353 | Literal::_new(proc_macro::Literal::f64_unsuffixed(f)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal` error[E0599]: no method named `span` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:369:23 | 369 | Span(self.lit.span()) | ^^^^ error[E0599]: no method named `set_span` found for type `proc_macro::Literal` in the current scope --> .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/unstable.rs:373:18 | 373 | self.lit.set_span(span.0); | ^^^^^^^^ error: aborting due to 36 previous errors Some errors occurred: E0433, E0599. For more information about an error, try `rustc --explain E0433`. thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not compile `proc-macro2`., cause: process didn't exit successfully: `rustc --crate-name proc_macro2 .cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.3.7/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="nightly" --cfg feature="default" --cfg feature="proc-macro" -C metadata=485456a5b82b2404 -C extra-filename=-485456a5b82b2404 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern unicode_xid=/home/cratesfyi/cratesfyi/debug/deps/libunicode_xid-3eff40339770c4d8.rlib --extern-version unicode_xid=unicode-xid,0.1.0 --cap-lints allow` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.