OrganisationsMisterDAwindows-version1994f5 (main)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-11-14 10:12.32: 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:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
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:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
# debian-13-4.08_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && 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.4 --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


2025-11-14 10:12.32: Using cache hint "MisterDA/windows-version-ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321-debian-13-4.08_opam-2.4-9cc098688bbaf34bdc069114453ce4d2"
2025-11-14 10:12.32: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)
(comment debian-13-4.08_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && 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 (network host)
(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.4 --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"))
)


2025-11-14 10:12.32: Waiting for resource in pool OCluster
2025-11-14 10:14.19: Waiting for worker…
2025-11-14 10:16.25: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 1994f53 Initial import from ocaml-dockerfile


(from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321' locally
docker.io/ocaml/opam@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321: Pulling from ocaml/opam
ecf7cc525ea1: Pulling fs layer
ecf7cc525ea1: Verifying Checksum
ecf7cc525ea1: Download complete
ecf7cc525ea1: Pull complete
Digest: sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
Status: Downloaded newer image for ocaml/opam@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321
2025-11-14 10:24.37 ---> using "d458486dd7823c592e7ea9c88366c5f90e1939c3b51f3abbd6760272096f8a3e" from cache


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


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-11-14 10:24.37 ---> using "302c78a4511211b1f43812eb5ae9e10c8367f6c081e421b1647c1c17e3da94e1" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-14 10:24.37 ---> using "1023146485a3396dc0b6d5fc52c8f65b01660ff57d1fe7fb43bec7291c51ceec" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 4.08.1
2.4.1
2025-11-14 10:24.37 ---> using "528e6c9ab0c8fa7e774e6f16451f93118079894054eff12f4dbd9893d207ee27" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-11-14 10:24.37 ---> using "64a13b5183ea1d78d0850c8b29faf280ef4011dc2011069517123806b77d1e46" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f736a66f83aeced5a0c0d90b769613178cd63b26 || git fetch origin master) && git reset -q --hard f736a66f83aeced5a0c0d90b769613178cd63b26 && git log --no-decorate -n1 --oneline && opam update -u"))
f736a66f83 Merge pull request #28602 from dbuenzli/cmdliner-incompat


<><> 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.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-11-14 10:24.37 ---> using "fb968010926f62b1306ca4282a652e8afe3bf5bb5d2372176418e000313bf835" from cache


/src: (copy (src windows-version.opam) (dst ./))
2025-11-14 10:24.38 ---> saved as "2753467b0b534f0d8613165fe5a173f72c880b0bd99787dc626a424e613d2035"


/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)
2025-11-14 10:24.41 ---> saved as "bb373ed46513111e372757a1f6bdb84d3661b61307b01e68334882b788718219"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-14 10:24.41 ---> saved as "ee4c5534023a7410cf8c47008190465fbf3d0ccace139d5a9d9370123ff9fbc9"


/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.4 --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 [71.4 kB]
- Fetched 162 kB in 0s (1068 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 ... 20622 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) ...
2025-11-14 10:24.54 ---> saved as "5425a83b08dab5f4746a655ec146d154f973acdcb599edad42b3d715d6f6550f"


/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 topkg.0.7.9  (cached)
-> retrieved ppxlib.0.8.1  (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 cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed dune.2.9.3
-> installed result.1.5
-> installed sexplib0.v0.12.0
-> installed dune-private-libs.2.5.1
-> installed ocaml-migrate-parsetree.1.3.1
-> installed topkg.0.7.9
-> installed dune-configurator.2.5.1
-> installed fmt.0.8.0
-> installed ppxfind.1.1
-> installed astring.0.8.3
-> 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)
2025-11-14 10:25.38 ---> saved as "535b9825bdf311e7d6d0d44f17294b8b1bf52e939cb45ca9951a6fb1167466d8"


/src: (copy (src .) (dst /src))
2025-11-14 10:25.42 ---> saved as "2f4e1d1d0733ce2fb1d5d59a3c528a7ea649cbf70853f9b5f34057681c0db120"


/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
2025-11-14 10:25.45: Job failed: Failed: Build failed