Advertisement
Guest User

clippy_lints doesn't build on rust 1.21.0-nightly (13d94d5fa

a guest
Aug 11th, 2017
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. Updating registry `https://github.com/rust-lang/crates.io-index`
  2. Installing clippy v0.0.150
  3. Compiling unicode-xid v0.0.4
  4. Compiling quote v0.3.15
  5. Compiling quine-mc_cluskey v0.2.4
  6. Compiling either v1.1.0
  7. Compiling num-traits v0.1.40
  8. Compiling matches v0.1.6
  9. Compiling getopts v0.2.14
  10. Compiling dtoa v0.4.1
  11. Compiling bitflags v0.9.1
  12. Compiling regex-syntax v0.4.1
  13. Compiling serde v1.0.11
  14. Compiling lazy_static v0.2.8
  15. Compiling itoa v0.3.1
  16. Compiling semver-parser v0.7.0
  17. Compiling unicode-normalization v0.1.5
  18. Compiling pulldown-cmark v0.0.15
  19. Compiling synom v0.11.3
  20. Compiling itertools v0.6.1
  21. Compiling semver v0.6.0
  22. Compiling syn v0.11.11
  23. Compiling serde_json v1.0.2
  24. Compiling toml v0.4.4
  25. Compiling serde_derive_internals v0.15.1
  26. Compiling serde_derive v1.0.11
  27. Compiling cargo_metadata v0.2.3
  28. Compiling clippy_lints v0.0.150
  29. error[E0599]: no method named `current_level` found for type `&T` in the current scope
  30. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/utils/mod.rs:549:11
  31. |
  32. 549 | if cx.current_level(lint) != Level::Allow {
  33. | ^^^^^^^^^^^^^
  34.  
  35. error[E0599]: no method named `current_level` found for type `&'a T` in the current scope
  36. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/utils/mod.rs:562:11
  37. |
  38. 562 | if cx.current_level(lint) != Level::Allow {
  39. | ^^^^^^^^^^^^^
  40.  
  41. error[E0599]: no method named `current_level` found for type `&'a T` in the current scope
  42. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/utils/mod.rs:577:11
  43. |
  44. 577 | if cx.current_level(lint) != Level::Allow {
  45. | ^^^^^^^^^^^^^
  46.  
  47. error[E0599]: no method named `current_level` found for type `&'a T` in the current scope
  48. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/utils/mod.rs:597:11
  49. |
  50. 597 | if cx.current_level(lint) != Level::Allow {
  51. | ^^^^^^^^^^^^^
  52.  
  53. error[E0599]: no method named `current_level` found for type `&rustc::lint::LateContext<'_, '_>` in the current scope
  54. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/cyclomatic_complexity.rs:197:11
  55. |
  56. 197 | if cx.current_level(CYCLOMATIC_COMPLEXITY) != Level::Allow {
  57. | ^^^^^^^^^^^^^
  58.  
  59. error[E0599]: no method named `current_level` found for type `&rustc::lint::LateContext<'_, '_>` in the current scope
  60. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/matches.rs:197:39
  61. |
  62. 197 | if ty.sty != ty::TyBool || cx.current_level(MATCH_BOOL) == Allow {
  63. | ^^^^^^^^^^^^^
  64.  
  65. error[E0599]: no method named `current_level` found for type `&rustc::lint::LateContext<'a, 'tcx>` in the current scope
  66. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/strings.rs:86:35
  67. |
  68. 86 | if let Allow = cx.current_level(STRING_ADD_ASSIGN) {
  69. | ^^^^^^^^^^^^^
  70.  
  71. error[E0599]: no method named `current_level` found for type `&rustc::lint::LateContext<'_, '_>` in the current scope
  72. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/unicode.rs:118:23
  73. |
  74. 118 | if cx.current_level(UNICODE_NOT_NFC) == Level::Allow {
  75. | ^^^^^^^^^^^^^
  76.  
  77. error[E0599]: no method named `current_level` found for type `&rustc::lint::LateContext<'_, '_>` in the current scope
  78. --> .cargo/registry/src/github.com-1ecc6299db9ec823/clippy_lints-0.0.150/src/unicode.rs:126:11
  79. |
  80. 126 | if cx.current_level(NON_ASCII_LITERAL) == Level::Allow && string.chars().zip(string.nfc()).any(|(a, b)| a != b) {
  81. | ^^^^^^^^^^^^^
  82.  
  83. error: aborting due to 9 previous errors
  84.  
  85. error: Could not compile `clippy_lints`.
  86. warning: build failed, waiting for other jobs to finish...
  87. error: failed to compile `clippy v0.0.150`, intermediate artifacts can be found at `/tmp/cargo-install.weKiWWNQ3g5u`
  88.  
  89. Caused by:
  90. build failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement