sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
The package failed to build. The error log from opam follows.
[NOTE] Package dune is already installed (current version is 2.9.3). [NOTE] Package ocamlfind is already installed (current version is 1.9.6). The following actions will be performed: === install 93 packages - install angstrom 0.16.1 - install asak 0.5 - install astring 0.8.5 - install base v0.14.3 - install base-bytes base - install base64 3.5.1 - install bigarray-compat 1.1.0 - install bigstringaf 0.9.0 - install camlp-streams 5.0.1 - install checkseum 0.5.2 - install cmdliner 1.3.0 - install cohttp 4.0.0 - install cohttp-lwt 4.0.0 - install cohttp-lwt-unix 4.0.0 - install conduit 1.3.0 - install conduit-lwt 1.3.0 - install conduit-lwt-unix 1.3.0 - install conf-git 1.1 - install conf-libssl 4 - install conf-pkg-config 4 - install cppo 1.8.0 - install csexp 1.5.1 - install cstruct 5.2.0 - install decompress 0.8.1 - install digestif 1.2.0 - install dune-configurator 2.9.3 - install easy-format 1.3.3 - install eqaf 0.10 - install ezjsonm 1.3.0 - install fmt 0.9.0 - install fpath 0.7.3 - install gg 1.0.0 - install hex 1.5.0 - install ipaddr 2.9.0 - install js_of_ocaml 4.0.0 - install js_of_ocaml-compiler 4.0.0 - install js_of_ocaml-lwt 4.0.0 - install js_of_ocaml-ppx 4.0.0 - install js_of_ocaml-toplevel 4.0.0 - install js_of_ocaml-tyxml 4.0.0 - install jsonm 1.0.2 - install learn-ocaml 0.14.0 - install logs 0.7.0 - install lwt 5.9.0 - install lwt_react 1.2.0 - install lwt_ssl 1.1.3 - install magic-mime 1.3.1 - install markup 1.0.3 - install markup-lwt 0.5.0 - install menhir 20240715 - install menhirCST 20240715 - install menhirLib 20240715 - install menhirSdk 20240715 - install num 1.5-1 - install ocaml-compiler-libs v0.12.4 - install ocaml-migrate-parsetree 1.8.0 (deprecated) - install ocaml-syntax-shims 1.0.0 - install ocamlbuild 0.15.0 - install ocp-indent-nlfork 1.5.5 - install ocp-ocamlres 0.4 - install ocplib-endian 1.2 - install ocplib-json-typed 0.7.1 - install ocplib-json-typed-browser 0.7.1 - install odoc 2.1.1 - install odoc-parser 1.0.1 - install omd 1.3.1 - install optint 0.3.0 - install parsexp v0.14.2 - install pprint 20230830 - install ppx_cstruct 5.2.0 - install ppx_derivers 1.2.1 - install ppx_sexp_conv v0.14.1 - install ppx_tools 6.6 - install ppx_tools_versioned 5.4.0 - install ppxlib 0.15.0 - install re 1.12.0 - install react 1.2.2 - install reactiveData 0.3.0 - install result 1.5 - install seq base - install sexplib v0.14.0 - install sexplib0 v0.14.0 - install ssl 0.5.10 - install stdlib-shims 0.3.0 - install stringext 1.6.0 - install topkg 1.0.7 - install tyxml 4.6.0 - install uchar 0.0.2 - install uri 4.4.0 - install uri-sexp 4.4.0 - install uutf 1.0.3 - install vg 0.9.4 - install yojson 2.2.2 The following system packages will first need to be installed: libssl-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libssl-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpkgconf3:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18745 files and directories currently installed.) - Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package libssl-dev:amd64. - Preparing to unpack .../libssl-dev_3.0.15-1~deb12u1_amd64.deb ... - Unpacking libssl-dev:amd64 (3.0.15-1~deb12u1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up libssl-dev:amd64 (3.0.15-1~deb12u1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Processing triggers for libc-bin (2.36-9+deb12u9) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved asak.0.5 (cached) -> retrieved angstrom.0.16.1 (cached) -> installed base-bytes.base -> retrieved astring.0.8.5 (cached) -> retrieved base64.3.5.1 (cached) -> retrieved base.v0.14.3 (cached) -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved bigstringaf.0.9.0 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> retrieved checkseum.0.5.2 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved conf-libssl.4 (cached) -> retrieved cohttp.4.0.0, cohttp-lwt.4.0.0, cohttp-lwt-unix.4.0.0 (cached) -> installed base64.3.5.1 -> retrieved conduit.1.3.0, conduit-lwt.1.3.0, conduit-lwt-unix.1.3.0 (cached) -> installed bigarray-compat.1.1.0 -> installed camlp-streams.5.0.1 -> retrieved cppo.1.8.0 (cached) -> installed conf-git.1.1 -> installed conf-pkg-config.4 -> retrieved csexp.1.5.1 (cached) -> retrieved cstruct.5.2.0, ppx_cstruct.5.2.0 (cached) -> retrieved decompress.0.8.1 (cached) -> installed bigstringaf.0.9.0 -> installed conf-libssl.4 -> installed csexp.1.5.1 -> retrieved easy-format.1.3.3 (cached) -> retrieved eqaf.0.10 (cached) -> installed cppo.1.8.0 -> retrieved ezjsonm.1.3.0 (cached) -> retrieved fmt.0.9.0 (cached) -> installed cstruct.5.2.0 -> retrieved fpath.0.7.3 (cached) -> installed eqaf.0.10 -> installed easy-format.1.3.3 -> retrieved gg.1.0.0 (cached) -> retrieved hex.1.5.0 (cached) -> retrieved dune-configurator.2.9.3 (cached) -> retrieved digestif.1.2.0 (cached) -> retrieved ipaddr.2.9.0 (cached) -> installed hex.1.5.0 -> retrieved jsonm.1.0.2 (cached) -> retrieved logs.0.7.0 (cached) -> retrieved lwt.5.9.0 (cached) -> retrieved learn-ocaml.0.14.0 (cached) -> retrieved js_of_ocaml.4.0.0, js_of_ocaml-compiler.4.0.0, js_of_ocaml-lwt.4.0.0, js_of_ocaml-ppx.4.0.0, js_of_ocaml-toplevel.4.0.0, js_of_ocaml-tyxml.4.0.0 (cached) -> installed digestif.1.2.0 -> retrieved lwt_react.1.2.0 (cached) -> retrieved lwt_ssl.1.1.3 (cached) -> retrieved magic-mime.1.3.1 (cached) -> retrieved markup.1.0.3 (cached) -> retrieved markup-lwt.0.5.0 (cached) -> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached) -> retrieved num.1.5-1 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocaml-migrate-parsetree.1.8.0 (cached) -> installed cmdliner.1.3.0 -> installed magic-mime.1.3.1 -> installed menhirCST.20240715 -> installed menhirLib.20240715 -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocp-indent-nlfork.1.5.5 (cached) -> retrieved ocp-ocamlres.0.4 (cached) -> installed menhirSdk.20240715 -> installed ocaml-compiler-libs.v0.12.4 -> installed asak.0.5 -> installed ocaml-syntax-shims.1.0.0 -> retrieved ocplib-endian.1.2 (cached) -> retrieved ocplib-json-typed.0.7.1, ocplib-json-typed-browser.0.7.1 (cached) -> installed ocp-indent-nlfork.1.5.5 -> retrieved odoc.2.1.1 (cached) -> installed angstrom.0.16.1 -> retrieved odoc-parser.1.0.1 (cached) -> installed ocplib-endian.1.2 -> retrieved omd.1.3.1 (cached) -> retrieved optint.0.3.0 (cached) -> retrieved parsexp.v0.14.2 (cached) -> retrieved pprint.20230830 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_sexp_conv.v0.14.1 (cached) -> installed optint.0.3.0 -> retrieved ppx_tools.6.6 (cached) -> retrieved ppx_tools_versioned.5.4.0 (cached) -> retrieved ppxlib.0.15.0 (cached) -> retrieved re.1.12.0 (cached) -> installed pprint.20230830 -> installed ppx_derivers.1.2.1 -> retrieved react.1.2.2 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved reactiveData.0.3.0 (cached) -> retrieved result.1.5 (cached) -> retrieved sexplib.v0.14.0 (cached) -> retrieved sexplib0.v0.14.0 (cached) -> retrieved ssl.0.5.10 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved stringext.1.6.0 (cached) -> retrieved uchar.0.0.2 (cached) -> retrieved topkg.1.0.7 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved uutf.1.0.3 (cached) -> retrieved uri.4.4.0, uri-sexp.4.4.0 (cached) -> installed result.1.5 -> installed num.1.5-1 -> installed ppx_tools.6.6 -> installed re.1.12.0 -> installed sexplib0.v0.14.0 -> installed stdlib-shims.0.3.0 -> installed stringext.1.6.0 -> retrieved vg.0.9.4 (cached) -> retrieved yojson.2.2.2 (cached) -> installed dune-configurator.2.9.3 -> installed uri.4.4.0 -> installed yojson.2.2.2 -> installed menhir.20240715 -> installed ocplib-json-typed.0.7.1 -> installed checkseum.0.5.2 -> installed ocaml-migrate-parsetree.1.8.0 -> installed ssl.0.5.10 -> installed decompress.0.8.1 -> installed lwt.5.9.0 -> installed lwt_ssl.1.1.3 -> installed base.v0.14.3 -> installed ppxlib.0.15.0 -> installed ppx_tools_versioned.5.4.0 -> installed parsexp.v0.14.2 -> installed sexplib.v0.14.0 -> installed ppx_sexp_conv.v0.14.1 -> installed ppx_cstruct.5.2.0 -> installed uri-sexp.4.4.0 -> installed ipaddr.2.9.0 -> installed js_of_ocaml-compiler.4.0.0 -> installed ocamlbuild.0.15.0 -> installed uchar.0.0.2 -> installed js_of_ocaml.4.0.0 -> installed ocplib-json-typed-browser.0.7.1 -> installed js_of_ocaml-ppx.4.0.0 -> installed js_of_ocaml-lwt.4.0.0 -> installed js_of_ocaml-toplevel.4.0.0 -> installed topkg.1.0.7 -> installed uutf.1.0.3 -> installed react.1.2.2 -> installed fmt.0.9.0 -> installed markup.1.0.3 -> installed tyxml.4.6.0 -> installed reactiveData.0.3.0 -> installed lwt_react.1.2.0 -> installed astring.0.8.5 -> installed markup-lwt.0.5.0 -> installed odoc-parser.1.0.1 -> installed jsonm.1.0.2 -> installed js_of_ocaml-tyxml.4.0.0 -> installed ezjsonm.1.3.0 -> installed fpath.0.7.3 -> installed cohttp.4.0.0 -> installed logs.0.7.0 -> installed gg.1.0.0 -> installed ocp-ocamlres.0.4 -> installed cohttp-lwt.4.0.0 -> installed conduit.1.3.0 -> installed odoc.2.1.1 -> installed conduit-lwt.1.3.0 -> installed omd.1.3.1 -> installed conduit-lwt-unix.1.3.0 -> installed vg.0.9.4 -> installed cohttp-lwt-unix.4.0.0 [ERROR] The compilation of learn-ocaml.0.14.0 failed at "dune build -p learn-ocaml -j 31". #=== ERROR while compiling learn-ocaml.0.14.0 =================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src # path ~/.opam/4.12/.opam-switch/build/learn-ocaml.0.14.0 # command ~/.opam/4.12/bin/dune build -p learn-ocaml -j 31 # exit-code 1 # env-file ~/.opam/log/learn-ocaml-113-59d026.env # output-file ~/.opam/log/learn-ocaml-113-59d026.out ### output ### # ocamlc src/ace-lib/.ace.objs/byte/ocaml_mode.{cmo,cmt} # File "src/ace-lib/ocaml_mode.ml", line 154, characters 19-20: # 154 | | LINE_DIRECTIVE _ -> "meta" # ^ # Warning 28 [wildcard-arg-to-constant-constr]: wildcard pattern given as argument to a constant constructor # js_of_ocaml src/app/learnocaml_partition_view.bc.js # warning: free variables in primitive code "define_ocaml_mode" (/home/opam/.opam/4.12/.opam-switch/build/learn-ocaml.0.14.0/_build/default/src/ace-lib/ace_bindings.js:19) # vars: ace # js_of_ocaml src/app/learnocaml_student_view.bc.js # warning: free variables in primitive code "define_ocaml_mode" (/home/opam/.opam/4.12/.opam-switch/build/learn-ocaml.0.14.0/_build/default/src/ace-lib/ace_bindings.js:19) # vars: ace # js_of_ocaml src/app/learnocaml_description_main.bc.js # warning: free variables in primitive code "define_ocaml_mode" (/home/opam/.opam/4.12/.opam-switch/build/learn-ocaml.0.14.0/_build/default/src/ace-lib/ace_bindings.js:19) # vars: ace # js_of_ocaml src/app/learnocaml_index_main.bc.js # warning: free variables in primitive code "define_ocaml_mode" (/home/opam/.opam/4.12/.opam-switch/build/learn-ocaml.0.14.0/_build/default/src/ace-lib/ace_bindings.js:19) # vars: ace # js_of_ocaml src/app/learnocaml_playground_main.bc.js # warning: free variables in primitive code "define_ocaml_mode" (/home/opam/.opam/4.12/.opam-switch/build/learn-ocaml.0.14.0/_build/default/src/ace-lib/ace_bindings.js:19) # vars: ace # js_of_ocaml src/app/learnocaml_exercise_main.bc.js # warning: free variables in primitive code "define_ocaml_mode" (/home/opam/.opam/4.12/.opam-switch/build/learn-ocaml.0.14.0/_build/default/src/ace-lib/ace_bindings.js:19) # vars: ace # js_of_ocaml src/grader/grader_jsoo_worker.bc.js # Warning: Program not linked with -g, original variable names and locations not available. # There are some missing primitives # Dummy implementations (raising 'Failure' exception) will be used if they are not available at runtime. # You can prevent the generation of dummy implementations with the commandline option '--disable genprim' # Missing primitives: # caml_unix_map_file_bytecode # unix_accept # unix_access # unix_alarm # unix_bind # unix_chdir # unix_chmod # unix_chown # unix_chroot # unix_clear_close_on_exec # unix_clear_nonblock # unix_close # unix_closedir # unix_connect # unix_dup # unix_dup2 # unix_environment # unix_environment_unsafe # unix_error_message # unix_execv # unix_execve # unix_execvp # unix_execvpe # unix_exit # unix_fchmod # unix_fchown # unix_fork # unix_fstat # unix_fstat_64 # unix_fsync # unix_ftruncate # unix_ftruncate_64 # unix_getaddrinfo # unix_getcwd # unix_getegid # unix_geteuid # unix_getgid # unix_getgrgid # unix_getgrnam # unix_getgroups # unix_gethostbyaddr # unix_gethostbyname # unix_gethostname # unix_getitimer # unix_getlogin # unix_getnameinfo # unix_getpeername # unix_getpid # unix_getppid # unix_getprotobyname # unix_getprotobynumber # unix_getpwnam # unix_getservbyname # unix_getservbyport # unix_getsockname # unix_getsockopt # unix_inchannel_of_filedescr # unix_initgroups # unix_kill # unix_link # unix_listen # unix_lockf # unix_lseek # unix_lseek_64 # unix_mkfifo # unix_nice # unix_open # unix_opendir # unix_outchannel_of_filedescr # unix_pipe # unix_putenv # unix_read # unix_readdir # unix_recv # unix_recvfrom # unix_rename # unix_rewinddir # unix_select # unix_send # unix_sendto # unix_set_close_on_exec # unix_set_nonblock # unix_setgid # unix_setgroups # unix_setitimer # unix_setsid # unix_setsockopt # unix_setuid # unix_shutdown # unix_sigpending # unix_sigprocmask # unix_sigsuspend # unix_single_write # unix_sleep # unix_socket # unix_socketpair # unix_spawn # unix_string_of_inet_addr # unix_tcdrain # unix_tcflow # unix_tcflush # unix_tcgetattr # unix_tcsendbreak # unix_tcsetattr # unix_times # unix_truncate # unix_truncate_64 # unix_umask # unix_utimes # unix_wait # unix_waitpid # unix_write # ocamlc src/utils/.learnocaml_partition_create.objs/byte/learnocaml_partition_create.{cmo,cmt} (exit 2) # (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -safe-string -w +a-4-42-44-45-48-3-58 -warn-error A-4-42-44-45-48 -bin-annot -I src/utils/.learnocaml_partition_create.objs/byte -I /home/opam/.opam/4.12/lib/angstrom -I /home/opam/.opam/4.12/lib/asak -I /home/opam/.opam/4.12/lib/astring -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base64 -I /home/opam/.opam/4.12/lib/bigarray-compat -I /home/opam/.opam/4.12/lib/bigstringaf -I /home/opam/.opam/4.12/lib/bytes -I /home/opam/.opam/4.12/lib/conduit -I /home/opam/.opam/4.12/lib/cstruct -I /home/opam/.opam/4.12/lib/digestif -I /home/opam/.opam/4.12/lib/digestif/ocaml -I /home/opam/.opam/4.12/lib/eqaf -I /home/opam/.opam/4.12/lib/ezjsonm -I /home/opam/.opam/4.12/lib/hex -I /home/opam/.opam/4.12/lib/ipaddr -I /home/opam/.opam/4.12/lib/jsonm -I /home/opam/.opam/4.12/lib/lwt -I /home/opam/.opam/4.12/lib/lwt/unix -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ocaml/threads -I /home/opam/.opam/4.12/lib/ocplib-endian -I /home/opam/.opam/4.12/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.12/lib/ocplib-json-typed -I /home/opam/.opam/4.12/lib/omd -I /home/opam/.opam/4.12/lib/parsexp -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/sexplib -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stringext -I /home/opam/.opam/4.12/lib/uri -I /home/opam/.opam/4.12/lib/uutf -I src/grader/.learnocaml_report.objs/byte -I src/repo/.learnocaml_repository.objs/byte -I src/state/.learnocaml_api.objs/byte -I src/state/.learnocaml_data.objs/byte -I src/state/.learnocaml_store.objs/byte -I src/toplevel/.learnocaml_toplevel_history.objs/byte -I src/utils/.learnocaml_xor.objs/byte -I src/utils/.lwt_utils.objs/byte -I src/utils/.ocplib_i18n.objs/byte -I src/utils/.sha.objs/byte -intf-suffix .ml -no-alias-deps -o src/utils/.learnocaml_partition_create.objs/byte/learnocaml_partition_create.cmo -c -impl src/utils/learnocaml_partition_create.ml) # File "src/utils/learnocaml_partition_create.ml", line 105, characters 65-73: # 105 | let bad_type,partition_by_grade = asak_partition prof fun_name solution by_grade in # ^^^^^^^^ # Error: This expression has type string but an expression was expected of type # Types.type_expr # ocamlopt src/utils/.learnocaml_partition_create.objs/native/learnocaml_partition_create.{cmx,o} (exit 2) # (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -safe-string -w +a-4-42-44-45-48-3-58 -warn-error A-4-42-44-45-48 -I src/utils/.learnocaml_partition_create.objs/byte -I src/utils/.learnocaml_partition_create.objs/native -I /home/opam/.opam/4.12/lib/angstrom -I /home/opam/.opam/4.12/lib/asak -I /home/opam/.opam/4.12/lib/astring -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base64 -I /home/opam/.opam/4.12/lib/bigarray-compat -I /home/opam/.opam/4.12/lib/bigstringaf -I /home/opam/.opam/4.12/lib/bytes -I /home/opam/.opam/4.12/lib/conduit -I /home/opam/.opam/4.12/lib/cstruct -I /home/opam/.opam/4.12/lib/digestif -I /home/opam/.opam/4.12/lib/digestif/ocaml -I /home/opam/.opam/4.12/lib/eqaf -I /home/opam/.opam/4.12/lib/ezjsonm -I /home/opam/.opam/4.12/lib/hex -I /home/opam/.opam/4.12/lib/ipaddr -I /home/opam/.opam/4.12/lib/jsonm -I /home/opam/.opam/4.12/lib/lwt -I /home/opam/.opam/4.12/lib/lwt/unix -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ocaml/threads -I /home/opam/.opam/4.12/lib/ocplib-endian -I /home/opam/.opam/4.12/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.12/lib/ocplib-json-typed -I /home/opam/.opam/4.12/lib/omd -I /home/opam/.opam/4.12/lib/parsexp -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/sexplib -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stringext -I /home/opam/.opam/4.12/lib/uri -I /home/opam/.opam/4.12/lib/uutf -I src/grader/.learnocaml_report.objs/byte -I src/grader/.learnocaml_report.objs/native -I src/repo/.learnocaml_repository.objs/byte -I src/repo/.learnocaml_repository.objs/native -I src/state/.learnocaml_api.objs/byte -I src/state/.learnocaml_api.objs/native -I src/state/.learnocaml_data.objs/byte -I src/state/.learnocaml_data.objs/native -I src/state/.learnocaml_store.objs/byte -I src/state/.learnocaml_store.objs/native -I src/toplevel/.learnocaml_toplevel_history.objs/byte -I src/toplevel/.learnocaml_toplevel_history.objs/native -I src/utils/.learnocaml_xor.objs/byte -I src/utils/.learnocaml_xor.objs/native -I src/utils/.lwt_utils.objs/byte -I src/utils/.lwt_utils.objs/native -I src/utils/.ocplib_i18n.objs/byte -I src/utils/.ocplib_i18n.objs/native -I src/utils/.sha.objs/byte -I src/utils/.sha.objs/native -intf-suffix .ml -no-alias-deps -o src/utils/.learnocaml_partition_create.objs/native/learnocaml_partition_create.cmx -c -impl src/utils/learnocaml_partition_create.ml) # File "src/utils/learnocaml_partition_create.ml", line 105, characters 65-73: # 105 | let bad_type,partition_by_grade = asak_partition prof fun_name solution by_grade in # ^^^^^^^^ # Error: This expression has type string but an expression was expected of type # Types.type_expr <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build learn-ocaml 0.14.0 +- +- The following changes have been performed | - install angstrom 0.16.1 | - install asak 0.5 | - install astring 0.8.5 | - install base v0.14.3 | - install base-bytes base | - install base64 3.5.1 | - install bigarray-compat 1.1.0 | - install bigstringaf 0.9.0 | - install camlp-streams 5.0.1 | - install checkseum 0.5.2 | - install cmdliner 1.3.0 | - install cohttp 4.0.0 | - install cohttp-lwt 4.0.0 | - install cohttp-lwt-unix 4.0.0 | - install conduit 1.3.0 | - install conduit-lwt 1.3.0 | - install conduit-lwt-unix 1.3.0 | - install conf-git 1.1 | - install conf-libssl 4 | - install conf-pkg-config 4 | - install cppo 1.8.0 | - install csexp 1.5.1 | - install cstruct 5.2.0 | - install decompress 0.8.1 | - install digestif 1.2.0 | - install dune-configurator 2.9.3 | - install easy-format 1.3.3 | - install eqaf 0.10 | - install ezjsonm 1.3.0 | - install fmt 0.9.0 | - install fpath 0.7.3 | - install gg 1.0.0 | - install hex 1.5.0 | - install ipaddr 2.9.0 | - install js_of_ocaml 4.0.0 | - install js_of_ocaml-compiler 4.0.0 | - install js_of_ocaml-lwt 4.0.0 | - install js_of_ocaml-ppx 4.0.0 | - install js_of_ocaml-toplevel 4.0.0 | - install js_of_ocaml-tyxml 4.0.0 | - install jsonm 1.0.2 | - install logs 0.7.0 | - install lwt 5.9.0 | - install lwt_react 1.2.0 | - install lwt_ssl 1.1.3 | - install magic-mime 1.3.1 | - install markup 1.0.3 | - install markup-lwt 0.5.0 | - install menhir 20240715 | - install menhirCST 20240715 | - install menhirLib 20240715 | - install menhirSdk 20240715 | - install num 1.5-1 | - install ocaml-compiler-libs v0.12.4 | - install ocaml-migrate-parsetree 1.8.0 | - install ocaml-syntax-shims 1.0.0 | - install ocamlbuild 0.15.0 | - install ocp-indent-nlfork 1.5.5 | - install ocp-ocamlres 0.4 | - install ocplib-endian 1.2 | - install ocplib-json-typed 0.7.1 | - install ocplib-json-typed-browser 0.7.1 | - install odoc 2.1.1 | - install odoc-parser 1.0.1 | - install omd 1.3.1 | - install optint 0.3.0 | - install parsexp v0.14.2 | - install pprint 20230830 | - install ppx_cstruct 5.2.0 | - install ppx_derivers 1.2.1 | - install ppx_sexp_conv v0.14.1 | - install ppx_tools 6.6 | - install ppx_tools_versioned 5.4.0 | - install ppxlib 0.15.0 | - install re 1.12.0 | - install react 1.2.2 | - install reactiveData 0.3.0 | - install result 1.5 | - install seq base | - install sexplib v0.14.0 | - install sexplib0 v0.14.0 | - install ssl 0.5.10 | - install stdlib-shims 0.3.0 | - install stringext 1.6.0 | - install topkg 1.0.7 | - install tyxml 4.6.0 | - install uchar 0.0.2 | - install uri 4.4.0 | - install uri-sexp 4.4.0 | - install uutf 1.0.3 | - install vg 0.9.4 | - install yojson 2.2.2 +- <><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><> => Note: This package is deprecated. # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20250204160111.export"