/sketch/pump/valve.cpp: In function 'void openValve(int)':
/sketch/pump/valve.cpp:5:21: error: 'HIGHT' was not declared in this scope
   digitalWrite(pin, HIGHT);
                     ^~~~~
/sketch/pump/valve.cpp:5:21: note: suggested alternative: 'HIGH'
   digitalWrite(pin, HIGHT);
                     ^~~~~
                     HIGH
/sketch/pump/pump.ino: In function 'int readSensor()':
/sketch/pump/pump.ino:5:10: error: 'sensr' was not declared in this scope
   return sensr + 1;
          ^~~~~
/sketch/pump/pump.ino:4:7: warning: unused variable 'x' [-Wunused-variable]
   int x = 3;
       ^
/sketch/pump/pump.ino: In function 'void loop()':
/sketch/pump/pump.ino:15:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if (level = 4) {
       ~~~~~~^~~

Used platform Version Path
arduino:avr   1.8.8   /home/user/.arduino15/packages/arduino/hardware/avr/1.8.8
Error during build: exit status 1
