diag9620.main.bar is *not* a pure function, so this error message sounds weird to me.