why will this uno sketch not work with a Nano

Thanks everyone for all your help. I have now got it working.

I changed the processor to the old boot loader and it worked.

Thanks for the explanation Groundfungus I now understand the failure mode which is appreciated.