Build:
  1. 0
2026-01-22 10:03.57: New job: test archetype.1.2.1 with menhirCST.20260122, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29263/head (a41cdc247c161570d5dec8f44fe801d1b5bb4321)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29263/head" && git reset --hard a41cdc24
git fetch origin master
git merge --no-edit 5bcf75c1acf9cccbe4dfd7e6c4ad828446384c0f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610
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 menhirCST.20260122 20260122
RUN opam reinstall menhirCST.20260122; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'menhirCST.20260122' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall archetype.1.2.1; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'archetype.1.2.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test archetype.1.2.1) || true
RUN opam reinstall --with-test --verbose archetype.1.2.1; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'archetype.1.2.1' && 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 .

2026-01-22 10:03.57: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610-menhirCST.20260122-archetype.1.2.1-a41cdc247c161570d5dec8f44fe801d1b5bb4321"
2026-01-22 10:03.57: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610)
 (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 menhirCST.20260122 20260122"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall menhirCST.20260122;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'menhirCST.20260122' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall archetype.1.2.1;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'archetype.1.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test archetype.1.2.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose archetype.1.2.1;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'archetype.1.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-22 10:03.57: Waiting for resource in pool OCluster
2026-01-22 13:42.55: Waiting for worker…
2026-01-22 13:49.07: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 5bcf75c1ac Merge pull request #29261 from panglesd/release-slipshow-v0.8.1
Updating 5bcf75c1ac..a41cdc247c
Fast-forward
 packages/menhir/menhir.20260122/opam       | 32 ++++++++++++++++++++++++++++++
 packages/menhirCST/menhirCST.20260122/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirGLR/menhirGLR.20260122/opam | 30 ++++++++++++++++++++++++++++
 packages/menhirLib/menhirLib.20260122/opam | 31 +++++++++++++++++++++++++++++
 packages/menhirSdk/menhirSdk.20260122/opam | 31 +++++++++++++++++++++++++++++
 5 files changed, 154 insertions(+)
 create mode 100644 packages/menhir/menhir.20260122/opam
 create mode 100644 packages/menhirCST/menhirCST.20260122/opam
 create mode 100644 packages/menhirGLR/menhirGLR.20260122/opam
 create mode 100644 packages/menhirLib/menhirLib.20260122/opam
 create mode 100644 packages/menhirSdk/menhirSdk.20260122/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610)
2026-01-22 13:49.09 ---> using "af1ebcbd2c0e8a2a9bd41972ff6b1f2b27bf9dd52d9b45e003eb0eaad274be03" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-22 13:49.09 ---> using "0b1605df1edd48befa60e43e28089d53de6288a60ab121fcfb5f9e2f9ffa99b9" from cache

/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.

Continue? [Y/n] y
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.

[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
2026-01-22 13:49.09 ---> using "0e536f61c2590e1a9131e4e3e33fd4f3ee72adbf5f314ed8459ef4692f4cb78a" from cache

/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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-01-22 13:49.09 ---> using "7cc9884256c58e23e28c1fb52f1e0590db522ddca2def346a30d00cabed784f8" from cache

/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/"))
2026-01-22 13:49.09 ---> using "c6b197fb983b7c94be824da0b3230330cdb51a6a02ab45dc477f1716c05485d0" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-22 13:49.10 ---> using "473a701dbe8ff9816a00c28d48045efce23b32ea1f9586ab4422b7a9cc074a7a" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-22 13:49.10 ---> using "530e27082c3987065fbfc224f42353e11b83cff31cd4ea4b6a12b7e8c7f1c59f" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [97.9 kB]
- Fetched 9999 kB in 1s (9594 kB/s)
- Reading package lists...
2026-01-22 13:49.10 ---> using "87ad48540ca4c6206edd83a8c4a2e79060eabcd94678c4248c582658ac202255" from cache

/home/opam: (run (shell "opam pin add -k version -yn menhirCST.20260122 20260122"))
menhirCST is now pinned to version 20260122
2026-01-22 13:49.10 ---> using "1a4a0ac39ad759db0b63d70cf9f0a9a5f5d73b31fdedd1c8220bcd028c8a2c21" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall menhirCST.20260122;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'menhirCST.20260122' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
menhirCST.20260122 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune      3.21.0            [required by menhirCST]
  - install menhirCST 20260122 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved menhirCST.20260122  (cached)
-> installed dune.3.21.0
-> installed menhirCST.20260122
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-22 13:49.10 ---> using "516d6e88d7759238fa1506dcd10a69a2d8ad82a5d48356809bd9a76607ba9062" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall archetype.1.2.1;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'archetype.1.2.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
archetype.1.2.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 25 packages
  - install archetype           1.2.1
  - install cppo                1.8.0    [required by ppx_deriving]
  - install cstruct             6.2.0    [required by hex]
  - install digestif            1.3.0    [required by archetype]
  - install eqaf                0.10     [required by digestif]
  - install fmt                 0.11.0   [required by cstruct]
  - install hex                 1.5.0    [required by archetype]
  - install menhir              20260122 [required by archetype]
  - install menhirGLR           20260122 [required by menhir]
  - install menhirLib           20260122 [required by menhir]
  - install menhirSdk           20260122 [required by menhir]
  - install num                 1.6      [required by archetype]
  - install ocaml-compiler-libs v0.12.4  [required by ppxlib]
  - install ocamlbuild          0.16.1   [required by fmt]
  - install ocamlfind           1.9.8    [required by ppx_deriving]
  - install ppx_derivers        1.2.1    [required by ppx_deriving]
  - install ppx_deriving        6.1.1    [required by archetype]
  - install ppx_deriving_yojson 3.10.0   [required by archetype]
  - install ppxlib              0.37.0   [required by ppx_deriving_yojson, ppx_deriving, visitors]
  - install result              1.5      [required by visitors]
  - install sexplib0            v0.17.0  [required by ppxlib]
  - install stdlib-shims        0.3.0    [required by ppxlib]
  - install topkg               1.1.1    [required by fmt]
  - install visitors            20251114 [required by archetype]
  - install yojson              3.0.0    [required by archetype]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved archetype.1.2.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved menhir.20260122, menhirGLR.20260122, menhirLib.20260122, menhirSdk.20260122  (cached)
-> installed cppo.1.8.0
-> installed eqaf.0.10
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_deriving_yojson.3.10.0  (cached)
-> installed menhirLib.20260122
-> installed menhirGLR.20260122
-> retrieved ppxlib.0.37.0  (cached)
-> installed menhirSdk.20260122
-> installed ppx_derivers.1.2.1
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved visitors.20251114  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed digestif.1.3.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed num.1.6
-> installed yojson.3.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed menhir.20260122
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed ppx_deriving_yojson.3.10.0
-> installed visitors.20251114
[ERROR] The compilation of archetype.1.2.1 failed at "dune build -p archetype -j 255".

#=== ERROR while compiling archetype.1.2.1 ====================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/archetype.1.2.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p archetype -j 255
# exit-code            1
# env-file             ~/.opam/log/archetype-7-77d70a.env
# output-file          ~/.opam/log/archetype-7-77d70a.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/menhir --explain --inspection --table --dump src/parser.mly --base src/parser --infer-write-query src/parser__mock.ml.mock)
# File "src/parser.mly", line 638, characters 31-37:
# Error: this is an OCaml reserved word.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -bin-annot -I src/.archetype.objs/byte -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -no-alias-deps -open Archetype -o src/.archetype.objs/byte/archetype__Gen_model.cmo -c -impl src/gen_model.pp.ml)
# File "src/gen_model.ml", line 1061, characters 4-66:
# 1061 |     { sec with items = sec.items @ new_s.items; loc = new_s.loc; }
#            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -bin-annot -I src/.archetype.objs/byte -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -no-alias-deps -open Archetype -o src/.archetype.objs/byte/archetype__Gen_michelson.cmo -c -impl src/gen_michelson.pp.ml)
# File "src/gen_michelson.ml", line 768, characters 16-57:
# 768 |       let env = {env with function_p = Some (name, args)} in
#                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -bin-annot -I src/.archetype.objs/byte -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -no-alias-deps -open Archetype -o src/.archetype.objs/byte/archetype__Typing.cmo -c -impl src/typing.pp.ml)
# File "src/typing.ml", line 147, characters 17-33:
# 147 |   let distance ?(autoview = false) ~(from_ : A.ptyp) ~(to_ : A.ptyp) =
#                        ^^^^^^^^^^^^^^^^
# Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
# File "src/typing.ml", line 178, characters 18-26:
# 178 |   let compatible ?autoview ~(from_ : A.ptyp) ~(to_ : A.ptyp) =
#                         ^^^^^^^^
# Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -bin-annot -I src/.archetype.objs/byte -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -no-alias-deps -open Archetype -o src/.archetype.objs/byte/archetype__Gen_transform.cmo -c -impl src/gen_transform.pp.ml)
# File "src/gen_transform.ml", lines 751-753, characters 6-47:
# 751 | ......{ f with
# 752 |         node = prune_function_node f.node;
# 753 |         spec = Option.map prune_specs f.spec; }
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.
# File "src/gen_transform.ml", lines 2802-2804, characters 4-54:
# 2802 | ....{ f__ with
# 2803 |       node = for_function_node f__.node;
# 2804 |       spec = Option.map remove_shadow_effect f__.spec}
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -I src/.archetype.objs/byte -I src/.archetype.objs/native -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -intf-suffix .ml -no-alias-deps -open Archetype -o src/.archetype.objs/native/archetype__Gen_model.cmx -c -impl src/gen_model.pp.ml)
# File "src/gen_model.ml", line 1061, characters 4-66:
# 1061 |     { sec with items = sec.items @ new_s.items; loc = new_s.loc; }
#            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -I src/.archetype.objs/byte -I src/.archetype.objs/native -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -intf-suffix .ml -no-alias-deps -open Archetype -o src/.archetype.objs/native/archetype__Gen_michelson.cmx -c -impl src/gen_michelson.pp.ml)
# File "src/gen_michelson.ml", line 768, characters 16-57:
# 768 |       let env = {env with function_p = Some (name, args)} in
#                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -I src/.archetype.objs/byte -I src/.archetype.objs/native -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -intf-suffix .ml -no-alias-deps -open Archetype -o src/.archetype.objs/native/archetype__Typing.cmx -c -impl src/typing.pp.ml)
# File "src/typing.ml", line 147, characters 17-33:
# 147 |   let distance ?(autoview = false) ~(from_ : A.ptyp) ~(to_ : A.ptyp) =
#                        ^^^^^^^^^^^^^^^^
# Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
# File "src/typing.ml", line 178, characters 18-26:
# 178 |   let compatible ?autoview ~(from_ : A.ptyp) ~(to_ : A.ptyp) =
#                         ^^^^^^^^
# Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -rectypes -w -30 -w -7 -w -17 -g -I src/.archetype.objs/byte -I src/.archetype.objs/native -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/digestif -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/hex -I /home/opam/.opam/4.14/lib/menhirLib -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/ppx_deriving -I /home/opam/.opam/4.14/lib/ppx_deriving/runtime -I /home/opam/.opam/4.14/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/visitors/runtime -I /home/opam/.opam/4.14/lib/yojson -intf-suffix .ml -no-alias-deps -open Archetype -o src/.archetype.objs/native/archetype__Gen_transform.cmx -c -impl src/gen_transform.pp.ml)
# File "src/gen_transform.ml", lines 751-753, characters 6-47:
# 751 | ......{ f with
# 752 |         node = prune_function_node f.node;
# 753 |         spec = Option.map prune_specs f.spec; }
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.
# File "src/gen_transform.ml", lines 2802-2804, characters 4-54:
# 2802 | ....{ f__ with
# 2803 |       node = for_function_node f__.node;
# 2804 |       spec = Option.map remove_shadow_effect f__.spec}
# Warning 23 [useless-record-with]: all the fields are explicitly listed in this record:
# the 'with' clause is useless.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build archetype 1.2.1
+- 
+- The following changes have been performed
| - install cppo                1.8.0
| - install cstruct             6.2.0
| - install digestif            1.3.0
| - install eqaf                0.10
| - install fmt                 0.11.0
| - install hex                 1.5.0
| - install menhir              20260122
| - install menhirGLR           20260122
| - install menhirLib           20260122
| - install menhirSdk           20260122
| - install num                 1.6
| - install ocaml-compiler-libs v0.12.4
| - install ocamlbuild          0.16.1
| - install ocamlfind           1.9.8
| - install ppx_derivers        1.2.1
| - install ppx_deriving        6.1.1
| - install ppx_deriving_yojson 3.10.0
| - install ppxlib              0.37.0
| - install result              1.5
| - install sexplib0            v0.17.0
| - install stdlib-shims        0.3.0
| - install topkg               1.1.1
| - install visitors            20251114
| - install yojson              3.0.0
+- 
# 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/4.14/.opam-switch/backup/state-20260122134911.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/env" "bash" "-c" "opam reinstall archetype.1.2.1;
        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-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'archetype.1.2.1' && 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
2026-01-22 13:50.10: Job failed: Failed: Build failed
2026-01-22 13:50.10: Log analysis:
2026-01-22 13:50.10: >>> 
[ERROR] The compilation of archetype.1.2.1 failed at "dune build -p archetype -j 255".
 (score = 20)
2026-01-22 13:50.10: >>> 
# Error: this is an OCaml reserved word.
 (score = 48)
2026-01-22 13:50.10: this is an OCaml reserved word.