$ cargo install bdt
Updating crates.io index
Downloaded bdt v0.18.0
Downloaded 1 crate (31.0 KB) in 0.43s
Installing bdt v0.18.0
Updating crates.io index
Locking 316 packages to latest compatible versions
Adding async-compression v0.4.19 (available: v0.4.23)
Adding comfy-table v6.2.0 (available: v7.1.4)
Adding datafusion v35.0.0 (available: v47.0.0)
Adding thiserror v1.0.69 (available: v2.0.12)
Downloaded adler32 v1.2.0
Downloaded allocator-api2 v0.2.21
<truncated>
Compiling arrow-ord v50.0.0
Compiling arrow-arith v50.0.0
error[E0034]: multiple applicable items in scope
--> /home/ubuntu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:238:47
|
238 | time_fraction_dyn(array, "quarter", |t| t.quarter() as i32)
| ^^^^^^^ multiple `quarter` found
|
= note: candidate #1 is defined in an impl of the trait `Datelike` for the type `NaiveDateTime`
note: candidate #2 is defined in an impl of the trait `ChronoDateExt` for the type `T`
--> /home/ubuntu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:147:5
|
147 | fn quarter(&self) -> u32 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the method for candidate #1
|
238 - time_fraction_dyn(array, "quarter", |t| t.quarter() as i32)
238 + time_fraction_dyn(array, "quarter", |t| Datelike::quarter(&t) as i32)
|
help: disambiguate the method for candidate #2
|
238 - time_fraction_dyn(array, "quarter", |t| t.quarter() as i32)
238 + time_fraction_dyn(array, "quarter", |t| ChronoDateExt::quarter(&t) as i32)
|
error[E0034]: multiple applicable items in scope
--> /home/ubuntu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:248:52
|
248 | time_fraction_internal(array, "quarter", |t| t.quarter() as i32)
| ^^^^^^^ multiple `quarter` found
|
= note: candidate #1 is defined in an impl of the trait `Datelike` for the type `NaiveDateTime`
note: candidate #2 is defined in an impl of the trait `ChronoDateExt` for the type `T`
--> /home/ubuntu/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-50.0.0/src/temporal.rs:147:5
|
147 | fn quarter(&self) -> u32 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the method for candidate #1
|
248 - time_fraction_internal(array, "quarter", |t| t.quarter() as i32)
248 + time_fraction_internal(array, "quarter", |t| Datelike::quarter(&t) as i32)
|
help: disambiguate the method for candidate #2
|
248 - time_fraction_internal(array, "quarter", |t| t.quarter() as i32)
248 + time_fraction_internal(array, "quarter", |t| ChronoDateExt::quarter(&t) as i32)
|
For more information about this error, try `rustc --explain E0034`.
error: could not compile `arrow-arith` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `bdt v0.18.0`, intermediate artifacts can be found at `/tmp/cargo-install2qyioV`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
Install command:
Environment: