print clobbers state in dependency logging