(for PR #26626)

2025-02-10 18:18.07: New job: test solidity-common.0.2.0 with conf-gmp.4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26626/head (f0506c7525c71122bbde4b8548e98795d0ded492)
                              on debian-12-ocaml-5.3/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26626/head" && git reset --hard f0506c75
git fetch origin master
git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
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 conf-gmp.4 4
RUN opam reinstall conf-gmp.4; \
    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-gmp.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall solidity-common.0.2.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" != 'solidity-common.0.2.0' && 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 solidity-common.0.2.0) || true
RUN opam reinstall --with-test --verbose solidity-common.0.2.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" != 'solidity-common.0.2.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 .

2025-02-10 18:18.07: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683-conf-gmp.4-solidity-common.0.2.0-f0506c7525c71122bbde4b8548e98795d0ded492"
2025-02-10 18:18.07: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
 (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 conf-gmp.4 4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-gmp.4;\
             \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-gmp.4' && 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 solidity-common.0.2.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\" != 'solidity-common.0.2.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 (network host)
      (shell "(opam reinstall --with-test solidity-common.0.2.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose solidity-common.0.2.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\" != 'solidity-common.0.2.0' && 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-10 18:18.07: Waiting for resource in pool OCluster
2025-02-12 01:22.52: Waiting for worker…
2025-02-12 01:29.47: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files:  54% (12620/23303)
Updating files:  55% (12817/23303)
Updating files:  56% (13050/23303)
Updating files:  57% (13283/23303)
Updating files:  58% (13516/23303)
Updating files:  59% (13749/23303)
Updating files:  60% (13982/23303)
Updating files:  61% (14215/23303)
Updating files:  62% (14448/23303)
Updating files:  63% (14681/23303)
Updating files:  64% (14914/23303)
Updating files:  65% (15147/23303)
Updating files:  66% (15380/23303)
Updating files:  67% (15614/23303)
Updating files:  68% (15847/23303)
Updating files:  69% (16080/23303)
Updating files:  70% (16313/23303)
Updating files:  71% (16546/23303)
Updating files:  72% (16779/23303)
Updating files:  73% (17012/23303)
Updating files:  74% (17245/23303)
Updating files:  75% (17478/23303)
Updating files:  76% (17711/23303)
Updating files:  77% (17944/23303)
Updating files:  78% (18177/23303)
Updating files:  79% (18410/23303)
Updating files:  80% (18643/23303)
Updating files:  81% (18876/23303)
Updating files:  82% (19109/23303)
Updating files:  83% (19342/23303)
Updating files:  84% (19575/23303)
Updating files:  85% (19808/23303)
Updating files:  86% (20041/23303)
Updating files:  87% (20274/23303)
Updating files:  88% (20507/23303)
Updating files:  89% (20740/23303)
Updating files:  90% (20973/23303)
Updating files:  91% (21206/23303)
Updating files:  92% (21439/23303)
Updating files:  93% (21672/23303)
Updating files:  94% (21905/23303)
Updating files:  95% (22138/23303)
Updating files:  96% (22371/23303)
Updating files:  97% (22604/23303)
Updating files:  98% (22837/23303)
Updating files:  99% (23070/23303)
Updating files: 100% (23303/23303)
Updating files: 100% (23303/23303), done.
HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.1
Merge made by the 'ort' strategy.
 packages/conf-gmp/conf-gmp.4/opam | 2 ++
 1 file changed, 2 insertions(+)

(from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
2025-02-12 01:31.46 ---> using "2eea5bde28725c99a87e1f2a5b147a024a046c2a06cd3ab003a93e0be5a0f139" 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-12 01:31.46 ---> using "88186dbc3508db9ea08ddebc1085e9bfd977ff51a8aa06e73caed7f922db43fc" 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] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-12 01:31.46 ---> using "d156e62450e17e03814e3980a64c0012ea73d3eb21216bc40a494f13df757607" 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 (747e73667ad9d054b0f736be205c0013e1bec087)
# 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                 255
# repositories         1 (local), 1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-02-12 01:31.46 ---> using "e4d817dc9e39278825c22b99161bb0e397890509ba9b4e4dd0ac5ffc302bedfd" 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-12 01:31.46 ---> using "5062cfb9d7669b5e1598a0907630fe7ef6fc4e76142fbea3736fa476d97f9b73" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-12 01:31.48 ---> using "bc8af134384d9758a64c4a52fe3cd7e2281798e108ccc0b999923e2b11741a5f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-12 01:31.48 ---> using "e1f0db7254f24a6c78ef8026c4a94eaca62a2faed823856dd437f212eb2db0e0" from cache

/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 [245 kB]
- Fetched 348 kB in 0s (928 kB/s)
- Reading package lists...
2025-02-12 01:31.48 ---> using "4b225d785a2d5b579f0c17b3fd9ff4cd979ed273b6eb8e25657c81e15b66bff8" from cache

/home/opam: (run (shell "opam pin add -k version -yn conf-gmp.4 4"))
conf-gmp is now pinned to version 4
2025-02-12 01:31.48 ---> using "d80d6a9e08e4cafdfc4361b9a288ddb6ec1bbbf60c921a5fbe0827a904084c00" from cache

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

The following system packages will first need to be installed:
    libgmp-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" "libgmp-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18776 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> installed conf-gmp.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-12 01:31.48 ---> using "2211eec06d2a9650704c50726a61e63d031cfe7ec451d59fd139bee7ac146d48" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall solidity-common.0.2.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\" != 'solidity-common.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
solidity-common.0.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
  - install conf-pkg-config 4      [required by zarith]
  - install cstruct         6.2.0  [required by hex]
  - install dune            3.17.2 [required by solidity-common]
  - install fileutils       0.6.6  [required by solidity-common]
  - install fmt             0.9.0  [required by cstruct]
  - install hex             1.5.0  [required by solidity-common]
  - install ocamlbuild      0.15.0 [required by fmt]
  - install ocamlfind       1.9.8  [required by zarith]
  - install solidity-common 0.2.0
  - install topkg           1.0.7  [required by fmt]
  - install zarith          1.14   [required by solidity-common]

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 ... 18798 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+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-pkg-config.4
-> retrieved dune.3.17.2  (cached)
-> retrieved fileutils.0.6.6  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved solidity-common.0.2.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.17.2
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed fileutils.0.6.6
-> installed solidity-common.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-12 01:33.08 ---> saved as "298ff49a877372fd246fc41460f414dda1eac814f18cf0cc86bb364ed8cf6e18"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test solidity-common.0.2.0) || true"))
The following actions will be performed:
=== recompile 4 packages
  - recompile cstruct                 6.2.0    [uses fmt]
  - recompile fmt                     0.9.0    [uses cmdliner]
  - recompile hex                     1.5.0    [uses cstruct]
  - recompile solidity-common         0.2.0
=== install 47 packages
  - install   astring                 0.8.5    [required by ocamlformat-lib]
  - install   base                    v0.17.1  [required by ppx_expect]
  - install   base-bytes              base     [required by ocp-indent]
  - install   camlp-streams           5.0.1    [required by ocamlformat-lib]
  - install   cmdliner                1.3.0    [required by ocamlformat]
  - install   csexp                   1.5.2    [required by ocamlformat]
  - install   dune-build-info         3.17.2   [required by ocamlformat-lib]
  - install   dune-configurator       3.17.2   [required by base]
  - install   either                  1.0.0    [required by ocamlformat-lib]
  - install   fix                     20230505 [required by ocamlformat-lib]
  - install   fpath                   0.7.3    [required by ocamlformat-lib]
  - install   jane-street-headers     v0.17.0  [required by time_now]
  - install   jst-config              v0.17.0  [required by time_now]
  - install   menhir                  20240715 [required by ocamlformat-lib]
  - install   menhirCST               20240715 [required by menhir]
  - install   menhirLib               20240715 [required by ocamlformat-lib]
  - install   menhirSdk               20240715 [required by ocamlformat-lib]
  - install   ocaml-compiler-libs     v0.17.0  [required by ppxlib]
  - install   ocaml-version           3.7.3    [required by ocamlformat-lib]
  - install   ocaml_intrinsics_kernel v0.17.1  [required by base]
  - install   ocamlformat             0.27.0   [required by solidity-common]
  - install   ocamlformat-lib         0.27.0   [required by ocamlformat]
  - install   ocp-indent              1.8.1    [required by ocamlformat-lib]
  - install   ppx_assert              v0.17.0  [required by jst-config]
  - install   ppx_base                v0.17.0  [required by time_now]
  - install   ppx_cold                v0.17.0  [required by ppx_base]
  - install   ppx_compare             v0.17.0  [required by ppx_base]
  - install   ppx_derivers            1.2.1    [required by ppxlib]
  - install   ppx_enumerate           v0.17.0  [required by ppx_base]
  - install   ppx_expect              v0.17.2  [required by solidity-common]
  - install   ppx_globalize           v0.17.0  [required by ppx_base]
  - install   ppx_hash                v0.17.0  [required by ppx_base]
  - install   ppx_here                v0.17.0  [required by ppx_expect]
  - install   ppx_inline_test         v0.17.0  [required by solidity-common]
  - install   ppx_optcomp             v0.17.0  [required by time_now]
  - install   ppx_sexp_conv           v0.17.0  [required by ppx_base]
  - install   ppxlib                  0.35.0   [required by ppx_expect]
  - install   ppxlib_jane             v0.17.2  [required by ppx_globalize, ppx_enumerate, ppx_hash]
  - install   re                      1.12.0   [required by ocamlformat]
  - install   seq                     base     [required by re]
  - install   sexplib0                v0.17.0  [required by base, ppxlib]
  - install   stdio                   v0.17.0  [required by ppx_expect]
  - install   stdlib-shims            0.3.0    [required by ppxlib]
  - install   time_now                v0.17.0  [required by ppx_inline_test]
  - install   uucp                    16.0.0   [required by uuseg]
  - install   uuseg                   16.0.0   [required by ocamlformat-lib]
  - install   uutf                    1.0.3    [required by ocamlformat-lib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> retrieved base.v0.17.1  (https://github.com/janestreet/base/archive/refs/tags/v0.17.1.tar.gz)
-> installed base-bytes.base
-> retrieved camlp-streams.5.0.1  (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
-> retrieved cmdliner.1.3.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> retrieved csexp.1.5.2  (https://github.com/ocaml-dune/csexp/releases/download/1.5.2/csexp-1.5.2.tbz)
-> installed camlp-streams.5.0.1
-> retrieved cstruct.6.2.0  (https://github.com/mirage/ocaml-cstruct/releases/download/v6.2.0/cstruct-6.2.0.tbz)
-> installed csexp.1.5.2
-> installed astring.0.8.5
-> retrieved dune-build-info.3.17.2, dune-configurator.3.17.2  (https://github.com/ocaml/dune/releases/download/3.17.2/dune-3.17.2.tbz)
-> retrieved either.1.0.0  (https://github.com/mirage/either/releases/download/1.0.0/either-1.0.0.tbz)
-> retrieved fix.20230505  (https://gitlab.inria.fr/fpottier/fix/-/archive/20230505/archive.tar.gz)
-> retrieved fmt.0.9.0  (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved fpath.0.7.3  (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz)
-> installed cmdliner.1.3.0
-> installed either.1.0.0
-> retrieved hex.1.5.0  (https://github.com/mirage/ocaml-hex/releases/download/v1.5.0/hex-1.5.0.tbz)
-> retrieved jane-street-headers.v0.17.0  (https://github.com/janestreet/jane-street-headers/archive/refs/tags/v0.17.0.tar.gz)
-> installed fix.20230505
-> retrieved jst-config.v0.17.0  (https://github.com/janestreet/jst-config/archive/refs/tags/v0.17.0.tar.gz)
-> installed dune-build-info.3.17.2
-> installed jane-street-headers.v0.17.0
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (https://gitlab.inria.fr/fpottier/menhir/-/archive/20240715/archive.tar.gz)
-> installed dune-configurator.3.17.2
-> installed fpath.0.7.3
-> retrieved ocaml-compiler-libs.v0.17.0  (https://github.com/janestreet/ocaml-compiler-libs/archive/refs/tags/v0.17.0.tar.gz)
-> installed menhirCST.20240715
-> retrieved ocaml-version.3.7.3  (https://github.com/ocurrent/ocaml-version/releases/download/v3.7.3/ocaml-version-3.7.3.tbz)
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (https://github.com/janestreet/ocaml_intrinsics_kernel/archive/refs/tags/v0.17.1.tar.gz)
-> installed ocaml-version.3.7.3
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocaml-compiler-libs.v0.17.0
-> retrieved ocamlformat.0.27.0, ocamlformat-lib.0.27.0  (https://github.com/ocaml-ppx/ocamlformat/releases/download/0.27.0/ocamlformat-0.27.0.tbz)
-> retrieved ocp-indent.1.8.1  (https://github.com/OCamlPro/ocp-indent/archive/1.8.1.tar.gz)
-> retrieved ppx_assert.v0.17.0  (https://github.com/janestreet/ppx_assert/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_base.v0.17.0  (https://github.com/janestreet/ppx_base/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_cold.v0.17.0  (https://github.com/janestreet/ppx_cold/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_compare.v0.17.0  (https://github.com/janestreet/ppx_compare/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_derivers.1.2.1  (https://github.com/ocaml-ppx/ppx_derivers/archive/1.2.1.tar.gz)
-> installed ocp-indent.1.8.1
-> installed ppx_derivers.1.2.1
-> retrieved ppx_enumerate.v0.17.0  (https://github.com/janestreet/ppx_enumerate/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_expect.v0.17.2  (https://github.com/janestreet/ppx_expect/archive/refs/tags/v0.17.2.tar.gz)
-> retrieved ppx_globalize.v0.17.0  (https://github.com/janestreet/ppx_globalize/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_hash.v0.17.0  (https://github.com/janestreet/ppx_hash/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_here.v0.17.0  (https://github.com/janestreet/ppx_here/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_inline_test.v0.17.0  (https://github.com/janestreet/ppx_inline_test/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_optcomp.v0.17.0  (https://github.com/janestreet/ppx_optcomp/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppx_sexp_conv.v0.17.0  (https://github.com/janestreet/ppx_sexp_conv/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved ppxlib.0.35.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.35.0/ppxlib-0.35.0.tbz)
-> retrieved ppxlib_jane.v0.17.2  (https://github.com/janestreet/ppxlib_jane/archive/refs/tags/v0.17.2.tar.gz)
-> retrieved re.1.12.0  (https://github.com/ocaml/ocaml-re/releases/download/1.12.0/re-1.12.0.tbz)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (https://github.com/janestreet/sexplib0/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved solidity-common.0.2.0  (https://github.com/OCamlPro/ocaml-solidity/archive/v0.2.0.tar.gz)
-> installed sexplib0.v0.17.0
-> installed re.1.12.0
-> retrieved stdio.v0.17.0  (https://github.com/janestreet/stdio/archive/refs/tags/v0.17.0.tar.gz)
-> retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> retrieved time_now.v0.17.0  (https://github.com/janestreet/time_now/archive/refs/tags/v0.17.0.tar.gz)
-> removed   solidity-common.0.2.0
-> removed   hex.1.5.0
-> removed   cstruct.6.2.0
-> removed   fmt.0.9.0
-> installed fmt.0.9.0
-> installed stdlib-shims.0.3.0
-> retrieved uucp.16.0.0  (https://erratique.ch/software/uucp/releases/uucp-16.0.0.tbz)
-> retrieved uuseg.16.0.0  (https://erratique.ch/software/uuseg/releases/uuseg-16.0.0.tbz)
-> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed uutf.1.0.3
-> installed base.v0.17.1
-> installed menhir.20240715
-> installed stdio.v0.17.0
-> installed ppxlib.0.35.0
-> installed ppx_optcomp.v0.17.0
-> installed ppxlib_jane.v0.17.2
-> installed ppx_cold.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed uucp.16.0.0
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed uuseg.16.0.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.0
-> installed ocamlformat-lib.0.27.0
-> installed ppx_expect.v0.17.2
-> installed ocamlformat.0.27.0
-> installed solidity-common.0.2.0
Done.

<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/5.3/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/5.3/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2025-02-12 01:34.50 ---> saved as "b06517d0aa929b19c8d661feb0a5358925a31f4248039f0f8a9fb4368465a286"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [solidity-common.0.2.0: extract]
-> retrieved solidity-common.0.2.0  (cached)
Processing  2/4: [solidity-common: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "./scripts/before.sh build 'solidity-common'" (CWD=/home/opam/.opam/5.3/.opam-switch/build/solidity-common.0.2.0)
Processing  2/4: [solidity-common: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "solidity-common" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/solidity-common.0.2.0)
- (cd _build/default/src/solidity-common && /home/opam/.opam/5.3/bin/ocaml unix.cma version.mlt) > _build/default/src/solidity-common/version.ml
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include: 
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
- 
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include: 
- OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
- automatically added to the search path, but you should add -I +unix to the
- command-line to silence this alert (e.g. by adding unix to the list of
- libraries in your dune file, or adding use_unix to your _tags file for
- ocamlbuild, or using -package unix for ocamlfind).
- fatal: not a git repository (or any parent up to mount point /)
- Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
- fatal: not a git repository (or any parent up to mount point /)
- Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Processing  2/4: [solidity-common: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "./scripts/after.sh build 'solidity-common'" (CWD=/home/opam/.opam/5.3/.opam-switch/build/solidity-common.0.2.0)
-> compiled  solidity-common.0.2.0
-> removed   solidity-common.0.2.0
Processing  4/4: [solidity-common: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "sh" "-c" "./scripts/before.sh install 'solidity-common'" (CWD=/home/opam/.opam/5.3/.opam-switch/build/solidity-common.0.2.0)
-> installed solidity-common.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-12 01:35.02 ---> saved as "794958ea2b054f71694e812cb510468b85ecc6ee4390505f554365bea880a196"
Job succeeded
2025-02-12 01:35.24: Job succeeded