clippy_lints 0.0.206

A bunch of helpful lints to avoid common pitfalls in Rust
Documentation

Build #101443 2018-05-29 10:01:52

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 clippy_lints v0.0.206 Fresh itoa v0.4.1 Fresh semver-parser v0.7.0 Fresh if_chain v0.1.2 Fresh bitflags v0.9.1 Fresh ucd-util v0.1.1 Fresh quine-mc_cluskey v0.2.4 Fresh percent-encoding v1.0.1 Fresh dtoa v0.4.2 Fresh rustc-demangle v0.1.8 Fresh cc v1.0.15 Fresh cfg-if v0.1.3 Fresh libc v0.2.41 Fresh unicode-xid v0.1.0 Fresh matches v0.1.6 Fresh regex-syntax v0.6.0 Fresh unicode-normalization v0.1.7 Fresh either v1.5.0 Fresh getopts v0.2.17 Fresh proc-macro2 v0.4.4 Fresh unicode-bidi v0.3.4 Fresh pkg-config v0.3.11 Fresh lazy_static v1.0.1 Compiling serde v1.0.63 Fresh itertools v0.7.8 Fresh quote v0.6.3 Fresh idna v0.1.4 Running `rustc --crate-name serde .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=f2d60ad5195a964a -C extra-filename=-f2d60ad5195a964a --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow --cfg de_boxed_c_str --cfg de_rc_dst --cfg integer128` Fresh backtrace-sys v0.1.22 Fresh backtrace v0.3.8 Fresh error-chain v0.11.0 Fresh syn v0.14.1 Fresh url v1.7.0 Fresh serde_derive v1.0.63 Fresh pulldown-cmark v0.1.2 error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/value.rs:242:29 | 242 | primitive_deserializer!(i128, "an `i128`.", I128Deserializer, visit_i128); | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/value.rs:243:29 | 243 | primitive_deserializer!(u128, "a `u128`.", U128Deserializer, visit_u128); | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:183:28 | 183 | impl FromPrimitive for i128 { | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:186:23 | 186 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:190:23 | 190 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:194:23 | 194 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:198:23 | 198 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:202:23 | 202 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:206:23 | 206 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:210:23 | 210 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:214:23 | 214 | Some(n as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:218:28 | 218 | impl FromPrimitive for u128 { | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:222:27 | 222 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:230:27 | 230 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:238:27 | 238 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:246:27 | 246 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:253:23 | 253 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:257:23 | 257 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:261:23 | 261 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/from_primitive.rs:265:23 | 265 | Some(n as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:170:36 | 170 | impl<'de> Deserialize<'de> for i128 { | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:179:30 | 179 | type Value = i128; | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:188:43 | 188 | fn visit_i128<E>(self, v: i128) -> Result<Self::Value, E> | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:196:43 | 196 | fn visit_u128<E>(self, v: u128) -> Result<Self::Value, E> | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:200:29 | 200 | if v <= i128::max_value() as u128 { | ^^^^^^^^^^^^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:200:50 | 200 | if v <= i128::max_value() as u128 { | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:201:33 | 201 | Ok(v as i128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:212:36 | 212 | impl<'de> Deserialize<'de> for u128 { | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:221:30 | 221 | type Value = u128; | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:230:43 | 230 | fn visit_i128<E>(self, v: i128) -> Result<Self::Value, E> | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:235:33 | 235 | Ok(v as u128) | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/impls.rs:242:43 | 242 | fn visit_u128<E>(self, v: u128) -> Result<Self::Value, E> | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/mod.rs:1344:35 | 1344 | fn visit_i128<E>(self, v: i128) -> Result<Self::Value, E> | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/de/mod.rs:1404:35 | 1404 | fn visit_u128<E>(self, v: u128) -> Result<Self::Value, E> | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/ser/impls.rs:20:28 | 20 | impl Serialize for $ty { | ^^^ ... 48 | primitive_impl!(i128, serialize_i128); | -------------------------------------- in this macro invocation | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/ser/impls.rs:20:28 | 20 | impl Serialize for $ty { | ^^^ ... 49 | primitive_impl!(u128, serialize_u128); | -------------------------------------- in this macro invocation | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/ser/mod.rs:536:36 | 536 | fn serialize_i128(self, v: i128) -> Result<Self::Ok, Self::Error> { | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error[E0658]: 128-bit type is unstable (see issue #35118) --> .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/ser/mod.rs:671:36 | 671 | fn serialize_u128(self, v: u128) -> Result<Self::Ok, Self::Error> { | ^^^^ | = help: add #![feature(i128_type)] to the crate attributes to enable error: aborting due to 38 previous errors For more information about this error, try `rustc --explain E0658`. thread 'main' panicked at 'Error( CargoError( ChainedError { error: Could not compile `serde`., cause: process didn't exit successfully: `rustc --crate-name serde .cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.63/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg feature="default" --cfg feature="std" -C metadata=f2d60ad5195a964a -C extra-filename=-f2d60ad5195a964a --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow --cfg de_boxed_c_str --cfg de_rc_dst --cfg integer128` (exit code: 101) } ), State { next_error: None, backtrace: None } )', src/bin/cratesfyi.rs:142:13 note: Run with `RUST_BACKTRACE=1` for a backtrace.