(not at the head of any monitored branch or PR)
2025-03-13 14:19.12: New job: build lem.2025-03-13, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27619/head (c2749f906dc47b8393bd361121c04d0fea91e450)
                              on debian-12-ocaml-5.3/i386

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27619/head" && git reset --hard c2749f90
git fetch origin master
git merge --no-edit 906fb78ee221e4b7676dcd2285fb6d40cbdc59f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn lem.2025-03-13 2025-03-13
RUN opam reinstall lem.2025-03-13; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lem.2025-03-13' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-03-13 14:19.12: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08-lem.2025-03-13-c2749f906dc47b8393bd361121c04d0fea91e450"
2025-03-13 14:19.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08)
 (shell /usr/bin/linux32 /bin/sh -c)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn lem.2025-03-13 2025-03-13"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lem.2025-03-13;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-03-13 14:19.12: Waiting for resource in pool OCluster
2025-03-13 14:19.13: Waiting for worker…
2025-03-13 14:24.48: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
HEAD is now at 8a2e8ee2c4 Merge commit '817e2bca6bb374fd7865253f73a8e26703930da1'
HEAD is now at 906fb78ee2 Merge pull request #27594 from mbarbin/dunolint
Updating 906fb78ee2..c2749f906d
Fast-forward
 packages/lem/lem.2025-03-13/opam | 52 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
 create mode 100644 packages/lem/lem.2025-03-13/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08' locally
docker.io/ocaml/opam@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08: Pulling from ocaml/opam
8ce9ac301d49: Pulling fs layer
8ce9ac301d49: Verifying Checksum
8ce9ac301d49: Download complete
8ce9ac301d49: Pull complete
Digest: sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
Status: Downloaded newer image for ocaml/opam@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-03-13 14:26.16 ---> saved as "500cb5d7aa46192a426cc87da683903759830c9514c5bf81dc2090b2e37f5ff2"

/: (shell /usr/bin/linux32 /bin/sh -c)

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-13 14:26.17 ---> saved as "3afda16b94deda237bb309859ec755a5ab739201386b7600f615761bb4d4362f"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-13 14:28.09 ---> saved as "1a40392ff3616c7c16b3377b51d1da2f29d469036fed8d5a8870a3ee3b1fecf3"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.4.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade         no
# system               arch=x86_32 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# repositories         1 (local), 1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0+bytecode-only
2025-03-13 14:28.11 ---> saved as "fbd9b92c651463390d4f8635cce2c4157a55d48d48b460e710c563a9a7565ff0"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-03-13 14:28.21 ---> saved as "731756164ec14d168b4443eb561bdd18c2a5886cabcff988ba4a42f1e7b00def"

/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 14:28.29 ---> saved as "458aeb602c487324c0f5b93622afc3ffd8e0aac9d3fed8312ad18648d4bbe6da"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-13 14:30.10 ---> saved as "e56b2eaf049855b846d8c3e6bcbb5a5e3ebb4314cbdf7e59b48ba9e583fe6444"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /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 i386 Packages [239 kB]
- Fetched 343 kB in 1s (492 kB/s)
- Reading package lists...
- 
2025-03-13 14:30.12 ---> saved as "0b16325962464e6d615604b3d734e39c602e49d8d789bb3c8f9f40f871c3876e"

/home/opam: (run (shell "opam pin add -k version -yn lem.2025-03-13 2025-03-13"))
lem is now pinned to version 2025-03-13
2025-03-13 14:30.14 ---> saved as "509e95ac5b483bbb719baa5c70dd8560a90c456bcd234f050ba4adf1181e1c42"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lem.2025-03-13;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lem.2025-03-13' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lem.2025-03-13 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
  - install conf-findutils  1                   [required by lem]
  - install conf-gmp        4                   [required by zarith]
  - install conf-pkg-config 4                   [required by zarith]
  - install lem             2025-03-13 (pinned)
  - install num             1.5-1               [required by lem]
  - install ocamlbuild      0.16.1              [required by lem]
  - install ocamlfind       1.9.8               [required by lem]
  - install zarith          1.14                [required by lem]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl:i386.
- (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 ... 18761 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_i386.deb ...
- Unpacking libgmpxx4ldbl:i386 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:i386.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_i386.deb ...
- Unpacking libgmp-dev:i386 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:i386.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_i386.deb ...
- Unpacking libpkgconf3:i386 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_i386.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:i386.
- Preparing to unpack .../4-pkgconf_1.8.1-1_i386.deb ...
- Unpacking pkgconf:i386 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:i386.
- Preparing to unpack .../5-pkg-config_1.8.1-1_i386.deb ...
- Unpacking pkg-config:i386 (1.8.1-1) ...
- Setting up libpkgconf3:i386 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:i386 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:i386 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:i386 (1.8.1-1) ...
- Setting up pkg-config:i386 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> installed conf-findutils.1
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved lem.2025-03-13  (https://github.com/rems-project/lem/archive/refs/tags/2025-03-13.tar.gz)
-> retrieved num.1.5-1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved zarith.1.14  (cached)
-> installed num.1.5-1
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed ocamlbuild.0.16.1
[ERROR] The compilation of lem.2025-03-13 failed at "make INSTALL_DIR=/home/opam/.opam/5.3".

#=== ERROR while compiling lem.2025-03-13 =====================================#
# context              2.4.0~alpha1~dev | linux/x86_32 | ocaml-base-compiler.5.3.0 | pinned(https://github.com/rems-project/lem/archive/refs/tags/2025-03-13.tar.gz)
# path                 ~/.opam/5.3/.opam-switch/build/lem.2025-03-13
# command              ~/.opam/opam-init/hooks/sandbox.sh build make INSTALL_DIR=/home/opam/.opam/5.3
# exit-code            2
# env-file             ~/.opam/log/lem-7-8882c4.env
# output-file          ~/.opam/log/lem-7-8882c4.out
### output ###
# echo "(* Generated file -- do not edit. *)" > src/version.ml
# echo 'let v="2025-03-13"' >> src/version.ml
# echo "(* Generated file -- do not edit. *)" > src/share_directory.ml
# echo let d=\"/home/opam/.opam/5.3/share/lem\" >> src/share_directory.ml
# make -C src all
# make[1]: Entering directory '/home/opam/.opam/5.3/.opam-switch/build/lem.2025-03-13/src'
# rm -f main.native
# ocamlbuild -use-ocamlfind -cflags -g main.native
# + ocamlfind ocamlc -config
# + ocamlfind ocamldep -package zarith -modules main.ml > main.ml.depends
# + ocamlfind ocamldep -package zarith -modules main.mli > main.mli.depends
# + ocamlfind ocamlc -c -g -annot -bin-annot -package zarith -I ulib -o main.cmi main.mli
# + ocamlfind ocamldep -package zarith -modules ast.ml > ast.ml.depends
# + ocamlfind ocamldep -package zarith -modules ulib/ulib.ml > ulib/ulib.ml.depends
# + ocamlfind ocamldep -package zarith -modules ulib/batText.mli > ulib/batText.mli.depends
# + ocamlfind ocamldep -package zarith -modules ulib/batUChar.mli > ulib/batUChar.mli.depends
# + ocamlfind ocamlc -c -g -annot -bin-annot -package zarith -I ulib -o ulib/batUChar.cmi ulib/batUChar.mli
# + ocamlfind ocamldep -package zarith -modules ulib/batUTF8.mli > ulib/batUTF8.mli.depends
# + ocamlfind ocamlc -c -g -annot -bin-annot -package zarith -I ulib -o ulib/batText.cmi ulib/batText.mli
# + ocamlfind ocamlc -c -g -annot -bin-annot -package zarith -I ulib -o ulib/batUTF8.cmi ulib/batUTF8.mli
# + ocamlfind ocamlc -c -g -annot -bin-annot -package zarith -I ulib -o ulib/ulib.cmo ulib/ulib.ml
# + ocamlfind ocamlc -c -g -annot -bin-annot -package zarith -I ulib -o ast.cmo ast.ml
# + ocamlfind ocamldep -package zarith -modules ulib/batText.ml > ulib/batText.ml.depends
# + ocamlfind ocamldep -package zarith -modules ulib/batReturn.ml > ulib/batReturn.ml.depends
# + ocamlfind ocamldep -package zarith -modules ulib/batReturn.mli > ulib/batReturn.mli.depends
# + ocamlfind ocamlc -c -g -annot -bin-annot -package zarith -I ulib -o ulib/batReturn.cmi ulib/batReturn.mli
# + ocamlfind ocamldep -package zarith -modules ulib/batUChar.ml > ulib/batUChar.ml.depends
# + ocamlfind ocamldep -package zarith -modules ulib/batUTF8.ml > ulib/batUTF8.ml.depends
# + ocamlfind ocamlopt -c -g -annot -bin-annot -package zarith -I ulib -o ulib/batUChar.cmx ulib/batUChar.ml
# + ocamlfind ocamlopt -c -g -annot -bin-annot -package zarith -I ulib -o ulib/batUChar.cmx ulib/batUChar.ml
# ocamlfind: Not supported in your configuration: ocamlopt
# Command exited with code 2.
# make[1]: *** [Makefile:7: all] Error 10
# make[1]: Leaving directory '/home/opam/.opam/5.3/.opam-switch/build/lem.2025-03-13/src'
# make: *** [Makefile:180: build-lem] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build lem 2025-03-13
+- 
+- The following changes have been performed
| - install conf-findutils  1
| - install conf-gmp        4
| - install conf-pkg-config 4
| - install num             1.5-1
| - install ocamlbuild      0.16.1
| - install ocamlfind       1.9.8
| - install zarith          1.14
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250313143015.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall lem.2025-03-13;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'lem.2025-03-13' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-03-13 14:31.06: Job failed: Failed: Build failed
2025-03-13 14:31.06: Log analysis:
2025-03-13 14:31.06: >>> 
[ERROR] The compilation of lem.2025-03-13 failed at "make INSTALL_DIR=/home/opam/.opam/5.3".
 (score = 20)
2025-03-13 14:31.06: The compilation of lem.2025-03-13 failed at "make INSTALL_DIR=/home/opam/.opam/5.3".