fix(lib): disable debug info to work-around a compiler bug

See rust-lang/rust#17257
fix(solutions): lock `stdin` before reading