Ketel Marte homered for the third time in three games, Eduardo Escobar had three hits, and the Arizona Diamondbacks tied a franchise record for scoring in a three-game series as they beat the San Francisco Giants 6-2 Sunday to finish a sweep.
Weaver (4-3) left the game in the sixth inning with right forearm tightness after pitching five-plus innings of six-hit ball. He struck out six and walked two.
Diamondbacks manager Torey Lovullo said the severity of Weaver's injury wasn't immediately known.
"We're going to obviously continue to evaluate him," Lovullo said. "He may be potentially a little banged up right now. If that's the case, it'll be an opportunity for somebody else to step up."
Mike Yastrzemski, the 23-year-old grandson of Hall of Famer Carl Yastrzemski, had the first three hits of his career for the Giants, who lost their fifth straight and finished a 1-6 homestand.
The Diamondbacks outscored the Giants 34-8 in the series, matching a franchise mark they set at home Sept. 12-14, 2016, against Colorado. It eclipsed the previous mark for a three-game road series -- 32 against the Rockies on June 3-5, 2014.
"What we did here in the past three days, scoring as many runs as we did, walking into a venue that's very, very, challenging for a lot of teams to win three games in a row, it's something that will be on my mind," Lovullo said.
Weaver said he left the game for precautionary reasons. He felt the cold weather may have been a factor in the injury. Arizona had a 6-1 lead when he left the game.
"With the conditions, and how the game was shaping up, I just felt like in my best interest going forward, play it safe," Weaver said.
The 25-year-old right-hander said he experienced discomfort throwing his changeup. He felt his mechanics were a bit off.
"I felt like I was rushing, so sometimes you just put your arm in a spot that's just a little bit funky," Weaver said.
Arizona's outburst in this series came after they'd lost five straight and combined for seven runs in their previous four games.
Marte went deep in the first inning off Giants starter Shaun Anderson (0-1). His 12th homer started a two-run inning. Marte was 7 for 15 with three homers, a triple and six RBI in the series and is 9 for 19 over his last four games.
Arizona swept the Giants in San Francisco for the first time since taking a four-game set April 18-21, 2016.
"That's the worst series of the year, I can't remember one where we had three consecutive games with that kind of baseball we just played," Giants manager Bruce Bochy said.
Anderson, making his third major league start, gave up six runs -- four earned -- and nine hits, with a walk and two wild pitches in five innings.
Nick Ahmed sparked a three-run second inning in which the Diamondbacks had three hits and a walk and capitalized on a wild pitch and an error.
Posey and Joe Panik each had two hits including a double and one RBI for San Francisco.
Yastrzemski, who was called up from Triple-A Sacramento on Saturday, was playing in his second major league game.
"It was better than I could have expected," Yastrzemski said. "Just hoping to put a `W' on there now."
The Giants recalled RHP Sam Coonrod from Triple-A Sacramento. The 22-year-old pitched a scoreless eighth in his major league debut. LHP Andrew Suarez was optioned to Sacramento, one day after giving up a career-high nine runs -- seven earned.
Diamondbacks: 1B Christian Walker was hit by a pitch on his right thumb in the seventh but stayed in the game.
Diamondbacks: RHP Zack Greinke (6-2, 2.89 ERA) will pitch Monday's series opener in Colorado. The five-time All-Star is 4-1 with a 1.49 ERA with 39 strikeouts and five walks over his last seven starts.
Giants: RHP Jeff Samardzija (2-3, 3.27 ERA) will pitch Tuesday's series opener in Miami. The 34-year-old is 5-2 with a 3.62 ERA in 18 games (nine starts) against the Marlins.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Astros ace Justin Verlander donating paycheck during shutdown
Astros ace Justin Verlander says he'll give his weekly paycheck to coronavirus relief efforts during the shutdown.
MLB relaxes scouting restrictions ahead of draft
Teams can now contact amateur prospects digitally and gather data and video on players, but they remain barred from attending any in-person activities.
Sources: President Donald Trump says NFL season should start on time
President Donald Trump told the commissioners of 12 major sports that he hopes to have fans back in stadiums and arenas by August and September, sources told ESPN.
Yankees, Red Sox make history with 12 runs in the 1st
Both Aaron Hicks and Michael Chavis hit home runs in a combined 12-run 1st inning for the Red Sox and Yankees, marking the first game of its kind since 1989.
We'll miss MLB's London Series, which gave us the weirdest game of 2019
The game that would be the hardest to explain to a first-time baseball watcher last year was, almost certainly, the one viewed by the most first-time baseball watchers.
Anniversary of Mets signing Seaver recalls funny Ali story for Kurkjian
On April 3, 1966, the Mets signed Tom Seaver, and that reminds Tim Kurkjian of a Seaver story that involves Dick Schaap and Muhammad Ali.