Fix rustc panic on second compile_input