greshake / i3status-rust

Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
GNU General Public License v3.0
2.88k stars 475 forks source link

Does not compile - "cannot find macro `eprintln!`" #93

Closed GladOSkar closed 7 years ago

GladOSkar commented 7 years ago
   Compiling i3status-rs v0.9.0 (file:///home/oskar/Desktop/i3status-rust)
error: cannot find macro `eprintln!` in this scope
  --> src/blocks/temperature.rs:87:29
   |
87 |                             eprintln!("Temperature ({}) outside of range ([-100, 150])", t);
   |                             ^^^^^^^^
   |
   = help: did you mean `println!`?

error: cannot find macro `eprintln!` in this scope
  --> src/input.rs:66:13
   |
66 |             eprintln!("{}", value);
   |             ^^^^^^^^
   |
   = help: did you mean `println!`?

error: cannot find macro `eprintln!` in this scope
   --> src/main.rs:117:9
    |
117 |         eprintln!("\n\n{:?}", error);
    |         ^^^^^^^^
    |
    = help: did you mean `println!`?

error: cannot find macro `eprintln!` in this scope
   --> src/main.rs:104:13
    |
104 |             eprintln!("{:?}", error);
    |             ^^^^^^^^
    |
    = help: did you mean `println!`?

error: aborting due to 4 previous errors

error: Could not compile `i3status-rs`.

should be an easy fix

GladOSkar commented 7 years ago

my bad, my distro only ships rustc 1.17

greshake commented 7 years ago

See https://github.com/greshake/i3status-rust/pull/70 :D @svmnotn Looks like I still merged too early..

svmnotn commented 7 years ago

wow... we even got version 1.20 as stable...