Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue compiling with dynamic-linking feature enabled #210

Open
0x91 opened this issue Feb 3, 2025 · 0 comments
Open

Issue compiling with dynamic-linking feature enabled #210

0x91 opened this issue Feb 3, 2025 · 0 comments

Comments

@0x91
Copy link

0x91 commented Feb 3, 2025

When trying to compile with the dynamic-linking feature, I get the following error:

Compiling deltalake-core v0.23.1 (https://github.com/buoyant-data/delta-rs?branch=default-engine-rustls#4a0fdea8)
error[E0308]: mismatched types
   --> /Users/charlie.stocker/.cargo/git/checkouts/delta-rs-1e6751910be7a795/4a0fdea/crates/core/src/kernel/models/actions.rs:488:9
    |
487 |     fn try_from(value: &TableFeatures) -> Result<Self, Self::Error> {
    |                                           ------------------------- expected `Result<ReaderFeatures, strum::ParseError>` because of return type
488 |         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`
   --> /Users/charlie.stocker/.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`
   --> /Users/charlie.stocker/.cargo/registry/src/index.crates.io-6f17d22bba15001f/strum-0.20.0/src/lib.rs:35:1
    |
35  | pub enum ParseError {
    | ^^^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `strum` are being used?

error[E0308]: mismatched types
   --> /Users/charlie.stocker/.cargo/git/checkouts/delta-rs-1e6751910be7a795/4a0fdea/crates/core/src/kernel/models/actions.rs:496:9
    |
495 |     fn try_from(value: &TableFeatures) -> Result<Self, Self::Error> {
    |                                           ------------------------- expected `Result<WriterFeatures, strum::ParseError>` because of return type
496 |         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`
   --> /Users/charlie.stocker/.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`
   --> /Users/charlie.stocker/.cargo/registry/src/index.crates.io-6f17d22bba15001f/strum-0.20.0/src/lib.rs:35:1
    |
35  | 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

I have no trouble compiling without this feature. The README states that this is required for macOS but I was able to successfully run the project without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant