create Arc outside of dispatch, panic outside of tests

Panic on inconsistent states outside of tests