Build:
  1. 0
2025-06-28 09:12.25: New job: build nuscr.2.0.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28099/head (c7bf6145e8a28f1f82e472eeed69cd958d25f782)
                              on debian-12-ocaml-4.10/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/28099/head" && git reset --hard c7bf6145
git fetch origin master
git merge --no-edit 2ca36230be22748ea153057760524e23defe5fc7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.10@sha256:f085f7aea46c9e03a21281c0be572a7cea669cd3972f70da14ea040ea1e18523
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 nuscr.2.0.0 2.0.0
RUN opam reinstall nuscr.2.0.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 "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'nuscr.2.0.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 .

2025-06-28 09:12.25: Using cache hint "ocaml/opam:debian-12-ocaml-4.10@sha256:f085f7aea46c9e03a21281c0be572a7cea669cd3972f70da14ea040ea1e18523-nuscr.2.0.0-c7bf6145e8a28f1f82e472eeed69cd958d25f782"
2025-06-28 09:12.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:f085f7aea46c9e03a21281c0be572a7cea669cd3972f70da14ea040ea1e18523)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 nuscr.2.0.0 2.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall nuscr.2.0.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 \"\\\"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\" != 'nuscr.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-06-28 09:12.25: Waiting for resource in pool OCluster
2025-06-28 09:12.25: Waiting for worker…
2025-06-28 09:12.34: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 2ca36230be Merge pull request #28098 from smuenzel/num-not-5.4
Merge made by the 'ort' strategy.
 packages/nuscr/nuscr.2.0.0/opam | 7 +++++++
 1 file changed, 7 insertions(+)

(from ocaml/opam:debian-12-ocaml-4.10@sha256:f085f7aea46c9e03a21281c0be572a7cea669cd3972f70da14ea040ea1e18523)
2025-06-28 09:12.54 ---> using "ed1b7cf81c6afe27830e19013e904ae40813679d9e6318659bceea3e9332ec8c" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-28 09:12.54 ---> using "a6c03d80a2156600b03701b18ba7199549d771e1c47258f92db7c35b53c6a4fd" 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 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-28 09:12.54 ---> using "ffb75223c1cce5b133828c92f23f007c2174e60956950a07b48f5c9d4b82de55" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.10
# invariant            ["ocaml-base-compiler" {= "4.10.2"}]
# compiler-packages    ocaml-base-compiler.4.10.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.10/lib/ocaml/stublibs:/home/opam/.opam/4.10/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.10.2
2025-06-28 09:12.54 ---> using "40de275f9e40664725ea4dfc259f59deff78230324a8eb4fa93df1854050b481" 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-06-28 09:12.54 ---> using "25b735a371fb6aba2882561cbcac53b467388d7ef04caf73ad7af62a4160e0aa" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-28 09:13.05 ---> saved as "e33a1a7da7081659d2b630a2b88b46e004c711bf8288214bfe13f9b0fa8671f7"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-28 09:13.30 ---> saved as "9cdf2e4f2fe743da0eca504bfaad46a2b94b45434e77b62024fcf9ddc28b9175"

/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 amd64 Packages [269 kB]
- Fetched 373 kB in 0s (1081 kB/s)
- Reading package lists...
- 
2025-06-28 09:13.31 ---> saved as "aa39f822f5c806b4a6969722203840121d916e08987f3f999f0ca487283c9572"

/home/opam: (run (shell "opam pin add -k version -yn nuscr.2.0.0 2.0.0"))
nuscr is now pinned to version 2.0.0
2025-06-28 09:13.32 ---> saved as "5bc8bfdb0743c75e7cb6496f9a94758e69f8bed8658519e4542ca2fedd6201d7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall nuscr.2.0.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 \"\\\"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\" != 'nuscr.2.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
nuscr.2.0.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 23 packages
  - install base                v0.15.1        [required by nuscr]
  - install base-bytes          base           [required by process]
  - install cmdliner            1.3.0          [required by nuscr]
  - install cppo                1.8.0          [required by ppx_deriving]
  - install csexp               1.5.2          [required by dune-configurator]
  - install dune                3.19.1         [required by nuscr]
  - install dune-configurator   3.19.1         [required by base]
  - install menhir              20211128       [required by nuscr]
  - install menhirLib           20211128       [required by menhir]
  - install menhirSdk           20211128       [required by menhir]
  - install nuscr               2.0.0 (pinned)
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocamlbuild          0.16.1         [required by process]
  - install ocamlfind           1.9.8          [required by ppx_deriving, process]
  - install ocamlgraph          2.2.0          [required by nuscr]
  - install ppx_derivers        1.2.1          [required by ppx_deriving]
  - install ppx_deriving        6.0.3          [required by nuscr]
  - install ppx_sexp_conv       v0.15.1        [required by nuscr]
  - install ppxlib              0.35.0         [required by nuscr]
  - install process             0.2.1          [required by nuscr]
  - install sexplib0            v0.15.1        [required by base, ppx_sexp_conv]
  - install stdio               v0.15.0        [required by nuscr]
  - install stdlib-shims        0.3.0          [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.15.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved menhir.20211128, menhirLib.20211128, menhirSdk.20211128  (cached)
-> installed cmdliner.1.3.0
-> retrieved nuscr.2.0.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlgraph.2.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_sexp_conv.v0.15.1  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved process.0.2.1  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdio.v0.15.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed process.0.2.1
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed menhirLib.20211128
-> installed menhirSdk.20211128
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.15.1
-> installed stdlib-shims.0.3.0
-> installed ocamlgraph.2.2.0
-> installed dune-configurator.3.19.1
-> installed base.v0.15.1
-> installed stdio.v0.15.0
-> installed menhir.20211128
-> installed ppxlib.0.35.0
-> installed ppx_deriving.6.0.3
-> installed ppx_sexp_conv.v0.15.1
-> installed nuscr.2.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-28 09:15.00 ---> saved as "7bd5bf8646ad75110f791df9d3eb7c073d58b04e1ed2cdd7915c49db9d6d5a13"
Job succeeded
2025-06-28 09:15.10: Job succeeded