Organisationsrobur-coopalbatrosseabbe4 ()windows-server-2022-amd64-4.14_opam-2.4

windows-server-2022-amd64-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-08-14 10:36.26: New job: test robur-coop/albatross https://github.com/robur-coop/albatross.git#refs/heads/main (eabbe43d705b7529d5eca2abdd5473a03ad32f3a) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.4)
Base: windows-server-2022-amd64-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/albatross.git" -b "main" && cd "albatross" && git reset --hard eabbe43d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_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 906e75de03e24cb3c6bc68c71156a6dab70c1fa4 || git fetch origin master) && git reset -q --hard 906e75de03e24cb3c6bc68c71156a6dab70c1fa4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 albatross.opam /Users/opam/src/./
RUN opam pin add -yn albatross.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cachet.0.0.2 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 decompress.1.5.3 digestif.1.3.0 dns.10.2.0 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 eqaf.0.10 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 http-lwt-client.0.3.2 httpaf.0.7.1 httpun-types.0.2.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.9.0 logs-syslog.0.5.0 lru.0.3.1 lwt.5.9.1 macaddr.5.6.1 metrics.0.5.0 metrics-influx.0.5.0 metrics-lwt.0.5.0 metrics-rusage.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 psq.0.2.1 ptime.1.2.0 re.1.13.2 result.1.5 rresult.0.7.0 seq.base solo5-elftool.0.4.0 stdlib-shims.0.3.0 syslog-message.1.2.0 system-mingw.1 tls.2.0.1 tls-lwt.2.0.1 topkg.1.1.0 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y albatross.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-08-14 10:36.26: Using cache hint "robur-coop/albatross-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.4-9492f98a2f5732087a6625555c0b217a"
2025-08-14 10:36.26: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
(comment windows-server-2022-amd64-4.14_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 906e75de03e24cb3c6bc68c71156a6dab70c1fa4 || git fetch origin master) && git reset -q --hard 906e75de03e24cb3c6bc68c71156a6dab70c1fa4 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src albatross.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn albatross.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.0 angstrom.0.16.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cachet.0.0.2 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 decompress.1.5.3 digestif.1.3.0 dns.10.2.0 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 eqaf.0.10 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 http-lwt-client.0.3.2 httpaf.0.7.1 httpun-types.0.2.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.9.0 logs-syslog.0.5.0 lru.0.3.1 lwt.5.9.1 macaddr.5.6.1 metrics.0.5.0 metrics-influx.0.5.0 metrics-lwt.0.5.0 metrics-rusage.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 psq.0.2.1 ptime.1.2.0 re.1.13.2 result.1.5 rresult.0.7.0 seq.base solo5-elftool.0.4.0 stdlib-shims.0.3.0 syslog-message.1.2.0 system-mingw.1 tls.2.0.1 tls-lwt.2.0.1 topkg.1.1.0 uutf.1.0.4 x509.1.0.6 zarith.1.14")
(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 albatross.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-08-14 10:36.26: Waiting for resource in pool OCluster
2025-08-14 10:36.27: Waiting for worker…
2025-08-14 10:39.22: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at eabbe43 Stream block_dump, block_add and block_set (#216)


(from windows-server-2022-amd64-ocaml-4.14)
2025-08-14 10:39.23 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache


/: (comment windows-server-2022-amd64-4.14_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-08-14 10:39.23 ---> using "fa5bb00e1b6dc297799f071f6d36c5ba197ac910917f6631927fc1b4259523b1" 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-08-14 10:39.23 ---> using "c9a6bb12454183a6bda5e24c40375763b3914e101e14ca85a4ab6e7ff857e315" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.4.1
2025-08-14 10:39.23 ---> using "6ecdd3ea7a5353b5481faeb55be51b830717334a488c4abef4de194957089ce9" 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 906e75de03e24cb3c6bc68c71156a6dab70c1fa4 || git fetch origin master) && git reset -q --hard 906e75de03e24cb3c6bc68c71156a6dab70c1fa4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..ec687b7d32  master     -> origin/master
906e75de03 Merge pull request #28282 from hannesm/release-dns-v10.2.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/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.3.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-08-14 10:39.23 ---> using "52e737b4d32a95aa8ecb37a7549ac2ea37b1c64d0c97a10362445e2ce3ae781f" from cache


/: (copy (src albatross.opam) (dst /Users/opam/src/./))
2025-08-14 10:39.23 ---> using "8354b67a5b9292f2d973a5f60d0cb7ec2e00a34699cb9d0e7256986bad4d831c" from cache


/: (run (network host)
(shell "opam pin add -yn albatross.dev '/Users/opam/src/./'"))
[albatross.dev] synchronised (file://C:/Users/opam/src/.)
albatross is now pinned to file://C:/Users/opam/src/. (version dev)
2025-08-14 10:39.23 ---> using "be8cdf1266a8bc086ca0f85ff4bb61794e5fb2dc5e9a23e70f3a41421b584fd0" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-08-14 10:39.23 ---> using "73b6c8b7f3a7855960486e72262cc3fd8783a955229edfc843614f679fe5131f" from cache


/: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cachet.0.0.2 checkseum.0.5.2 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 decompress.1.5.3 digestif.1.3.0 dns.10.2.0 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 duration.0.2.1 eqaf.0.10 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 h2.0.13.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 http-lwt-client.0.3.2 httpaf.0.7.1 httpun-types.0.2.0 ipaddr.5.6.1 kdf.1.0.0 logs.0.9.0 logs-syslog.0.5.0 lru.0.3.1 lwt.5.9.1 macaddr.5.6.1 metrics.0.5.0 metrics-influx.0.5.0 metrics-lwt.0.5.0 metrics-rusage.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.1 mirage-crypto-ec.2.0.1 mirage-crypto-pk.2.0.1 mirage-crypto-rng.2.0.1 mtime.2.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 optint.0.3.0 psq.0.2.1 ptime.1.2.0 re.1.13.2 result.1.5 rresult.0.7.0 seq.base solo5-elftool.0.4.0 stdlib-shims.0.3.0 syslog-message.1.2.0 system-mingw.1 tls.2.0.1 tls-lwt.2.0.1 topkg.1.1.0 uutf.1.0.4 x509.1.0.6 zarith.1.14")


/: (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 albatross.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[albatross.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-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).


The following system packages will first need to be installed:
mingw64-x86_64-gmp


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-x86_64-gmp"
- Starting cygwin install, version 2.934
- User has backup/restore rights
- User has symlink creation right
- Current Directory: C:\Windows\system32
- root: C:\cygwin64 system
- Changing gid to Administrators
- Selected local directory: C:\Windows\system32
- net: Preconfig
- site: https://cygwin.mirror.constant.com/
- solving: 1 tasks, update: no, use test packages: no
- solving: 2 tasks, update: no, use test packages: no
- Augmented Transaction List:
-    0 install mingw64-x86_64-gcc-g++ 13.4.0-1
-    1 install mingw64-x86_64-gmp     6.3.0-1
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-13.4.0-1-x86_64.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gmp/mingw64-x86_64-gmp-6.3.0-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-13.4.0-1-x86_64.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gmp/mingw64-x86_64-gmp-6.3.0-1.tar.zst
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
- Ending cygwin install
- NOTE: you should run 'diskperf -y' to enable the disk statistics
- NOTE: you should run 'diskperf -y' to enable the disk statistics
2025-08-14 10:39.23 ---> using "c3a0bdbd65784a05aa9e1e99350200eecf92a89c080fb89d7d919be17df26f46" from cache


/: (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-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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:
=== recompile 1 package
- recompile mingw-w64-shims           0.2.0
=== install 76 packages
- install   alcotest                  1.9.0
- install   angstrom                  0.16.1
- install   asn1-combinators          0.3.2
- install   astring                   0.8.5
- install   base-bytes                base
- install   base64                    3.5.1
- install   bigstringaf               0.10.0
- install   bos                       0.2.1
- install   ca-certs                  1.0.1
- install   cachet                    0.0.2
- install   checkseum                 0.5.2
- install   cmdliner                  1.3.0
- install   conf-gmp                  5
- install   conf-gmp-powm-sec         4
- install   conf-mingw-w64-gmp-x86_64 1
- install   conf-pkg-config           4
- install   cppo                      1.8.0
- install   csexp                     1.5.2
- install   decompress                1.5.3
- install   digestif                  1.3.0
- install   dns                       10.2.0
- install   domain-name               0.4.1
- install   dune                      3.19.1
- install   dune-configurator         3.19.1
- install   duration                  0.2.1
- install   eqaf                      0.10
- install   faraday                   0.8.2
- install   faraday-lwt               0.8.2
- install   faraday-lwt-unix          0.8.2
- install   fmt                       0.11.0
- install   fpath                     0.7.3
- install   gmap                      0.3.0
- install   h2                        0.13.0
- install   happy-eyeballs            2.0.1
- install   happy-eyeballs-lwt        2.0.1
- install   hpack                     0.13.0
- install   http-lwt-client           0.3.2
- install   httpaf                    0.7.1
- install   httpun-types              0.2.0
- install   ipaddr                    5.6.1
- install   kdf                       1.0.0
- install   logs                      0.9.0
- install   logs-syslog               0.5.0
- install   lru                       0.3.1
- install   lwt                       5.9.1
- install   macaddr                   5.6.1
- install   metrics                   0.5.0
- install   metrics-influx            0.5.0
- install   metrics-lwt               0.5.0
- install   metrics-rusage            0.5.0
- install   mirage-crypto             2.0.1
- install   mirage-crypto-ec          2.0.1
- install   mirage-crypto-pk          2.0.1
- install   mirage-crypto-rng         2.0.1
- install   mtime                     2.1.0
- install   ocaml-syntax-shims        1.0.0
- install   ocamlbuild                0.16.1
- install   ocamlfind                 1.9.8
- install   ocplib-endian             1.2
- install   ohex                      0.2.0
- install   optint                    0.3.0
- install   psq                       0.2.1
- install   ptime                     1.2.0
- install   re                        1.13.2
- install   result                    1.5
- install   rresult                   0.7.0
- install   seq                       base
- install   solo5-elftool             0.4.0
- install   stdlib-shims              0.3.0
- install   syslog-message            1.2.0
- install   tls                       2.0.1
- install   tls-lwt                   2.0.1
- install   topkg                     1.1.0
- install   uutf                      1.0.4
- install   x509                      1.0.6
- install   zarith                    1.14


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.1.0.1  (cached)
-> retrieved cachet.0.0.2  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> installed conf-pkg-config.4
-> retrieved duration.0.2.1  (cached)
-> retrieved dns.10.2.0  (https://github.com/mirage/ocaml-dns/releases/download/v10.2.0/dns-10.2.0.tbz)
-> retrieved eqaf.0.10  (cached)
-> installed conf-mingw-w64-gmp-x86_64.1
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> retrieved gmap.0.3.0  (cached)
-> installed conf-gmp.5
-> retrieved happy-eyeballs.2.0.1, happy-eyeballs-lwt.2.0.1  (cached)
-> retrieved h2.0.13.0, hpack.0.13.0  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved http-lwt-client.0.3.2  (https://github.com/robur-coop/http-lwt-client/releases/download/v0.3.2/http-lwt-client-0.3.2.tbz)
-> retrieved httpaf.0.7.1  (cached)
-> retrieved httpun-types.0.2.0  (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.1/ipaddr-5.6.1.tbz)
-> retrieved kdf.1.0.0  (cached)
-> retrieved logs.0.9.0  (https://erratique.ch/software/logs/releases/logs-0.9.0.tbz)
-> retrieved logs-syslog.0.5.0  (https://github.com/hannesm/logs-syslog/releases/download/v0.5.0/logs-syslog-0.5.0.tbz)
-> retrieved lru.0.3.1  (cached)
-> retrieved metrics.0.5.0, metrics-influx.0.5.0, metrics-lwt.0.5.0, metrics-rusage.0.5.0  (https://github.com/mirage/metrics/releases/download/v0.5.0/metrics-0.5.0.tbz)
-> retrieved lwt.5.9.1  (cached)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed mingw-w64-shims.0.2.0
-> retrieved mirage-crypto.2.0.1, mirage-crypto-ec.2.0.1, mirage-crypto-pk.2.0.1, mirage-crypto-rng.2.0.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> 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)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved rresult.0.7.0  (cached)
-> retrieved re.1.13.2  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.13.2.tar.gz)
-> retrieved solo5-elftool.0.4.0  (https://github.com/robur-coop/ocaml-solo5-elftool/releases/download/v0.4.0/solo5-elftool-0.4.0.tbz)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved syslog-message.1.2.0  (https://github.com/verbosemode/syslog-message/releases/download/1.2.0/syslog-message-1.2.0.tbz)
-> retrieved tls.2.0.1, tls-lwt.2.0.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved topkg.1.1.0  (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved zarith.1.14  (cached)
-> installed cmdliner.1.3.0
[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\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed cachet.0.0.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed macaddr.5.6.1
-> installed metrics.0.5.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed ohex.0.2.0
-> installed optint.0.3.0
-> installed ipaddr.5.6.1
-> installed psq.0.2.1
-> installed dune-configurator.3.19.1
-> installed result.1.5
-> installed digestif.1.3.0
-> installed lru.0.3.1
-> installed solo5-elftool.0.4.0
-> installed stdlib-shims.0.3.0
-> installed syslog-message.1.2.0
-> installed bigstringaf.0.10.0
-> installed re.1.13.2
-> installed angstrom.0.16.1
-> installed checkseum.0.5.2
-> installed faraday.0.8.2
-> installed mirage-crypto.2.0.1
-> installed decompress.1.5.3
-> installed kdf.1.0.0
-> installed alcotest.1.9.0
-> installed hpack.0.13.0
-> installed httpaf.0.7.1
-> installed httpun-types.0.2.0
-> installed lwt.5.9.1
-> installed faraday-lwt.0.8.2
-> installed metrics-influx.0.5.0
-> installed h2.0.13.0
-> installed faraday-lwt-unix.0.8.2
-> installed logs.0.9.0
[ERROR] The compilation of metrics-rusage.0.5.0 failed at "dune build -p metrics-rusage -j 7".
-> installed happy-eyeballs.2.0.1
-> installed metrics-lwt.0.5.0
-> installed dns.10.2.0
-> installed mirage-crypto-rng.2.0.1
-> installed happy-eyeballs-lwt.2.0.1
-> installed mirage-crypto-pk.2.0.1
-> installed mirage-crypto-ec.2.0.1
-> installed bos.0.2.1
-> installed x509.1.0.6
-> installed ca-certs.1.0.1
-> installed tls.2.0.1
-> installed tls-lwt.2.0.1
-> installed logs-syslog.0.5.0
-> installed http-lwt-client.0.3.2


#=== ERROR while compiling metrics-rusage.0.5.0 ===============================#
# context     2.4.1 | win32/x86_64 | ocaml-base-compiler.4.14.2 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\4.14.2\.opam-switch\build\metrics-rusage.0.5.0
# command     ~\AppData\Local\opam\4.14.2\bin\dune.exe build -p metrics-rusage -j 7
# exit-code   1
# env-file    ~\AppData\Local\opam\log\metrics-rusage-2972-9f197c.env
# output-file ~\AppData\Local\opam\log\metrics-rusage-2972-9f197c.out
### output ###
# File "src/rusage/dune", line 5, characters 11-31:
# 5 |   (c_names metrics_rusage_stubs))
#                ^^^^^^^^^^^^^^^^^^^^
# (cd _build/default/src/rusage && C:\cygwin64\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -g -I C:/Users/opam/AppData/Local/opam/4.14.2/lib/ocaml -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\fmt -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\logs -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\metrics -o me[...]
# metrics_rusage_stubs.c:12:10: fatal error: sys/resource.h: No such file or directory
#    12 | #include <sys/resource.h>
#       |          ^~~~~~~~~~~~~~~~
# compilation terminated.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build metrics-rusage 0.5.0
+- 
+- The following changes have been performed
| - recompile mingw-w64-shims           0.2.0
| - install   alcotest                  1.9.0
| - install   angstrom                  0.16.1
| - install   asn1-combinators          0.3.2
| - install   astring                   0.8.5
| - install   base-bytes                base
| - install   base64                    3.5.1
| - install   bigstringaf               0.10.0
| - install   bos                       0.2.1
| - install   ca-certs                  1.0.1
| - install   cachet                    0.0.2
| - install   checkseum                 0.5.2
| - install   cmdliner                  1.3.0
| - install   conf-gmp                  5
| - install   conf-gmp-powm-sec         4
| - install   conf-mingw-w64-gmp-x86_64 1
| - install   conf-pkg-config           4
| - install   cppo                      1.8.0
| - install   csexp                     1.5.2
| - install   decompress                1.5.3
| - install   digestif                  1.3.0
| - install   dns                       10.2.0
| - install   domain-name               0.4.1
| - install   dune                      3.19.1
| - install   dune-configurator         3.19.1
| - install   duration                  0.2.1
| - install   eqaf                      0.10
| - install   faraday                   0.8.2
| - install   faraday-lwt               0.8.2
| - install   faraday-lwt-unix          0.8.2
| - install   fmt                       0.11.0
| - install   fpath                     0.7.3
| - install   gmap                      0.3.0
| - install   h2                        0.13.0
| - install   happy-eyeballs            2.0.1
| - install   happy-eyeballs-lwt        2.0.1
| - install   hpack                     0.13.0
| - install   http-lwt-client           0.3.2
| - install   httpaf                    0.7.1
| - install   httpun-types              0.2.0
| - install   ipaddr                    5.6.1
| - install   kdf                       1.0.0
| - install   logs                      0.9.0
| - install   logs-syslog               0.5.0
| - install   lru                       0.3.1
| - install   lwt                       5.9.1
| - install   macaddr                   5.6.1
| - install   metrics                   0.5.0
| - install   metrics-influx            0.5.0
| - install   metrics-lwt               0.5.0
| - install   mirage-crypto             2.0.1
| - install   mirage-crypto-ec          2.0.1
| - install   mirage-crypto-pk          2.0.1
| - install   mirage-crypto-rng         2.0.1
| - install   mtime                     2.1.0
| - install   ocaml-syntax-shims        1.0.0
| - install   ocamlbuild                0.16.1
| - install   ocamlfind                 1.9.8
| - install   ocplib-endian             1.2
| - install   ohex                      0.2.0
| - install   optint                    0.3.0
| - install   psq                       0.2.1
| - install   ptime                     1.2.0
| - install   re                        1.13.2
| - install   result                    1.5
| - install   rresult                   0.7.0
| - install   seq                       base
| - install   solo5-elftool             0.4.0
| - install   stdlib-shims              0.3.0
| - install   syslog-message            1.2.0
| - install   tls                       2.0.1
| - install   tls-lwt                   2.0.1
| - install   topkg                     1.1.0
| - install   uutf                      1.0.4
| - install   x509                      1.0.6
| - install   zarith                    1.14
+- 
# To update the current shell environment, run: eval $(opam env)


The former state can be restored with:
C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\4.14.2\\.opam-switch\\backup\\state-20250814104148.export"
"opam install $DEPS" failed with exit status 31
2025-08-14 11:07.49: Job failed: Failed: Build failed