-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: rustGeneral-purpose programming language emphasizing performance, type safety, and concurrency.General-purpose programming language emphasizing performance, type safety, and concurrency.
Description
Describe the bug
nix-build . -A rustPackages.clippy
fails on master
since e82fae1 with this error:
Compiling clippy_lints v0.0.212 (/build/rustc-1.40.0-src/src/tools/clippy/clippy_lints)
error[E0463]: can't find crate for `fmt_macros`
--> src/tools/clippy/clippy_lints/src/lib.rs:20:1
|
20 | extern crate fmt_macros;
| ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
To Reproduce
Steps to reproduce the behavior:
- Check out any commit between e82fae1 and
master
nix-build . -A rustPackages.clippy
- Observe the compilation failure pasted above.
Expected behavior
nix-build . -A rustPackages.clippy
should succeed.
Additional context
I discovered this build failure in the context of #77327.
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 4.19.93, NixOS, 19.09.1778.db3e8325a9b (Loris)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.1`
- channels(root): `"nixos-19.09.1778.db3e8325a9b"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: rustGeneral-purpose programming language emphasizing performance, type safety, and concurrency.General-purpose programming language emphasizing performance, type safety, and concurrency.