MILWAUKEE — Lorenzo Cain homered and Jhoulys Chacin combined with three relievers on a six-hitter to give the Milwaukee Brewers their second straight shutout of the Chicago Cubs, 1-0 on Wednesday.

Chacin (6-1) allowed four hits in six innings, striking out seven and walking four to win his sixth consecutive decision. Jeremy Jeffress pitched the seventh, Josh Hader struck out the side in the eighth and Cory Knebel finished with a perfect ninth for his sixth save.

Mike Montgomery (2-2) allowed only two hits in six innings, both by Cain. He struck out four and walked one in his fourth start since replacing injured Yu Darvish in the rotation.

The Brewers improved to 3-8 this season against the Cubs and moved 11/2 games ahead of second-place Chicago in the NL Central.

BRAVES 2, METS 0: Mike Soroka did not allow a hit until the seventh inning, Freddie Freeman homered and drove in both runs, and Atlanta won at home.

Soroka, the youngest pitcher in the major leagues and one of baseball’s top prospects, returned from a right shoulder strain that had sidelined him since May 17 to outpitch NL ERA leader Jacob deGrom in a game that lasted only 2 hours, 12 minutes.

The Mets have lost 10 of their past 11 and 17 of their past 21.

PIRATES 5, DIAMONDBACKS 4: Jordy Mercer homered and had three RBI, Jameson Taillon pitched seven effective innings and Pittsburgh avoided a sweep at Phoenix.

The Pirates blew a five-run lead in the opener and were knocked for 13 runs in the second game. Pittsburgh ended Arizona’s sweep bid with a four-run second inning against Zack Greinke (5-5) and a sterling performance by Taillon (4-5).

AMERICAN LEAGUE

RAYS 1, BLUE JAYS 0: Matt Duffy’s RBI single with two outs in the ninth drove in the game’s only run in Tampa Bay’s victory at St. Petersburg, Florida.

Duffy drove in Mallex Smith, who doubled with one out and moved to third base on a ground ball.

MARINERS 8, ANGELS 6: Mitch Haniger hit a two-run homer in the ninth inning to give host Seattle a three-game sweep.

After Jean Segura singled to center off reliever Oliver Drake (0-1), Haniger launched his 16th homer of the season over the left-field wall. Nelson Cruz and Ryon Healy also homered for Seattle.

NOTES

TIGERS: Miguel Cabrera ruptured his left biceps tendon on a swing Tuesday night, ending the two-time MVP’s season just a couple of weeks after he returned from a disabled list stint due to a right hamstring strain.

The 35-year-old Cabrera will have surgery this week.

METS: Right-hander Noah Syndergaard has been prescribed more rest after getting a second opinion on a strained ligament in his index finger.