fromxml 1.2.0

Macro to parse XML data into structs.

Build #10860 2016-08-07 15:30:47

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.12.0-nightly (54c0dcfd6 2016-07-28)

# docs.rs version cratesfyi 0.2.0 (5dbd676 2016-07-30)

# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading fromxml v1.2.0 Compiling bitflags v0.7.0 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-0.7.0/src/lib.rs --crate-name bitflags --crate-type lib -g -C metadata=0e272044714c8076 -C extra-filename=-0e272044714c8076 --out-dir /home/cratesfyi/fromxml-1.2.0/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/fromxml-1.2.0/debug/deps -L dependency=/home/cratesfyi/fromxml-1.2.0/debug/deps --cap-lints allow` Compiling xml-rs v0.1.26 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.1.26/src/lib.rs --crate-name xml --crate-type lib -g -C metadata=98e610a359efd6d2 -C extra-filename=-98e610a359efd6d2 --out-dir /home/cratesfyi/fromxml-1.2.0/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/fromxml-1.2.0/debug/deps -L dependency=/home/cratesfyi/fromxml-1.2.0/debug/deps --extern bitflags=/home/cratesfyi/fromxml-1.2.0/debug/deps/libbitflags-0e272044714c8076.rlib --cap-lints allow` Documenting fromxml v1.2.0 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs --crate-name fromxml -o /home/cratesfyi/fromxml-1.2.0/doc -L dependency=/home/cratesfyi/fromxml-1.2.0/debug -L dependency=/home/cratesfyi/fromxml-1.2.0/debug/deps --extern xml=/home/cratesfyi/fromxml-1.2.0/debug/deps/libxml-98e610a359efd6d2.rlib` .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:2:1: 2:17 warning: macro_escape is a deprecated synonym for macro_use .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:2 #![macro_escape] ^~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:2:1: 2:17 help: consider an outer attribute, #[macro_use] mod ... .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:6:5: 6:20 error: unresolved import `std::io::Buffer`. There is no `Buffer` in `std::io` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:6 use std::io::Buffer; ^~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:7:5: 7:27 error: unresolved import `std::num::FromStrRadix`. There is no `FromStrRadix` in `std::num` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:7 use std::num::FromStrRadix; ^~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:137:22: 137:26 error: type name `uint` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:137 impl Placeholder for uint { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:137:22: 137:26 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:149:25: 149:31 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:149 pub fn collect<'a, T, B:Buffer>(iter:&'a mut XmlIter<B>, mut arg:T, back:for<'b> fn(&'b mut XmlIter<B>, &mut T, &str, Vec<Attribute>)) -> Option<T> { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:168:24: 168:30 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:168 pub fn skip_node<'a, B:Buffer>(iter:&'a mut XmlIter<B>) { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:169:19: 169:23 error: type name `uint` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:169 let mut depth:uint = 1; ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:169:19: 169:23 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:193:23: 193:29 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:193 fn from_xml<'a, B:Buffer>(iter:&'a mut XmlIter<B>, attributes:Vec<Attribute>) -> Option<Self>; ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:197:23: 197:29 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:197 fn from_xml<'a, B:Buffer>(iter:&'a mut XmlIter<B>, attributes:Vec<Attribute>) -> Option<Vec<T>> { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:205:23: 205:29 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:205 fn from_xml<'a, B:Buffer>(iter:&'a mut XmlIter<B>, attributes:Vec<Attribute>) -> Option<Option<T>> { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:210:18: 210:22 error: type name `uint` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:210 impl FromXml for uint { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:210:18: 210:22 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:211:23: 211:29 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:211 fn from_xml<'a, B:Buffer>(iter:&'a mut XmlIter<B>, attributes:Vec<Attribute>) -> Option<uint> { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:211:93: 211:97 error: type name `uint` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:211 fn from_xml<'a, B:Buffer>(iter:&'a mut XmlIter<B>, attributes:Vec<Attribute>) -> Option<uint> { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:211:93: 211:97 help: no candidates by the name of `uint` found in your project; maybe you misspelled the name or forgot to import an external crate? .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:223:23: 223:29 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:223 fn from_xml<'a, B:Buffer>(iter:&'a mut XmlIter<B>, attributes:Vec<Attribute>) -> Option<u32> { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:235:23: 235:29 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:235 fn from_xml<'a, B:Buffer>(iter:&'a mut XmlIter<B>, _:Vec<Attribute> ) -> Option<String> { ^~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:248:36: 248:42 error: `Buffer` is not a trait [E0404] .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs:248 pub fn parse_root<'a, T:FromXml, B:Buffer>(iter:&'a mut XmlIter<B>) -> Option<T> { ^~~~~~ error: cannot continue compilation due to previous error thread 'main' panicked at 'ChainedError { error: failed to compile `fromxml v1.2.0`, intermediate artifacts can be found at `/home/cratesfyi/fromxml-1.2.0`, cause: ChainedError { error: Could not document `fromxml`., cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/fromxml-1.2.0/src/lib.rs --crate-name fromxml -o /home/cratesfyi/fromxml-1.2.0/doc -L dependency=/home/cratesfyi/fromxml-1.2.0/debug -L dependency=/home/cratesfyi/fromxml-1.2.0/debug/deps --extern xml=/home/cratesfyi/fromxml-1.2.0/debug/deps/libxml-98e610a359efd6d2.rlib` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.