Source: nvda2speechd Version: 0.1-5 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
Hi,
nvda2speechd recently started to FTBFS.
It probably downloads different crates during build than last week ...
error[E0308]: mismatched types
-->
/build/nvda2speechd-0.1/tmp/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.15.1/src/lib.rs:273:36
|
273 | (*c).callback_begin = Some(cb);
| ^^ expected `u64`, found `usize`
|
= note: expected fn pointer `unsafe extern "C" fn(u64, u64, _)`
found fn item `unsafe extern "C" fn(usize, usize, _) {cb}`
error[E0308]: mismatched types
-->
/build/nvda2speechd-0.1/tmp/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.15.1/src/lib.rs:274:34
|
274 | (*c).callback_end = Some(cb);
| ^^ expected `u64`, found `usize`
|
= note: expected fn pointer `unsafe extern "C" fn(u64, u64, _)`
found fn item `unsafe extern "C" fn(usize, usize, _) {cb}`
error[E0308]: mismatched types
-->
/build/nvda2speechd-0.1/tmp/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.15.1/src/lib.rs:275:37
|
275 | (*c).callback_cancel = Some(cb);
| ^^ expected `u64`, found `usize`
|
= note: expected fn pointer `unsafe extern "C" fn(u64, u64, _)`
found fn item `unsafe extern "C" fn(usize, usize, _) {cb}`
error[E0308]: mismatched types
-->
/build/nvda2speechd-0.1/tmp/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.15.1/src/lib.rs:276:36
|
276 | (*c).callback_pause = Some(cb);
| ^^ expected `u64`, found `usize`
|
= note: expected fn pointer `unsafe extern "C" fn(u64, u64, _)`
found fn item `unsafe extern "C" fn(usize, usize, _) {cb}`
error[E0308]: mismatched types
-->
/build/nvda2speechd-0.1/tmp/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.15.1/src/lib.rs:277:37
|
277 | (*c).callback_resume = Some(cb);
| ^^ expected `u64`, found `usize`
|
= note: expected fn pointer `unsafe extern "C" fn(u64, u64, _)`
found fn item `unsafe extern "C" fn(usize, usize, _) {cb}`
error[E0308]: mismatched types
-->
/build/nvda2speechd-0.1/tmp/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.15.1/src/lib.rs:278:33
|
278 | (*c).callback_im = Some(cb_im);
| ^^^^^ expected `u64`, found `usize`
|
= note: expected fn pointer `unsafe extern "C" fn(u64, u64, _, _)`
found fn item `unsafe extern "C" fn(usize, usize, _, _)
{cb_im}`
For more information about this error, try `rustc --explain E0308`.
error: could not compile `speech-dispatcher` due to 6 previous errors
Caused by:
process didn't exit successfully: `rustc --crate-name speech_dispatcher
--edition=2021
/build/nvda2speechd-0.1/tmp/registry/src/github.com-1ecc6299db9ec823/speech-dispatcher-0.15.1/src/lib.rs
--error-format=json --json=diagnostic-rendered-ansi --crate-type lib
--emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg
'feature="0_10"' --cfg 'feature="0_11"' --cfg 'feature="default"' -C
metadata=9e545f3f8c39f4ea -C extra-filename=-9e545f3f8c39f4ea --out-dir
/build/nvda2speechd-0.1/src/server/target/x86_64-unknown-linux-gnu/release/deps
--target x86_64-unknown-linux-gnu -L
dependency=/build/nvda2speechd-0.1/src/server/target/x86_64-unknown-linux-gnu/release/deps
-L dependency=/build/nvda2speechd-0.1/src/server/target/release/deps --extern
lazy_static=/build/nvda2speechd-0.1/src/server/target/x86_64-unknown-linux-gnu/release/deps/liblazy_static-ac37d2380b0cc4a6.rmeta
--extern
libc=/build/nvda2speechd-0.1/src/server/target/x86_64-unknown-linux-gnu/release/deps/liblibc-49c171b24e724ec2.rmeta
--extern
speech_dispatcher_sys=/build/nvda2speechd-0.1/src/server/target/x86_64-unknown-linux-gnu/release/deps/libspeech_dispatcher_sys-a23202149dfc8f5f.rmeta
--cap-lints allow` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
Andreas
nvda2speechd_0.1-5.log.gz
Description: application/gzip

