Cohomologies of Lie algebra of vector fields with nontrivial coefficients