DSolve::baddv
NDSolve::baddv
NDSolveValue::baddv
ParametricNDSolve::baddv
ParametricNDSolveValue::baddv
RSolve::baddv
The function y[x][x] is not specified clearly as a function of the independent variable x:
DSolve[y'[x] == 1, y[x][x], {x}]Replace y[x][x] in the second argument of DSolve with y[x]; then the example works:
DSolve[y'[x] == 1, y[x], {x}]