Does neovim actually checks the syntax ? In fact, I get no error when writing simple syntax errors as e piston_window::*; instead of use piston_window::* or f main() instead of fn main(). Is there anyway to enable syntax check (like syntastic) in your container ?