I was able to reproduce the issue.
But it works for me if I modify the first line to say #+BEGIN_SRC julia :results output
.
The default setting is :results value
.
EDIT: This, of course, does not fully explain why your code fails, but it is a step toward understanding what the underlying issue is…