Weak earnings reports weigh on the stock market