Magnetism in metastable and annealed compositionally complex alloys