It should be in ~/Library/Logs/Homebrew/cc.log. Would be nice to add a form that outputs inline though.