Build:
  1. 0
2026-02-26 21:08.54: New job: build elpi.3.5.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29470/head (24c04a3decf65253c5162a4a5b5e267f7fbf5733)
                              on ubuntu-22.04-ocaml-5.4/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/29470/head" && git reset --hard 24c04a3d
git fetch origin master
git merge --no-edit 36196ba7f81e6f83fef0d41f126d3178b424b5c1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:ca97fc493f07923b68e85076222023d4786724b71483b64e8942b88482f2401b
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 elpi.3.5.0 3.5.0
RUN opam reinstall elpi.3.5.0; \
    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 "\"ubuntu-22.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'elpi.3.5.0' && 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-02-26 21:08.54: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:ca97fc493f07923b68e85076222023d4786724b71483b64e8942b88482f2401b-elpi.3.5.0-24c04a3decf65253c5162a4a5b5e267f7fbf5733"
2026-02-26 21:08.54: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:ca97fc493f07923b68e85076222023d4786724b71483b64e8942b88482f2401b)
 (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 elpi.3.5.0 3.5.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall elpi.3.5.0;\
             \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 \"\\\"ubuntu-22.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'elpi.3.5.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-26 21:08.54: Waiting for resource in pool OCluster
2026-02-27 02:28.06: Waiting for worker…
2026-02-27 02:33.50: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 36196ba7f8 Merge pull request #29464 from sim642/release-earlybird-1.3.5
Updating 36196ba7f8..24c04a3dec
Fast-forward
 packages/elpi/elpi.3.5.0/opam | 92 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)
 create mode 100644 packages/elpi/elpi.3.5.0/opam

(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:ca97fc493f07923b68e85076222023d4786724b71483b64e8942b88482f2401b)
2026-02-27 02:36.04 ---> using "71f311d9a257ffef9875f7dda537cfe069a32601f0e53dd6b7b34955894786d1" 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-02-27 02:36.04 ---> using "3aca75e8da2167bbb3472877fa323914ac10650b1966af575ed1046dd9a4c46d" 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.

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-02-27 02:36.04 ---> using "90f08e3139a6fb270189f00ae1136f8ff94d76ed36df88cfbc9e31515aed4026" 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=ubuntu os-version=22.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-02-27 02:36.04 ---> using "28972395d58644c203d90dce104cb517ca432ddcae2c188aae369b9f685978d0" 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-02-27 02:36.04 ---> using "45b330b324886b760663ba865e12cde28867b2ad440e5b5c7b002ade8fa159f1" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-27 02:36.05 ---> using "b1ffabdb551df6e14ec4f4627fcbc27fabb5465e85896273e13e257079d7fcd0" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-27 02:36.05 ---> using "0872c5c4964ed54b14b590f558df25211d17cc038fb5d58cdbe6bb8fb2c65a61" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6643 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1613 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4115 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3772 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6870 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1302 kB]
- Fetched 24.7 MB in 3s (9858 kB/s)
- Reading package lists...
- 
2026-02-27 02:36.05 ---> using "ba3fcc65c127eabcc2bc99c01038f27954822bf47a43bff312ad770462738483" from cache

/home/opam: (run (shell "opam pin add -k version -yn elpi.3.5.0 3.5.0"))
elpi is now pinned to version 3.5.0
2026-02-27 02:36.05 ---> using "b6cfe93616fc519402f34d738a2687c41362e132e160ef61f67ea48c0d909295" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall elpi.3.5.0;\
                        \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 \"\\\"ubuntu-22.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'elpi.3.5.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
elpi.3.5.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 31 packages
  - install atd                     3.0.1          [required by atdgen, atdts]
  - install atdgen                  3.0.1          [required by elpi]
  - install atdgen-runtime          3.0.1          [required by atdgen]
  - install atdts                   3.0.1          [required by elpi]
  - install base                    v0.17.3        [required by ppx_optcomp]
  - install biniou                  1.2.2          [required by atdgen]
  - install camlp-streams           5.0.1          [required by biniou]
  - install cmdliner                2.1.0          [required by atdts]
  - install cppo                    1.8.0          [required by ppx_deriving]
  - install csexp                   1.5.2          [required by dune-configurator]
  - install dune                    3.21.1         [required by elpi]
  - install dune-configurator       3.21.1         [required by base]
  - install easy-format             1.3.4          [required by atd]
  - install elpi                    3.5.0 (pinned)
  - install menhir                  20260209       [required by elpi]
  - install menhirCST               20260209       [required by menhir]
  - install menhirGLR               20260209       [required by menhir]
  - install menhirLib               20260209       [required by menhir]
  - install menhirSdk               20260209       [required by menhir]
  - install ocaml-compiler-libs     v0.17.0        [required by ppxlib]
  - install ocaml_intrinsics_kernel v0.17.1        [required by base]
  - 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 elpi]
  - install ppx_optcomp             v0.17.1        [required by elpi]
  - install ppxlib                  0.37.0         [required by elpi]
  - install re                      1.14.0         [required by elpi]
  - install sexplib0                v0.17.0        [required by ppxlib, base]
  - install stdio                   v0.17.0        [required by ppx_optcomp]
  - install stdlib-shims            0.3.0          [required by elpi]
  - install yojson                  3.0.0          [required by atdgen]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved atd.3.0.1, atdgen.3.0.1, atdgen-runtime.3.0.1, atdts.3.0.1  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved biniou.1.2.2  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1  (cached)
-> retrieved easy-format.1.3.4  (cached)
-> installed cmdliner.2.1.0
-> retrieved elpi.3.5.0  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_optcomp.v0.17.1  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.21.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed easy-format.1.3.4
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed biniou.1.2.2
-> installed atdgen-runtime.3.0.1
-> installed dune-configurator.3.21.1
-> installed menhir.20260209
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed atd.3.0.1
-> installed atdts.3.0.1
-> installed atdgen.3.0.1
-> installed ppxlib.0.37.0
-> installed ppx_optcomp.v0.17.1
-> installed ppx_deriving.6.1.1
-> installed elpi.3.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-27 02:37.58 ---> saved as "695c7d86bd67a13ed911f11dd6436f0f442961065bb0d03cd8fd76ef2fff051f"
Job succeeded
2026-02-27 02:38.07: Job succeeded