Organisationsahrefsdevkit6b5e77 (master)debian-12-4.11_opam-2.3

debian-12-4.11_opam-2.3

Logs

Show full logs
2025-04-18 18:24.19: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (6b5e77c0ae57e2195d89a0d9dfd6aa74f478ef1f) (linux-x86_64:debian-12-4.11_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:94c949434a84fe0e722e9c13c078ed2afa477e62c717de3967c304accad1cd46
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard 6b5e77c0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:94c949434a84fe0e722e9c13c078ed2afa477e62c717de3967c304accad1cd46
# debian-12-4.11_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.11 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 trace.0.9.1 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-04-18 18:24.19: Using cache hint "ahrefs/devkit-ocaml/opam:debian-12-ocaml-4.11@sha256:94c949434a84fe0e722e9c13c078ed2afa477e62c717de3967c304accad1cd46-debian-12-4.11_opam-2.3-a3f1899e027ae4698c1a5f0a25bfbae4"
2025-04-18 18:24.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:94c949434a84fe0e722e9c13c078ed2afa477e62c717de3967c304accad1cd46)
 (comment debian-12-4.11_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (workdir /src)
 (run (shell "sudo chown opam /src"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src devkit.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn devkit.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.11 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 trace.0.9.1 yojson.2.2.2")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2025-04-18 18:24.19: Waiting for resource in pool OCluster
2025-04-18 19:12.46: Waiting for worker…
2025-04-18 19:15.33: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 6b5e77c Merge pull request #43 from davesnx/support-http-11-header

(from ocaml/opam:debian-12-ocaml-4.11@sha256:94c949434a84fe0e722e9c13c078ed2afa477e62c717de3967c304accad1cd46)
2025-04-18 19:18.07 ---> using "7b3865ea28213ab8153f34355cc56efb168edc3988e504d657a4b3c8f61ae681" from cache

/: (comment debian-12-4.11_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-18 19:18.07 ---> using "ac78953ebe5b2067ca318c06c876f803949b0558280c378efe9a09dcdc397786" from cache

/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

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

Continue? [y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-18 19:18.07 ---> using "78b6b62bb962693aa7bbe9e46eef25daaa4804e00af81261e1d80b803aea0484" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.11.2
2.3.0
2025-04-18 19:18.07 ---> using "8c7af824f78c23be6601be7e50fbd5a5e262648e772780e791d39a4b4d08d34b" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-04-18 19:18.07 ---> using "368650e3e79e11db239207bef3c88ae603aea317710c063a9bfaa2f52c086121" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 442eddb8a363418dcb02e519972818da08bb7cd4 || git fetch origin master) && git reset -q --hard 442eddb8a363418dcb02e519972818da08bb7cd4 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   34a3fc46c3..999bff3ed8  master     -> origin/master
442eddb8a3 Merge pull request #27761 from maiste/release-dune-3.18.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-04-18 19:18.07 ---> using "2307a2b44472104651bdd4ce7ae1ae6813bb50d523c9164cd15e5b25d79d8e06" from cache

/src: (copy (src devkit.opam) (dst ./))
2025-04-18 19:18.07 ---> saved as "39627a6ad8482c894666ca7cc3e86fad9e6cc413fc00f36d052a2ceae44d7dfe"

/src: (run (network host)
           (shell "opam pin add -yn devkit.dev './'"))
[devkit.dev] synchronised (file:///src)
devkit is now pinned to file:///src (version dev)
2025-04-18 19:18.09 ---> saved as "ec539e53ea4a5ccd6c401d1bb04a336432639bde96583c66094ce77e2835cc92"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-18 19:18.09 ---> saved as "75d950bea3921e68b87696a09a25e8e78f1007c8c018da074975484fad081269"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.11 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 dune.3.18.1 dune-configurator.3.18.1 extlib.1.8.0 extunix.0.4.3 libevent.0.9.0 lwt.5.9.1 lwt_ppx.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.0.9.2 ounit2.2.2.7 pcre.8.0.3 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 trace.0.9.1 yojson.2.2.2")

/src: (env CI true)

/src: (env OCAMLCI true)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y devkit.dev $DEPS"))
+ /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 [255 kB]
- Fetched 359 kB in 0s (1347 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (file:///src)

[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).

The following system packages will first need to be installed:
    libcurl4-gnutls-dev libevent-dev libpcre3-dev pkg-config zlib1g-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcurl4-gnutls-dev" "libevent-dev" "libpcre3-dev" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libcurl4-gnutls-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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../00-libcurl4-gnutls-dev_7.88.1-10+deb12u12_amd64.deb ...
- Unpacking libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
- Selecting previously unselected package libevent-2.1-7:amd64.
- Preparing to unpack .../01-libevent-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-core-2.1-7:amd64.
- Preparing to unpack .../02-libevent-core-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-extra-2.1-7:amd64.
- Preparing to unpack .../03-libevent-extra-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-extra-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-pthreads-2.1-7:amd64.
- Preparing to unpack .../04-libevent-pthreads-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-pthreads-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-openssl-2.1-7:amd64.
- Preparing to unpack .../05-libevent-openssl-2.1-7_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-openssl-2.1-7:amd64 (2.1.12-stable-8) ...
- Selecting previously unselected package libevent-dev.
- Preparing to unpack .../06-libevent-dev_2.1.12-stable-8_amd64.deb ...
- Unpacking libevent-dev (2.1.12-stable-8) ...
- Selecting previously unselected package libpcre16-3:amd64.
- Preparing to unpack .../07-libpcre16-3_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre16-3:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcre3:amd64.
- Preparing to unpack .../08-libpcre3_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre3:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcre32-3:amd64.
- Preparing to unpack .../09-libpcre32-3_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre32-3:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcrecpp0v5:amd64.
- Preparing to unpack .../10-libpcrecpp0v5_2%3a8.39-15_amd64.deb ...
- Unpacking libpcrecpp0v5:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcre3-dev:amd64.
- Preparing to unpack .../11-libpcre3-dev_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre3-dev:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../12-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../13-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../14-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../15-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../16-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libpcre16-3:amd64 (2:8.39-15) ...
- Setting up libcurl4-gnutls-dev:amd64 (7.88.1-10+deb12u12) ...
- Setting up libpcre3:amd64 (2:8.39-15) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libpcre32-3:amd64 (2:8.39-15) ...
- Setting up libevent-core-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up libevent-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libevent-pthreads-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up libpcrecpp0v5:amd64 (2:8.39-15) ...
- Setting up libevent-extra-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up libpcre3-dev:amd64 (2:8.39-15) ...
- Setting up libevent-openssl-2.1-7:amd64 (2.1.12-stable-8) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up libevent-dev (2.1.12-stable-8) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-04-18 19:18.34 ---> saved as "d410555c8e8d776410bbc9a2c048bd45276b7fff83e1d85e56b51c59d18d172c"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 29 packages
  - install base-bytes          base
  - install camlzip             1.11
  - install conf-libcurl        2
  - install conf-libevent       1
  - install conf-libpcre        2
  - install conf-pkg-config     4
  - install conf-zlib           1
  - install cppo                1.8.0
  - install csexp               1.5.2
  - install dune                3.18.1
  - install dune-configurator   3.18.1
  - install extlib              1.8.0
  - install extunix             0.4.3
  - install libevent            0.9.0
  - install lwt                 5.9.1
  - install lwt_ppx             5.9.1
  - install ocaml-compiler-libs v0.12.4
  - install ocamlfind           1.9.8
  - install ocplib-endian       1.2
  - install ocurl               0.9.2
  - install ounit2              2.2.7
  - install pcre                8.0.3
  - install ppx_derivers        1.2.1
  - install ppxlib              0.35.0
  - install seq                 base
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install trace               0.9.1
  - install yojson              2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlzip.1.11  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-libcurl.2
-> installed conf-pkg-config.4
-> retrieved extlib.1.8.0  (cached)
-> retrieved extunix.0.4.3  (cached)
-> installed conf-libevent.1
-> installed conf-libpcre.2
-> installed conf-zlib.1
-> retrieved libevent.0.9.0  (cached)
-> retrieved lwt.5.9.1, lwt_ppx.5.9.1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocurl.0.9.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved pcre.8.0.3  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved trace.0.9.1  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed libevent.0.9.0
-> installed camlzip.1.11
-> installed dune.3.18.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed trace.0.9.1
-> installed cppo.1.8.0
-> installed yojson.2.2.2
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed extlib.1.8.0
-> installed dune-configurator.3.18.1
-> installed pcre.8.0.3
-> installed lwt.5.9.1
-> installed ppxlib.0.35.0
-> installed lwt_ppx.5.9.1
-> installed extunix.0.4.3
-> installed ocurl.0.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-18 19:21.20 ---> saved as "e616abe7119e0db5d4582a2c3ca165f7baa5ee1e7bb6e3120f273464b075dcc2"

/src: (copy (src .) (dst /src))
2025-04-18 19:21.20 ---> saved as "5c54d3153be9f97f5271bfbfeceb972a2967d8c77bbc8360298e0f79525c16fb"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && ./test.exe)
...................................
Ran: 35 tests in: 0.19 seconds.
OK
2025-04-18 19:21.28 ---> saved as "9a5e6ff165a24663e099164a7be4e13d70ce8f0e8dc36eec9d014c6f6e42bd73"
Job succeeded
2025-04-18 19:21.28: Job succeeded