Wemos mini D1 and OSX Sierra: troubleshooting needed

Arduino: 1.6.12

The current version is well beyond that.

It's hard to tell you why the sketch you didn't post fails to compile.