(for PR #28161)

2025-07-14 12:32.36: New job: build gen_js_api.1.1.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28161/head (9e41ac27483e663a1b4e36d1bf4f10c9604f1cfc)
                              on debian-unstable-ocaml-5.3/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/28161/head" && git reset --hard 9e41ac27
git fetch origin master
git merge --no-edit 5952138ed2f140d6e6895546a2d354ad23e40607
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-5.3@sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2
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 gen_js_api.1.1.1 1.1.1
RUN opam reinstall gen_js_api.1.1.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-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'gen_js_api.1.1.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 .

2025-07-14 12:32.36: Using cache hint "ocaml/opam:debian-unstable-ocaml-5.3@sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2-gen_js_api.1.1.1-9e41ac27483e663a1b4e36d1bf4f10c9604f1cfc"
2025-07-14 12:32.36: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-5.3@sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2)
 (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 gen_js_api.1.1.1 1.1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall gen_js_api.1.1.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-unstable\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'gen_js_api.1.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-07-14 12:32.36: Waiting for resource in pool OCluster
2025-07-14 12:32.38: Waiting for worker…
2025-07-14 12:34.26: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 5952138ed2 Merge pull request #28169 from liyishuai/patch-1
Merge made by the 'ort' strategy.
 packages/gen_js_api/gen_js_api.1.1.0/opam | 2 +-
 packages/gen_js_api/gen_js_api.1.1.1/opam | 2 +-
 packages/gen_js_api/gen_js_api.1.1.2/opam | 2 +-
 packages/gen_js_api/gen_js_api.1.1.3/opam | 2 +-
 packages/gen_js_api/gen_js_api.1.1.4/opam | 2 +-
 packages/gen_js_api/gen_js_api.1.1.5/opam | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

(from ocaml/opam:debian-unstable-ocaml-5.3@sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-5.3@sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2' locally
docker.io/ocaml/opam@sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2: Pulling from ocaml/opam
4e931dbe891d: Pulling fs layer
6d2f57bb0d58: Pulling fs layer
42ffad43ddf7: Pulling fs layer
a843a7cff5b1: Pulling fs layer
217e392d7e0f: Pulling fs layer
e804c029bdf4: Pulling fs layer
92c8311c290d: Pulling fs layer
81a695e74ea9: Pulling fs layer
ec5c083cf22b: Pulling fs layer
a21bf54f2d5b: Pulling fs layer
09ba181d4069: Pulling fs layer
a843a7cff5b1: Waiting
e804c029bdf4: Waiting
217e392d7e0f: Waiting
ec5c083cf22b: Waiting
7ef6323c9515: Pulling fs layer
81a695e74ea9: Waiting
a21bf54f2d5b: Waiting
09ba181d4069: Waiting
92c8311c290d: Waiting
b2e15490040e: Pulling fs layer
7ef6323c9515: Waiting
f987803266ba: Pulling fs layer
b2e15490040e: Waiting
7a9eb25f98ab: Pulling fs layer
ed08555d0217: Pulling fs layer
cb69b9672969: Pulling fs layer
f0209392ec20: Pulling fs layer
ed08555d0217: Waiting
f987803266ba: Waiting
cb69b9672969: Waiting
1a2bfb83bd17: Pulling fs layer
f0209392ec20: Waiting
7a9eb25f98ab: Waiting
9ce1342f625b: Pulling fs layer
1a2bfb83bd17: Waiting
4f4fb700ef54: Pulling fs layer
f4cd3cda5bd1: Pulling fs layer
9ce1342f625b: Waiting
4f4fb700ef54: Waiting
a1964fa03b8e: Pulling fs layer
f4cd3cda5bd1: Waiting
b0447f55c55d: Pulling fs layer
a1964fa03b8e: Waiting
3b35795ea6f1: Pulling fs layer
54253ebfaadd: Pulling fs layer
3b35795ea6f1: Waiting
b0447f55c55d: Waiting
9ff632143c65: Pulling fs layer
54253ebfaadd: Waiting
9b15fa33b17b: Pulling fs layer
9ff632143c65: Waiting
fc621d9e49ee: Pulling fs layer
9b15fa33b17b: Waiting
5bd7c786f6af: Pulling fs layer
fc621d9e49ee: Waiting
a808190c9ede: Pulling fs layer
5bd7c786f6af: Waiting
b98e772cf962: Pulling fs layer
a808190c9ede: Waiting
f6034e88fa4b: Pulling fs layer
20427fd93949: Pulling fs layer
f6034e88fa4b: Waiting
64bdf3a66474: Pulling fs layer
3a1c504ada2e: Pulling fs layer
20427fd93949: Waiting
64bdf3a66474: Waiting
0b128060d34b: Pulling fs layer
712e4b43f6e9: Pulling fs layer
3a1c504ada2e: Waiting
8df215c81409: Pulling fs layer
0b128060d34b: Waiting
35a3840a5747: Pulling fs layer
8df215c81409: Waiting
8f98b0cb17e5: Pulling fs layer
5a921f3258fb: Pulling fs layer
2d4690cd5602: Pulling fs layer
35a3840a5747: Waiting
712e4b43f6e9: Waiting
5a921f3258fb: Waiting
8f98b0cb17e5: Waiting
e44a9eb97fa3: Pulling fs layer
2d4690cd5602: Waiting
719324b06d7f: Pulling fs layer
6a3e646d8ab4: Pulling fs layer
6a3e646d8ab4: Waiting
e44a9eb97fa3: Waiting
719324b06d7f: Waiting
6d2f57bb0d58: Verifying Checksum
6d2f57bb0d58: Download complete
42ffad43ddf7: Download complete
217e392d7e0f: Verifying Checksum
217e392d7e0f: Download complete
a843a7cff5b1: Verifying Checksum
a843a7cff5b1: Download complete
4e931dbe891d: Download complete
81a695e74ea9: Verifying Checksum
81a695e74ea9: Download complete
4e931dbe891d: Pull complete
6d2f57bb0d58: Pull complete
42ffad43ddf7: Pull complete
92c8311c290d: Verifying Checksum
92c8311c290d: Download complete
a843a7cff5b1: Pull complete
217e392d7e0f: Pull complete
a21bf54f2d5b: Verifying Checksum
a21bf54f2d5b: Download complete
ec5c083cf22b: Verifying Checksum
ec5c083cf22b: Download complete
09ba181d4069: Verifying Checksum
09ba181d4069: Download complete
7ef6323c9515: Verifying Checksum
7ef6323c9515: Download complete
b2e15490040e: Verifying Checksum
b2e15490040e: Download complete
e804c029bdf4: Verifying Checksum
e804c029bdf4: Download complete
f987803266ba: Download complete
7a9eb25f98ab: Download complete
ed08555d0217: Download complete
cb69b9672969: Download complete
f0209392ec20: Verifying Checksum
f0209392ec20: Download complete
1a2bfb83bd17: Verifying Checksum
1a2bfb83bd17: Download complete
4f4fb700ef54: Download complete
f4cd3cda5bd1: Verifying Checksum
f4cd3cda5bd1: Download complete
a1964fa03b8e: Download complete
b0447f55c55d: Verifying Checksum
b0447f55c55d: Download complete
3b35795ea6f1: Verifying Checksum
3b35795ea6f1: Download complete
54253ebfaadd: Verifying Checksum
54253ebfaadd: Download complete
9ff632143c65: Verifying Checksum
9ff632143c65: Download complete
9b15fa33b17b: Download complete
fc621d9e49ee: Verifying Checksum
fc621d9e49ee: Download complete
a808190c9ede: Verifying Checksum
a808190c9ede: Download complete
f6034e88fa4b: Verifying Checksum
f6034e88fa4b: Download complete
b98e772cf962: Verifying Checksum
b98e772cf962: Download complete
5bd7c786f6af: Download complete
64bdf3a66474: Verifying Checksum
64bdf3a66474: Download complete
0b128060d34b: Download complete
e804c029bdf4: Pull complete
92c8311c290d: Pull complete
712e4b43f6e9: Download complete
81a695e74ea9: Pull complete
ec5c083cf22b: Pull complete
a21bf54f2d5b: Pull complete
09ba181d4069: Pull complete
7ef6323c9515: Pull complete
b2e15490040e: Pull complete
8df215c81409: Verifying Checksum
8df215c81409: Download complete
f987803266ba: Pull complete
7a9eb25f98ab: Pull complete
ed08555d0217: Pull complete
cb69b9672969: Pull complete
f0209392ec20: Pull complete
1a2bfb83bd17: Pull complete
9ce1342f625b: Pull complete
4f4fb700ef54: Pull complete
f4cd3cda5bd1: Pull complete
a1964fa03b8e: Pull complete
b0447f55c55d: Pull complete
3b35795ea6f1: Pull complete
54253ebfaadd: Pull complete
9ff632143c65: Pull complete
9b15fa33b17b: Pull complete
fc621d9e49ee: Pull complete
5bd7c786f6af: Pull complete
a808190c9ede: Pull complete
b98e772cf962: Pull complete
f6034e88fa4b: Pull complete
35a3840a5747: Verifying Checksum
35a3840a5747: Download complete
8f98b0cb17e5: Verifying Checksum
8f98b0cb17e5: Download complete
5a921f3258fb: Download complete
20427fd93949: Verifying Checksum
20427fd93949: Download complete
e44a9eb97fa3: Verifying Checksum
e44a9eb97fa3: Download complete
3a1c504ada2e: Verifying Checksum
3a1c504ada2e: Download complete
719324b06d7f: Verifying Checksum
719324b06d7f: Download complete
6a3e646d8ab4: Download complete
2d4690cd5602: Verifying Checksum
2d4690cd5602: Download complete
20427fd93949: Pull complete
64bdf3a66474: Pull complete
3a1c504ada2e: Pull complete
0b128060d34b: Pull complete
712e4b43f6e9: Pull complete
8df215c81409: Pull complete
35a3840a5747: Pull complete
8f98b0cb17e5: Pull complete
5a921f3258fb: Pull complete
2d4690cd5602: Pull complete
e44a9eb97fa3: Pull complete
719324b06d7f: Pull complete
6a3e646d8ab4: Pull complete
Digest: sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2
Status: Downloaded newer image for ocaml/opam@sha256:6d2780682d25cf69a2fe28370494ac0530192f395a32bd9fb56d41ea01fd0db2
2025-07-14 12:34.46 ---> using "3ec014ddab559ff09316b98186fc49ccff8c48e92a12f7b0690befb558e37249" 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-07-14 12:34.46 ---> using "b0d3ace18880a4a5838755fd57b4bb6d5ee27da7fb58f484860ba03afe8f2580" 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-07-14 12:34.46 ---> using "1cd46c21e1aea082a394aab67d83e1d3f14aabd84b97a2e7d6e38902503ca530" 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=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       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-07-14 12:34.46 ---> using "e9bae6dc6705f8e41a85a92907155a8f3e40d634087d82f6d27c4ad4d34accd4" 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-07-14 12:34.46 ---> using "735e5a515f2db8b241cb9a465d3af0c92e70138109ed04f63c3212fe403eac93" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-14 12:34.46 ---> using "6ab934deb9937d31c9e9e484ac82f9c7855fc60e313f7dc25d154b25c6620536" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-14 12:35.01 ---> saved as "6d03ae23dd57cb6bdcddf3f5d182767bf8e83cd63eff47e869d3a65140e05574"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [213 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-07-14-0205.05-F-2025-07-05-1404.38.pdiff [127 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-07-14-0205.05-F-2025-07-05-1404.38.pdiff [127 kB]
- Fetched 404 kB in 2s (259 kB/s)
- Reading package lists...
- 
2025-07-14 12:35.03 ---> saved as "b5f0e2114597efb4e64a6fb36dff5ecee408fda8f398ec3418c81be11515b53d"

/home/opam: (run (shell "opam pin add -k version -yn gen_js_api.1.1.1 1.1.1"))
gen_js_api is now pinned to version 1.1.1
2025-07-14 12:35.04 ---> saved as "15b23e1aae1a0ed8145709a79e170853caccdb1f1ce54cd8b0ac954a68f1d69c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall gen_js_api.1.1.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-unstable\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'gen_js_api.1.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
gen_js_api.1.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 18 packages
  - install cmdliner             1.3.0          [required by js_of_ocaml-compiler]
  - install dune                 3.19.1         [required by gen_js_api]
  - install gen                  1.1            [required by sedlex]
  - install gen_js_api           1.1.1 (pinned)
  - install js_of_ocaml-compiler 6.1.1          [required by ojs]
  - install menhir               20240715       [required by js_of_ocaml-compiler]
  - install menhirCST            20240715       [required by menhir]
  - install menhirLib            20240715       [required by js_of_ocaml-compiler]
  - install menhirSdk            20240715       [required by js_of_ocaml-compiler]
  - install ocaml-compiler-libs  v0.17.0        [required by ppxlib]
  - install ojs                  1.1.1          [required by gen_js_api]
  - install ppx_derivers         1.2.1          [required by ppxlib]
  - install ppxlib               0.35.0         [required by gen_js_api]
  - install sedlex               3.6            [required by js_of_ocaml-compiler]
  - install seq                  base           [required by gen]
  - install sexplib0             v0.17.0        [required by ppxlib]
  - install stdlib-shims         0.3.0          [required by ppxlib]
  - install yojson               3.0.0          [required by js_of_ocaml-compiler]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved gen_js_api.1.1.1, ojs.1.1.1  (cached)
-> installed cmdliner.1.3.0
-> retrieved js_of_ocaml-compiler.6.1.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sedlex.3.6  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed dune.3.19.1
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed sedlex.3.6
-> installed js_of_ocaml-compiler.6.1.1
-> installed ojs.1.1.1
-> installed gen_js_api.1.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-14 12:35.55 ---> saved as "29bf62966a28fc43a2ea2d8f53812ebb67f03b59c8171ba3df3828292d5280dc"
Job succeeded
2025-07-14 12:36.00: Job succeeded