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

chrono 0.4.40 breaks the latest #7202

Closed
rtyler opened this issue Feb 26, 2025 · 2 comments
Closed

chrono 0.4.40 breaks the latest #7202

rtyler opened this issue Feb 26, 2025 · 2 comments
Labels
bug development-process Related to development process of arrow-rs

Comments

@rtyler
Copy link
Contributor

rtyler commented Feb 26, 2025

Describe the bug

error[E0034]: multiple applicable items in scope
   --> /home/tyler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-arith-54.2.0/src/temporal.rs:92:36
    |
92  |         DatePart::Quarter => |d| d.quarter() as i32,
    |                                    ^^^^^^^ multiple `quarter` found
    |
note: candidate #1 is defined in the trait `ChronoDateExt`
   --> /home/tyler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-arith-54.2.0/src/temporal.rs:638:5
    |
638 |     fn quarter(&self) -> u32;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `Datelike`
   --> /home/tyler/.cargo/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.40/src/traits.rs:47:5
    |
47  |     fn quarter(&self) -> u32 {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the method for candidate #1
    |
92  |         DatePart::Quarter => |d| ChronoDateExt::quarter(&d) as i32,
    |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
help: disambiguate the method for candidate #2
    |
92  |         DatePart::Quarter => |d| Datelike::quarter(&d) as i32,
    |                                  ~~~~~~~~~~~~~~~~~~~~~

For more information about this error, try `rustc --explain E0034`.
error: could not compile `arrow-arith` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

To Reproduce

Building delta-rs with arrow 54.2.0

Expected behavior

Additional context

@rtyler rtyler added the bug label Feb 26, 2025
@AmosAidoo
Copy link

Hey @rtyler
I noticed this commit earlier today was supposed to address this issue but the ci failed: 2fddf85

@tustvold
Copy link
Contributor

This is a duplicate of #7196

@tustvold tustvold added the development-process Related to development process of arrow-rs label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug development-process Related to development process of arrow-rs
Projects
None yet
Development

No branches or pull requests

3 participants