[go: up one dir, main page]

tolk 0.1.0

bindings to tolk.dll, a library to talk to screen readers
Build #42814 2017-02-26 14:34:35

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.17.0-nightly (0f34b532a 2017-02-21)# docs.rs version
cratesfyi 0.3.1 (35080d4 2017-01-24)# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading tolk v0.1.0
Compiling libc v0.2.20
Running `rustc --crate-name libc .cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.20/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=2a4507ee5e52ea3e -C extra-filename=-2a4507ee5e52ea3e --out-dir /home/cratesfyi/tolk-0.1.0/debug/deps -L dependency=/home/cratesfyi/tolk-0.1.0/debug/deps --cap-lints allow`
Compiling tolk-sys v0.1.0
Running `rustc --crate-name tolk_sys .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-sys-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e87dea64e6525dc6 -C extra-filename=-e87dea64e6525dc6 --out-dir /home/cratesfyi/tolk-0.1.0/debug/deps -L dependency=/home/cratesfyi/tolk-0.1.0/debug/deps --extern libc=/home/cratesfyi/tolk-0.1.0/debug/deps/liblibc-2a4507ee5e52ea3e.rlib --cap-lints allow`
Documenting tolk v0.1.0
Running `rustdoc --crate-name tolk .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-0.1.0/src/lib.rs -o /home/cratesfyi/tolk-0.1.0/doc -L dependency=/home/cratesfyi/tolk-0.1.0/debug/deps --extern tolk_sys=/home/cratesfyi/tolk-0.1.0/debug/deps/libtolk_sys-e87dea64e6525dc6.rlib`
error[E0432]: unresolved import `std::os::windows::ffi::OsStrExt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-0.1.0/src/lib.rs:4:5
|
4 | use std::os::windows::ffi::OsStrExt;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `windows` in `os`

error: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-0.1.0/src/lib.rs:51:19
|
51 |     OsStr::new(s).encode_wide().chain(Some(0).into_iter()).collect::<Vec<_>>().as_ptr()
|                   ^^^^^^^^^^^

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-0.1.0/src/lib.rs:18:45
|
18 |         unsafe { return string_from_wchar_t(Tolk_DetectScreenReader());}
|                                             ^^^^^^^^^^^^^^^^^^^^^^^^^ expected u16, found i32
|
= help: here are some functions which might fulfill your needs:
- .offset(...)
- .wrapping_offset(...)

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-0.1.0/src/lib.rs:22:30
|
22 |         unsafe { Tolk_Output(str_to_wchar_t(s), true)};
|                              ^^^^^^^^^^^^^^^^^ expected i32, found u16
|
= help: here are some functions which might fulfill your needs:
- .offset(...)
- .wrapping_offset(...)

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-0.1.0/src/lib.rs:27:33
|
27 |             unsafe { Tolk_Speak(str_to_wchar_t(s), true)};
|                                 ^^^^^^^^^^^^^^^^^ expected i32, found u16
|
= help: here are some functions which might fulfill your needs:
- .offset(...)
- .wrapping_offset(...)

error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/tolk-0.1.0/src/lib.rs:36:35
|
36 |             unsafe { Tolk_Braille(str_to_wchar_t(s))};
|                                   ^^^^^^^^^^^^^^^^^ expected i32, found u16
|
= help: here are some functions which might fulfill your needs:
- .offset(...)
- .wrapping_offset(...)

error: Compilation failed, aborting rustdoc

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