Skip to content

I dont know I am a noob sorry this is my first issue|| #12

@Manasvin5

Description

@Manasvin5

git clone https://github.com/irevenko/ferris-fetch.git
cd ferris-fetch
cargo build
ran these commands and got this error in linux mint


manasvin5@Manasvin-Mint-desktop:~$ cd ferris-fetch
manasvin5@Manasvin-Mint-desktop:~/ferris-fetch$ cargo build
    Updating crates.io index
  Downloaded cfg-if v1.0.0
  Downloaded colored v2.1.0
  Downloaded lazy_static v1.4.0
  Downloaded whoami v1.5.1
  Downloaded sysinfo v0.23.13
  Downloaded 5 crates (184.8 KB) in 2.16s
   Compiling libc v0.2.153
   Compiling sysinfo v0.23.13
   Compiling lazy_static v1.4.0
   Compiling cfg-if v1.0.0
   Compiling once_cell v1.19.0
   Compiling colored v2.1.0
   Compiling whoami v1.5.1
   Compiling ferris-fetch v1.2.4 (/home/manasvin5/ferris-fetch)
warning: use of deprecated function `whoami::hostname`: use `fallible::hostname()` instead
  --> src/main.rs:85:17
   |
85 |         whoami::hostname().bright_red().bold()
   |                 ^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated function `whoami::hostname`: use `fallible::hostname()` instead
  --> src/main.rs:87:67
   |
87 |     let splitline = "═".repeat(whoami::username().len() + whoami::hostname().len() + 1);
   |                                                                   ^^^^^^^^

warning: `ferris-fetch` (bin "ferris-fetch") generated 2 warnings
    Finished dev [unoptimized + debuginfo] target(s) in 17.92s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions