Describe the bug
Building with rust:1.91.1-bookworm base docker image now throws compilation error:
163.8 error[E0308]: mismatched types
163.8 --> /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/eccodes-0.13.1/src/intermediate_bindings/codes_get.rs:169:9
163.8 |
163.8 166 | let error_code = eccodes_sys::codes_get_string(
163.8 | ----------------------------- arguments to this function are incorrect
163.8 ...
163.8 169 | key_message.as_mut_ptr().cast::<i8>(),
163.8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut u8`, found `*mut i8`
163.8 |
163.8 = note: expected raw pointer `*mut u8`
163.8 found raw pointer `*mut i8`
163.8 note: function defined here
163.8 --> /app/target/release/build/eccodes-sys-4060e2b938cb6f6c/out/bindings.rs:3:155317
163.8 |
163.8 3 | ...: std :: os :: raw :: c_int ; } unsafe extern "C" { pub fn codes_get_string (h : * const codes_handle , key : * const :: std :: os :: ...
163.8 | ^^^^^^^^^^^^^^^^
163.8
163.9 For more information about this error, try `rustc --explain E0308`.
164.0 error: could not compile `eccodes` (lib) due to 1 previous error
164.0 warning: build failed, waiting for other jobs to finish...
This is with the default eccodes library 2.41 and eccodes rust create 0.13.1
Describe the bug
Building with
rust:1.91.1-bookwormbase docker image now throws compilation error:This is with the default eccodes library
2.41and eccodes rust create0.13.1