A new documentary produced by Ben Affleck and Matt Damon is being ruled ineligible to compete for Best Documentary at the upcoming Oscars .