Processing: [default: loading data] [landmarks.1.7: dl] [landmarks.1.7: extract] -> retrieved landmarks.1.7 (https://opam.ocaml.org/cache) [landmarks: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "landmarks" "-j" "32" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/landmarks.1.7) - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -w +A-30-42-41-40-4-70 -safe-string -strict-sequence -g -bin-annot -bin-annot-occurrences -I src/.landmark.objs/byte -cmi-file src/.landmark.objs/byte/landmark.cmi -no-alias-deps -open Landmark__ -o src/.landmark.objs/byte/landmark.cmo -c -impl src/landmark.ml) - File "src/landmark.ml", lines 222-231, characters 24-1: - 222 | ........................{ - 223 | kind = Graph.Root; - 224 | id = 0; - 225 | name = "ROOT"; - 226 | location = __FILE__; - 227 | key = { key = ""; landmark = landmark_root}; - 228 | last_parent = dummy_node; - 229 | last_son = dummy_node; - 230 | last_self = dummy_node; - 231 | } - Error: This kind of expression is not allowed as right-hand side of let rec - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -w +A-30-42-41-40-4-70 -safe-string -strict-sequence -g -I src/.landmark.objs/byte -I src/.landmark.objs/native -cmi-file src/.landmark.objs/byte/landmark.cmi -no-alias-deps -open Landmark__ -o src/.landmark.objs/native/landmark.cmx -c -impl src/landmark.ml) - File "src/landmark.ml", lines 222-231, characters 24-1: - 222 | ........................{ - 223 | kind = Graph.Root; - 224 | id = 0; - 225 | name = "ROOT"; - 226 | location = __FILE__; - 227 | key = { key = ""; landmark = landmark_root}; - 228 | last_parent = dummy_node; - 229 | last_son = dummy_node; - 230 | last_self = dummy_node; - 231 | } - Error: This kind of expression is not allowed as right-hand side of let rec [ERROR] The compilation of landmarks.1.7 failed at "dune build -p landmarks -j 32 @install". #=== ERROR while compiling landmarks.1.7 ======================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1+letrec | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/landmarks.1.7 # command ~/.opam/default/bin/dune build -p landmarks -j 32 @install # exit-code 1 # env-file /tmp/opam-root-7/landmarks-7-4e7eb8.env # output-file /tmp/opam-root-7/landmarks-7-4e7eb8.out ### output ### # (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -w +A-30-42-41-40-4-70 -safe-string -strict-sequence -g -bin-annot -bin-annot-occurrences -I src/.landmark.objs/byte -cmi-file src/.landmark.objs/byte/landmark.cmi -no-alias-deps -open Landmark__ -o src/.landmark.objs/byte/landmark.cmo -c -impl src/landmark.ml) # File "src/landmark.ml", lines 222-231, characters 24-1: # 222 | ........................{ # 223 | kind = Graph.Root; # 224 | id = 0; # 225 | name = "ROOT"; # 226 | location = __FILE__; # 227 | key = { key = ""; landmark = landmark_root}; # 228 | last_parent = dummy_node; # 229 | last_son = dummy_node; # 230 | last_self = dummy_node; # 231 | } # Error: This kind of expression is not allowed as right-hand side of let rec # (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -w +A-30-42-41-40-4-70 -safe-string -strict-sequence -g -I src/.landmark.objs/byte -I src/.landmark.objs/native -cmi-file src/.landmark.objs/byte/landmark.cmi -no-alias-deps -open Landmark__ -o src/.landmark.objs/native/landmark.cmx -c -impl src/landmark.ml) # File "src/landmark.ml", lines 222-231, characters 24-1: # 222 | ........................{ # 223 | kind = Graph.Root; # 224 | id = 0; # 225 | name = "ROOT"; # 226 | location = __FILE__; # 227 | key = { key = ""; landmark = landmark_root}; # 228 | last_parent = dummy_node; # 229 | last_son = dummy_node; # 230 | last_self = dummy_node; # 231 | } # Error: This kind of expression is not allowed as right-hand side of let rec