Reports non-inline modules declared inside a block and missing the path attribute.