16:04.32 error[E0308]: mismatched types
16:04.32 --> /var/tmp/portage/www-client/firefox-107.0/work/firefox-107.0/third_party/rust/cubeb-backend/src/log.rs:71:22
16:04.32 |
16:04.32 71 | log_callback(buf.as_cstr().as_ptr());
16:04.32 | ------------ ^^^^^^^^^^^^^^^^^^^^^^ expected `i8`, found `u8`
16:04.32 | |
16:04.32 | arguments to this function are incorrect
16:04.32 |
16:04.32 = note: expected raw pointer `*const i8`
16:04.32 found raw pointer `*const u8`
16:04.33 For more information about this error, try `rustc --explain E0308`.
16:04.34 error: could not compile `cubeb-backend` due to previous error
16:04.34 Caused by:
16:04.34 process didn't exit successfully: `CARGO=/usr/lib/rust/1.63.0/bin/cargo-1.63.0 CARGO_CRATE_NAME=cubeb_backend CARGO_MANIFEST_DIR=/var/tmp/portage/www-client/firefox-107.0/work/firefox-107.0/third_party/rust/cubeb-backend CARGO_PKG_AUTHORS='Dan Glastonbury <dglastonbury@mozilla.com>' CARGO_PKG_DESCRIPTION='Bindings to libcubeb internals to facilitate implementing cubeb backends in rust.
I got this error when compiling firefox nightly:
here is the full build log: build.log.gz
I will open a seperate bugzilla issue to track any progress, and link it back.