(for PR #29819)

2026-04-30 16:22.15: New job: build ppx_deriving_jsonschema.0.0.7, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29819/head (34d3b72424802d46cb5a85dace3093ac6dd31d75)
                              on debian-13-ocaml-5.4-no-flat-float-array/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/29819/head" && git reset --hard 34d3b724
git fetch origin master
git merge --no-edit 6eba819fc9cf11948f2ec0ccb35df7352e130ee2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-no-flat-float-array@sha256:9ad748500cae2a7e02e2ee334d047a66216100bd9e5c9135b067fa12863375ec
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 ppx_deriving_jsonschema.0.0.7 0.0.7
RUN opam reinstall ppx_deriving_jsonschema.0.0.7; \
    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" != 'ppx_deriving_jsonschema.0.0.7' && 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-04-30 16:22.15: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-no-flat-float-array@sha256:9ad748500cae2a7e02e2ee334d047a66216100bd9e5c9135b067fa12863375ec-ppx_deriving_jsonschema.0.0.7-34d3b72424802d46cb5a85dace3093ac6dd31d75"
2026-04-30 16:22.15: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-no-flat-float-array@sha256:9ad748500cae2a7e02e2ee334d047a66216100bd9e5c9135b067fa12863375ec)
 (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 ppx_deriving_jsonschema.0.0.7 0.0.7"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ppx_deriving_jsonschema.0.0.7;\
             \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\" != 'ppx_deriving_jsonschema.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-30 16:22.15: Waiting for resource in pool OCluster
2026-04-30 16:22.16: Waiting for worker…
2026-04-30 16:22.18: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  91% (17267/18873)
Updating files:  92% (17364/18873)
Updating files:  93% (17552/18873)
Updating files:  94% (17741/18873)
Updating files:  95% (17930/18873)
Updating files:  96% (18119/18873)
Updating files:  97% (18307/18873)
Updating files:  98% (18496/18873)
Updating files:  99% (18685/18873)
Updating files: 100% (18873/18873)
Updating files: 100% (18873/18873), done.
HEAD is now at 6eba819fc9 Merge pull request #29818 from Vlam9988/opam-publish-ip2proxy.3.2.0
Updating 6eba819fc9..34d3b72424
Fast-forward
 .../ppx_deriving_jsonschema.0.0.7/opam             | 57 ++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 packages/ppx_deriving_jsonschema/ppx_deriving_jsonschema.0.0.7/opam

(from ocaml/opam:debian-13-ocaml-5.4-no-flat-float-array@sha256:9ad748500cae2a7e02e2ee334d047a66216100bd9e5c9135b067fa12863375ec)
2026-04-30 16:23.38 ---> saved as "4bddc110c9d4fbfb0f4ec5d8f0b978c13692af235c49357b01feff2497a361a3"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-30 16:23.39 ---> saved as "5c56bbc4bb9f16d83ada300be116c3e61bc7869c41a3aafe5d8f1ec803c0d141"

/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-04-30 16:24.10 ---> saved as "ddd7f208665f0ad7aac9792566e75c1490c1a862f5911c31b5aef7aba11176db"

/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.1
# 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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-variants" {= "5.4.1+options"}]
# compiler-packages    ocaml-compiler.5.4.1, ocaml-option-no-flat-float-array.1, ocaml-options-only-no-flat-float-array.1, ocaml-variants.5.4.1+options
# 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.1+options+no-flat-float-array
2026-04-30 16:24.11 ---> saved as "82fd0462d4e3950e4d069391987f6baabdf4106f8fa1c05a7ca1d57a7fe36934"

/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-04-30 16:24.21 ---> saved as "6b23acfb0ed2669fec9f1cbd8ab1e00aa75712eeb72c29c0a0c1474a827097e1"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-30 16:24.33 ---> saved as "f5f37ab5cb91cb7423720cdaad2c4daa6fcb8fa127d89c3430215212016c76bb"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-30 16:24.58 ---> saved as "a6e2831c593b4673687959547f57aa7833f768e978f70ad9bae5940f6819d708"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [129 kB]
- Fetched 219 kB in 0s (1755 kB/s)
- Reading package lists...
- 
2026-04-30 16:24.59 ---> saved as "787a0c6efd51a3de39453f0846ef9de700fdeb726d49c36401b23119d9ee37dd"

/home/opam: (run (shell "opam pin add -k version -yn ppx_deriving_jsonschema.0.0.7 0.0.7"))
ppx_deriving_jsonschema is now pinned to version 0.0.7
2026-04-30 16:25.00 ---> saved as "fb54025372da77e742aa06205ebb70b9f42d2bb35202b28e74eab5aff68d9d8a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ppx_deriving_jsonschema.0.0.7;\
                        \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\" != 'ppx_deriving_jsonschema.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ppx_deriving_jsonschema.0.0.7 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 49 packages
  - install angstrom                0.16.1         [required by uri]
  - install base-bytes              base           [required by ocplib-endian]
  - install bigstringaf             0.10.0         [required by angstrom]
  - install cmdliner                2.1.1          [required by melange]
  - install conf-gmp                5              [required by zarith]
  - install conf-pkg-config         4              [required by zarith]
  - install cppo                    1.8.0          [required by melange]
  - install csexp                   1.5.2          [required by dune-configurator]
  - install ctypes                  0.24.0         [required by quickjs]
  - install dune                    3.22.2         [required by ppx_deriving_jsonschema]
  - install dune-build-info         3.22.2         [required by melange]
  - install dune-configurator       3.22.2         [required by lwt]
  - install fix                     20250919       [required by reason]
  - install integers                0.7.0          [required by server-reason-react]
  - install lwt                     6.1.2          [required by server-reason-react]
  - install lwt_ppx                 6.1.0          [required by server-reason-react]
  - install melange                 6.0.1-54       [required by ppx_deriving_jsonschema]
  - install melange-fetch           0.2.0          [required by server-reason-react]
  - install melange-json            2.0.0          [required by server-reason-react]
  - install melange-json-native     2.0.0          [required by server-reason-react]
  - install melange-webapi          0.22.0         [required by server-reason-react]
  - install menhir                  20260209       [required by melange]
  - 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 merlin-extend           0.6.2          [required by reason]
  - install ocaml-compiler-libs     v0.17.0        [required by ppxlib]
  - install ocaml-syntax-shims      1.0.0          [required by angstrom]
  - install ocamlbuild              0.16.1         [required by uucp, uutf]
  - install ocamlfind               1.9.8          [required by uutf, uucp, zarith]
  - install ocplib-endian           1.2            [required by lwt]
  - install ppx_derivers            1.2.1          [required by ppxlib]
  - install ppx_deriving_jsonschema 0.0.7 (pinned)
  - install ppxlib                  0.38.0         [required by ppx_deriving_jsonschema]
  - install quickjs                 0.4.2          [required by server-reason-react]
  - install reason                  3.17.3         [required by server-reason-react]
  - install reason-react            0.17.0         [required by server-reason-react]
  - install reason-react-ppx        0.17.0         [required by reason-react]
  - install server-reason-react     0.4.1          [required by ppx_deriving_jsonschema]
  - install sexplib0                v0.17.0        [required by ppxlib]
  - install stdlib-shims            0.3.0          [required by ppxlib, integers]
  - install stringext               1.6.0          [required by uri]
  - install topkg                   1.1.1          [required by uucp, uutf]
  - install uri                     4.4.0          [required by server-reason-react]
  - install uucp                    17.0.0         [required by server-reason-react]
  - install uutf                    1.0.4          [required by server-reason-react]
  - install yojson                  3.0.0          [required by server-reason-react]
  - install zarith                  1.14           [required by server-reason-react]

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"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (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 ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> retrieved ctypes.0.24.0  (cached)
-> retrieved dune.3.22.2, dune-build-info.3.22.2, dune-configurator.3.22.2  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved lwt.6.1.2  (cached)
-> retrieved lwt_ppx.6.1.0  (cached)
-> installed cmdliner.2.1.1
-> retrieved melange.6.0.1-54  (cached)
-> retrieved melange-fetch.0.2.0  (cached)
-> retrieved melange-json.2.0.0, melange-json-native.2.0.0  (cached)
-> retrieved melange-webapi.0.22.0  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved merlin-extend.0.6.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving_jsonschema.0.0.7  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved quickjs.0.4.2  (cached)
-> retrieved reason.3.17.3  (cached)
-> retrieved reason-react.0.17.0, reason-react-ppx.0.17.0  (cached)
-> retrieved server-reason-react.0.4.1  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uucp.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed dune.3.22.2
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed dune-build-info.3.22.2
-> installed fix.20250919
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed yojson.3.0.0
-> installed merlin-extend.0.6.2
-> installed ocplib-endian.1.2
-> installed integers.0.7.0
-> installed dune-configurator.3.22.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed lwt.6.1.2
-> installed ctypes.0.24.0
-> installed menhir.20260209
-> installed quickjs.0.4.2
-> installed uucp.17.0.0
-> installed ppxlib.0.38.0
-> installed melange-json-native.2.0.0
-> installed lwt_ppx.6.1.0
-> installed reason.3.17.3
-> installed reason-react-ppx.0.17.0
-> installed melange.6.0.1-54
-> installed melange-fetch.0.2.0
-> installed melange-json.2.0.0
-> installed reason-react.0.17.0
-> installed melange-webapi.0.22.0
-> installed server-reason-react.0.4.1
-> installed ppx_deriving_jsonschema.0.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 16:26.49 ---> saved as "2e4324c6447c19a689a1b9f80c6560c7c1b1b3707f6d60fd8bd502fce603ed5a"
Job succeeded
2026-04-30 16:27.00: Job succeeded