Build:
  1. 0
2024-02-11 20:23.54: New job: test scrypt.0.2.1 with conf-pkg-config.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/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/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn conf-pkg-config.1.1 1.1
RUN opam reinstall conf-pkg-config.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-pkg-config.1.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam reinstall scrypt.0.2.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" != 'scrypt.0.2.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test scrypt.0.2.1) || true
RUN opam reinstall --with-test --verbose scrypt.0.2.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" != 'scrypt.0.2.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 .

2024-02-11 20:23.54: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.1-scrypt.0.2.1-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (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"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.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-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\" != 'conf-pkg-config.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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall scrypt.0.2.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\" != 'scrypt.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam reinstall --with-test scrypt.0.2.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose scrypt.0.2.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\" != 'scrypt.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-11 20:23.54: Waiting for resource in pool OCluster
2024-02-12 20:08.16: Waiting for worker…
2024-02-12 20:09.40: Got resource from pool OCluster
Building on c2-1.equinix.ci.dev
All commits already cached
Updating files:   6% (2253/32918)
Updating files:   7% (2305/32918)
Updating files:   8% (2634/32918)
Updating files:   9% (2963/32918)
Updating files:  10% (3292/32918)
Updating files:  11% (3621/32918)
Updating files:  12% (3951/32918)
Updating files:  12% (4019/32918)
Updating files:  13% (4280/32918)
Updating files:  14% (4609/32918)
Updating files:  15% (4938/32918)
Updating files:  16% (5267/32918)
Updating files:  17% (5597/32918)
Updating files:  18% (5926/32918)
Updating files:  19% (6255/32918)
Updating files:  19% (6448/32918)
Updating files:  20% (6584/32918)
Updating files:  21% (6913/32918)
Updating files:  22% (7242/32918)
Updating files:  23% (7572/32918)
Updating files:  24% (7901/32918)
Updating files:  25% (8230/32918)
Updating files:  26% (8559/32918)
Updating files:  27% (8888/32918)
Updating files:  27% (9052/32918)
Updating files:  28% (9218/32918)
Updating files:  29% (9547/32918)
Updating files:  30% (9876/32918)
Updating files:  31% (10205/32918)
Updating files:  32% (10534/32918)
Updating files:  33% (10863/32918)
Updating files:  33% (11174/32918)
Updating files:  34% (11193/32918)
Updating files:  35% (11522/32918)
Updating files:  36% (11851/32918)
Updating files:  37% (12180/32918)
Updating files:  38% (12509/32918)
Updating files:  39% (12839/32918)
Updating files:  40% (13168/32918)
Updating files:  40% (13470/32918)
Updating files:  41% (13497/32918)
Updating files:  42% (13826/32918)
Updating files:  43% (14155/32918)
Updating files:  44% (14484/32918)
Updating files:  45% (14814/32918)
Updating files:  46% (15143/32918)
Updating files:  47% (15472/32918)
Updating files:  47% (15622/32918)
Updating files:  48% (15801/32918)
Updating files:  49% (16130/32918)
Updating files:  50% (16459/32918)
Updating files:  51% (16789/32918)
Updating files:  52% (17118/32918)
Updating files:  52% (17446/32918)
Updating files:  53% (17447/32918)
Updating files:  54% (17776/32918)
Updating files:  55% (18105/32918)
Updating files:  56% (18435/32918)
Updating files:  57% (18764/32918)
Updating files:  57% (18951/32918)
Updating files:  58% (19093/32918)
Updating files:  59% (19422/32918)
Updating files:  60% (19751/32918)
Updating files:  61% (20080/32918)
Updating files:  62% (20410/32918)
Updating files:  63% (20739/32918)
Updating files:  64% (21068/32918)
Updating files:  64% (21266/32918)
Updating files:  65% (21397/32918)
Updating files:  66% (21726/32918)
Updating files:  67% (22056/32918)
Updating files:  68% (22385/32918)
Updating files:  69% (22714/32918)
Updating files:  70% (23043/32918)
Updating files:  71% (23372/32918)
Updating files:  72% (23701/32918)
Updating files:  72% (23876/32918)
Updating files:  73% (24031/32918)
Updating files:  74% (24360/32918)
Updating files:  75% (24689/32918)
Updating files:  76% (25018/32918)
Updating files:  77% (25347/32918)
Updating files:  78% (25677/32918)
Updating files:  79% (26006/32918)
Updating files:  80% (26335/32918)
Updating files:  81% (26664/32918)
Updating files:  81% (26688/32918)
Updating files:  82% (26993/32918)
Updating files:  83% (27322/32918)
Updating files:  84% (27652/32918)
Updating files:  85% (27981/32918)
Updating files:  86% (28310/32918)
Updating files:  87% (28639/32918)
Updating files:  88% (28968/32918)
Updating files:  89% (29298/32918)
Updating files:  90% (29627/32918)
Updating files:  91% (29956/32918)
Updating files:  92% (30285/32918)
Updating files:  93% (30614/32918)
Updating files:  94% (30943/32918)
Updating files:  95% (31273/32918)
Updating files:  96% (31602/32918)
Updating files:  97% (31931/32918)
Updating files:  97% (32105/32918)
Updating files:  98% (32260/32918)
Updating files:  99% (32589/32918)
Updating files: 100% (32918/32918)
Updating files: 100% (32918/32918), done.
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930' locally
docker.io/ocaml/opam@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930: Pulling from ocaml/opam
Digest: sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
Status: Downloaded newer image for ocaml/opam@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
2024-02-12 20:10.20 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-02-12 20:10.20 ---> using "fabdc8d00b7a2ab01a803ca00a256ed207574901ddddc9a6dbf4cc04f1ae7d62" 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.

Continue? [y/n] y
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, which can't be reverted.
You may want to back it up before going further.

[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-02-12 20:10.20 ---> using "a86a8cbad124032470c24d01ed532902e3276f71c46876c139d923bc122fdb5a" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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-02-12 20:10.20 ---> using "232efc62707a00b24b05f715bbaa9b3faf39b0b54385e977ab6b90483222088b" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 20:10.23 ---> using "18201c4bfce2b49754f729448b3f7fd9e25debc469a727a7f57f43905f50c9e9" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 20:10.23 ---> using "f1544e96afbc9f81b3133e9ef665ada600f2a48b479fdc7f981b4ef67c185a33" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 1s (6900 kB/s)
- Reading package lists...
- 
2024-02-12 20:10.23 ---> using "c57797d3259ee1fb484144207f043b6dafc8662e6a9f1c955466ba8652f616c1" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
conf-pkg-config is now pinned to version 1.1
2024-02-12 20:10.23 ---> using "0c9f6a0452dd3a8d149f08045abeb05279b4b8e7ec4d9e723b5c994bc2778a0f" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-pkg-config.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-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\" != 'conf-pkg-config.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"))
conf-pkg-config.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-pkg-config 1.1 (pinned)

The following system packages will first need to be installed:
    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" "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 ... 18774 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 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 pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:10.23 ---> using "d8e73fd6d29311be0fcbb2972f1c05f1422b9cc998f063ece51818326e723028" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall scrypt.0.2.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\" != 'scrypt.0.2.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
scrypt.0.2.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
  - install conf-libssl 4     [required by scrypt]
  - install ocamlfind   1.9.6 [required by scrypt]
  - install scrypt      0.2.1

The following system packages will first need to be installed:
    libssl-dev

<><> 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" "libssl-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libssl-dev: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 ... 18810 files and directories currently installed.)
- Preparing to unpack .../libssl-dev_3.0.11-1~deb12u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.11-1~deb12u2) ...
- Setting up libssl-dev:amd64 (3.0.11-1~deb12u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> installed conf-libssl.4
-> retrieved scrypt.0.2.1  (https://github.com/constfun/ocaml-scrypt/archive/v0.2.1.tar.gz)
-> installed ocamlfind.1.9.6
-> installed scrypt.0.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:11.23 ---> saved as "f3848d80f08ac9d33aa525a0001136008970a66e1d4cc65c4f78c382eced61c9"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved scrypt.0.2.1  (https://github.com/constfun/ocaml-scrypt/archive/v0.2.1.tar.gz)
-> removed   scrypt.0.2.1
-> installed scrypt.0.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:12.08 ---> saved as "4beb35aa5cc73560315dc4d8c4ad742d577d226b8ba8d041ddf82d2e4937322a"

/home/opam: (run (shell  "opam reinstall --with-test --verbose scrypt.0.2.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\" != 'scrypt.0.2.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 scrypt 0.2.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved scrypt.0.2.1  (cached)
[scrypt: patch] applying no-ctypes-dependency.patch
Processing  2/4: [scrypt: patch]
Processing  2/4: [scrypt: make]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/5.1/.opam-switch/build/scrypt.0.2.1)
- # Compile scrypt, but immediately explode the library into it's object files.
- # We do this to merge the objects with scrypt_stubs.o into a new, unified, library under the name libscrypt.a
- # The merging step happens during ocamlmklib linking.
- cd libscrypt && make && ar x libscrypt.a
- make[1]: Entering directory '/home/opam/.opam/5.1/.opam-switch/build/scrypt.0.2.1/libscrypt'
- cd scrypt-1.1.6 && ./configure
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... 
- yes
- checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
- checking for gawk... no
- checking for mawk... mawk
- checking whether make sets $(MAKE)... yes
- checking whether to enable maintainer-specific portions of Makefiles... no
- checking for gcc... gcc
- checking for C compiler default output file name... a.out
- checking whether the C compiler works... yes
- checking whether we are cross compiling... no
- checking for suffix of executables... 
- checking for suffix of object files... 
- o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking for style of include used by make... GNU
- checking dependency style of gcc... gcc3
- checking how to run the C preprocessor... gcc -E
- checking for grep that handles long lines and -e... /usr/bin/grep
- checking for egrep... /usr/bin/grep -E
- checking for ANSI C header files... yes
- checking for sys/types.h... 
- yes
- checking for sys/stat.h... yes
- checking for stdlib.h... yes
- checking for string.h... yes
- checking for memory.h... yes
- checking for strings.h... yes
- checking for inttypes.h... yes
- checking for stdint.h... yes
- checking for unistd.h... yes
- checking sys/endian.h usability... no
- checking sys/endian.h presence... no
- checking for sys/endian.h... no
- checking whether be64enc is declared... no
- checking err.h usability... yes
- checking err.h presence... yes
- checking for err.h... yes
- checking for clock_gettime in -lrt... yes
- checking for clock_gettime... yes
- checking sys/sysinfo.h usability... yes
- checking sys/sysinfo.h presence... yes
- checking for sys/sysinfo.h... yes
- checking for sysinfo... 
- yes
- checking for struct sysinfo... yes
- checking for struct sysinfo.totalram... yes
- checking for struct sysinfo.mem_unit... yes
- checking sys/param.h usability... yes
- checking sys/param.h presence... yes
- checking for sys/param.h... yes
- checking for posix_memalign... yes
- checking for special C compiler options needed for large files... no
- checking for _FILE_OFFSET_BITS value needed for large files... no
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating config.h
- config.status: executing depfiles commands
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util   -c -o scrypt-1.1.6/lib/crypto/crypto_aesctr.o scrypt-1.1.6/lib/crypto/crypto_aesctr.c
- scrypt-1.1.6/lib/crypto/crypto_aesctr.c: In function 'crypto_aesctr_stream':
- scrypt-1.1.6/lib/crypto/crypto_aesctr.c:97:25: warning: 'AES_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-    97 |                         AES_encrypt(pblk, stream->buf, stream->key);
-       |                         ^~~~~~~~~~~
- In file included from scrypt-1.1.6/lib/crypto/crypto_aesctr.c:34:
- /usr/include/openssl/aes.h:57:6: note: declared here
-    57 | void AES_encrypt(const unsigned char *in, unsigned char *out,
-       |      ^~~~~~~~~~~
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util   -c -o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.c
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util   -c -o scrypt-1.1.6/lib/scryptenc/scryptenc.o scrypt-1.1.6/lib/scryptenc/scryptenc.c
- scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptenc_buf':
- scrypt-1.1.6/lib/scryptenc/scryptenc.c:338:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-   338 |         if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp))
-       |         ^~
- In file included from scrypt-1.1.6/lib/scryptenc/scryptenc.c:38:
- /usr/include/openssl/aes.h:51:5: note: declared here
-    51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
-       |     ^~~~~~~~~~~~~~~~~~~
- scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptdec_buf':
- scrypt-1.1.6/lib/scryptenc/scryptenc.c:401:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-   401 |         if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp))
-       |         ^~
- /usr/include/openssl/aes.h:51:5: note: declared here
-    51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
-       |     ^~~~~~~~~~~~~~~~~~~
- scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptenc_file':
- scrypt-1.1.6/lib/scryptenc/scryptenc.c:462:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-   462 |         if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp))
-       |         ^~
- /usr/include/openssl/aes.h:51:5: note: declared here
-    51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
-       |     ^~~~~~~~~~~~~~~~~~~
- scrypt-1.1.6/lib/scryptenc/scryptenc.c: In function 'scryptdec_file':
- scrypt-1.1.6/lib/scryptenc/scryptenc.c:560:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
-   560 |         if (AES_set_encrypt_key(key_enc, 256, &key_enc_exp))
-       |         ^~
- /usr/include/openssl/aes.h:51:5: note: declared here
-    51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
-       |     ^~~~~~~~~~~~~~~~~~~
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util   -c -o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.c
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util   -c -o scrypt-1.1.6/lib/util/memlimit.o scrypt-1.1.6/lib/util/memlimit.c
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util   -c -o scrypt-1.1.6/lib/crypto/sha256.o scrypt-1.1.6/lib/crypto/sha256.c
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util   -c -o scrypt-1.1.6/lib/util/warn.o scrypt-1.1.6/lib/util/warn.c
- ar rcs libscrypt.a scrypt-1.1.6/lib/crypto/crypto_aesctr.o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.o scrypt-1.1.6/lib/scryptenc/scryptenc.o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.o scrypt-1.1.6/lib/util/memlimit.o scrypt-1.1.6/lib/crypto/sha256.o scrypt-1.1.6/lib/util/warn.o
- ranlib libscrypt.a
- cc -g -O2 -fPIC -lcrypto -DHAVE_CONFIG_H -Iscrypt-1.1.6 -Iscrypt-1.1.6/lib/crypto -Iscrypt-1.1.6/lib/scryptenc -Iscrypt-1.1.6/lib/util -shared -o libscrypt.so scrypt-1.1.6/lib/crypto/crypto_aesctr.o scrypt-1.1.6/lib/crypto/crypto_scrypt-nosse.o scrypt-1.1.6/lib/scryptenc/scryptenc.o scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.o scrypt-1.1.6/lib/util/memlimit.o scrypt-1.1.6/lib/crypto/sha256.o scrypt-1.1.6/lib/util/warn.o
- cp scrypt-1.1.6/lib/scryptenc/scryptenc.h scrypt.h
- make[1]: Leaving directory '/home/opam/.opam/5.1/.opam-switch/build/scrypt.0.2.1/libscrypt'
- # Comple just the stubs into an object file.
- #
- # The stubs expect to find "scrypt.h" on include path.
- ocamlfind ocamlopt -o scrypt_stubs scrypt_stubs.c -ccopt -fPIC -ccopt -Ilibscrypt
- scrypt_stubs.c: In function 'scrypt_raise_scrypt_error':
- scrypt_stubs.c:49:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    49 |                 exn = caml_named_value("Scrypt_error");
-       |                     ^
- # Compile scrypt.mli (the interface) to a cmi (compiled module interface).
- # Compile scrypt.ml to bytecode (cmo).
- #
- # The order of files matters here.
- # Since there is a module interface defined (mli), the compiler expects to find a compiled version of it (cmi) before compiling the ml file.
- ocamlfind ocamlc -c scrypt.mli scrypt.ml
- # Compile scrypt.ml to scrypt.o (native code) and scrypt.cmx (extra information for optimizing and linking the native code.)
- ocamlfind ocamlopt -c scrypt.ml
- # Take:
- #	* C object files, scrypt_stubs.o and all object files extracted from libscrypt/libscrypt.a.
- #	* Bytecode object file scrypt.cmo
- #	* Native object file scrypt.cmx + scrypt.o, we supply just the .cmx, but it points to the .o, and it is included in resulting scrypt.a.
- #
- # Link it all to produce the following files:
- #       libscrypt.a, contains scrypt_stubs.o and libscrypt/*.o:
- #		Most of the C portion of our library.
- #		libscrypt.a MUST be installed, see cmxa.
- #
- #	scrypt.a, contains scrypt.o:
- #		Native version of scrypt.ml, does NOT include the stubs.
- #		XXX: I'm not sure why this has to be a separate archive and isn't combined with libscrypt.a.
- #		     What happens when you have more files? Do you then have to install a bunch of .a files with your library?
- #		scrypt.a MUST be installed, see cmxa.
- #
- #	scrypt.cma, contains scrypt.cmo:
- #		Bytecode version of library.
- #		scrypt.cma MUST be installed.
- #		scrypt.cmo is NOT installed since it is fully comtained in scrypt.cma.
- #
- #	scrypt.cmxa, contains scrypt.cmx and combines it (without containing) with  scrypt.a, and libscrypt.a:
- #		These files comprise the native version of the library.
- #		scrypt.cmxa, scrypt.a, and libscrypt.a MUST be installed and linked together.
- #			The -cclib options accomplish this task transparently, since they
- #			are memoized in scrypt.cmxa and are automatically applied whenever a client links to the library.
- #		scrypt.cmx is NOT installed since it is fully contained in scrypt.cmxa.
- #
- #	-lcrypto is OpenSSL (scrypt dependency) and must be present on on the system, it will also link the resulting dllscrypt.so with libcrypto.so.
- ocamlfind ocamlmklib -v -o scrypt scrypt.cmo scrypt.cmx scrypt_stubs.o libscrypt/*.o -lcrypto -cclib -lscrypt -cclib -lcrypto
- + gcc -shared    -o ./dllscrypt.so scrypt_stubs.o libscrypt/crypto_aesctr.o libscrypt/crypto_scrypt-nosse.o libscrypt/memlimit.o libscrypt/scryptenc.o libscrypt/scryptenc_cpuperf.o libscrypt/sha256.o libscrypt/warn.o    -lcrypto 
- + ar rcs ./libscrypt.a  scrypt_stubs.o libscrypt/crypto_aesctr.o libscrypt/crypto_scrypt-nosse.o libscrypt/memlimit.o libscrypt/scryptenc.o libscrypt/scryptenc_cpuperf.o libscrypt/sha256.o libscrypt/warn.o
- + ocamlc.opt -a    -o scrypt.cma  scrypt.cmo -dllib -lscrypt -cclib -lscrypt   -cclib -lcrypto -cclib -lscrypt -cclib -lcrypto
- + ocamlopt.opt -a   -o scrypt.cmxa  scrypt.cmx -cclib -lscrypt   -cclib -lcrypto -cclib -lscrypt -cclib -lcrypto
-> compiled  scrypt.0.2.1
Processing  3/4: [scrypt: ocamlfind remove]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "remove" "ocamlfind" "remove" "scrypt"
- Removed /home/opam/.opam/5.1/lib/scrypt/META
- Removed /home/opam/.opam/5.1/lib/stublibs/dllscrypt.so
- Removed /home/opam/.opam/5.1/lib/stublibs/dllscrypt.so.owner
- Removed /home/opam/.opam/5.1/lib/scrypt
-> removed   scrypt.0.2.1
Processing  4/4: [scrypt: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/scrypt.0.2.1)
- ocamlfind install scrypt META *.cmi *.cmxa *.cma *.a *.so
- Installed /home/opam/.opam/5.1/lib/scrypt/scrypt.a
- Installed /home/opam/.opam/5.1/lib/scrypt/libscrypt.a
- Installed /home/opam/.opam/5.1/lib/scrypt/scrypt.cma
- Installed /home/opam/.opam/5.1/lib/scrypt/scrypt.cmxa
- Installed /home/opam/.opam/5.1/lib/scrypt/scrypt.cmi
- Installed /home/opam/.opam/5.1/lib/stublibs/dllscrypt.so
- Installed /home/opam/.opam/5.1/lib/stublibs/dllscrypt.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/5.1/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/5.1/lib/scrypt/META
-> installed scrypt.0.2.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:13.09 ---> saved as "95a89df284276f84d303c6de931a08f7340490c9b66e527a6531b87a83d139cf"
Job succeeded
2024-02-12 20:17.42: Job succeeded