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.33.0-nightly (adbfec229 2018-12-17)# docs.rs version
cratesfyi 0.6.0 (2f681cd 2018-12-20)# build log
Updating crates.io index
Downloading crates ...
Downloaded randomize v2.0.0
Compiling typenum v1.10.0
Running `rustc --crate-name build_script_main /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/typenum-1.10.0/build/main.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="i128"' -C metadata=5f7df371b0a6c33f -C extra-filename=-5f7df371b0a6c33f --out-dir /home/cratesfyi/cratesfyi/debug/build/typenum-5f7df371b0a6c33f -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `/home/cratesfyi/cratesfyi/debug/build/typenum-5f7df371b0a6c33f/build-script-main`
Running `rustc --crate-name typenum /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/typenum-1.10.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="i128"' -C metadata=9f82a475f7dedf65 -C extra-filename=-9f82a475f7dedf65 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Documenting randomize v2.0.0
Running `rustdoc --edition=2018 --crate-name randomize /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/randomize-2.0.0/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc --cfg 'feature="default"' -Z unstable-options --resource-suffix -20181217-1.33.0-nightly-adbfec229 --extern-html-root-url 'serde_derive=https://docs.rs/serde_derive/1.0.84' --extern-html-root-url 'serde=https://docs.rs/serde/1.0.84' --extern-html-root-url 'typenum=https://docs.rs/typenum/1.10.0' --extern-html-root-url 'proptest=https://docs.rs/proptest/0.8.7' -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern typenum=/home/cratesfyi/cratesfyi/debug/deps/libtypenum-9f82a475f7dedf65.rmeta`
error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/randomize-2.0.0/src/lcg.rs:49:41
|
49 | state.wrapping_mul(mult).wrapping_add(inc.get() | 1)
| ^^^^^^^^^
error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/randomize-2.0.0/src/lcg.rs:54:41
|
54 | state.wrapping_mul(mult).wrapping_add(inc.get() | 1)
| ^^^^^^^^^
error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/randomize-2.0.0/src/lcg.rs:59:41
|
59 | state.wrapping_mul(mult).wrapping_add(inc.get() | 1)
| ^^^^^^^^^
error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/randomize-2.0.0/src/lcg.rs:64:41
|
64 | state.wrapping_mul(mult).wrapping_add(inc.get() | 1)
| ^^^^^^^^^
error[E0015]: calls in constant functions are limited to constant functions, tuple structs and tuple variants
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/randomize-2.0.0/src/lcg.rs:69:41
|
69 | state.wrapping_mul(mult).wrapping_add(inc.get() | 1)
| ^^^^^^^^^
error: Compilation failed, aborting rustdoc
thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `rustdoc --edition=2018 --crate-name randomize /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/randomize-2.0.0/src/lib.rs --cap-lints allow --color never -o /home/cratesfyi/cratesfyi/doc --cfg \'feature=\"default\"\' -Z unstable-options --resource-suffix -20181217-1.33.0-nightly-adbfec229 --extern-html-root-url \'serde_derive=https://docs.rs/serde_derive/1.0.84\' --extern-html-root-url \'serde=https://docs.rs/serde/1.0.84\' --extern-html-root-url \'typenum=https://docs.rs/typenum/1.10.0\' --extern-html-root-url \'proptest=https://docs.rs/proptest/0.8.7\' -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern typenum=/home/cratesfyi/cratesfyi/debug/deps/libtypenum-9f82a475f7dedf65.rmeta` (exit code: 1)", exit: Some(ExitStatus(ExitStatus(256))), output: None }
Could not document `randomize`.', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.