Tim Lincecum allowed four runs in the first inning and didn't make it out of the fourth as the Giants closed their 10-game road trip on a sour note.