2025-06-19 20:38.47: 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-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
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-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
# debian-12-4.08_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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.3 --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-06-19 20:38.47: Using cache hint "MisterDA/windows-version-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-9cc098688bbaf34bdc069114453ce4d2"
2025-06-19 20:38.47: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
(comment debian-12-4.08_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo 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"))
(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 c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && 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.3 --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-06-19 20:38.47: Waiting for resource in pool OCluster
2025-06-19 20:42.02: Waiting for worker…
2025-06-19 20:45.37: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 1994f53 Initial import from ocaml-dockerfile
(from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
2025-06-19 20:45.37 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" from cache
/: (comment debian-12-4.08_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-19 20:45.37 ---> saved as "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9"
/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 development 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
2025-06-19 20:46.11 ---> saved as "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-06-19 20:46.11 ---> saved as "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-19 20:46.11 ---> saved as "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u"))
c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora
<><> 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, 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-06-19 20:46.37 ---> saved as "e2f3ee7083e2abd4d888795c66ea3487669c0c3064974593a5483dedf53c721f"
/src: (copy (src windows-version.opam) (dst ./))
2025-06-19 20:46.37 ---> saved as "96f5c31fb007222db8f4158c40816653ebe321a2617eb5fcc3356e1e71ef2ad5"
/src: (run (network host)
(shell "opam pin add -yn windows-version.dev './'"))
Package windows-version does not exist, create as a NEW package? [y/n] y
[windows-version.dev] synchronised (file:///src)
windows-version is now pinned to file:///src (version dev)
2025-06-19 20:46.40 ---> saved as "c66194a77c747da9de2e549102070842aeb22101186816f72dbf4783b079c943"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-19 20:46.40 ---> saved as "b41a83b4f51b8bd036b769d9ec8ec47f647d13d85ba8eda22f403de866679ee8"
/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.3 --depext-only -y windows-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [267 kB]
- Fetched 370 kB in 1s (723 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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-06-19 20:46.59 ---> saved as "1e4e9c415670412cc737f2ccf9acf7156125421c370e0475e2b1c34385d7eef2"
/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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-m4.1
-> retrieved astring.0.8.3 (cached)
-> retrieved base.v0.12.2 (cached)
-> retrieved cppo.1.6.1 (cached)
-> 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 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 dune-configurator.2.5.1
-> installed ocaml-migrate-parsetree.1.3.1
-> installed topkg.0.7.9
-> installed ppxfind.1.1
-> installed fmt.0.8.0
-> 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-06-19 20:48.46 ---> saved as "3703bcd644d356651ca1897759b1fc32d6e4cbdafd92a7f5a132f6afa93f4463"
/src: (copy (src .) (dst /src))
2025-06-19 20:48.47 ---> saved as "36985c32548d02d2cacd475628715479345d9d9e0e0fc65507855ea422af30d9"
/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-06-19 20:48.49: Job failed: Failed: Build failed