Retirement tax questions

Social Security is not earned income.  You need wages on a W2 or a Net Profit from self employment on schedule C to have earned income.