Organisationsocamlmerlin5254d4 ()ubuntu-24.04-5.2_opam-2.2

ubuntu-24.04-5.2_opam-2.2

Logs

Show full logs
2024-09-19 13:42.56: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1831/head (5254d4b53fb2a7a3fc67051f2e7f469578d4f45c) (linux-x86_64:ubuntu-24.04-5.2_opam-2.2)
Base: ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1831/head" && git reset --hard 5254d4b5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3
# ubuntu-24.04-5.2_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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-jq.1 csexp.1.5.2 dune.3.16.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 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 13:42.56: Using cache hint "ocaml/merlin-ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3-ubuntu-24.04-5.2_opam-2.2-b38a1eb0b08bdcf735bebf2a62addbd9"
2024-09-19 13:42.56: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3)
 (comment ubuntu-24.04-5.2_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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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 "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-jq.1 csexp.1.5.2 dune.3.16.0 host-arch-x86_64.1 host-system-other.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 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 13:42.56: Waiting for resource in pool OCluster
2024-09-19 13:42.56: Waiting for worker…
2024-09-19 13:46.32: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
HEAD is now at 9bd79ea7 Re-enable Github actions CI
HEAD is now at 5254d4b5 Disable tests printing paths on windows

(from ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.2@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3' locally
docker.io/ocaml/opam@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3: Pulling from ocaml/opam
fadbe0429d50: Pulling fs layer
fadbe0429d50: Verifying Checksum
fadbe0429d50: Download complete
fadbe0429d50: Pull complete
Digest: sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3
Status: Downloaded newer image for ocaml/opam@sha256:74670019c5879e36c97cc785a16f960411bb1a8462e699e28b3b8ca3010d27a3
2024-09-19 13:53.18 ---> saved as "2b055d1ccdfbd2c702ea85c7ebcf4f5900b427c71b72a83ee590e8f9e949e807"

/: (comment ubuntu-24.04-5.2_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 13:53.19 ---> saved as "cb64e1b64619ea29535b4b6aef6f95f394fea17f3c3a7a8885699b80c4554e54"

/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 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-09-19 13:54.08: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled