Open clavelm opened 5 months ago
Hey thanks for bringing up attention to this, we will have a look at them asap
could you tell me your os and rust version please.
Rust was not updated when I submitted this issue, and the unused imports warning came from that.
I’m building on an ubuntu running in a docker container.
❯ uname -a
Linux a9f4dea95e00 4.4.302+ #69057 SMP Fri Jan 12 17:02:28 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
In ~:
❯ rustc --version
rustc 1.77.2 (25ef9e3d8 2024-04-09)
In my local eza repo, overridden by './rust-toolchain.toml':
❯ rustc --version
rustc 1.70.0 (90c541806 2023-05-31)
❯ cargo install --path .
Installing eza v0.18.11 (/root/eza)
Updating crates.io index
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead
--> src/fs/file.rs:740:24
|
740 | NaiveDateTime::from_timestamp_opt(self.metadata.ctime(), self.metadata.ctime_nsec() as u32)
| ^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: `eza` (lib) generated 1 warning
warning: `eza` (bin "eza") generated 1 warning (1 duplicate)
Finished release [optimized] target(s) in 7.21s
Replacing /root/.cargo/bin/eza
Replaced package `eza v0.18.11 (/root/eza)` with `eza v0.18.11 (/root/eza)` (executable `eza`)
I’m not sure where to put this as it’s not a bug, nor a compilation error.
When building eza v0.18.11 with cargo with cargo, I’m getting warnings. I am in a local git repo, in detached head on the commit corresponding to the tag v0.18.11.