Yeah, I see. It has to do with your C++ libraries. I assume that this refers to a file on your computer:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ctime
Maybe your XCode or MacOSX SDK is too old (or too new) or something is using the incorrect version (like C++11 instead of C++14 or something along those lines). But as I said, I am not familiar with Mac so I don't know how XCode works.