OrganisationsMisterDAwindows-version1994f5 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2026-03-14 10:13.06: New job: test MisterDA/windows-version https://github.com/MisterDA/windows-version.git#refs/heads/main (1994f53476c9203ee587ea28e421dc8d1cde74bf) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/MisterDA/windows-version.git" -b "main" && cd "windows-version" && git reset --hard 1994f534
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47
# debian-13-4.08_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 windows-version.opam ./
RUN opam pin add -yn windows-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.3 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.9.3 dune-configurator.2.5.1 dune-private-libs.2.5.1 fmt.0.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ppx_derivers.1.0 ppx_deriving.4.4 ppx_sexp_conv.v0.12.0 ppx_tools.5.2+4.08.0 ppxfind.1.1 ppxlib.0.8.1 result.1.5 sexplib0.v0.12.0 stdio.v0.12.0 topkg.0.7.9"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y windows-version.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


2026-03-14 10:13.06: Using cache hint "MisterDA/windows-version-ocaml/opam:debian-13-ocaml-4.08@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47-debian-13-4.08_opam-2.5-9cc098688bbaf34bdc069114453ce4d2"
2026-03-14 10:13.06: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47)
(comment debian-13-4.08_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src windows-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.3 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.9.3 dune-configurator.2.5.1 dune-private-libs.2.5.1 fmt.0.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ppx_derivers.1.0 ppx_deriving.4.4 ppx_sexp_conv.v0.12.0 ppx_tools.5.2+4.08.0 ppxfind.1.1 ppxlib.0.8.1 result.1.5 sexplib0.v0.12.0 stdio.v0.12.0 topkg.0.7.9")
(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.5 --depext-only -y windows-version.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"))
)


2026-03-14 10:13.06: Waiting for resource in pool OCluster
2026-03-14 10:14.59: Waiting for worker…
2026-03-14 10:17.04: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 1994f53 Initial import from ocaml-dockerfile


(from ocaml/opam:debian-13-ocaml-4.08@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47' locally
docker.io/ocaml/opam@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47: Pulling from ocaml/opam
866771c43bf5: Already exists
1e49bea09367: Already exists
e793768537e6: Already exists
ed323d3d481a: Already exists
7df34a5cd5f1: Already exists
fd712d3eb935: Already exists
4b9fb8c99118: Already exists
9d9a01948b94: Already exists
0f1514f90b32: Already exists
e1ec5a753447: Already exists
03cc323e2f71: Already exists
c09c08ea9749: Already exists
b36b619f8e6b: Already exists
195344ca5274: Already exists
228ee78582a6: Already exists
504bde1c25b3: Already exists
9d8b1356c89f: Already exists
9d8b1356c89f: Already exists
568fb6dda155: Already exists
c499c9198aea: Already exists
048e5e358118: Already exists
871ca48eb45d: Already exists
4f4fb700ef54: Already exists
a5a2568b9df9: Already exists
068cf3106ac8: Already exists
559f54ec9b29: Already exists
798ffd96fde5: Already exists
e9a891bf80d7: Already exists
d720cfe12674: Already exists
c81c932f4a91: Already exists
79f24fa3bb11: Already exists
8c1debcd8c20: Already exists
1bb2cfea7250: Already exists
2b3d3ca75e4c: Already exists
557cacaf263c: Already exists
d10483022eef: Already exists
7b62a90d8223: Already exists
28ce8ea66e72: Already exists
d975909ea717: Already exists
5c215c69c247: Already exists
e7c082452a54: Already exists
b7df74d48e36: Already exists
66e3060fde97: Already exists
623e45e1559d: Already exists
9251109c0e89: Already exists
Digest: sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47
Status: Downloaded newer image for ocaml/opam@sha256:048f41796adc21a1c591ba8a7027365f75adbd0cc47a89cb4ad5d856f4815f47
2026-03-14 10:16.53 ---> using "867303d7f04cee0d3e23016229d2a45a69516628a14dbff52754cd3cb283f66f" from cache


/: (comment debian-13-4.08_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-03-14 10:16.53 ---> using "c7be1a1bf56a9af41378ced74906e3276ce5576096fe479f7bc8725acfbd5123" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-14 10:16.53 ---> using "ccdab575862d9a949d4903bc8aad034b89b0a05240bdda721b9ce0cce4230d75" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 4.08.1
2.5.0
2026-03-14 10:16.53 ---> using "f19adf73b8544d8f3f9b81cecf006440779a1d47bca42b32961acb7a712c1b5f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-14 10:16.53 ---> using "edbc028d6daadd2aebe00894d268f0d76ea78071faf901b745bf45b52fda2d76" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ffb54b9bdd..f2e7a221a1  master     -> origin/master
31462e7d24 Merge pull request #29451 from dra27/relocatable-package


<><> 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.5.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)
2026-03-14 10:16.53 ---> using "b3e02a1ba3f82e7ec96f8d839a408a2515d3bc782ff8f9b3a0a2c3cefea54e28" from cache


/src: (copy (src windows-version.opam) (dst ./))
2026-03-14 10:16.53 ---> saved as "85d7ee43ce569035aa5eff39047d9b2aa1de4b119a28ce6242ab26e3d2cc18db"


/src: (run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
[NOTE] Package windows-version does not exist in opam repositories registered in the current switch.
[windows-version.dev] synchronised (file:///src)
windows-version is now pinned to file:///src (version dev)
2026-03-14 10:16.55 ---> saved as "75c98d0ec501dde1ede667c12be94c412b7ae3bc22bc6d20a300b35e458abddb"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-14 10:16.55 ---> saved as "32a6a213951e435ee52ad96237ebc2f1056440edc9c2e4455624e88669379768"


/src: (env DEPS "astring.0.8.3 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 dune.2.9.3 dune-configurator.2.5.1 dune-private-libs.2.5.1 fmt.0.8.0 jbuilder.1.0+beta20.1 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.3.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ppx_derivers.1.0 ppx_deriving.4.4 ppx_sexp_conv.v0.12.0 ppx_tools.5.2+4.08.0 ppxfind.1.1 ppxlib.0.8.1 result.1.5 sexplib0.v0.12.0 stdio.v0.12.0 topkg.0.7.9")


/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.5 --depext-only -y windows-version.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 [111 kB]
- Fetched 202 kB in 0s (1787 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[windows-version.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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).


The following system packages will first need to be installed:
m4


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
# To update the current shell environment, run: eval $(opam env)
2026-03-14 10:17.15 ---> saved as "85ae512efb4f9c6d149292c3032fd137d5135d65708556df29c2be7cdeed57d4"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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).
The following actions will be performed:
=== install 24 packages
- install astring                 0.8.3
- install base                    v0.12.2
- install base-bytes              base
- install conf-m4                 1
- install cppo                    1.6.1
- install dune                    2.9.3
- install dune-configurator       2.5.1
- install dune-private-libs       2.5.1
- install fmt                     0.8.0
- install jbuilder                1.0+beta20.1 (deprecated)
- install ocaml-compiler-libs     v0.11.0
- install ocaml-migrate-parsetree 1.3.1 (deprecated)
- install ocamlbuild              0.14.0
- install ocamlfind               1.8.0
- install ppx_derivers            1.0
- install ppx_deriving            4.4
- install ppx_sexp_conv           v0.12.0
- install ppx_tools               5.2+4.08.0
- install ppxfind                 1.1
- install ppxlib                  0.8.1
- install result                  1.5
- install sexplib0                v0.12.0
- install stdio                   v0.12.0
- install topkg                   0.7.9


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3  (cached)
-> retrieved base.v0.12.2  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.8.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune.2.9.3  (cached)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.3.1  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_deriving.4.4  (cached)
-> retrieved ppx_sexp_conv.v0.12.0  (cached)
-> retrieved ppx_tools.5.2+4.08.0  (cached)
-> retrieved ppxfind.1.1  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdio.v0.12.0  (cached)
-> retrieved ppxlib.0.8.1  (cached)
-> retrieved topkg.0.7.9  (cached)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed ppx_tools.5.2+4.08.0
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed ocaml-compiler-libs.v0.11.0
-> installed cppo.1.6.1
-> installed dune.2.9.3
-> installed result.1.5
-> installed sexplib0.v0.12.0
-> installed dune-private-libs.2.5.1
-> installed topkg.0.7.9
-> installed ocaml-migrate-parsetree.1.3.1
-> installed dune-configurator.2.5.1
-> installed fmt.0.8.0
-> installed astring.0.8.3
-> installed ppxfind.1.1
-> installed ppx_deriving.4.4
-> installed base.v0.12.2
-> installed stdio.v0.12.0
-> installed ppxlib.0.8.1
-> installed ppx_sexp_conv.v0.12.0
Done.


<><> ocaml-migrate-parsetree.1.3.1 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.


<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2026-03-14 10:18.51 ---> saved as "5b53715de2dc5f0dda82dbed6f7158ff4574e2b3b154bfa91627d6b7693052ce"


/src: (copy (src .) (dst /src))
2026-03-14 10:18.51 ---> saved as "ef82e2cc58f8ea9bf670b56be3786478b16e2fa98bedc36d18d2379ce973373f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
ocamlc .windows_version.objs/byte/windows_version.{cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/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 -I .windows_version.objs/byte -I /home/opam/.opam/4.08/lib/astring -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/fmt -I /home/opam/.opam/4.08/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.08/lib/sexplib0 -intf-suffix .ml -no-alias-deps -opaque -o .windows_version.objs/byte/windows_version.cmo -c -impl windows_version.pp.ml)
File "windows_version.ml", line 205, characters 10-25:
205 |           Fmt.invalid_arg "No KB for this Win10 %s revision"
^^^^^^^^^^^^^^^
Error: Unbound value Fmt.invalid_arg
ocamlopt .windows_version.objs/native/windows_version.{cmx,o} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/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 .windows_version.objs/byte -I .windows_version.objs/native -I /home/opam/.opam/4.08/lib/astring -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/fmt -I /home/opam/.opam/4.08/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.08/lib/sexplib0 -intf-suffix .ml -no-alias-deps -opaque -o .windows_version.objs/native/windows_version.cmx -c -impl windows_version.pp.ml)
File "windows_version.ml", line 205, characters 10-25:
205 |           Fmt.invalid_arg "No KB for this Win10 %s revision"
^^^^^^^^^^^^^^^
Error: Unbound value Fmt.invalid_arg
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-03-14 10:18.54: Job failed: Failed: Build failed