Processing: [default: loading data] [bindlib.6.0.0: dl] [bindlib.6.0.0: extract] -> retrieved bindlib.6.0.0 (https://opam.ocaml.org/cache) [bindlib: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "bindlib" "-j" "32" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/bindlib.6.0.0) [ERROR] The compilation of bindlib.6.0.0 failed at "dune build -p bindlib -j 32 @install". - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I lib/.bindlib.objs/byte -I lib/.bindlib.objs/native -cmi-file lib/.bindlib.objs/byte/bindlib.cmi -no-alias-deps -o lib/.bindlib.objs/native/bindlib.cmx -c -impl lib/bindlib.pp.ml) - File "lib/bindlib.pp.ml", lines 387-388, characters 4-51: - 387 | ....let var_box = Env([V(x)], 0, build_var_aux var_key) in - 388 | {var_key; var_name = name; var_mkfree; var_box} - Error: This kind of expression is not allowed as right-hand side of let rec - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.bindlib.objs/byte -cmi-file lib/.bindlib.objs/byte/bindlib.cmi -no-alias-deps -o lib/.bindlib.objs/byte/bindlib.cmo -c -impl lib/bindlib.pp.ml) - File "lib/bindlib.pp.ml", lines 387-388, characters 4-51: - 387 | ....let var_box = Env([V(x)], 0, build_var_aux var_key) in - 388 | {var_key; var_name = name; var_mkfree; var_box} - Error: This kind of expression is not allowed as right-hand side of let rec #=== ERROR while compiling bindlib.6.0.0 ======================================# # context 2.4.1 | linux/x86_64 | ocaml-compiler.5.4.1+letrec | file:///home/opam/opam-repository # path ~/.opam/default/.opam-switch/build/bindlib.6.0.0 # command ~/.opam/default/bin/dune build -p bindlib -j 32 @install # exit-code 1 # env-file /tmp/opam-root-8/bindlib-8-fee487.env # output-file /tmp/opam-root-8/bindlib-8-fee487.out ### output ### # (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I lib/.bindlib.objs/byte -I lib/.bindlib.objs/native -cmi-file lib/.bindlib.objs/byte/bindlib.cmi -no-alias-deps -o lib/.bindlib.objs/native/bindlib.cmx -c -impl lib/bindlib.pp.ml) # File "lib/bindlib.pp.ml", lines 387-388, characters 4-51: # 387 | ....let var_box = Env([V(x)], 0, build_var_aux var_key) in # 388 | {var_key; var_name = name; var_mkfree; var_box} # Error: This kind of expression is not allowed as right-hand side of let rec # (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.bindlib.objs/byte -cmi-file lib/.bindlib.objs/byte/bindlib.cmi -no-alias-deps -o lib/.bindlib.objs/byte/bindlib.cmo -c -impl lib/bindlib.pp.ml) # File "lib/bindlib.pp.ml", lines 387-388, characters 4-51: # 387 | ....let var_box = Env([V(x)], 0, build_var_aux var_key) in # 388 | {var_key; var_name = name; var_mkfree; var_box} # Error: This kind of expression is not allowed as right-hand side of let rec