Bastardo was suspended for 140 after testing positive for Stanozolol on Friday, Rob Biertempfel of The Athletic Pittsburgh reports.
Bastardo was released by the Diamondbacks on Tuesday.
The Pirates released Bastardo after designating him for assignment Saturday, Bill Brink of the Pittsburgh Post-Gazette reports.
Bastardo was designated for assignment by the Pirates on Saturday, Bill Brink of the Pittsburgh Post-Gazette reports.
Bastardo (quadriceps) was activated from the disabled list Tuesday.
Bastardo (quadriceps) is scheduled to begin a minor-league rehab assignment with Triple-A Indianapolis on Saturday, Stephen J. Nesbitt of the Pittsburgh Post-Gazette reports.
Bastardo was placed on the 10-day disabled list Tuesday with a left quad strain, Adam Berry of MLB.com reports.
Bastardo gave up one run on three hits and a walk in two innings Monday, striking out a pair of Cincinnati batters.
Bastardo walked two batters, then gave up the game-winning homer to Boston's Sandy Leon in the 12th inning Wednesday. He recorded just a single out.
Bastardo is expected to pitch mostly in the seventh inning of games for Pittsburgh, the Pittsburgh Tribune-Review reports.