regex_macros 0.1.30

An implementation of statically compiled regular expressions for Rust. Unless you specifically need compile time regular expressions or a matching engine that is guaranteed not to allocate, you should temporarily prefer using the plain regex crate (since it is almost always faster).

Build #15580 2016-08-11 19:22:00

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 regex_macros v0.1.30 Compiling utf8-ranges v0.1.3 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-0.1.3/src/lib.rs --crate-name utf8_ranges --crate-type lib -g -C metadata=5c6a6dacba3be7ce -C extra-filename=-5c6a6dacba3be7ce --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --cap-lints allow` Compiling winapi-build v0.1.1 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -g -C metadata=493a7b0628804707 -C extra-filename=-493a7b0628804707 --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --cap-lints allow` Compiling libc v0.2.15 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.15/src/lib.rs --crate-name libc --crate-type lib -g --cfg feature=\"use_std\" --cfg feature=\"default\" -C metadata=1bd8847afb79f283 -C extra-filename=-1bd8847afb79f283 --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --cap-lints allow` Compiling winapi v0.2.8 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.2.8/src/lib.rs --crate-name winapi --crate-type lib -g -C metadata=0889532d327ff4e2 -C extra-filename=-0889532d327ff4e2 --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --cap-lints allow` Compiling regex-syntax v0.3.4 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.3.4/src/lib.rs --crate-name regex_syntax --crate-type lib -g -C metadata=b24da02611351433 -C extra-filename=-b24da02611351433 --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --cap-lints allow` Compiling kernel32-sys v0.2.2 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2/build.rs --crate-name build_script_build --crate-type bin -g --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/build/kernel32-sys-d6afa5bd3d7cfaef --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern build=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libbuild-493a7b0628804707.rlib --cap-lints allow` Running `/home/cratesfyi/regex_macros-0.1.30/debug/build/kernel32-sys-d6afa5bd3d7cfaef/build-script-build` Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2/src/lib.rs --crate-name kernel32 --crate-type lib -g -C metadata=df86a08647459244 -C extra-filename=-df86a08647459244 --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern winapi=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libwinapi-0889532d327ff4e2.rlib --cap-lints allow` Compiling memchr v0.1.11 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/memchr-0.1.11/src/lib.rs --crate-name memchr --crate-type lib -g -C metadata=c555f740a543880f -C extra-filename=-c555f740a543880f --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern libc=/home/cratesfyi/regex_macros-0.1.30/debug/deps/liblibc-1bd8847afb79f283.rlib --cap-lints allow` Compiling thread-id v2.0.0 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/thread-id-2.0.0/src/lib.rs --crate-name thread_id --crate-type lib -g -C metadata=bcd46c79a620a618 -C extra-filename=-bcd46c79a620a618 --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern kernel32=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libkernel32-df86a08647459244.rlib --extern libc=/home/cratesfyi/regex_macros-0.1.30/debug/deps/liblibc-1bd8847afb79f283.rlib --cap-lints allow` Compiling thread_local v0.2.6 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.2.6/src/lib.rs --crate-name thread_local --crate-type lib -g -C metadata=e5ce0d44bcaf00e6 -C extra-filename=-e5ce0d44bcaf00e6 --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern thread_id=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libthread_id-bcd46c79a620a618.rlib --cap-lints allow` Compiling aho-corasick v0.5.2 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.5.2/src/lib.rs --crate-name aho_corasick --crate-type lib -g -C metadata=e528bf4fdf3954ff -C extra-filename=-e528bf4fdf3954ff --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern memchr=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libmemchr-c555f740a543880f.rlib --cap-lints allow` Compiling regex v0.1.73 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.73/src/lib.rs --crate-name regex --crate-type lib -g --cfg feature=\"pattern\" -C metadata=a1c323daba09617d -C extra-filename=-a1c323daba09617d --out-dir /home/cratesfyi/regex_macros-0.1.30/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern utf8_ranges=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libutf8_ranges-5c6a6dacba3be7ce.rlib --extern memchr=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libmemchr-c555f740a543880f.rlib --extern regex_syntax=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libregex_syntax-b24da02611351433.rlib --extern aho_corasick=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libaho_corasick-e528bf4fdf3954ff.rlib --extern thread_local=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libthread_local-e5ce0d44bcaf00e6.rlib --cap-lints allow` Documenting regex_macros v0.1.30 Running `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs --crate-name regex_macros -o /home/cratesfyi/regex_macros-0.1.30/doc -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern regex=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libregex-a1c323daba09617d.rlib` .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:35:49: 35:63 error: unresolved import `regex::internal::ProgramBuilder`. There is no `ProgramBuilder` in `regex::internal` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:35 use regex::internal::{Inst, EmptyLook, Program, ProgramBuilder}; ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:61:55: 61:69 error: type name `ast::TokenTree` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:61 fn native(cx: &mut ExtCtxt, sp: codemap::Span, tts: &[ast::TokenTree]) ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:61:55: 61:69 help: you can import it into scope: `use syntax::tokenstream::TokenTree;`. .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:537:35: 537:49 error: type name `ast::TokenTree` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:537 fn parse(cx: &mut ExtCtxt, tts: &[ast::TokenTree]) -> Option<String> { ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:537:35: 537:49 help: you can import it into scope: `use syntax::tokenstream::TokenTree;`. .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:101:42: 101:54 error: no method named `num_captures` found for type `regex::internal::Program` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:101 let num_cap_locs = 2 * self.prog.num_captures(); ^~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:112:29: 112:53 error: attempted access of field `anchored_begin` on type `regex::internal::Program`, but no field with that name was found .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:112 let prefix_anchor = self.prog.anchored_begin; ^~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:112:39: 112:53 help: did you mean `is_anchored_end`? .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:112 let prefix_anchor = self.prog.anchored_begin; ^~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:411:17: 411:28 error: `Inst::Match` does not name a unit variant, unit struct or a constant [E0533] .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:411 Inst::Match => quote_expr!(self.cx, { ^~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:539:23: 539:42 error: the type of this value must be known in this context .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs:539 if let Ok(expr) = parser.parse_expr() { ^~~~~~~~~~~~~~~~~~~ error: Compilation failed, aborting rustdoc thread 'main' panicked at 'ChainedError { error: failed to compile `regex_macros v0.1.30`, intermediate artifacts can be found at `/home/cratesfyi/regex_macros-0.1.30`, cause: ChainedError { error: Could not document `regex_macros`., cause: Process didn't exit successfully: `rustdoc .cargo/registry/src/github.com-1ecc6299db9ec823/regex_macros-0.1.30/src/lib.rs --crate-name regex_macros -o /home/cratesfyi/regex_macros-0.1.30/doc -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug -L dependency=/home/cratesfyi/regex_macros-0.1.30/debug/deps --extern regex=/home/cratesfyi/regex_macros-0.1.30/debug/deps/libregex-a1c323daba09617d.rlib` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.