Organisationsocamlmerlinad4de4 ()debian-12-5.2+flambda_opam-2.2

debian-12-5.2+flambda_opam-2.2

Logs

Show full logs
2024-09-19 01:26.17: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1830/head (ad4de4d093d0aa29e008f57b3cdedb434c5e8ea5) (linux-x86_64:debian-12-5.2+flambda_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1830/head" && git reset --hard ad4de4d0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000
# debian-12-5.2+flambda_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 b92ae980c0437e8cdeac9f8f2c24a7800f1ed171 || git fetch origin master) && git reset -q --hard b92ae980c0437e8cdeac9f8f2c24a7800f1ed171 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam ./
RUN opam pin add -yn ocaml-index.dev './' && \
    opam pin add -yn merlin.dev './' && \
    opam pin add -yn merlin-lib.dev './' && \
    opam pin add -yn dot-merlin-reader.dev './'
ENV DEPS="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.2.0+options ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.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

2024-09-19 01:26.17: Using cache hint "ocaml/merlin-ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000-debian-12-5.2+flambda_opam-2.2-0d574f6179fa778bbcb6b9df3516d41c"
2024-09-19 01:26.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000)
 (comment debian-12-5.2+flambda_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 b92ae980c0437e8cdeac9f8f2c24a7800f1ed171 || git fetch origin master) && git reset -q --hard b92ae980c0437e8cdeac9f8f2c24a7800f1ed171 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn ocaml-index.dev './' && \
             \nopam pin add -yn merlin.dev './' && \
             \nopam pin add -yn merlin-lib.dev './' && \
             \nopam pin add -yn dot-merlin-reader.dev './'"))
 (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-syntax-shims.1.0.0 ocaml-variants.5.2.0+options ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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.2 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.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"))
)

2024-09-19 01:26.17: Waiting for resource in pool OCluster
2024-09-19 01:26.17: Waiting for worker…
2024-09-19 01:26.17: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at ad4de4d0 Add interactive search interaction

(from ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2-flambda@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000' locally
docker.io/ocaml/opam@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000: Pulling from ocaml/opam
318af7443965: Pulling fs layer
318af7443965: Verifying Checksum
318af7443965: Download complete
318af7443965: Pull complete
Digest: sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000
Status: Downloaded newer image for ocaml/opam@sha256:7daef57dee20ef9e9da31876dfb6071c17575e44cf81614d5a2d374d0a5b3000
2024-09-19 01:28.16 ---> saved as "f63350997a245578e743986fad4bbab62e8ebc210cde6a3c1f3bc68fd693c8eb"

/: (comment debian-12-5.2+flambda_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-09-19 01:28.16 ---> saved as "47b45965c6d056d3836604ec7a851ac466339ada0e953b3dc1e5ae50c62494b7"

/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
[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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-19 01:29.22 ---> saved as "e6582525ddf3968ef0c56ec7a548c1618ed8e86eb686739984dddb908ed3a001"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-121-generic
The OCaml toplevel, version 5.2.0
2.2.1
2024-09-19 01:29.22 ---> saved as "ff15df50fa1323cb4cd4c74cec15c9d72eb50f432efe6f20dbfbc6beb3ccc9e5"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-19 01:29.22 ---> saved as "5c00250d5a06880badf7f14c0e3b32f09ffea29161b1b4df5cefc78e98045da6"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e b92ae980c0437e8cdeac9f8f2c24a7800f1ed171 || git fetch origin master) && git reset -q --hard b92ae980c0437e8cdeac9f8f2c24a7800f1ed171 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   e89899ac28..45f961713f  master     -> origin/master
b92ae980c0 Merge pull request #26439 from rgrinberg/release-re-1.12.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
2024-09-19 01:29.40: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled