2025-12-15 14:44.35: New job: test jonludlam/js_top_worker https://github.com/jonludlam/js_top_worker.git#refs/heads/main (f83c32d71ee54b2d18b53d109933e44ed6054d78) (linux-x86_64:debian-13-5.2_opam-2.4) Base: ocaml/opam:debian-13-ocaml-5.2@sha256:9af90c5283bf719e1a1f7a134db0529a98b608b10a01ce5a4bad59d6f2464dc2 Opam project build To reproduce locally: git clone --recursive "https://github.com/jonludlam/js_top_worker.git" -b "main" && cd "js_top_worker" && git reset --hard f83c32d7 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-13-ocaml-5.2@sha256:9af90c5283bf719e1a1f7a134db0529a98b608b10a01ce5a4bad59d6f2464dc2 # debian-13-5.2_opam-2.4 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src RUN cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 js_top_worker_rpc_def.opam js_top_worker.opam js_top_worker-rpc.opam js_top_worker-client.opam ./ RUN opam pin add -yn js_top_worker_rpc_def.dev './' && \ opam pin add -yn js_top_worker.dev './' && \ opam pin add -yn js_top_worker-rpc.dev './' && \ opam pin add -yn js_top_worker-client.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 brr.0.0.8 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 gen.1.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-ppx.6.2.0 js_of_ocaml-toplevel.6.2.0 lwt.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_deriving_rpc.9.0.0 ppxlib.0.35.0 result.1.5 rpclib.9.0.0 rresult.0.7.0 sedlex.3.7 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 xmlm.1.4.0 yojson.3.0.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.4 --depext-only -y js_top_worker_rpc_def.dev js_top_worker.dev js_top_worker-rpc.dev js_top_worker-client.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-12-15 14:44.35: Using cache hint "jonludlam/js_top_worker-ocaml/opam:debian-13-ocaml-5.2@sha256:9af90c5283bf719e1a1f7a134db0529a98b608b10a01ce5a4bad59d6f2464dc2-debian-13-5.2_opam-2.4-410761f798e4c589ecf906fc29ce5190" 2025-12-15 14:44.35: Using OBuilder spec: ((from ocaml/opam:debian-13-ocaml-5.2@sha256:9af90c5283bf719e1a1f7a134db0529a98b608b10a01ce5a4bad59d6f2464dc2) (comment debian-13-5.2_opam-2.4) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src js_top_worker_rpc_def.opam js_top_worker.opam js_top_worker-rpc.opam js_top_worker-client.opam) (dst ./)) (run (network host) (shell "opam pin add -yn js_top_worker_rpc_def.dev './' && \ \nopam pin add -yn js_top_worker.dev './' && \ \nopam pin add -yn js_top_worker-rpc.dev './' && \ \nopam pin add -yn js_top_worker-client.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 brr.0.0.8 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 gen.1.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-ppx.6.2.0 js_of_ocaml-toplevel.6.2.0 lwt.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_deriving_rpc.9.0.0 ppxlib.0.35.0 result.1.5 rpclib.9.0.0 rresult.0.7.0 sedlex.3.7 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 xmlm.1.4.0 yojson.3.0.0") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y js_top_worker_rpc_def.dev js_top_worker.dev js_top_worker-rpc.dev js_top_worker-client.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2025-12-15 14:44.35: Waiting for resource in pool OCluster 2025-12-15 23:31.20: Waiting for worker… 2025-12-15 23:37.16: Got resource from pool OCluster Building on odawa.caelum.ci.dev All commits already cached HEAD is now at f83c32d Missing dependency (from ocaml/opam:debian-13-ocaml-5.2@sha256:9af90c5283bf719e1a1f7a134db0529a98b608b10a01ce5a4bad59d6f2464dc2) 2025-12-15 23:59.09 ---> using "7c3ff70eccce1f027fdce3b72c5e1ce82e266d82df52104964f62d43302ff238" from cache /: (comment debian-13-5.2_opam-2.4) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam")) 2025-12-15 23:59.09 ---> using "dc2b11613a504b53d9814a3d674b61fc6b97a98e6348049f95039dd4afb4b8fb" from cache /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [Y/n] y [NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=71 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-12-15 23:59.09 ---> using "0ac9f468523356f2e5d4b3c015ae52794f01575b708c15721f30c90ec40a952b" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-87-generic The OCaml toplevel, version 5.2.1 2.4.1 2025-12-15 23:59.09 ---> using "d7ddde82b678fc27c653bcbb8563dc3242b7ee4b8594f6df626dfa13122eff3c" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-12-15 23:59.09 ---> using "8b6e2ec2a662bd8eb0ab24426ecab6ffb92c8eef612456d8ea056fdc75b96ddf" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD ee48e882f0..c65fcb1165 master -> origin/master c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/opam/opam-repository Everything as up-to-date as possible (run with --verbose to show unavailable upgrades). However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2025-12-15 23:59.09 ---> using "4da8fddcafb101d7783cb8e2e564e0ff63f4e150c48d4ac49220c17ce5e345da" from cache /src: (copy (src js_top_worker_rpc_def.opam js_top_worker.opam js_top_worker-rpc.opam js_top_worker-client.opam) (dst ./)) 2025-12-15 23:59.09 ---> saved as "14f1b82b61f44cab1f6b87fc33df3e4e112413afccfdc59214f568c940a011fd" /src: (run (network host) (shell "opam pin add -yn js_top_worker_rpc_def.dev './' && \ \nopam pin add -yn js_top_worker.dev './' && \ \nopam pin add -yn js_top_worker-rpc.dev './' && \ \nopam pin add -yn js_top_worker-client.dev './'")) [NOTE] Package js_top_worker_rpc_def does not exist in opam repositories registered in the current switch. [js_top_worker_rpc_def.dev] synchronised (file:///src) js_top_worker_rpc_def is now pinned to file:///src (version dev) [NOTE] Package js_top_worker does not exist in opam repositories registered in the current switch. [js_top_worker.dev] synchronised (file:///src) js_top_worker is now pinned to file:///src (version dev) [NOTE] Package js_top_worker-rpc does not exist in opam repositories registered in the current switch. [js_top_worker-rpc.dev] synchronised (file:///src) js_top_worker-rpc is now pinned to file:///src (version dev) [NOTE] Package js_top_worker-client does not exist in opam repositories registered in the current switch. [js_top_worker-client.dev] synchronised (file:///src) js_top_worker-client is now pinned to file:///src (version dev) 2025-12-15 23:59.14 ---> saved as "18cbe00b3ffa915161481ab460873747a1436bfac8188711f968b5b8e7393f39" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-12-15 23:59.14 ---> saved as "d008d2fe27dfa5a9bc6cc0f8ad51087dec7a79f80a5607ffc529ca9891323833" /src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 brr.0.0.8 cmdliner.2.1.0 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 gen.1.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-ppx.6.2.0 js_of_ocaml-toplevel.6.2.0 lwt.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_deriving_rpc.9.0.0 ppxlib.0.35.0 result.1.5 rpclib.9.0.0 rresult.0.7.0 sedlex.3.7 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 xmlm.1.4.0 yojson.3.0.0") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.4 --depext-only -y js_top_worker_rpc_def.dev js_top_worker.dev js_top_worker-rpc.dev js_top_worker-client.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian trixie InRelease - Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB] - Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB] - Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB] - Fetched 176 kB in 0s (2126 kB/s) - Reading package lists... <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [js_top_worker.dev] synchronised (file:///src) [js_top_worker-client.dev] synchronised (file:///src) [js_top_worker-rpc.dev] synchronised (file:///src) [js_top_worker_rpc_def.dev] synchronised (file:///src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 3). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1). [NOTE] Package ocaml is already installed (current version is 5.2.1). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). 2025-12-15 23:59.23 ---> saved as "93e1122f68ed9d9ad2808c12e17fbb6ef143029ab3090e1743eb52ba8b3a0e4c" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 3). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1). [NOTE] Package ocaml is already installed (current version is 5.2.1). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-nnp is already installed (current version is base). [NOTE] Package base-domains is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 36 packages - install astring 0.8.5 - install base-bytes base - install base64 3.5.2 - install brr 0.0.8 - install cmdliner 2.1.0 - install cppo 1.8.0 - install csexp 1.5.2 - install dune 3.20.2 - install dune-configurator 3.20.2 - install gen 1.1 - install js_of_ocaml 6.2.0 - install js_of_ocaml-compiler 6.2.0 - install js_of_ocaml-ppx 6.2.0 - install js_of_ocaml-toplevel 6.2.0 - install lwt 5.9.2 - install menhir 20250912 - install menhirCST 20250912 - install menhirLib 20250912 - install menhirSdk 20250912 - install ocaml-compiler-libs v0.17.0 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install ocplib-endian 1.2 - install ppx_derivers 1.2.1 - install ppx_deriving_rpc 9.0.0 - install ppxlib 0.35.0 - install result 1.5 - install rpclib 9.0.0 - install rresult 0.7.0 - install sedlex 3.7 - install seq base - install sexplib0 v0.17.0 - install stdlib-shims 0.3.0 - install topkg 1.1.1 - install xmlm 1.4.0 - install yojson 3.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved astring.0.8.5 (cached) -> retrieved base64.3.5.2 (cached) -> retrieved brr.0.0.8 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved cmdliner.2.1.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved gen.1.1 (cached) -> retrieved lwt.5.9.2 (cached) -> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (cached) -> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached) -> retrieved js_of_ocaml.6.2.0, js_of_ocaml-compiler.6.2.0, js_of_ocaml-ppx.6.2.0, js_of_ocaml-toplevel.6.2.0 (cached) -> retrieved ocaml-compiler-libs.v0.17.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> installed cmdliner.2.1.0 -> retrieved ppx_deriving_rpc.9.0.0, rpclib.9.0.0 (cached) -> retrieved ppxlib.0.35.0 (cached) -> retrieved result.1.5 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved rresult.0.7.0 (cached) -> retrieved sedlex.3.7 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved xmlm.1.4.0 (cached) -> retrieved topkg.1.1.1 (cached) -> retrieved yojson.3.0.0 (cached) -> installed ocamlfind.1.9.8 -> installed base-bytes.base -> installed ocamlbuild.0.16.1 -> installed topkg.1.1.1 -> installed dune.3.20.2 -> installed rresult.0.7.0 -> installed base64.3.5.2 -> installed csexp.1.5.2 -> installed astring.0.8.5 -> installed xmlm.1.4.0 -> installed cppo.1.8.0 -> installed gen.1.1 -> installed menhirCST.20250912 -> installed menhirLib.20250912 -> installed menhirSdk.20250912 -> installed ocaml-compiler-libs.v0.17.0 -> installed ppx_derivers.1.2.1 -> installed result.1.5 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed yojson.3.0.0 -> installed ocplib-endian.1.2 -> installed rpclib.9.0.0 -> installed dune-configurator.3.20.2 -> installed lwt.5.9.2 -> installed menhir.20250912 -> installed ppxlib.0.35.0 -> installed ppx_deriving_rpc.9.0.0 -> installed sedlex.3.7 -> installed js_of_ocaml-compiler.6.2.0 -> installed js_of_ocaml-toplevel.6.2.0 -> installed brr.0.0.8 -> installed js_of_ocaml.6.2.0 -> installed js_of_ocaml-ppx.6.2.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-12-16 00:00.31 ---> saved as "c1ac91ee402ca5b462258913cd9139d4b78c70f730ec0fdefaadc68aecbe654b" /src: (copy (src .) (dst /src)) 2025-12-16 00:00.31 ---> saved as "a788dbe6b46ac4344e96525c15dae7107c6bc05c0b201c98cd36848e2729f87a" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I lib/.js_top_worker.objs/byte -I lib/.js_top_worker.objs/native -I /home/opam/.opam/5.2/lib/astring -I /home/opam/.opam/5.2/lib/gen -I /home/opam/.opam/5.2/lib/js_of_ocaml -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/dynlink -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/5.2/lib/js_of_ocaml-toplevel -I /home/opam/.opam/5.2/lib/menhirLib -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/rresult -I /home/opam/.opam/5.2/lib/sedlex -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/yojson -I idl/.js_top_worker_rpc.objs/byte -I idl/.js_top_worker_rpc.objs/native -cmi-file lib/.js_top_worker.objs/byte/js_top_worker__UTop.cmi -no-alias-deps -opaque -open Js_top_worker -o lib/.js_top_worker.objs/native/js_top_worker__UTop.cmx -c -impl lib/uTop.pp.ml) File "lib/uTop.ml", line 221, characters 59-60: Error: This expression has type Syntaxerr.invalid_package_type but an expression was expected of type string (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I lib/.js_top_worker.objs/byte -I /home/opam/.opam/5.2/lib/astring -I /home/opam/.opam/5.2/lib/gen -I /home/opam/.opam/5.2/lib/js_of_ocaml -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/dynlink -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/5.2/lib/js_of_ocaml-toplevel -I /home/opam/.opam/5.2/lib/menhirLib -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/rresult -I /home/opam/.opam/5.2/lib/sedlex -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/yojson -I idl/.js_top_worker_rpc.objs/byte -cmi-file lib/.js_top_worker.objs/byte/js_top_worker__UTop.cmi -no-alias-deps -opaque -open Js_top_worker -o lib/.js_top_worker.objs/byte/js_top_worker__UTop.cmo -c -impl lib/uTop.pp.ml) File "lib/uTop.ml", line 221, characters 59-60: Error: This expression has type Syntaxerr.invalid_package_type but an expression was expected of type string (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I lib/.js_top_worker.objs/byte -I lib/.js_top_worker.objs/native -I /home/opam/.opam/5.2/lib/astring -I /home/opam/.opam/5.2/lib/gen -I /home/opam/.opam/5.2/lib/js_of_ocaml -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/dynlink -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/5.2/lib/js_of_ocaml-toplevel -I /home/opam/.opam/5.2/lib/menhirLib -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/rresult -I /home/opam/.opam/5.2/lib/sedlex -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/yojson -I idl/.js_top_worker_rpc.objs/byte -I idl/.js_top_worker_rpc.objs/native -cmi-file lib/.js_top_worker.objs/byte/js_top_worker__UTop_complete.cmi -no-alias-deps -opaque -open Js_top_worker -o lib/.js_top_worker.objs/native/js_top_worker__UTop_complete.cmx -c -impl lib/uTop_complete.pp.ml) File "lib/uTop_complete.ml", line 383, characters 28-50: Error: This expression has type Load_path.paths but an expression was expected of type string list (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I lib/.js_top_worker.objs/byte -I /home/opam/.opam/5.2/lib/astring -I /home/opam/.opam/5.2/lib/gen -I /home/opam/.opam/5.2/lib/js_of_ocaml -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/dynlink -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/5.2/lib/js_of_ocaml-toplevel -I /home/opam/.opam/5.2/lib/menhirLib -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/rresult -I /home/opam/.opam/5.2/lib/sedlex -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/yojson -I idl/.js_top_worker_rpc.objs/byte -cmi-file lib/.js_top_worker.objs/byte/js_top_worker__UTop_complete.cmi -no-alias-deps -opaque -open Js_top_worker -o lib/.js_top_worker.objs/byte/js_top_worker__UTop_complete.cmo -c -impl lib/uTop_complete.pp.ml) File "lib/uTop_complete.ml", line 383, characters 28-50: Error: This expression has type Load_path.paths but an expression was expected of type string list (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I example/.example.eobjs/byte -I /home/opam/.opam/5.2/lib/brr -I /home/opam/.opam/5.2/lib/js_of_ocaml -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/5.2/lib/lwt -I /home/opam/.opam/5.2/lib/rresult -I idl/.js_top_worker_client.objs/byte -I idl/.js_top_worker_rpc.objs/byte -no-alias-deps -opaque -o example/.example.eobjs/byte/dune__exe__Example.cmo -c -impl example/example.pp.ml) File "example/example.ml", line 6, characters 12-27: 6 | let log s = Firebug.console##log (Js.string s) ^^^^^^^^^^^^^^^ Error (alert deprecated): module Js_of_ocaml.Firebug [since 6.0] Use Js_of_ocaml.Console instead. File "idl/toplevel_api_gen.ml", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/idl/toplevel_api_gen.ml _build/default/idl/toplevel_api_gen.ml.gen diff --git a/_build/default/idl/toplevel_api_gen.ml b/_build/default/idl/toplevel_api_gen.ml.gen index ed4076e..89f774b 100644 --- a/_build/default/idl/toplevel_api_gen.ml +++ b/_build/default/idl/toplevel_api_gen.ml.gen @@ -2,7 +2,8 @@ { tool_name = "ppx_driver"; include_dirs = []; - load_path = []; + hidden_include_dirs = []; + load_path = ([], []); open_modules = []; for_package = None; debug = false; @@ -26,7 +27,7 @@ type highlight = { include struct let _ = fun (_ : highlight) -> () - let rec (highlight_line1 : (_, highlight) Rpc.Types.field) = + let rec highlight_line1 : (_, highlight) Rpc.Types.field = { Rpc.Types.fname = "line1"; Rpc.Types.field = (let open Rpc.Types in Basic Int); @@ -34,9 +35,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.line1); - Rpc.Types.fset = (fun v -> fun _s -> { _s with line1 = v }) + Rpc.Types.fset = (fun v _s -> { _s with line1 = v }) } - and (highlight_line2 : (_, highlight) Rpc.Types.field) = + and highlight_line2 : (_, highlight) Rpc.Types.field = { Rpc.Types.fname = "line2"; Rpc.Types.field = (let open Rpc.Types in Basic Int); @@ -44,9 +45,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.line2); - Rpc.Types.fset = (fun v -> fun _s -> { _s with line2 = v }) + Rpc.Types.fset = (fun v _s -> { _s with line2 = v }) } - and (highlight_col1 : (_, highlight) Rpc.Types.field) = + and highlight_col1 : (_, highlight) Rpc.Types.field = { Rpc.Types.fname = "col1"; Rpc.Types.field = (let open Rpc.Types in Basic Int); @@ -54,9 +55,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.col1); - Rpc.Types.fset = (fun v -> fun _s -> { _s with col1 = v }) + Rpc.Types.fset = (fun v _s -> { _s with col1 = v }) } - and (highlight_col2 : (_, highlight) Rpc.Types.field) = + and highlight_col2 : (_, highlight) Rpc.Types.field = { Rpc.Types.fname = "col2"; Rpc.Types.field = (let open Rpc.Types in Basic Int); @@ -64,7 +65,7 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.col2); - Rpc.Types.fset = (fun v -> fun _s -> { _s with col2 = v }) + Rpc.Types.fset = (fun v _s -> { _s with col2 = v }) } and typ_of_highlight = Rpc.Types.Struct @@ -127,7 +128,7 @@ type exec_result = include struct let _ = fun (_ : exec_result) -> () - let rec (exec_result_stdout : (_, exec_result) Rpc.Types.field) = + let rec exec_result_stdout : (_, exec_result) Rpc.Types.field = { Rpc.Types.fname = "stdout"; Rpc.Types.field = @@ -136,9 +137,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.stdout); - Rpc.Types.fset = (fun v -> fun _s -> { _s with stdout = v }) + Rpc.Types.fset = (fun v _s -> { _s with stdout = v }) } - and (exec_result_stderr : (_, exec_result) Rpc.Types.field) = + and exec_result_stderr : (_, exec_result) Rpc.Types.field = { Rpc.Types.fname = "stderr"; Rpc.Types.field = @@ -147,9 +148,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.stderr); - Rpc.Types.fset = (fun v -> fun _s -> { _s with stderr = v }) + Rpc.Types.fset = (fun v _s -> { _s with stderr = v }) } - and (exec_result_sharp_ppf : (_, exec_result) Rpc.Types.field) = + and exec_result_sharp_ppf : (_, exec_result) Rpc.Types.field = { Rpc.Types.fname = "sharp_ppf"; Rpc.Types.field = @@ -158,9 +159,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.sharp_ppf); - Rpc.Types.fset = (fun v -> fun _s -> { _s with sharp_ppf = v }) + Rpc.Types.fset = (fun v _s -> { _s with sharp_ppf = v }) } - and (exec_result_caml_ppf : (_, exec_result) Rpc.Types.field) = + and exec_result_caml_ppf : (_, exec_result) Rpc.Types.field = { Rpc.Types.fname = "caml_ppf"; Rpc.Types.field = @@ -169,9 +170,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.caml_ppf); - Rpc.Types.fset = (fun v -> fun _s -> { _s with caml_ppf = v }) + Rpc.Types.fset = (fun v _s -> { _s with caml_ppf = v }) } - and (exec_result_highlight : (_, exec_result) Rpc.Types.field) = + and exec_result_highlight : (_, exec_result) Rpc.Types.field = { Rpc.Types.fname = "highlight"; Rpc.Types.field = (Rpc.Types.Option typ_of_highlight); @@ -179,7 +180,7 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.highlight); - Rpc.Types.fset = (fun v -> fun _s -> { _s with highlight = v }) + Rpc.Types.fset = (fun v _s -> { _s with highlight = v }) } and typ_of_exec_result = Rpc.Types.Struct @@ -257,7 +258,7 @@ type completion_result = include struct let _ = fun (_ : completion_result) -> () - let rec (completion_result_n : (_, completion_result) Rpc.Types.field) = + let rec completion_result_n : (_, completion_result) Rpc.Types.field = { Rpc.Types.fname = "n"; Rpc.Types.field = (let open Rpc.Types in Basic Int); @@ -267,10 +268,10 @@ include "inserted"]; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.n); - Rpc.Types.fset = (fun v -> fun _s -> { _s with n = v }) + Rpc.Types.fset = (fun v _s -> { _s with n = v }) } - and (completion_result_completions : - (_, completion_result) Rpc.Types.field) = + and completion_result_completions : + (_, completion_result) Rpc.Types.field = { Rpc.Types.fname = "completions"; Rpc.Types.field = @@ -279,7 +280,7 @@ include Rpc.Types.fdescription = ["The list of possible completions"]; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.completions); - Rpc.Types.fset = (fun v -> fun _s -> { _s with completions = v }) + Rpc.Types.fset = (fun v _s -> { _s with completions = v }) } and typ_of_completion_result = Rpc.Types.Struct @@ -325,7 +326,7 @@ type cma = include struct let _ = fun (_ : cma) -> () - let rec (cma_url : (_, cma) Rpc.Types.field) = + let rec cma_url : (_, cma) Rpc.Types.field = { Rpc.Types.fname = "url"; Rpc.Types.field = (let open Rpc.Types in Basic String); @@ -333,9 +334,9 @@ include Rpc.Types.fdescription = ["URL where the cma is available"]; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.url); - Rpc.Types.fset = (fun v -> fun _s -> { _s with url = v }) + Rpc.Types.fset = (fun v _s -> { _s with url = v }) } - and (cma_fn : (_, cma) Rpc.Types.field) = + and cma_fn : (_, cma) Rpc.Types.field = { Rpc.Types.fname = "fn"; Rpc.Types.field = (let open Rpc.Types in Basic String); @@ -343,7 +344,7 @@ include Rpc.Types.fdescription = ["Name of the 'wrapping' function"]; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.fn); - Rpc.Types.fset = (fun v -> fun _s -> { _s with fn = v }) + Rpc.Types.fset = (fun v _s -> { _s with fn = v }) } and typ_of_cma = Rpc.Types.Struct @@ -382,7 +383,7 @@ type init_libs = { include struct let _ = fun (_ : init_libs) -> () - let rec (init_libs_cmi_urls : (_, init_libs) Rpc.Types.field) = + let rec init_libs_cmi_urls : (_, init_libs) Rpc.Types.field = { Rpc.Types.fname = "cmi_urls"; Rpc.Types.field = @@ -391,9 +392,9 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.cmi_urls); - Rpc.Types.fset = (fun v -> fun _s -> { _s with cmi_urls = v }) + Rpc.Types.fset = (fun v _s -> { _s with cmi_urls = v }) } - and (init_libs_cmas : (_, init_libs) Rpc.Types.field) = + and init_libs_cmas : (_, init_libs) Rpc.Types.field = { Rpc.Types.fname = "cmas"; Rpc.Types.field = (Rpc.Types.List typ_of_cma); @@ -401,7 +402,7 @@ include Rpc.Types.fdescription = []; Rpc.Types.fversion = None; Rpc.Types.fget = (fun _r -> _r.cmas); - Rpc.Types.fset = (fun v -> fun _s -> { _s with cmas = v }) + Rpc.Types.fset = (fun v _s -> { _s with cmas = v }) } and typ_of_init_libs = Rpc.Types.Struct @@ -464,17 +465,15 @@ include Rpc.Types.vdefault = None; Rpc.Types.vversion = None; Rpc.Types.vconstructor = - (fun s' -> - fun t -> - let s = String.lowercase_ascii s' in - match s with - | "internalerror" -> - Rresult.R.bind - (t.tget (let open Rpc.Types in Basic String)) - (function | a0 -> Rresult.R.ok (InternalError a0)) - | _ -> - Rresult.R.error_msg - (Printf.sprintf "Unknown tag '%s'" s)) + (fun s' t -> + let s = String.lowercase_ascii s' in + match s with + | "internalerror" -> + Rresult.R.bind + (t.tget (let open Rpc.Types in Basic String)) + (function | a0 -> Rresult.R.ok (InternalError a0)) + | _ -> + Rresult.R.error_msg (Printf.sprintf "Unknown tag '%s'" s)) } : err Rpc.Types.variant) and err = { (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I lib/.js_top_worker.objs/byte -I /home/opam/.opam/5.2/lib/astring -I /home/opam/.opam/5.2/lib/gen -I /home/opam/.opam/5.2/lib/js_of_ocaml -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/dynlink -I /home/opam/.opam/5.2/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/5.2/lib/js_of_ocaml-toplevel -I /home/opam/.opam/5.2/lib/menhirLib -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/rresult -I /home/opam/.opam/5.2/lib/sedlex -I /home/opam/.opam/5.2/lib/seq -I /home/opam/.opam/5.2/lib/yojson -I idl/.js_top_worker_rpc.objs/byte -no-alias-deps -opaque -open Js_top_worker -o lib/.js_top_worker.objs/byte/js_top_worker__Worker.cmo -c -impl lib/worker.pp.ml) File "lib/worker.cppo.ml", line 8, characters 27-42: Error (alert deprecated): module Js_of_ocaml.Firebug [since 6.0] Use Js_of_ocaml.Console instead. File "lib/worker.cppo.ml", line 139, characters 10-25: Error (alert deprecated): module Js_of_ocaml.Firebug [since 6.0] Use Js_of_ocaml.Console instead. File "lib/worker.cppo.ml", lines 201-215, characters 7-37: Error: This function should have type allow_hidden:bool -> unit_name:string -> Persistent_env.Persistent_signature.t option but its first argument is labeled ~unit_name instead of ~allow_hidden "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-12-16 00:00.33: Job failed: Failed: Build failed