I get this error when I add a few symlinks:
halair ~/scm/stanc3/test/integration/examples-bad (master) $ dune runtest
Error: exception Sys_error("test/integration/examples-bad/algebra_solver/dune: Too many levels of symbolic links")
Backtrace:
Raised by primitive operation at file "stdlib.ml", line 390, characters 28-54
Called from file "src/stdune/io.ml", line 63, characters 17-37
Called from file "src/file_tree.ml", line 225, characters 16-110
Called from file "camlinternalLazy.ml", line 27, characters 17-27
Re-raised at file "camlinternalLazy.ml", line 34, characters 4-11
Called from file "src/file_tree.ml" (inlined), line 124, characters 20-32
Called from file "src/dune_load.ml", line 246, characters 16-41
Called from file "src/file_tree.ml", line 141, characters 16-23
Called from file "map.ml", line 319, characters 19-42
Called from file "map.ml", line 319, characters 26-41
Called from file "map.ml", line 319, characters 26-41
Called from file "map.ml", line 319, characters 19-42
Called from file "map.ml", line 319, characters 19-42
Called from file "map.ml", line 319, characters 19-42
Called from file "src/file_tree.ml" (inlined), line 286, characters 2-49
Called from file "src/dune_load.ml", line 244, characters 4-282
Called from file "src/main.ml", line 44, characters 4-68
Called from file "src/main.ml", line 277, characters 12-56
Called from file "bin/main.ml", line 134, characters 4-26
Called from file "bin/main.ml", line 149, characters 33-42
Called from file "vendor/cmdliner/src/cmdliner_term.ml", line 27, characters 19-24
Called from file "vendor/cmdliner/src/cmdliner.ml", line 106, characters 32-39
Called from file "vendor/cmdliner/src/cmdliner.ml", line 136, characters 18-36
Called from file "vendor/cmdliner/src/cmdliner.ml", line 251, characters 22-48
Called from file "bin/main.ml", line 1184, characters 10-51
I must not segfault. Uncertainty is the mind-killer. Exceptions are
the little-death that brings total obliteration. I will fully express
my cases. Execution will pass over me and through me. And when it
has gone past, I will unwind the stack along its path. Where the
cases are handled there will be nothing. Only I will remain.