It's unfortunate that you have to shell out here to invoke `rustc`, that's the whole reason they're built as shared libraries. Can you file an issue for being able to redirect the output of `rustc`? Ideally you could capture the output that way (instead of having to fork a process)