Guinea Pigs whine all the time ... like little weird cars , happy , sad , in pain they do it all the time. An eye infection would be more of a discomfort than actual pain. They get straw and dust in their eyes all the time due to being so close to the ground and it will probably work itself out ... but take it too a vets just in case! Better safe than sorry!