you need to acccess the 8889-T and make sure you answered all the question correctly. also check the W-2 entrties for code W
if code w on your W-2 shows the 6000. then on the 8889 your contributions are 0. your taxable wages were reduced by the $4000 of yours that went in to the HSA. line 2 should on the formm should be 0