ESP 01 failure

That's not how you program an ESP8266. You need to do some research first, there are countless guides online that have the correct connections and explain how to set the boot mode for programming.

E.g. A Beginner's Guide to the ESP8266