Lugo combined on a four-hitter with four relievers — including Robert Suarez, who didn't face a batter. Suarez was ejected in the eighth following an inspection by umpires.
Tom Cosgrove replaced Suarez and retired all three batters he faced. Steven Wilson worked the seventh and closer Josh Hader pitched the ninth in a non-save situation. San Diego (61-67) took two of three from Miami (65-63), which lost ground in the NL wild-card race.
Alcantara (6-11) allowed four runs on seven hits in 6 2/3 innings.
Miami's Jake Burger went 0-for-4, ending his 13-game hitting streak.
Marlins: Placed OF Avisail Garcia on the 10-day injured list with a left hamstring strain. He was hurt during Tuesday night's win.
Marlins: Begin a three-game series Friday against visiting Washington.
AP MLB: https://apnews.com/hub/mlb
Kris Keehl, The Associated Press