jerry13/ccache — comment on commit e3a53886865cc8c5e5e37a31b1ab2985ee197a23
File: ccache.c line 711
By jrosdahl:

But ccache is exiting because the compiler failed, and it's printing the error message from the compiler. If you change to failed(), then you have to remove the code that prints the compiler's error message to stderr, because otherwise it will be printed twice.