Organisationsahrefsdevkit26dcb4 ()ubuntu-26.04-4.14_opam-2.5

ubuntu-26.04-4.14_opam-2.5

Logs

Show full logs
2026-05-11 20:46.37: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/pull/60/head (26dcb46ab3ef57db1b72f8dacef251f176255388) (linux-x86_64:ubuntu-26.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ahrefs/devkit.git" && cd "devkit" && git fetch origin "refs/pull/60/head" && git reset --hard 26dcb46a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
# ubuntu-26.04-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && 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="astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.14 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.23.0 dune-compiledb.0.6.0 dune-configurator.3.23.0 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.2 lwt_ppx.6.1.0 num.1.6 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.12 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --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

2026-05-11 20:46.37: Using cache hint "ahrefs/devkit-ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d-ubuntu-26.04-4.14_opam-2.5-17ea6b310c7bd346690cbec81dde2ff6"
2026-05-11 20:46.37: Using OBuilder spec:
((from ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d)
 (comment ubuntu-26.04-4.14_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && 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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.14 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.23.0 dune-compiledb.0.6.0 dune-configurator.3.23.0 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.2 lwt_ppx.6.1.0 num.1.6 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.16.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.38.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.12 uutf.1.0.4 yojson.3.0.0")
 (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.5 --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"))
)

2026-05-11 20:46.37: Waiting for resource in pool OCluster
2026-05-11 20:46.37: Waiting for worker…
2026-05-11 20:46.37: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/devkit.git-9aab31ab660ededa9d5e042923228d2fcd01a7cd/.git/
HEAD is now at 26dcb46 Merge branch 'master' into aj/save_as-no-clobber

(from ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d)
2026-05-11 20:46.39 ---> using "45d158ca078290bcc17e9facee88fdfae9286d7b57e1f5b30c01b2448818c3bd" from cache

/: (comment ubuntu-26.04-4.14_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-05-11 20:46.39 ---> using "f6c43e1eb203c06f8e009c1a61b1d92ed9f33cbff3bd56606096d07c0fa867d4" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "ocaml-patches-overlay": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocurrent/opam-repository/': Could not resolve host: github.com"
[default] Initialised
2026-05-11 20:46.39 ---> using "3cd5921a1a77cde0bded94a3ae9c2be02a276433ee3eecb4f00f96f441dc2cab" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-111-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-05-11 20:46.39 ---> using "96875a3243d933ed78cb42d880d055428d081fe4bb85b555f703a57f9483c469" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-11 20:46.39 ---> using "a705e06972f3ea31f4b259a07fc825477bf4557bcb84a744e7f0168593cebd2c" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e a70af20c7161f9d2e1ede477647f5f9e06d6e78f || git fetch origin master) && git reset -q --hard a70af20c7161f9d2e1ede477647f5f9e06d6e78f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   045748b2d8..15cf86173d  master     -> origin/master
a70af20c71 Merge pull request #29844 from shonfeder/release-dune-3.23.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
2026-05-11 20:46.46: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled