PITTSBURGH — Everyone in the San Francisco Giants dugout knew it. Everyone in the Pittsburgh Pirates dugout knew it. The smattering of fans in the stands at PNC Park probably had a good idea, too.There was no way Rafael Devers was going to see a strike in the 10th inning Wednesday night.Devers is on the kind of hot streak that has few comparables in the Giants’ post-Bonds era. He hit a home run for the third consecutive game when he muscled a solo shot to center field in the first inning. He singled to help set up a two-run rally in the fifth. When Giants left fielder Turner Hill made a sliding catch to send the game to the 10th, Devers was due up second.You don’t pitch to someone who’s cooking a 10-game hitting streak in which he has compiled these morsels: a .421 average, six home runs, 13 RBIs and 13 runs scored. You really don’t pitch to Devers when nearly all his supporting cast from opening day — Willy Adames, Matt Chapman, Casey Schmitt, Luis Arraez, Heliot Ramos, Patrick Bailey and Harrison Bader — are on the injured list or got shipped out before the trade deadline.The Giants aren’t playing out a season. They’re reading the last chapters of an Agatha Christie novel.But the Pirates still had to contend with a hitter who has main-character energy. The Giants are entrusting Bryce Eldridge, their 21-year-old rookie, with the job of protecting Devers in the lineup. And after Osleivis Basabe’s sacrifice bunt advanced placed runner Christian Koss to third base, followed by an intentional walk to Devers, Eldridge came through with an RBI double off former San Francisco All-Star closer Camilo Doval. Devers scored a critical run on Hill’s sacrifice fly, which allowed Dylan Smith to allow his placed runner to score while still recording the save in the Giants’ 5-4 victory in Steel City.The outcome didn’t send any shockwaves through the National League standings — the Giants are 58-82 and clinched a losing record with their painful, 13-12 loss the previous night — but it counted as a character builder for a suddenly young team and its rookie manager, Tony Vitello, who is getting more and more accustomed to handling the ups and downs of a long season.