hexfloat 0.1.3

Syntax extension to create floating point literals from hexadecimal strings
Build #57529 2017-06-05 17:23:02

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.19.0-dev (28a93c1f4 2017-05-31)# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading hexfloat v0.1.3
Documenting hexfloat v0.1.3
Running `rustdoc --crate-name hexfloat .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error: invalid suffix `i` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:68:21
|
68 |     let mut d_len = 0i;
|                     ^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `i` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:73:21
|
73 |     let mut f_len = 0i;
|                     ^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `i` for numeric literal
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:83:21
|
83 |     let mut e_len = 0i;
|                     ^^
|
= help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error[E0432]: unresolved import `syntax::codemap::mk_sp`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:43:29
|
43 | use syntax::codemap::{Span, mk_sp};
|                             ^^^^^ no `mk_sp` in `codemap`

error[E0432]: unresolved import `rustc::plugin::Registry`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:49:5
|
49 | use rustc::plugin::Registry;
|     ^^^^^^^^^^^^^^^^^^^^^^^ Could not find `plugin` in `rustc`

error[E0412]: cannot find type `uint` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:58:42
|
58 | fn hex_float_lit_err(s: &str) -> Option<(uint, String)> {
|                                          ^^^^ not found in this scope

error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:94:66
|
94 | pub fn expand_syntax_ext(cx: &mut ExtCtxt, sp: Span, tts: &[ast::TokenTree])
|                                                                  ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;

error[E0425]: cannot find function `get_ident` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:100:52
|
100 |         Some(Ident{ident, span}) => match &*token::get_ident(ident) {
|                                                    ^^^^^^^^^ not found in `token`

error[E0425]: cannot find value `TyF32` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:101:32
|
101 |             "f32" => Some(ast::TyF32),
|                                ^^^^^ not found in `ast`

error[E0425]: cannot find value `TyF64` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:102:32
|
102 |             "f64" => Some(ast::TyF64),
|                                ^^^^^ not found in `ast`

error[E0531]: cannot find tuple struct/variant `ExprLit` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:112:14
|
112 |         ast::ExprLit(ref lit) => match lit.node {
|              ^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use rustc::hir::ExprLit;
| use rustc::hir::Expr_::ExprLit;

error[E0531]: cannot find tuple struct/variant `LitStr` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:114:18
|
114 |             ast::LitStr(ref s, _) => {
|                  ^^^^^^ not found in `ast`

error[E0425]: cannot find function `mk_sp` in module `syntax::codemap`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:133:45
|
133 |                 let span = syntax::codemap::mk_sp(pos,pos);
|                                             ^^^^^ not found in `syntax::codemap`

error[E0425]: cannot find function `LitFloatUnsuffixed` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:145:22
|
145 |         None => ast::LitFloatUnsuffixed(s),
|                      ^^^^^^^^^^^^^^^^^^ not found in `ast`

error[E0425]: cannot find function `LitFloat` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:146:27
|
146 |         Some (ty) => ast::LitFloat(s, ty)
|                           ^^^^^^^^ not found in `ast`

error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:157:26
|
157 |              tts: &[ast::TokenTree]) -> (P<ast::Expr>, Option<Ident>) {
|                          ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;

error[E0277]: the trait bound `str: std::marker::Sized` is not satisfied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:110:9
|
110 |     let s = match expr.node {
|         ^ `str` does not have a constant size known at compile-time
|
= help: the trait `std::marker::Sized` is not implemented for `str`
= note: all local variables must have a statically known size

error: no field `last_span` on type `&mut syntax::parse::parser::Parser<'_>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:166:20
|
166 |         let hi = p.last_span.hi;
|                    ^^^^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:167:27
|
167 |         Some(Ident{ident: ident, span: mk_sp(lo, hi)})
|                           ^^^^^ expected struct `syntax::ast::Ident`, found enum `std::result::Result`
|
= note: expected type `syntax::ast::Ident`
found type `std::result::Result<syntax::ast::Ident, syntax::<unnamed>::DiagnosticBuilder<'_>>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
- .unwrap_err()

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:172:6
|
172 |     (ex, id)
|      ^^ expected struct `syntax::ptr::P`, found enum `std::result::Result`
|
= note: expected type `syntax::ptr::P<_>`
found type `std::result::Result<syntax::ptr::P<_>, syntax::<unnamed>::DiagnosticBuilder<'_>>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
- .unwrap_err()

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'ChainedError {
error: Could not document `hexfloat`.,
cause: process didn't exit successfully: `rustdoc --crate-name hexfloat .cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.