Source: rust-subversion
Version: 0.0.8-3
Tags: ftbfs
rust-subversion FTBFS everywhere except on amd64, mips64el, and
loong64.
Example log from arm64:
https://buildd.debian.org/status/fetch.php?pkg=rust-subversion&arch=arm64&ver=0.0.8-3&stamp=1744759574&raw=0
Most of the issues appear to be some pointer definition mismatch for
dirent...
--> src/dirent.rs:44:14
|
44 | Self(cstr.as_ptr(), std::marker::PhantomData)
| ---- ^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
| |
| arguments to this function are incorrect
|
= note: expected raw pointer `*const i8`
found raw pointer `*const u8`
note: tuple struct defined here
--> src/dirent.rs:6:12
|
6 | pub struct Dirent<'a>(*const i8, std::marker::PhantomData<&'a ()>);
| ^^^^^^
error[E0308]: mismatched types
but also ...
error[E0308]: mismatched types
--> src/uri.rs:191:51
|
191 | let t = unsafe { std::ffi::CStr::from_ptr(uri.as_ptr()) };
| ------------------------ ^^^^^^^^^^^^ expected
`*const u8`, found `*const i8`
| |
| arguments to this function are incorrect
|
= note: expected raw pointer `*const u8`
found raw pointer `*const i8`
note: associated function defined here
--> /usr/src/rustc-1.85.0/library/core/src/ffi/c_str.rs:276:25