Organisationsmirageezjsonm0c6b49 ()windows-server-2022-amd64-5.4_opam-2.4

windows-server-2022-amd64-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-10-18 16:36.58: New job: test mirage/ezjsonm https://github.com/mirage/ezjsonm.git#refs/pull/56/head (0c6b49717d95976e40de75293ba6da2eec840c20) (windows-amd64:windows-server-2022-amd64-5.4_opam-2.4)
Base: windows-server-2022-amd64-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/ezjsonm.git" && cd "ezjsonm" && git fetch origin "refs/pull/56/head" && git reset --hard 0c6b4971
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.4
# windows-server-2022-amd64-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.4 /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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ezjsonm.opam ezjsonm-lwt.opam /Users/opam/src/./
RUN opam pin add -yn ezjsonm.dev '/Users/opam/src/./' && \
opam pin add -yn ezjsonm-lwt.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 conf-npm.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 fmt.0.11.0 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml-compiler.6.2.0 jsonm.1.0.2 lwt.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 re.1.14.0 sedlex.3.7 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ezjsonm.dev ezjsonm-lwt.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-10-18 16:36.58: Using cache hint "mirage/ezjsonm-windows-server-2022-amd64-ocaml-5.4-windows-server-2022-amd64-5.4_opam-2.4-298357fb65e58dca7b2170acc8f87366"
2025-10-18 16:36.58: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.4)
(comment windows-server-2022-amd64-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "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"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ezjsonm.opam ezjsonm-lwt.opam) (dst /Users/opam/src/./))
(run (network host)
(shell  "opam pin add -yn ezjsonm.dev '/Users/opam/src/./' && \
\nopam pin add -yn ezjsonm-lwt.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 conf-npm.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 fmt.0.11.0 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml-compiler.6.2.0 jsonm.1.0.2 lwt.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 re.1.14.0 sedlex.3.7 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.0 uutf.1.0.4 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.4 --depext-only -y ezjsonm.dev ezjsonm-lwt.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-10-18 16:36.58: Waiting for resource in pool OCluster
2025-10-18 23:11.54: Waiting for worker…
2025-10-19 03:19.48: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at 0c6b497 show error location in [read_error_description]


(from windows-server-2022-amd64-ocaml-5.4)
2025-10-19 03:19.48 ---> using "dc0473c210cbdaa785843aceeb4b20f70de275b54f2f11b3cd1945755e26c295" from cache


/: (comment windows-server-2022-amd64-5.4_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-19 03:19.48 ---> using "2cc10c0de974a41a492b52f4c10e4774291ab2452e1192584f4bd1214eecf165" 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-10-19 03:19.48 ---> using "e3a025f74254e53619e1cb17b830cf27adf6ecfb6e45ea98f6e1b9fc227d98a5" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.5-1.x86_64
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-19 03:19.48 ---> using "b2317ce0850b83bf9a96e1d3315a4c08197605467948e554d9a6e5c89b07a70d" 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 deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 || git fetch origin master) && git reset -q --hard deb3de7fc5bdf4eb6ebbacd9c3207c8d6820bc64 && git log --no-decorate -n1 --oneline && opam update -u"))
deb3de7fc5 Merge pull request #28686 from NathanReb/release-ppxlib-0.37.0


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-19 03:19.48 ---> using "303c9136cccb912d5b6afafbcd8534184868ce3712c10feee73186d4daa73b22" from cache


/: (copy (src ezjsonm.opam ezjsonm-lwt.opam) (dst /Users/opam/src/./))
2025-10-19 03:20.22 ---> saved as "e1b587a1b7c8d6d97377a18dd32924692623cc21b8f72351c6c1f9ea17ef6a77"


/: (run (network host)
(shell  "opam pin add -yn ezjsonm.dev '/Users/opam/src/./' && \
\nopam pin add -yn ezjsonm-lwt.dev '/Users/opam/src/./'"))
[ezjsonm.dev] synchronised (file://C:/Users/opam/src/.)
ezjsonm is now pinned to file://C:/Users/opam/src/. (version dev)
[ezjsonm-lwt.dev] synchronised (file://C:/Users/opam/src/.)
ezjsonm-lwt is now pinned to file://C:/Users/opam/src/. (version dev)
2025-10-19 03:21.03 ---> saved as "2baa511f6532b4b7246fe021db472c7dacac026d07b32b7b7d1e987cf8431d6a"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-10-19 03:21.36 ---> saved as "1820a5e542e8ae11a900984134b6a708699634c103e3dd9862d839856f5b9eb3"


/: (env DEPS "alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 conf-npm.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 fmt.0.11.0 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 js_of_ocaml-compiler.6.2.0 jsonm.1.0.2 lwt.5.9.2 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 re.1.14.0 sedlex.3.7 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.0 uutf.1.0.4 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.4 --depext-only -y ezjsonm.dev ezjsonm-lwt.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ezjsonm.dev] synchronised (file://C:/Users/opam/src/.)
[ezjsonm-lwt.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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-10-19 03:23.00 ---> saved as "f5a21c0ddfca23534a9dccee92b4fc7a816abb292fe76502132d93804de29f84"


/: (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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 42 packages
- install alcotest                1.9.1
- install astring                 0.8.5
- install base                    v0.17.3
- install base-bytes              base
- install cmdliner                2.0.0
- install conf-npm                1
- install cppo                    1.8.0
- install csexp                   1.5.2
- install cstruct                 6.2.0
- install dune                    3.20.2
- install dune-configurator       3.20.2
- install fmt                     0.11.0
- install gen                     1.1
- install hex                     1.5.0
- install js_of_ocaml-compiler    6.2.0
- install jsonm                   1.0.2
- install lwt                     5.9.2
- install menhir                  20250912
- install menhirCST               20250912
- install menhirLib               20250912
- install menhirSdk               20250912
- install num                     1.6
- install ocaml-compiler-libs     v0.17.0
- install ocaml-syntax-shims      1.0.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlbuild              0.16.1
- install ocamlfind               1.9.8
- install ocplib-endian           1.2
- install parsexp                 v0.17.0
- install ppx_derivers            1.2.1
- install ppx_sexp_conv           v0.17.1
- install ppxlib                  0.37.0
- install ppxlib_jane             v0.17.4
- install re                      1.14.0
- install sedlex                  3.7
- install seq                     base
- install sexplib                 v0.17.0
- install sexplib0                v0.17.0
- install stdlib-shims            0.3.0
- install topkg                   1.1.0
- install uutf                    1.0.4
- install yojson                  3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved alcotest.1.9.1  (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
-> retrieved base.v0.17.3  (https://github.com/janestreet/base/archive/refs/tags/v0.17.3.tar.gz)
-> retrieved cppo.1.8.0  (cached)


#=== ERROR while compiling conf-npm.1 =========================================#
"npm": command not found.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - fetch cmdliner 2.0.0
| - build conf-npm 1
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
"opam install $DEPS" failed with exit status 31
2025-10-19 03:24.15: Job failed: Failed: Build failed