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-nightly (f1140a331 2017-05-08)# docs.rs version
cratesfyi 0.3.4 (cc96115 2017-05-09)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading sysctl v0.1.1
Compiling byteorder v1.0.0
Compiling libc v0.2.22
Running `rustc --crate-name libc .cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.22/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=b057f0656f58b4ca -C extra-filename=-b057f0656f58b4ca --out-dir /home/cratesfyi/sysctl-0.1.1/debug/deps -L dependency=/home/cratesfyi/sysctl-0.1.1/debug/deps --cap-lints allow`
Running `rustc --crate-name byteorder .cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.0.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=190c8b8b4cb7f472 -C extra-filename=-190c8b8b4cb7f472 --out-dir /home/cratesfyi/sysctl-0.1.1/debug/deps -L dependency=/home/cratesfyi/sysctl-0.1.1/debug/deps --cap-lints allow`
Compiling errno v0.2.3
Running `rustc --crate-name errno .cargo/registry/src/github.com-1ecc6299db9ec823/errno-0.2.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e26062265f10ba2f -C extra-filename=-e26062265f10ba2f --out-dir /home/cratesfyi/sysctl-0.1.1/debug/deps -L dependency=/home/cratesfyi/sysctl-0.1.1/debug/deps --extern libc=/home/cratesfyi/sysctl-0.1.1/debug/deps/liblibc-b057f0656f58b4ca.rlib --cap-lints allow`
Documenting sysctl v0.1.1
Running `rustdoc --crate-name sysctl .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs -o /home/cratesfyi/sysctl-0.1.1/doc -L dependency=/home/cratesfyi/sysctl-0.1.1/debug/deps --extern byteorder=/home/cratesfyi/sysctl-0.1.1/debug/deps/libbyteorder-190c8b8b4cb7f472.rlib --extern errno=/home/cratesfyi/sysctl-0.1.1/debug/deps/liberrno-e26062265f10ba2f.rlib --extern libc=/home/cratesfyi/sysctl-0.1.1/debug/deps/liblibc-b057f0656f58b4ca.rlib`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:258:16
|
258 | sysctl(oid.as_ptr(),
| ^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut i32`
found type `*const i32`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:262:16
|
262 | name.as_ptr() as *const c_void,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut libc::c_void`
found type `*const libc::c_void`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:288:16
|
288 | sysctl(qoid.as_ptr(),
| ^^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut i32`
found type `*const i32`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:289:16
|
289 | qoid.len() as u32,
| ^^^^^^^^^^^^^^^^^ expected i32, found u32
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:292:16
|
292 | ptr::null(),
| ^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut libc::c_void`
found type `*const _`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:374:16
|
374 | sysctl(oid.as_ptr(),
| ^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut i32`
found type `*const i32`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:375:16
|
375 | oid.len() as u32,
| ^^^^^^^^^^^^^^^^ expected i32, found u32
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:378:16
|
378 | ptr::null(),
| ^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut libc::c_void`
found type `*const _`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:389:16
|
389 | sysctl(oid.as_ptr(),
| ^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut i32`
found type `*const i32`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:390:16
|
390 | oid.len() as u32,
| ^^^^^^^^^^^^^^^^ expected i32, found u32
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:393:16
|
393 | ptr::null(),
| ^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut libc::c_void`
found type `*const _`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:520:20
|
520 | sysctl(oid.as_ptr(),
| ^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut i32`
found type `*const i32`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:521:20
|
521 | oid.len() as u32,
| ^^^^^^^^^^^^^^^^ expected i32, found u32
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:524:20
|
524 | bytes.as_ptr() as *const c_void,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut libc::c_void`
found type `*const libc::c_void`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:560:16
|
560 | sysctl(qoid.as_ptr(),
| ^^^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut i32`
found type `*const i32`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:561:16
|
561 | qoid.len() as u32,
| ^^^^^^^^^^^^^^^^^ expected i32, found u32
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs:564:16
|
564 | ptr::null(),
| ^^^^^^^^^^^ types differ in mutability
|
= note: expected type `*mut libc::c_void`
found type `*const _`
error: Compilation failed, aborting rustdoc
thread 'main' panicked at 'ChainedError {
error: Could not document `sysctl`.,
cause: process didn't exit successfully: `rustdoc --crate-name sysctl .cargo/registry/src/github.com-1ecc6299db9ec823/sysctl-0.1.1/src/lib.rs -o /home/cratesfyi/sysctl-0.1.1/doc -L dependency=/home/cratesfyi/sysctl-0.1.1/debug/deps --extern byteorder=/home/cratesfyi/sysctl-0.1.1/debug/deps/libbyteorder-190c8b8b4cb7f472.rlib --extern errno=/home/cratesfyi/sysctl-0.1.1/debug/deps/liberrno-e26062265f10ba2f.rlib --extern libc=/home/cratesfyi/sysctl-0.1.1/debug/deps/liblibc-b057f0656f58b4ca.rlib` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.