Git Product home page Git Product logo

Comments (5)

willbasky avatar willbasky commented on July 17, 2024

There is one, not building though.

   Compiling trashy v1.0.2
error: there is no argument named `table`
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/list.rs:150:29
    |
150 |     writeln!(io::stdout(), "{table}").context("Printing table")?;
    |                             ^^^^^^^

error: there is no argument named `humantime`
   --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/list.rs:238:14
    |
238 |     format!("{humantime}")
    |              ^^^^^^^^^^^

error: there is no argument named `len`
  --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/utils.rs:16:15
   |
16 |     println!("{len} item{plural} will be {action_name}");
   |               ^^^^^

error: there is no argument named `plural`
  --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/utils.rs:16:25
   |
16 |     println!("{len} item{plural} will be {action_name}");
   |                         ^^^^^^^^

error: there is no argument named `action_name`
  --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/utils.rs:16:42
   |
16 |     println!("{len} item{plural} will be {action_name}");
   |                                          ^^^^^^^^^^^^^

error: there is no argument named `s`
 --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/print.rs:6:19
  |
6 |     eprintln!("{} {s}", Red.bold().paint("error:"));
  |                   ^^^

error: there is no argument named `e`
  --> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/main.rs:19:58
   |
19 |         Err(e) => ExitCode::Error.exit_with_msg(format!("{e:#}")),
   |                                                          ^^^^^

error: failed to compile `trashy v1.0.2`, intermediate artifacts can be found at `/tmp/cargo-installRSVjLh`

Caused by:
  could not compile `trashy` due to 7 previous errors

from trashy.

sanpii avatar sanpii commented on July 17, 2024

@willbasky You need a more recent rustc version (>= 1.59 if I recall well).

It’s probably a good idea to set rust-version in Cargo.toml.

from trashy.

oberblastmeister avatar oberblastmeister commented on July 17, 2024

I set the rust-version in 0070756. @willbasky, does it work if you use the correct rust version?

from trashy.

tonydero avatar tonydero commented on July 17, 2024

There is one, not building though.

Ah, there wasn't when I asked. People move quick! I was going to offer to attempt it, but I would rather have someone directly involved with the project create the AUR package personally. Better chance of it continuing to work.

from trashy.

willbasky avatar willbasky commented on July 17, 2024

@sanpii thanks, an update to last version helped.
@oberblastmeister yes, thanks.

from trashy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.