brew: Failed to set filetime 1503098583 on outfile: errno 1

Solution 1:

I had the same issue, and similar situation as others via Github Homebrew/brew #issue 2921.

It was the "remote-time" line from my ~/.curlrc file.

To fix it, just comment out the line with a # like:

#remote-time