Organisationsocurrentocaml-version994cfa ()ubuntu-25.04-4.14_opam-2.5

ubuntu-25.04-4.14_opam-2.5

Logs

Show full logs
2026-05-27 07:20.03: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/pull/89/head (994cfa73bc44a5ce576ebd62e48acb8337512c69) (linux-x86_64:ubuntu-25.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:8d8c0e6495cfba3d2aec8694dca38e6297090534741b934f7effa0ac5df4e2a3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" && cd "ocaml-version" && git fetch origin "refs/pull/89/head" && git reset --hard 994cfa73
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:8d8c0e6495cfba3d2aec8694dca38e6297090534741b934f7effa0ac5df4e2a3
# ubuntu-25.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 cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ocaml-version.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-27 07:20.03: Using cache hint "ocurrent/ocaml-version-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:8d8c0e6495cfba3d2aec8694dca38e6297090534741b934f7effa0ac5df4e2a3-ubuntu-25.04-4.14_opam-2.5-81e8370595e995469779e431aa822828"
2026-05-27 07:20.03: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:8d8c0e6495cfba3d2aec8694dca38e6297090534741b934f7effa0ac5df4e2a3)
 (comment ubuntu-25.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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
 (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 "opam update -u"))
 (copy (src ocaml-version.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn ocaml-version.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
 (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 ocaml-version.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-27 07:20.03: Waiting for resource in pool OCluster
2026-05-27 07:23.42: Waiting for worker…
2026-05-27 07:27.45: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 994cfa7 tweak version now that opam-repository lower OCaml bound is 4.11

(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:8d8c0e6495cfba3d2aec8694dca38e6297090534741b934f7effa0ac5df4e2a3)
2026-05-27 07:27.46 ---> using "ba0b4e302ef2a5e9263f83048ac28906cbdea9e3c191aa9493eeacb40f39272f" from cache

/: (comment ubuntu-25.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-27 07:27.46 ---> using "524407d8fe112b7bfa75e00567b985b67279940b6e7f65d5ed4175eb6d6baed4" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fc08333d1b..d44435513c  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes
2026-05-27 07:27.46 ---> using "27d2300354b056df6e51b252d753a0ac8b0e38e10a3dc22ff67544323b6fd49f" 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
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] synchronised from git+file:///home/opam/opam-repository
2026-05-27 07:27.46 ---> using "ec2e3a1604e84cabcdff479fdca1c25eec16523a63e7b3ac2e26a20c104a8afa" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-05-27 07:27.46 ---> using "07668deda066b9814cc4dc383f9f5fe87dc3f770a5c3c27e64c6a01dcf283d05" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-27 07:27.46 ---> using "ca3dfa76342dcb74e7a0514dbdca2106a9ce2bb94239ee9439a6d00c1a0e5aac" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update -u"))

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.5.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-05-27 07:27.46 ---> using "7f808911a116217e778dbb4cfbd068dd5fca1a3910058a56fe589a907437c5b8" from cache

/src: (copy (src ocaml-version.opam) (dst ./))
2026-05-27 07:27.46 ---> using "cd95dbf1d8d32470a01f034e551eadac6f987b89e8c7954c12e8156fd45b262f" from cache

/src: (run (network host)
           (shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2026-05-27 07:27.46 ---> using "b9aef196d1b0535320b846cd1b192a7af1bfd5f61e52b110a6db6eec7aad61d1" from cache

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
Uncaught exception: Unix.Unix_error(Unix.ENOENT, "open", "/var/cache/obuilder/in-progress/68a7a5ab49094a4db409b1fe636397f7d70aee237079f9da28480be8037787ef/log")
2026-05-27 07:27.46: Job failed: Failed: Internal error