Processing: [default: loading data] [note.0.0.3: dl] [note.0.0.3: extract] -> retrieved note.0.0.3 (https://opam.ocaml.org/cache) [note: ocaml build] + /home/opam/.opam/default/bin/ocaml "pkg/pkg.ml" "build" "--dev-pkg" "false" "--with-brr" "false" (CWD=/home/opam/.opam/default/.opam-switch/build/note.0.0.3) - + ocamlfind ocamlc -config - + ocamlfind ocamldep -modules src/note.ml > src/note.ml.depends - + ocamlfind ocamldep -modules src/note.mli > src/note.mli.depends - + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -I src/brr -o src/note.cmi src/note.mli - + ocamlfind ocamlopt -c -g -bin-annot -safe-string -I src -I test -I src/brr -o src/note.cmx src/note.ml - + ocamlfind ocamlopt -c -g -bin-annot -safe-string -I src -I test -I src/brr -o src/note.cmx src/note.ml - File "src/note.ml", line 56, characters 18-65: - 56 | let rec src = { id = uid (); cell; logrs = []; self = V src } in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Error: This kind of expression is not allowed as right-hand side of let rec - Command exited with code 2. - pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug' - '-build-dir' '_build' 'pkg.otarget']: exited with 10 [ERROR] The compilation of note.0.0.3 failed at "ocaml pkg/pkg.ml build --dev-pkg false --with-brr false". #=== ERROR while compiling note.0.0.3 =========================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1+letrec | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/note.0.0.3 # command ~/.opam/default/bin/ocaml pkg/pkg.ml build --dev-pkg false --with-brr false # exit-code 1 # env-file /tmp/opam-root-7/note-7-1593e1.env # output-file /tmp/opam-root-7/note-7-1593e1.out ### output ### # + ocamlfind ocamlc -config # + ocamlfind ocamldep -modules src/note.ml > src/note.ml.depends # + ocamlfind ocamldep -modules src/note.mli > src/note.mli.depends # + ocamlfind ocamlc -c -g -bin-annot -safe-string -I src -I test -I src/brr -o src/note.cmi src/note.mli # + ocamlfind ocamlopt -c -g -bin-annot -safe-string -I src -I test -I src/brr -o src/note.cmx src/note.ml # + ocamlfind ocamlopt -c -g -bin-annot -safe-string -I src -I test -I src/brr -o src/note.cmx src/note.ml # File "src/note.ml", line 56, characters 18-65: # 56 | let rec src = { id = uid (); cell; logrs = []; self = V src } in # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Error: This kind of expression is not allowed as right-hand side of let rec # Command exited with code 2. # pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-j' '4' '-tag' 'debug' # '-build-dir' '_build' 'pkg.otarget']: exited with 10