Organisationsocamlmerlin71058d ()debian-11-5.2_opam-2.2

debian-11-5.2_opam-2.2

Link Copied
Code Copied

Logs

2024-08-29 13:25.02: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/heads/main (71058ded41b6219b5b3118351f460bb50ed2b2d9) (linux-x86_64:debian-11-5.2_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-5.2@sha256:b7eed60333519866fecb8ac201d24760c96ecf0d15ead08124169fd972cf18f8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/merlin.git" -b "main" && cd "merlin" && git reset --hard 71058ded
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.2@sha256:b7eed60333519866fecb8ac201d24760c96ecf0d15ead08124169fd972cf18f8
# debian-11-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 f57c065fe9329efd503ebbbfcc76ee78f979cf3d || git fetch origin master) && git reset -q --hard f57c065fe9329efd503ebbbfcc76ee78f979cf3d && 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-08-29 13:25.02: Using cache hint "ocaml/merlin-ocaml/opam:debian-11-ocaml-5.2@sha256:b7eed60333519866fecb8ac201d24760c96ecf0d15ead08124169fd972cf18f8-debian-11-5.2_opam-2.2-b38a1eb0b08bdcf735bebf2a62addbd9"
2024-08-29 13:25.02: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.2@sha256:b7eed60333519866fecb8ac201d24760c96ecf0d15ead08124169fd972cf18f8)
 (comment debian-11-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 f57c065fe9329efd503ebbbfcc76ee78f979cf3d || git fetch origin master) && git reset -q --hard f57c065fe9329efd503ebbbfcc76ee78f979cf3d && 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-08-29 13:25.02: Waiting for resource in pool OCluster
2024-08-29 13:25.02: Waiting for worker…
2024-08-29 13:25.23: Cancelling: Auto-cancelling job because it is no longer needed