beside each midshipman stood a marine with his rifle , charged with the duty of seeing that no one should drink the grimy contents of the barrel into which the used alcohol was emptied when it became too filthy to be used any longer .