Perhaps a pillbox from the period of interwar Poland built in 1918-1939, although there is definitely a German pillbox Tobruk located 100 meters away, so it may be German.
The object is interesting, it's a pity it's just abandoned, even though it's located within the city.