Maybe, ring dependency should be updated on the next release(0.13) so it compiles with future versions of compiler? https://github.com/briansmith/ring/issues/609