GNU bug report logs -
#43753
rust-clippy does not provide the clippy command
Previous Next
To reply to this bug, email your comments to 43753 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#43753
; Package
guix
.
(Fri, 02 Oct 2020 00:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Luis Felipe <luis.felipe.la <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 02 Oct 2020 00:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I'm using guix b61e057 in the Guix System.
After installing rust-clippy (version 0.0.302), the "clippy" command is not found.
## Steps to reproduce
1. Open a terminal.
2. $ cd some-rust-project
3. $ cargo clippy
## Expected result
Clippy lints the project.
## Unexpected result
error: no such subcommand: `clippy`
## Additional information
Running the "rust-run-clippy" in Emacs results in the same error.
In the #guix channel, mroh checked the "rust-clippy" package and mentioned that it doesn't seem to have any output, which looks like a bug.
---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
Information forwarded
to
bug-guix <at> gnu.org
:
bug#43753
; Package
guix
.
(Fri, 02 Oct 2020 09:47:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 43753 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Luis Felipe via Bug reports for GNU Guix 写道:
> In the #guix channel, mroh checked the "rust-clippy" package and
> mentioned that it doesn't seem to have any output, which looks
> like a bug.
No, it's intentional:
(arguments
`(#:skip-build? #t
This means that Clippy was packaged to satisfy a dependency of
another package, but not (yet) to be useful on its own.
When I try to build it, I get:
--8<---------------cut here---------------start------------->8---
error: failed to run custom build command for `clippy v0.0.302
Caused by:
process didn't exit successfully:
`/tmp/guix-build-rust-clippy-0.0.302.drv-0/clippy-0.0.302/target/release/build/clippy-bee5bea0d583d718/build-script-build`
(exit code: 1)
--- stderr
error: Clippy is no longer available via crates.io
help: please run `rustup component add clippy-preview` instead
--8<---------------cut here---------------end--------------->8---
It seems[0] to track Rust releases now.
Kind regards,
T G-R
[0]: https://github.com/rust-lang/rust-clippy/releases
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#43753
; Package
guix
.
(Fri, 02 Oct 2020 09:48:01 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 138 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.