[?] Solve this indefinite integral?

Is this a bug?

No this is a correct anti-derivative because of

In[2]:= Together[D[Log[1 \[Minus] y] \[Minus] Log[y], y]]
Out[2]= 1/((-1 + y) y)

Read about another correct anti-derivative here Doing an integral: From Mathematica Version 1.0 to 11.0