mag1cfrog commented on issue #14842: URL: https://github.com/apache/datafusion/issues/14842#issuecomment-2679777967
not sure really relevant, but I'm also having some compilation issue when trying to use deltalake with datafusion in Rust. Here's what I get: ```bash Compiling datafusion v44.0.0 Compiling datafusion-proto v44.0.0 Compiling deltalake-core v0.24.0 error[E0308]: mismatched types --> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deltalake-core-0.24.0/src/kernel/models/actions.rs:567:9 | 566 | fn try_from(value: &TableFeatures) -> Result<Self, Self::Error> { | ------------------------- expected `Result<ReaderFeatures, strum::ParseError>` because of return type 567 | ReaderFeatures::try_from(value.as_ref()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `strum::ParseError`, found a different `strum::ParseError` | = note: `strum::ParseError` and `strum::ParseError` have similar names, but are actually distinct types note: `strum::ParseError` is defined in crate `strum` --> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/strum-0.26.3/src/lib.rs:42:1 | 42 | pub enum ParseError { | ^^^^^^^^^^^^^^^^^^^ note: `strum::ParseError` is defined in crate `strum` --> /home/hanbo/.cargo/git/checkouts/strum-222d21164b266718/cc240c3/strum/src/lib.rs:42:1 | 42 | pub enum ParseError { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `strum` are being used? error[E0308]: mismatched types --> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deltalake-core-0.24.0/src/kernel/models/actions.rs:575:9 | 574 | fn try_from(value: &TableFeatures) -> Result<Self, Self::Error> { | ------------------------- expected `Result<WriterFeatures, strum::ParseError>` because of return type 575 | WriterFeatures::try_from(value.as_ref()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `strum::ParseError`, found a different `strum::ParseError` | = note: `strum::ParseError` and `strum::ParseError` have similar names, but are actually distinct types note: `strum::ParseError` is defined in crate `strum` --> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/strum-0.26.3/src/lib.rs:42:1 | 42 | pub enum ParseError { | ^^^^^^^^^^^^^^^^^^^ note: `strum::ParseError` is defined in crate `strum` --> /home/hanbo/.cargo/git/checkouts/strum-222d21164b266718/cc240c3/strum/src/lib.rs:42:1 | 42 | pub enum ParseError { | ^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `strum` are being used? For more information about this error, try `rustc --explain E0308`. error: could not compile `deltalake-core` (lib) due to 2 previous errors ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org