changed for building with new compiler of rust ,
Sandeep please remove compilation bugs of inputstream