(for PR #27494)

2025-02-24 08:32.05: New job: test xxhash.0.1 with ocamlmod.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27494/head (0def47e7b511023db693d6098b7284568d1f56f0)
                              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/27494/head" && git reset --hard 0def47e7
git fetch origin master
git merge --no-edit 4022a684b64be8161a05cf897f492f8680792469
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
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 ocamlmod.0.1.0 0.1.0
RUN opam reinstall ocamlmod.0.1.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" != 'ocamlmod.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall xxhash.0.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'xxhash.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test xxhash.0.1) || true
RUN opam reinstall --with-test --verbose xxhash.0.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'xxhash.0.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-02-24 08:32.05: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-ocamlmod.0.1.0-xxhash.0.1-0def47e7b511023db693d6098b7284568d1f56f0"
2025-02-24 08:32.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
 (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 ocamlmod.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlmod.0.1.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\" != 'ocamlmod.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall xxhash.0.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-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\" != 'xxhash.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test xxhash.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose xxhash.0.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-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\" != 'xxhash.0.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-02-24 08:32.05: Waiting for resource in pool OCluster
2025-02-24 08:49.11: Waiting for worker…
2025-02-24 08:51.14: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  59% (13260/22467)
Updating files:  60% (13481/22467)
Updating files:  61% (13705/22467)
Updating files:  62% (13930/22467)
Updating files:  63% (14155/22467)
Updating files:  64% (14379/22467)
Updating files:  65% (14604/22467)
Updating files:  66% (14829/22467)
Updating files:  67% (15053/22467)
Updating files:  68% (15278/22467)
Updating files:  69% (15503/22467)
Updating files:  70% (15727/22467)
Updating files:  71% (15952/22467)
Updating files:  72% (16177/22467)
Updating files:  73% (16401/22467)
Updating files:  74% (16626/22467)
Updating files:  75% (16851/22467)
Updating files:  76% (17075/22467)
Updating files:  77% (17300/22467)
Updating files:  78% (17525/22467)
Updating files:  79% (17749/22467)
Updating files:  80% (17974/22467)
Updating files:  81% (18199/22467)
Updating files:  82% (18423/22467)
Updating files:  83% (18648/22467)
Updating files:  84% (18873/22467)
Updating files:  85% (19097/22467)
Updating files:  86% (19322/22467)
Updating files:  87% (19547/22467)
Updating files:  88% (19771/22467)
Updating files:  89% (19996/22467)
Updating files:  90% (20221/22467)
Updating files:  91% (20445/22467)
Updating files:  92% (20670/22467)
Updating files:  93% (20895/22467)
Updating files:  94% (21119/22467)
Updating files:  95% (21344/22467)
Updating files:  96% (21569/22467)
Updating files:  97% (21793/22467)
Updating files:  98% (22018/22467)
Updating files:  99% (22243/22467)
Updating files: 100% (22467/22467)
Updating files: 100% (22467/22467), done.
HEAD is now at 4022a684b6 Merge pull request #27464 from hannesm/release-crunch-v4.0.0
Updating 4022a684b6..0def47e7b5
Fast-forward
 packages/ocamlmod/ocamlmod.0.1.0/opam | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/ocamlmod/ocamlmod.0.1.0/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
2025-02-24 08:51.42 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" 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-02-24 08:51.42 ---> using "63348f49024352af4df51181a4d2b78015b336e78bdb909884d7d69472d901a3" 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-24 08:51.42 ---> using "43a9673a4da24840797129b74017b6eb598863ba09d5d1a9bc3d3bd190bc8651" 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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# 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 (local), 1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-02-24 08:51.42 ---> using "5b9fc6f723d0065251ab5d52aa7740a229f8f438bf79f559d9f8db36ee599317" 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-02-24 08:51.42 ---> using "a874c49896169ec02e95177c8b5fb923a0e02dbc7bef07316a52b7ca53832295" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 08:51.51 ---> saved as "4253df3ceb367f320e2e59481694f41945d0aa5a3aff8e84d62ec30597769699"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 08:52.41 ---> saved as "b0d31e1d3e54c8f2cf9229a7a258f86593277d01a3029f618e9e06729f50143c"

/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 [246 kB]
- Fetched 349 kB in 0s (1144 kB/s)
- Reading package lists...
- 
2025-02-24 08:52.42 ---> saved as "3190819e9a9b503daf97a971adb376054d5dae792297b7f693d4b54899654a95"

/home/opam: (run (shell "opam pin add -k version -yn ocamlmod.0.1.0 0.1.0"))
ocamlmod is now pinned to version 0.1.0
2025-02-24 08:52.43 ---> saved as "a1c9a3b28bfa48ebb2cb16d4ad6c5c79f4f4025f4430dedc449bfd06148b496a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlmod.0.1.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\" != 'ocamlmod.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocamlmod.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune     3.17.2         [required by ocamlmod]
  - install ocamlmod 0.1.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> retrieved ocamlmod.0.1.0  (cached)
-> installed dune.3.17.2
-> installed ocamlmod.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 08:53.16 ---> saved as "518b5c4f8da5b692ed3584669396faac7fdc0a48af64716bd9f64828cc9889f6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall xxhash.0.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-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\" != 'xxhash.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
xxhash.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
  - install bigarray-compat   1.1.0  [required by ctypes]
  - install conf-pkg-config   4      [required by conf-xxhash]
  - install conf-xxhash       1      [required by xxhash]
  - install csexp             1.5.2  [required by dune-configurator]
  - install ctypes            0.23.0 [required by xxhash]
  - install dune-configurator 3.17.2 [required by ctypes]
  - install integers          0.7.0  [required by ctypes]
  - install oasis             0.4.11 [required by xxhash]
  - install ocamlbuild        0.15.0 [required by xxhash]
  - install ocamlfind         1.9.8  [required by oasis]
  - install ocamlify          0.0.1  [required by oasis]
  - install stdlib-shims      0.3.0  [required by integers]
  - install xxhash            0.1

The following system packages will first need to be installed:
    libxxhash-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" "libxxhash-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3: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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libxxhash-dev:amd64.
- Preparing to unpack .../libxxhash-dev_0.8.1-1_amd64.deb ...
- Unpacking libxxhash-dev:amd64 (0.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libxxhash-dev:amd64 (0.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.23.0  (cached)
-> installed conf-pkg-config.4
-> installed conf-xxhash.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> retrieved dune-configurator.3.17.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved oasis.0.4.11  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlify.0.0.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed stdlib-shims.0.3.0
-> retrieved xxhash.0.1  (https://github.com/314eter/ocaml-xxhash/archive/v0.1.tar.gz)
-> installed integers.0.7.0
-> installed dune-configurator.3.17.2
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.15.0
-> installed ctypes.0.23.0
-> installed ocamlify.0.0.1
-> installed oasis.0.4.11
-> installed xxhash.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 08:54.44 ---> saved as "0a678822e2fab22729a1472381e15455dc516aba57e919355662baf35365064d"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test xxhash.0.1) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile xxhash 0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved xxhash.0.1  (https://github.com/314eter/ocaml-xxhash/archive/v0.1.tar.gz)
-> removed   xxhash.0.1
-> installed xxhash.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 08:55.00 ---> saved as "b8cdd36e6e9cdfef6e1aa372d23ada5b43f96edec4d6b2c4fc7ad8639c188701"

/home/opam: (run (shell  "opam reinstall --with-test --verbose xxhash.0.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-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\" != 'xxhash.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile xxhash 0.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [xxhash.0.1: extract]
-> retrieved xxhash.0.1  (cached)
Processing  2/4: [xxhash: ocaml setup.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "setup.ml" "-configure" "--prefix" "/home/opam/.opam/4.14" (CWD=/home/opam/.opam/4.14/.opam-switch/build/xxhash.0.1)
- W: Cannot find source file matching module 'Xxhash_bindings' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_generated' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_bindings' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_generated' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- 
- Configuration:
- ocamlfind: ........................................... /home/opam/.opam/4.14/bin/ocamlfind
- ocamlc: .............................................. /home/opam/.opam/4.14/bin/ocamlc.opt
- ocamlopt: ............................................ /home/opam/.opam/4.14/bin/ocamlopt.opt
- ocamlbuild: .......................................... /home/opam/.opam/4.14/bin/ocamlbuild
- Package name: ........................................ xxhash
- Package version: ..................................... 0.1
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.2
- standard_library_default: ............................ /home/opam/.opam/4.14/lib/ocaml
- standard_library: .................................... /home/opam/.opam/4.14/lib/ocaml
- bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 
- model: ............................................... default
- ext_obj: ............................................. .o
- ext_asm: ............................................. .s
- ext_lib: ............................................. .a
- ext_dll: ............................................. .so
- default_executable_name: ............................. a.out
- systhread_supported: ................................. true
- Install architecture-independent files dir: .......... /home/opam/.opam/4.14
- Install architecture-dependent files in dir: ......... $prefix
- User executables: .................................... $exec_prefix/bin
- System admin executables: ............................ $exec_prefix/sbin
- Program executables: ................................. $exec_prefix/libexec
- Read-only single-machine data: ....................... $prefix/etc
- Modifiable architecture-independent data: ............ $prefix/com
- Modifiable single-machine data: ...................... $prefix/var
- Object code libraries: ............................... $exec_prefix/lib
- Read-only arch-independent data root: ................ $prefix/share
- Read-only architecture-independent data: ............. $datarootdir
- Info documentation: .................................. $datarootdir/info
- Locale-dependent data: ............................... $datarootdir/locale
- Man documentation: ................................... $datarootdir/man
- Documentation root: .................................. $datarootdir/doc/$pkg_name
- HTML documentation: .................................. $docdir
- DVI documentation: ................................... $docdir
- PDF documentation: ................................... $docdir
- PS documentation: .................................... $docdir
- findlib_version: ..................................... 1.9.8
- is_native: ........................................... true
- suffix_program: ......................................
- Remove a file.: ...................................... rm -f
- Remove a directory.: ................................. rm -rf
- Turn ocaml debug flag on: ............................ true
- Turn ocaml profile flag on: .......................... false
- Compiler support generation of .cmxs.: ............... true
- OCamlbuild additional flags: .........................
- Create documentations: ............................... true
- Compile tests executable and library and run them: ... false
- pkg_ctypes_stubs: .................................... /home/opam/.opam/4.14/lib/ctypes/stubs
- ocamldoc: ............................................ /home/opam/.opam/4.14/bin/ocamldoc
- 
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "setup.ml" "-build" (CWD=/home/opam/.opam/4.14/.opam-switch/build/xxhash.0.1)
- W: Cannot find source file matching module 'Xxhash_bindings' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_generated' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_bindings' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_generated' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_bindings' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_generated' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes.stubs -modules stubs/xxhash_stubgen.ml > stubs/xxhash_stubgen.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes.stubs -modules stubs/xxhash_bindings.ml > stubs/xxhash_bindings.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes.stubs -I stubs -o stubs/xxhash_bindings.cmo stubs/xxhash_bindings.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes.stubs -I stubs -o stubs/xxhash_stubgen.cmo stubs/xxhash_stubgen.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package ctypes.stubs -I stubs -o stubs/xxhash_bindings.cmx stubs/xxhash_bindings.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package ctypes.stubs -I stubs -o stubs/xxhash_stubgen.cmx stubs/xxhash_stubgen.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -g -linkpkg -package ctypes.stubs -I stubs stubs/xxhash_bindings.cmx stubs/xxhash_stubgen.cmx -o stubs/xxhash_stubgen.native
- + stubs/xxhash_stubgen.native
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -package ctypes.stubs -c lib/xxhash_stubs.c
- + mv xxhash_stubs.o lib/xxhash_stubs.o
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlmklib -o lib/xxhash_stubs -g -lxxhash lib/xxhash_stubs.o
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes.stubs -modules lib/XXHash.mli > lib/XXHash.mli.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes.stubs -I lib -o lib/XXHash.cmi lib/XXHash.mli
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes.stubs -modules lib/XXHash.ml > lib/XXHash.ml.depends
- + cp -p stubs/xxhash_bindings.ml lib/xxhash_bindings.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes.stubs -modules lib/xxhash_bindings.ml > lib/xxhash_bindings.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes.stubs -modules lib/xxhash_generated.ml > lib/xxhash_generated.ml.depends
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes.stubs -I lib -o lib/xxhash_bindings.cmo lib/xxhash_bindings.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes.stubs -I lib -o lib/xxhash_generated.cmo lib/xxhash_generated.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -package ctypes.stubs -I lib -o lib/XXHash.cmo lib/XXHash.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -a -dllib -lxxhash_stubs -cclib -lxxhash_stubs -cclib -lxxhash -I lib lib/xxhash_bindings.cmo lib/xxhash_generated.cmo lib/XXHash.cmo -o lib/xxhash.cma
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package ctypes.stubs -I lib -o lib/xxhash_bindings.cmx lib/xxhash_bindings.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package ctypes.stubs -I lib -o lib/xxhash_generated.cmx lib/xxhash_generated.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -package ctypes.stubs -I lib -o lib/XXHash.cmx lib/XXHash.ml
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -a -cclib -lxxhash_stubs -cclib -lxxhash -I lib lib/xxhash_bindings.cmx lib/xxhash_generated.cmx lib/XXHash.cmx -o lib/xxhash.cmxa
- + /home/opam/.opam/4.14/bin/ocamlfind ocamlopt -shared -I lib -I lib lib/xxhash.cmxa lib/xxhash_bindings.cmx lib/xxhash_generated.cmx lib/XXHash.cmx -o lib/xxhash.cmxs
- + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- File "myocamlbuild.ml", line 454, characters 8-19:
- 454 |         Stream.from
-               ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 457, characters 21-32:
- 457 |                match Stream.next st with
-                            ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 460, characters 18-32:
- 460 |              with Stream.Failure -> None)
-                         ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 462, characters 6-23:
- 462 |       Genlex.make_lexer ["="] st_line
-             ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 465, characters 12-24:
- 465 |       match Stream.npeek 3 lxr with
-                   ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 9-21:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 26-36:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                 ^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 42-55:
- 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
-                                                 ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 8-19:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-               ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 25-36:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-                                ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 42-53:
- 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
-                                                 ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 479, characters 17-34:
- 479 |         let st = Stream.of_channel chn in
-                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
-> compiled  xxhash.0.1
Processing  3/4: [xxhash: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "xxhash"
- Removed /home/opam/.opam/4.14/lib/xxhash/META
- Removed /home/opam/.opam/4.14/lib/stublibs/dllxxhash_stubs.so.owner
- Removed /home/opam/.opam/4.14/lib/stublibs/dllxxhash_stubs.so
- Removed /home/opam/.opam/4.14/lib/xxhash
-> removed   xxhash.0.1
Processing  4/4: [xxhash: ocaml setup.ml]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "ocaml" "setup.ml" "-install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/xxhash.0.1)
- W: Cannot find source file matching module 'Xxhash_bindings' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_generated' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_bindings' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- W: Cannot find source file matching module 'Xxhash_generated' in library xxhash.
- W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
- Installed /home/opam/.opam/4.14/lib/xxhash/XXHash.mli
- Installed /home/opam/.opam/4.14/lib/xxhash/libxxhash_stubs.a
- Installed /home/opam/.opam/4.14/lib/xxhash/xxhash.cma
- Installed /home/opam/.opam/4.14/lib/xxhash/xxhash.cmxa
- Installed /home/opam/.opam/4.14/lib/xxhash/xxhash.a
- Installed /home/opam/.opam/4.14/lib/xxhash/xxhash.cmxs
- Installed /home/opam/.opam/4.14/lib/xxhash/XXHash.cmi
- Installed /home/opam/.opam/4.14/lib/xxhash/XXHash.cmti
- Installed /home/opam/.opam/4.14/lib/xxhash/XXHash.cmt
- Installed /home/opam/.opam/4.14/lib/xxhash/XXHash.annot
- Installed /home/opam/.opam/4.14/lib/xxhash/xxhash_generated.cmx
- Installed /home/opam/.opam/4.14/lib/xxhash/xxhash_bindings.cmx
- Installed /home/opam/.opam/4.14/lib/xxhash/XXHash.cmx
- Installed /home/opam/.opam/4.14/lib/stublibs/dllxxhash_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllxxhash_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/xxhash/META
-> installed xxhash.0.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 08:55.15 ---> saved as "8ec884653f3b01000fca72c769c1f999f71d7c13c8ef445421242d11355e81be"
Job succeeded
2025-02-24 08:55.22: Job succeeded