Build:
  1. 0
2025-12-11 09:16.17: New job: build camlid.0.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29053/head (e1bae8095f9fe664cde1dc7315651829ed971694)
                              on ubuntu-25.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/29053/head" && git reset --hard e1bae809
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:805d3e832603562684d9c4332c2013d2b76a4e75578c94f3fdc69509c585a7db
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 camlid.0.2 0.2
RUN opam reinstall camlid.0.2; \
    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-25.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'camlid.0.2' && 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-12-11 09:16.17: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:805d3e832603562684d9c4332c2013d2b76a4e75578c94f3fdc69509c585a7db-camlid.0.2-e1bae8095f9fe664cde1dc7315651829ed971694"
2025-12-11 09:16.17: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:805d3e832603562684d9c4332c2013d2b76a4e75578c94f3fdc69509c585a7db)
 (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 camlid.0.2 0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall camlid.0.2;\
             \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-25.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\" != 'camlid.0.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-11 09:16.17: Waiting for resource in pool OCluster
2025-12-11 19:53.31: Waiting for worker…
2025-12-11 19:57.09: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..e1bae8095f
Fast-forward
 packages/camlid/camlid.0.2/opam | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/camlid/camlid.0.2/opam

(from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:805d3e832603562684d9c4332c2013d2b76a4e75578c94f3fdc69509c585a7db)
2025-12-11 19:57.20 ---> using "7f6201b516a92f06ad1f01eb95108fe0e60b79e192b214a884d33a4238ef2d5f" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 19:57.20 ---> using "61e4f11e9442380a5935b2d904b2d4433c275045f979811a2afe472015d3919a" 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
2025-12-11 19:57.20 ---> using "be8fd5e8625111597798fb7775c62a4d801383554378eb6d6d5f520d5871ce95" 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=25.04
# 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       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
2025-12-11 19:57.20 ---> using "b38ad7a48a2981ebe381e960c0e5fd7870e4105c9a47d2af8a0c4f500336ccaa" 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/"))
2025-12-11 19:57.20 ---> using "3158b12018de2c13995eca560d4f2c722497a6d74f2095bafb67298f19dc501c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 19:57.34 ---> saved as "e148c7f98d00d4dc453503f76408ba5bffd2cd9b2f7bc2d84d2b796d6e1e45b2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 19:57.52 ---> saved as "c7c1652b9e9e5e8816f227f7661ecf2491b6c49fde2249e896d65b1075720cd6"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [390 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [251 kB]
- Get:6 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [402 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [441 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [565 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [338 kB]
- Fetched 2765 kB in 1s (2975 kB/s)
- Reading package lists...
- 
2025-12-11 19:57.54 ---> saved as "c786ef9b43092e82f19823f7dde07acb9c7476a18df3e96afcd24d8f14c4d432"

/home/opam: (run (shell "opam pin add -k version -yn camlid.0.2 0.2"))
camlid is now pinned to version 0.2
2025-12-11 19:57.55 ---> saved as "0576fbd8c1ba3cfd09b58d4a8358aba2984339bf608faa2d621c641024680e81"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall camlid.0.2;\
                        \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-25.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\" != 'camlid.0.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
camlid.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 6 packages
  - install camlid     0.2 (pinned)
  - install dune       3.20.2       [required by camlid]
  - install fmt        0.11.0       [required by camlid]
  - install ocamlbuild 0.16.1       [required by fmt]
  - install ocamlfind  1.9.8        [required by fmt]
  - install topkg      1.1.1        [required by fmt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlid.0.2  (https://github.com/bobot/camlid/releases/download/0.2/camlid-0.2.tbz)
-> retrieved dune.3.20.2  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed camlid.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 19:58.18 ---> saved as "e8cc4913955b87c40f47ee44edca79701513d18809421e9db007227e82d5296e"
Job succeeded
2025-12-11 19:59.04: Job succeeded