Build:
  1. 0
2024-11-29 20:26.56: New job: build js_of_ocaml-toplevel.6.0.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26971/head (7cb3ddbaa0f4625184c3acfa03d6ac01b5d24718)
                              on debian-12-ocaml-4.14/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/26971/head" && git reset --hard 7cb3ddba
git fetch origin master
git merge --no-edit 03f40ffaa72302dd690b44668fc40ebe51186b2b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 js_of_ocaml-toplevel.6.0.0 6.0.0
RUN opam reinstall js_of_ocaml-toplevel.6.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" != 'js_of_ocaml-toplevel.6.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 .

2024-11-29 20:26.56: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef-js_of_ocaml-toplevel.6.0.0-7cb3ddbaa0f4625184c3acfa03d6ac01b5d24718"
2024-11-29 20:26.56: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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 js_of_ocaml-toplevel.6.0.0 6.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall js_of_ocaml-toplevel.6.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\" != 'js_of_ocaml-toplevel.6.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"))
)

2024-11-29 20:26.56: Waiting for resource in pool OCluster
2024-11-29 20:31.36: Waiting for worker…
2024-11-29 20:45.54: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
Updating files:  64% (21079/32907)
Updating files:  65% (21390/32907)
Updating files:  66% (21719/32907)
Updating files:  67% (22048/32907)
Updating files:  68% (22377/32907)
Updating files:  69% (22706/32907)
Updating files:  70% (23035/32907)
Updating files:  71% (23364/32907)
Updating files:  72% (23694/32907)
Updating files:  73% (24023/32907)
Updating files:  74% (24352/32907)
Updating files:  75% (24681/32907)
Updating files:  76% (25010/32907)
Updating files:  77% (25339/32907)
Updating files:  78% (25668/32907)
Updating files:  79% (25997/32907)
Updating files:  80% (26326/32907)
Updating files:  81% (26655/32907)
Updating files:  82% (26984/32907)
Updating files:  83% (27313/32907)
Updating files:  84% (27642/32907)
Updating files:  85% (27971/32907)
Updating files:  86% (28301/32907)
Updating files:  87% (28630/32907)
Updating files:  88% (28959/32907)
Updating files:  89% (29288/32907)
Updating files:  90% (29617/32907)
Updating files:  91% (29946/32907)
Updating files:  92% (30275/32907)
Updating files:  93% (30604/32907)
Updating files:  94% (30933/32907)
Updating files:  95% (31262/32907)
Updating files:  96% (31591/32907)
Updating files:  97% (31920/32907)
Updating files:  98% (32249/32907)
Updating files:  99% (32578/32907)
Updating files: 100% (32907/32907)
Updating files: 100% (32907/32907), done.
HEAD is now at 03f40ffaa7 Merge pull request #26984 from paurkedal/release-mariadb-1.2.0
Merge made by the 'ort' strategy.
 .../js_of_ocaml-compiler.6.0.0/opam                | 56 ++++++++++++++++++++++
 .../js_of_ocaml-lwt/js_of_ocaml-lwt.6.0.0/opam     | 48 +++++++++++++++++++
 .../js_of_ocaml-ppx/js_of_ocaml-ppx.6.0.0/opam     | 45 +++++++++++++++++
 .../js_of_ocaml-ppx_deriving_json.6.0.0/opam       | 45 +++++++++++++++++
 .../js_of_ocaml-toplevel.6.0.0/opam                | 48 +++++++++++++++++++
 .../js_of_ocaml-tyxml/js_of_ocaml-tyxml.6.0.0/opam | 49 +++++++++++++++++++
 packages/js_of_ocaml/js_of_ocaml.6.0.0/opam        | 45 +++++++++++++++++
 7 files changed, 336 insertions(+)
 create mode 100644 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.6.0.0/opam
 create mode 100644 packages/js_of_ocaml-lwt/js_of_ocaml-lwt.6.0.0/opam
 create mode 100644 packages/js_of_ocaml-ppx/js_of_ocaml-ppx.6.0.0/opam
 create mode 100644 packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.6.0.0/opam
 create mode 100644 packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.6.0.0/opam
 create mode 100644 packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.6.0.0/opam
 create mode 100644 packages/js_of_ocaml/js_of_ocaml.6.0.0/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef)
2024-11-29 20:45.55 ---> using "c91705407132f13d405758e65a4dba1d21e88f189c241c012b87f03590df56b4" 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"))
2024-11-29 20:45.55 ---> using "0f839378c2fcb1ecc6c0fd053c535376bdf64574b0cf6e56e5e2b5ba4a7bd631" 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] synchronised from file:///home/opam/opam-repository
2024-11-29 20:45.55 ---> using "c1959f3150cc46846f5edb5f26f7300a2ac80c33569b36863bf7fe9b6c369121" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.3.0
2024-11-29 20:45.55 ---> using "e743a42fe52db21b972680323f9ad6014119f90b46c1c5daa168e81597db7405" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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/"))
2024-11-29 20:45.55 ---> using "ad4bb2ee6382469d300cefe46e64c02c649bf8e726b5a2fec6914b7d426aecf1" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 20:46.06 ---> saved as "9f6741ca72403f07719e4151a4e2de69ac151d1fae91a394f1358a81474ecc59"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 20:46.59 ---> saved as "d666a2170576752cdb30412a84db5cf0b9031feaea639d95e417ef309aed1745"

/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 bookworm-updates/main amd64 Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [206 kB]
- Fetched 322 kB in 0s (1236 kB/s)
- Reading package lists...
2024-11-29 20:47.00 ---> saved as "6466bfb7e8ceedcbc116cdf828c4b40d2299715473b870e9f1b45bcce431b2cd"

/home/opam: (run (shell "opam pin add -k version -yn js_of_ocaml-toplevel.6.0.0 6.0.0"))
js_of_ocaml-toplevel is now pinned to version 6.0.0
2024-11-29 20:47.01 ---> saved as "5b33e41adc1113648ce28d632b0f4745db5d81127a856ffd8e6e106d908a390a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall js_of_ocaml-toplevel.6.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\" != 'js_of_ocaml-toplevel.6.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"))
js_of_ocaml-toplevel.6.0.0 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.17.0         [required by js_of_ocaml-toplevel]
  - install gen                  1.1            [required by sedlex]
  - install js_of_ocaml-compiler 6.0.0          [required by js_of_ocaml-toplevel]
  - install js_of_ocaml-toplevel 6.0.0 (pinned)
  - 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.12.4        [required by ppxlib]
  - install ocamlfind            1.9.6          [required by js_of_ocaml-toplevel]
  - install ppx_derivers         1.2.1          [required by ppxlib]
  - install ppxlib               0.33.0         [required by js_of_ocaml-toplevel]
  - install sedlex               3.3            [required by js_of_ocaml-compiler]
  - install seq                  base           [required by yojson]
  - install sexplib0             v0.17.0        [required by ppxlib]
  - install stdlib-shims         0.3.0          [required by ppxlib]
  - install yojson               2.2.2          [required by js_of_ocaml-compiler]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dune.3.17.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved js_of_ocaml-compiler.6.0.0, js_of_ocaml-toplevel.6.0.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> installed cmdliner.1.3.0
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved sedlex.3.3  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.17.0
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> 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.12.4
-> installed yojson.2.2.2
-> installed menhir.20240715
-> installed ppxlib.0.33.0
-> installed sedlex.3.3
-> installed js_of_ocaml-compiler.6.0.0
-> installed js_of_ocaml-toplevel.6.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 20:49.06 ---> saved as "fb36539bd7d673221f83c28dd708ce5ee4349145f0f682161f56470c35a5bcf0"
Job succeeded
2024-11-29 20:49.14: Job succeeded