Skip to content

Fails to install latest #8

@alexkreidler

Description

@alexkreidler
cargo install tbl-cli
    Updating crates.io index
  Downloaded tbl-cli v0.1.1
  Downloaded 1 crate (35.0 KB) in 0.50s
  Installing tbl-cli v0.1.1
    Updating crates.io index
     Locking 346 packages to latest compatible versions
      Adding built v0.7.7 (available: v0.8.0)
      Adding polars v0.41.3 (available: v0.47.1)
      Adding thiserror v1.0.69 (available: v2.0.12)
      Adding zstd-safe v7.2.1 (available: v7.2.4)
      Adding zstd-sys v2.0.12+zstd.1.5.6 (available: v2.0.15+zstd.1.5.7)
  Downloaded array-init-cursor v0.2.1
  Downloaded recursive v0.1.1
<truncated>
   Compiling brotli v6.0.0
   Compiling arrow-row v52.2.0
   Compiling arrow-arith v52.2.0
error[E0034]: multiple applicable items in scope
   --> /Users/al/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-52.2.0/src/temporal.rs:90:36
    |
90  |         DatePart::Quarter => |d| d.quarter() as i32,
    |                                    ^^^^^^^ multiple `quarter` found
    |
note: candidate #1 is defined in the trait `ChronoDateExt`
   --> /Users/al/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-arith-52.2.0/src/temporal.rs:401:5
    |
401 |     fn quarter(&self) -> u32;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `Datelike`
   --> /Users/al/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/chrono-0.4.41/src/traits.rs:47:5
    |
47  |     fn quarter(&self) -> u32 {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^
help: disambiguate the method for candidate #1
    |
90  -         DatePart::Quarter => |d| d.quarter() as i32,
90  +         DatePart::Quarter => |d| ChronoDateExt::quarter(&d) as i32,
    |
help: disambiguate the method for candidate #2
    |
90  -         DatePart::Quarter => |d| d.quarter() as i32,
90  +         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...
error: failed to compile `tbl-cli v0.1.1`, intermediate artifacts can be found at `/var/folders/39/2jxzp5311sx4ryz_8js7zcx80000gn/T/cargo-installhTUW06`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

On Apple M3, MacOS 14.6 build 23G80, Darwin Kernel Version 23.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions