Organisationsocamlmerlinac2c0d ()ubuntu-20.04-5.2_opam-2.2

ubuntu-20.04-5.2_opam-2.2

Link Copied
Code Copied

Logs

2024-08-29 13:25.36: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/heads/main (ac2c0df1e11d921c21c34bb2eaba4fa976f288ab) (linux-x86_64:ubuntu-20.04-5.2_opam-2.2)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:a9d05c5729e55aa21cc4272ea947df332ddf3914e53e03b55b06ad3be3884e41
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/merlin.git" -b "main" && cd "merlin" && git reset --hard ac2c0df1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:a9d05c5729e55aa21cc4272ea947df332ddf3914e53e03b55b06ad3be3884e41
# ubuntu-20.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 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.36: Using cache hint "ocaml/merlin-ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:a9d05c5729e55aa21cc4272ea947df332ddf3914e53e03b55b06ad3be3884e41-ubuntu-20.04-5.2_opam-2.2-b38a1eb0b08bdcf735bebf2a62addbd9"
2024-08-29 13:25.36: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:a9d05c5729e55aa21cc4272ea947df332ddf3914e53e03b55b06ad3be3884e41)
 (comment ubuntu-20.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 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.36: Waiting for resource in pool OCluster
2024-08-29 13:25.36: Waiting for worker…
2024-08-29 13:28.23: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at ac2c0df1 Merge pull request #1814 from xvw/fun-with-polarity-search


(from ocaml/opam:ubuntu-20.04-ocaml-5.2@sha256:a9d05c5729e55aa21cc4272ea947df332ddf3914e53e03b55b06ad3be3884e41)
2024-08-29 13:28.24 ---> using "a2e750cd2b250f39188bded4630b4d02f8085c77cd18034c561e5320dc1689f7" from cache


/: (comment ubuntu-20.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-08-29 13:28.24 ---> using "69fd523b6aafe927eb99ee91ea19d8238b0bce2f14e03ccb1bbcdd60ef31bc0f" 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 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-08-29 13:28.24 ---> using "6b331e0087865c88b6f70ba81d577bc6bfda09ac4df6b80371e65decb18633aa" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 5.2.0
2.2.0
2024-08-29 13:28.24 ---> using "085409f9484878350bc7b2461d571a5a3ce0914801a2ce8035364716b38f07e9" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-08-29 13:28.24 ---> using "f7b964b6ec6c1554f03effdcb8aa3ea8845e51d25ccca51d6e9af530e628fa91" from cache


/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"))
f57c065fe9 Merge pull request #26251 from NathanReb/release-ppxlib-0.33.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-08-29 13:28.24 ---> using "5f8fff66e73624972b4d5f6bd08fe0d11c11c8373081577db0aae3f9c4a5b0f1" from cache


/src: (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam)
            (dst ./))
2024-08-29 13:28.24 ---> using "9375258d3e9161d456382786184af16b42eca78db6d89ec53b7f48a5839fe669" from cache


/src: (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 './'"))
[ocaml-index.dev] synchronised (file:///src)
ocaml-index is now pinned to file:///src (version dev)
[merlin.dev] synchronised (file:///src)
merlin is now pinned to file:///src (version dev)
[merlin-lib.dev] synchronised (file:///src)
merlin-lib is now pinned to file:///src (version dev)
[dot-merlin-reader.dev] synchronised (file:///src)
dot-merlin-reader is now pinned to file:///src (version dev)
2024-08-29 13:28.24 ---> using "4adbf896189b5935d7e6b5f407a088b92f13129d26795ae74ed1ef0f484a3634" from cache


/src: (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")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (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"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
- Get:5 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1258 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1545 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3926 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4077 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3933 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4398 kB]
- Fetched 19.4 MB in 3s (6601 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dot-merlin-reader.dev] synchronised (no changes)
[merlin.dev] synchronised (no changes)
[merlin-lib.dev] synchronised (no changes)
[ocaml-index.dev] synchronised (no changes)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    jq


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "jq"
- debconf: delaying package configuration, since apt-utils is not installed


2024-08-29 13:28.24 ---> using "0656cc5fd8693585829d3a641e31c9bb0e67d0624537fe0a50f664e8a9085ee3" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.0).
[NOTE] Package ocaml is already installed (current version is 5.2.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 15 packages
  - install conf-jq             1
  - install csexp               1.5.2
  - install dune                3.16.0
  - install menhir              20240715
  - install menhirCST           20240715
  - install menhirLib           20240715
  - install menhirSdk           20240715
  - install ocaml-compiler-libs v0.17.0
  - install ocamlfind           1.9.6
  - install ppx_derivers        1.2.1
  - install ppxlib              0.33.0
  - install seq                 base
  - install sexplib0            v0.17.0
  - install stdlib-shims        0.3.0
  - install yojson              2.2.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-jq.1
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.2.2.2
-> installed menhir.20240715
-> installed ppxlib.0.33.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-29 13:28.24 ---> using "bb2eabda87caf056369f5631fd74fce4df1cda95494f54986a77bf5d6383c255" from cache


/src: (copy (src .) (dst /src))
2024-08-29 13:28.25 ---> saved as "718f7736df207b81077bd826ef9e716d51ad4276eb5e3b2933e25897898a9a0d"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.2/bin/menhir --inspection --table --cmly src/ocaml/preprocess/parser_raw.mly --base src/ocaml/preprocess/parser_raw --infer-write-query src/ocaml/preprocess/parser_raw__mock.ml.mock)
File "src/ocaml/preprocess/parser_raw.mly", line 897, characters 29-36:
Warning: the token COMMENT is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 898, characters 30-39:
Warning: the token DOCSTRING is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 900, characters 7-10:
Warning: the token EOL is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 810, characters 7-22:
Warning: the token GREATERRBRACKET is unused.
(cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src/dot-merlin/.dot_merlin_reader.eobjs/byte -I src/dot-merlin/.dot_merlin_reader.eobjs/native -I /home/opam/.opam/5.2/lib/findlib -I /home/opam/.opam/5.2/lib/ocaml/str -I /home/opam/.opam/5.2/lib/ocaml/unix -I src/dot-protocol/.merlin_dot_protocol.objs/byte -I src/dot-protocol/.merlin_dot_protocol.objs/native -I src/utils/.merlin_utils.objs/byte -I src/utils/.merlin_utils.objs/native -intf-suffix .ml -no-alias-deps -opaque -o src/dot-merlin/.dot_merlin_reader.eobjs/native/dune__exe__Dot_merlin_reader.cmx -c -impl src/dot-merlin/dot_merlin_reader.ml)
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque
(cd _build/default && /home/opam/.opam/5.2/bin/menhir --inspection --table --cmly src/ocaml/preprocess/parser_raw.mly --base src/ocaml/preprocess/parser_raw --infer-read-reply src/ocaml/preprocess/parser_raw__mock.mli.inferred)
File "src/ocaml/preprocess/parser_raw.mly", line 966, characters 0-9:
Warning: the precedence level assigned to GREATERDOT is never useful.
(cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -bin-annot -bin-annot-occurrences -I src/ocaml-index/lib/.lib.objs/byte -I src/analysis/.merlin_analysis.objs/byte -I src/index-format/.merlin_index_format.objs/byte -I src/ocaml/parsing/.ocaml_parsing.objs/byte -I src/ocaml/typing/.ocaml_typing.objs/byte -I src/ocaml/utils/.ocaml_utils.objs/byte -I src/utils/.merlin_utils.objs/byte -no-alias-deps -opaque -open Lib -o src/ocaml-index/lib/.lib.objs/byte/lib__Index.cmo -c -impl src/ocaml-index/lib/index.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
(cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -I src/ocaml-index/lib/.lib.objs/byte -I src/ocaml-index/lib/.lib.objs/native -I src/analysis/.merlin_analysis.objs/byte -I src/analysis/.merlin_analysis.objs/native -I src/index-format/.merlin_index_format.objs/byte -I src/index-format/.merlin_index_format.objs/native -I src/ocaml/parsing/.ocaml_parsing.objs/byte -I src/ocaml/parsing/.ocaml_parsing.objs/native -I src/ocaml/typing/.ocaml_typing.objs/byte -I src/ocaml/typing/.ocaml_typing.objs/native -I src/ocaml/utils/.ocaml_utils.objs/byte -I src/ocaml/utils/.ocaml_utils.objs/native -I src/utils/.merlin_utils.objs/byte -I src/utils/.merlin_utils.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Lib -o src/ocaml-index/lib/.lib.objs/native/lib__Index.cmx -c -impl src/ocaml-index/lib/index.ml)
File "_none_", line 1:
Alert ocaml_deprecated_auto_include: 
OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
automatically added to the search path, but you should add -I +unix to the
command-line to silence this alert (e.g. by adding unix to the list of
libraries in your dune file, or adding use_unix to your _tags file for
ocamlbuild, or using -package unix for ocamlfind).
2024-08-29 13:29.44 ---> saved as "e5a0e807b8a88996074d07815dcaa235c107b5e52bd61403f78da918602f986d"
Job succeeded
2024-08-29 13:29.44: Job succeeded