import interface `foo` is missing function `bar` that is required by the module