Organisationsjonludlamjs_top_worker015a4f ()windows-server-2022-amd64-5.3_opam-2.3

windows-server-2022-amd64-5.3_opam-2.3

Logs

Show full logs
2025-07-05 07:06.11: New job: test jonludlam/js_top_worker https://github.com/jonludlam/js_top_worker.git#refs/pull/10/head (015a4f704c4bf365774347b7881ae5ee7bdae7f2) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.3)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/jonludlam/js_top_worker.git" && cd "js_top_worker" && git fetch origin "refs/pull/10/head" && git reset --hard 015a4f70
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 6dea2f93908c01ba6c81b048fe926d48d2309cb8 || git fetch origin master) && git reset -q --hard 6dea2f93908c01ba6c81b048fe926d48d2309cb8 && 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 /Users/opam/src/./
RUN opam pin add -yn js_top_worker_rpc_def.dev '/Users/opam/src/./' && \
    opam pin add -yn js_top_worker.dev '/Users/opam/src/./' && \
    opam pin add -yn js_top_worker-rpc.dev '/Users/opam/src/./' && \
    opam pin add -yn js_top_worker-client.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 brr.0.0.7 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 flexdll.0.44 gen.1.1 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml.6.1.0 js_of_ocaml-compiler.6.1.0 js_of_ocaml-ppx.6.1.0 js_of_ocaml-toplevel.6.1.0 lwt.5.9.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 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.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8 xmlm.1.4.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-07-05 07:06.11: Using cache hint "jonludlam/js_top_worker-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.3-2e73ed5e38d113a16f021c1aa6e65039"
2025-07-05 07:06.11: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
 (comment windows-server-2022-amd64-5.3_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 6dea2f93908c01ba6c81b048fe926d48d2309cb8 || git fetch origin master) && git reset -q --hard 6dea2f93908c01ba6c81b048fe926d48d2309cb8 && 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 /Users/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn js_top_worker_rpc_def.dev '/Users/opam/src/./' && \
             \nopam pin add -yn js_top_worker.dev '/Users/opam/src/./' && \
             \nopam pin add -yn js_top_worker-rpc.dev '/Users/opam/src/./' && \
             \nopam pin add -yn js_top_worker-client.dev '/Users/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
 (env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 brr.0.0.7 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 flexdll.0.44 gen.1.1 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml.6.1.0 js_of_ocaml-compiler.6.1.0 js_of_ocaml-ppx.6.1.0 js_of_ocaml-toplevel.6.1.0 lwt.5.9.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 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.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8 xmlm.1.4.0 yojson.3.0.0")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.3 --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 "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /Users/opam/src))
 (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2025-07-05 07:06.11: Waiting for resource in pool OCluster
2025-07-05 07:06.12: Waiting for worker…
2025-07-05 08:44.36: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at 015a4f7 Try support OCaml 5.2

(from windows-server-2022-amd64-ocaml-5.3)
2025-07-05 08:44.36 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache

/: (comment windows-server-2022-amd64-5.3_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-05 08:44.36 ---> using "95d5d85ee56c2575e196f53fe7f940cc0731fb5c4485beb38b72a714de9d05bf" from cache

/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.

<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>

opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.

How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
  2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
  3. Use Cygwin installation found in C:\cygwin64
  4. Use another existing Cygwin/MSYS2 installation
  5. Abort initialisation

[1/2/3/4/5] 1
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2025-07-05 08:44.36 ---> using "53bae75d46d214e65b51daece9ef873c6c6a891e203ec3d98bbd26c30834d1e2" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.5-1.x86_64
The OCaml toplevel, version 5.3.0
2.3.0
2025-07-05 08:44.36 ---> using "2b54922bf0d8d5ddbb1aea4afec4a959968c963bd87de7fe3038a742f957825c" from cache

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 6dea2f93908c01ba6c81b048fe926d48d2309cb8 || git fetch origin master) && git reset -q --hard 6dea2f93908c01ba6c81b048fe926d48d2309cb8 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..6dea2f9390  master     -> origin/master
6dea2f9390 Merge pull request #28135 from hhugo/release-js_of_ocaml-6.1.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository

The following actions will be performed:
=== recompile 7 packages
  - recompile base-domains        base           [uses ocaml]
  - recompile base-effects        base           [uses ocaml]
  - recompile base-nnp            base           [uses base-domains]
  - recompile ocaml               5.3.0          [uses ocaml-base-compiler]
  - recompile ocaml-base-compiler 5.3.0 (pinned) [uses ocaml-compiler]
  - recompile ocaml-compiler      5.3.0          [uses flexdll]
  - recompile ocaml-config        3              [uses ocaml-base-compiler]
=== upgrade 1 package
  - upgrade   flexdll             0.43 to 0.44

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> retrieved flexdll.0.44  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   ocaml.5.3.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.3.0
-> retrieved ocaml-compiler.5.3.0  (cached)
-> removed   ocaml-compiler.5.3.0
-> removed   flexdll.0.43
-> installed flexdll.0.44
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-05 08:44.36 ---> using "e8f77f4626720e2bfbc8d9eec2d35c39572c64979858fd88dc6a73c35f92901c" from cache

/: (copy (src js_top_worker_rpc_def.opam js_top_worker.opam js_top_worker-rpc.opam js_top_worker-client.opam)
         (dst /Users/opam/src/./))
2025-07-05 08:44.36 ---> using "caafe0f8e87f41eff127e53bad02046483c799e0124d2936baa6bf5494f1090c" from cache

/: (run (network host)
        (shell  "opam pin add -yn js_top_worker_rpc_def.dev '/Users/opam/src/./' && \
               \nopam pin add -yn js_top_worker.dev '/Users/opam/src/./' && \
               \nopam pin add -yn js_top_worker-rpc.dev '/Users/opam/src/./' && \
               \nopam pin add -yn js_top_worker-client.dev '/Users/opam/src/./'"))
Package js_top_worker_rpc_def does not exist, create as a NEW package? [y/n] y
[js_top_worker_rpc_def.dev] synchronised (file://C:/Users/opam/src/.)
js_top_worker_rpc_def is now pinned to file://C:/Users/opam/src/. (version dev)
Package js_top_worker does not exist, create as a NEW package? [y/n] y
[js_top_worker.dev] synchronised (file://C:/Users/opam/src/.)
js_top_worker is now pinned to file://C:/Users/opam/src/. (version dev)
Package js_top_worker-rpc does not exist, create as a NEW package? [y/n] y
[js_top_worker-rpc.dev] synchronised (file://C:/Users/opam/src/.)
js_top_worker-rpc is now pinned to file://C:/Users/opam/src/. (version dev)
Package js_top_worker-client does not exist, create as a NEW package? [y/n] y
[js_top_worker-client.dev] synchronised (file://C:/Users/opam/src/.)
js_top_worker-client is now pinned to file://C:/Users/opam/src/. (version dev)
2025-07-05 08:45.07 ---> saved as "3eaefb1632d6bbb15f9fe50e980f21c3c590069d162660b2ec5547a62402c6a4"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-07-05 08:45.27 ---> saved as "d60d0828537a2716af5ad111baf43984864f3c0433c80aac1d15f0c4636c6cc0"

/: (env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 brr.0.0.7 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 flexdll.0.44 gen.1.1 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml.6.1.0 js_of_ocaml-compiler.6.1.0 js_of_ocaml-ppx.6.1.0 js_of_ocaml-toplevel.6.1.0 lwt.5.9.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 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.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8 xmlm.1.4.0 yojson.3.0.0")

/: (env CI true)

/: (env OCAMLCI true)

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y js_top_worker_rpc_def.dev js_top_worker.dev js_top_worker-rpc.dev js_top_worker-client.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[js_top_worker.dev] synchronised (file://C:/Users/opam/src/.)
[js_top_worker-client.dev] synchronised (file://C:/Users/opam/src/.)
[js_top_worker_rpc_def.dev] synchronised (file://C:/Users/opam/src/.)
[js_top_worker-rpc.dev] synchronised (file://C:/Users/opam/src/.)

[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 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-effects 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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2025-07-05 08:47.24 ---> saved as "0096d455713818dbc8261da632fc0c976d838f9a88735322af8008c16598ad7a"

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 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-effects 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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== install 36 packages
  - install astring              0.8.5
  - install base-bytes           base
  - install base64               3.5.1
  - install brr                  0.0.7
  - install cmdliner             1.3.0
  - install cppo                 1.8.0
  - install csexp                1.5.2
  - install dune                 3.19.1
  - install dune-configurator    3.19.1
  - install gen                  1.1
  - install js_of_ocaml          6.1.0
  - install js_of_ocaml-compiler 6.1.0
  - install js_of_ocaml-ppx      6.1.0
  - install js_of_ocaml-toplevel 6.1.0
  - install lwt                  5.9.1
  - install menhir               20240715
  - install menhirCST            20240715
  - install menhirLib            20240715
  - install menhirSdk            20240715
  - 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.6
  - install seq                  base
  - install sexplib0             v0.17.0
  - install stdlib-shims         0.3.0
  - install topkg                1.0.8
  - install xmlm                 1.4.0
  - install yojson               3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved brr.0.0.7  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (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.1.3.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 rresult.0.7.0  (cached)
-> retrieved sedlex.3.6  (https://github.com/ocaml-community/sedlex/archive/refs/tags/v3.6.tar.gz)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved xmlm.1.4.0  (cached)
-> retrieved yojson.3.0.0  (https://github.com/ocaml-community/yojson/releases/download/3.0.0/yojson-3.0.0.tbz)
-> retrieved js_of_ocaml.6.1.0, js_of_ocaml-compiler.6.1.0, js_of_ocaml-ppx.6.1.0, js_of_ocaml-toplevel.6.1.0  (https://github.com/ocsigen/js_of_ocaml/releases/download/6.1.0/js_of_ocaml-6.1.0.tbz)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (https://github.com/ocaml/dune/releases/download/3.19.1/dune-3.19.1.tbz)
-> installed ocamlbuild.0.16.1
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed xmlm.1.4.0
-> installed astring.0.8.5
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed gen.1.1
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed dune-configurator.3.19.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed rpclib.9.0.0
-> installed lwt.5.9.1
-> installed ppxlib.0.35.0
-> installed ppx_deriving_rpc.9.0.0
-> installed sedlex.3.6
-> installed menhir.20240715
-> installed js_of_ocaml-compiler.6.1.0
-> installed js_of_ocaml-toplevel.6.1.0
-> installed js_of_ocaml.6.1.0
-> installed brr.0.0.7
-> installed js_of_ocaml-ppx.6.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-05 09:11.00 ---> saved as "0464740173be51e523a5a4e6bc7186e087f439c0d4d74f819fd82a13afb6380e"

/: (copy (src .) (dst /Users/opam/src))
2025-07-05 09:12.02 ---> saved as "d5386ef898172afdfe0efb62a66022f634b9f9a272c9e3e9153237eefb185912"

/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && C:\Users\opam\AppData\Local\opam\5.3.0\bin\ocamlc.opt.exe -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 C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml\compiler-libs -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\astring -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\gen -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler\dynlink -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler\runtime -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-toplevel -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\menhirLib -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\rresult -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\sedlex -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\seq -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\yojson -I idl/.js_top_worker_rpc.objs/byte -intf-suffix .ml -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 284, characters 18-26:
Error: Unbound value Exp.fun_
(cd _build/default && C:\Users\opam\AppData\Local\opam\5.3.0\bin\ocamlopt.opt.exe -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 C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml\compiler-libs -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\astring -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\gen -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler\dynlink -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler\runtime -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-toplevel -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\menhirLib -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\rresult -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\sedlex -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\seq -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\yojson -I idl/.js_top_worker_rpc.objs/byte -I idl/.js_top_worker_rpc.objs/native -intf-suffix .ml -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 284, characters 18-26:
Error: Unbound value Exp.fun_
File "idl/toplevel_api_gen.ml", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _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..ab42612 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 && C:\Users\opam\AppData\Local\opam\5.3.0\bin\ocamlc.opt.exe -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 C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml\compiler-libs -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\astring -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\gen -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler\dynlink -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-compiler\runtime -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\js_of_ocaml-toplevel -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\menhirLib -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\rresult -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\sedlex -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\seq -I C:\Users\opam\AppData\Local\opam\5.3.0\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 351, characters 44-57:
Error: This variant expression is expected to have type bool
       There is no constructor Mark_positive within type bool
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-07-05 09:13.19: Job failed: Failed: Build failed