Recently I came across a phrase that sounds wrong to me as a native speaker (New Zealand English), but I can't find a rule that explains whether this is correct or not.
"The submitted build was passed."
The context of this statement is in submitting code to a build server, which runs tests on the code and the outcome is a pass or a fail.
I naturally want to correct it to "the submitted build passed", or "the submitted build has passed".
I know that "he was passed by another pedestrian" is correct, but I don't understand what about the above sentence makes me think it is incorrect.
Is this correct English? Which rule explains why it is correct or incorrect?