Organisationsocamlmerlin16a127 ()(lower-bound)

(lower-bound)

Logs

Show full logs
2024-09-01 14:12.06: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/heads/414 (16a12743b3b615a1a4f528dae26426b3073f8f24) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/merlin.git" -b "414" && cd "merlin" && git reset --hard 16a12743
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8
# debian-12-4.14_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 75e85d5bb77f27fae869788623c85b5fe8b7ff40 || git fetch origin master) && git reset -q --hard 75e85d5bb77f27fae869788623c85b5fe8b7ff40 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 merlin.opam merlin-lib.opam dot-merlin-reader.opam ./
RUN 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-bytes.base base-threads.base base-unix.base conf-jq.1 cppo.1.6.1 csexp.1.5.1 dune.2.9.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ppx_derivers.1.0 ppxlib.0.24.0 seq.base sexplib0.v0.12.0 stdlib-shims.0.1.0 yojson.2.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y 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-01 14:12.06: Using cache hint "ocaml/merlin-ocaml/opam:debian-12-ocaml-4.14@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8-debian-12-4.14_opam-2.2-2675f2f65b933eb97b10102bd3ca7529"
2024-09-01 14:12.06: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8)
 (comment debian-12-4.14_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 75e85d5bb77f27fae869788623c85b5fe8b7ff40 || git fetch origin master) && git reset -q --hard 75e85d5bb77f27fae869788623c85b5fe8b7ff40 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./))
 (run (network host)
      (shell  "opam 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-bytes.base base-threads.base base-unix.base conf-jq.1 cppo.1.6.1 csexp.1.5.1 dune.2.9.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ppx_derivers.1.0 ppxlib.0.24.0 seq.base sexplib0.v0.12.0 stdlib-shims.0.1.0 yojson.2.0.0")
 (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 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-01 14:12.06: Waiting for resource in pool OCluster
2024-09-01 14:43.33: Waiting for worker…
2024-09-01 14:46.12: Got resource from pool OCluster
Building on x86-bm-c9.sw.ocaml.org
All commits already cached
HEAD is now at 16a12743 Merge pull request #1782 from voodoos/backports-414

(from ocaml/opam:debian-12-ocaml-4.14@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8' locally
docker.io/ocaml/opam@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8: Pulling from ocaml/opam
85154f90f497: Pulling fs layer
85154f90f497: Verifying Checksum
85154f90f497: Download complete
85154f90f497: Pull complete
Digest: sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8
Status: Downloaded newer image for ocaml/opam@sha256:9136ad269e9c41743c47a4e7411d6ed845fdb26fbb239da4539adb2955add8c8
2024-09-01 14:46.12 ---> using "7fff8202a9a499965e9a603418271163cf4aeae08f9ce3e4b7d3379f6e75b4cd" from cache

/: (comment debian-12-4.14_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-01 14:46.12 ---> using "bdb9582ea988902230acd3bf7a94656a13de19fd71d5aac9de31204c867d7eec" 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
[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-01 14:46.12 ---> using "891f2c7985dabfed23558f17fbee5d915b2212c393fdeebc0c62f7f2b46f0317" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-119-generic
The OCaml toplevel, version 4.14.2
2.2.1
2024-09-01 14:46.12 ---> using "702862f9385f431994f234925db4dab981c994ff92745bd4de89ba1554e09a1a" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-01 14:46.12 ---> using "55a36f0f1d5a1c125df5f0007f3b60886a51ff9b9ee86ae852c291dcb2300b0c" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 75e85d5bb77f27fae869788623c85b5fe8b7ff40 || git fetch origin master) && git reset -q --hard 75e85d5bb77f27fae869788623c85b5fe8b7ff40 && git log --no-decorate -n1 --oneline && opam update -u"))
75e85d5bb7 Merge pull request #26130 from dra27/os-cygwin

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

The following actions will be performed:
=== downgrade 1 package
  - downgrade opam-depext 1.2.3 to 1.2.1-1 [no longer available]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.1-1
Done.

<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-09-01 14:46.12 ---> using "25306fc515f2a71c13a32a515a0a9294d77abc42d385cdeae347ca636364862c" from cache

/src: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./))
2024-09-01 14:46.12 ---> using "358a26b39403462bd6f4a20879c03d1a30b7138ab3e107ec3423b82afccca3e3" from cache

/src: (run (network host)
           (shell  "opam pin add -yn merlin.dev './' && \
                  \nopam pin add -yn merlin-lib.dev './' && \
                  \nopam pin add -yn dot-merlin-reader.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-09-01 14:46.12 ---> using "abc7db0406a65bab8b6ce18725150850d50f90ecde60b9e750303bd587c7dfbf" from cache

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-jq.1 cppo.1.6.1 csexp.1.5.1 dune.2.9.1 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.11.0 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ppx_derivers.1.0 ppxlib.0.24.0 seq.base sexplib0.v0.12.0 stdlib-shims.0.1.0 yojson.2.0.0")

/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 merlin.dev merlin-lib.dev dot-merlin-reader.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8787 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
- Fetched 9221 kB in 1s (6588 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)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-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
- Selecting previously unselected package libonig5:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18734 files and directories currently installed.)
- Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ...
- Unpacking libonig5:amd64 (6.9.8-1) ...
- Selecting previously unselected package libjq1:amd64.
- Preparing to unpack .../libjq1_1.6-2.1_amd64.deb ...
- Unpacking libjq1:amd64 (1.6-2.1) ...
- Selecting previously unselected package jq.
- Preparing to unpack .../archives/jq_1.6-2.1_amd64.deb ...
- Unpacking jq (1.6-2.1) ...
- Setting up libonig5:amd64 (6.9.8-1) ...
- Setting up libjq1:amd64 (1.6-2.1) ...
- Setting up jq (1.6-2.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u7) ...
2024-09-01 14:46.16 ---> saved as "ffa98b0445887f4ef57eb9652ca3f474cc3230273ea0bcbacdab57c625d664c0"

/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 17 packages
  - install base-bytes          base
  - install conf-jq             1
  - install cppo                1.6.1
  - install csexp               1.5.1
  - install dune                2.9.1
  - install jbuilder            1.0+beta20.1
  - install menhir              20201216
  - install menhirLib           20201216
  - install menhirSdk           20201216
  - install ocaml-compiler-libs v0.11.0
  - install ocamlfind           1.9.1
  - install ppx_derivers        1.0
  - install ppxlib              0.24.0
  - install seq                 base
  - install sexplib0            v0.12.0
  - install stdlib-shims        0.1.0
  - install yojson              2.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> retrieved csexp.1.5.1  (cached)
-> installed conf-jq.1
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocamlfind.1.9.1  (cached)
-> retrieved menhir.20201216, menhirLib.20201216, menhirSdk.20201216  (https://gitlab.inria.fr/fpottier/menhir/-/archive/20201216/archive.tar.gz)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved dune.2.9.1  (https://github.com/ocaml/dune/releases/download/2.9.1/dune-2.9.1.tbz)
-> retrieved ppxlib.0.24.0  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved yojson.2.0.0  (https://github.com/ocaml-community/yojson/releases/download/2.0.0/yojson-2.0.0.tbz)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed cppo.1.6.1
-> installed ocaml-compiler-libs.v0.11.0
-> installed dune.2.9.1
-> installed csexp.1.5.1
-> installed stdlib-shims.0.1.0
-> installed menhirSdk.20201216
-> installed sexplib0.v0.12.0
-> installed menhirLib.20201216
-> installed yojson.2.0.0
-> installed menhir.20201216
-> installed ppxlib.0.24.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-01 14:47.07 ---> saved as "b40b2d2be7bc5035bebae855225e57cf979311a62a36769c09f4837a665342e3"

/src: (copy (src .) (dst /src))
2024-09-01 14:47.08 ---> saved as "b148e04000171d99c1300dc99119381fff4efe0c3b11425f85a406ccdba2497e"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
      menhir src/ocaml/preprocess/parser_raw__mock.ml.mock
File "src/ocaml/preprocess/parser_raw.mly", line 852, characters 29-36:
Warning: the token COMMENT is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 853, characters 30-39:
Warning: the token DOCSTRING is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 855, characters 7-10:
Warning: the token EOL is unused.
File "src/ocaml/preprocess/parser_raw.mly", line 765, characters 7-22:
Warning: the token GREATERRBRACKET is unused.
      menhir src/ocaml/preprocess/parser_raw.{cmly,ml,mli}
File "src/ocaml/preprocess/parser_raw.mly", line 929, characters 0-9:
Warning: the precedence level assigned to GREATERDOT is never useful.
File "tests/test-dirs/type-enclosing/inside-tydecl.t", line 1, characters 0-0:
         git (internal) (exit 1)
(cd _build/.sandbox/33e7915cc7b37e02dabac1768266095d/default && /usr/bin/git --no-pager diff --no-index --color=always -u ../../../default/tests/test-dirs/type-enclosing/inside-tydecl.t tests/test-dirs/type-enclosing/inside-tydecl.t.corrected)
diff --git a/../../../default/tests/test-dirs/type-enclosing/inside-tydecl.t b/tests/test-dirs/type-enclosing/inside-tydecl.t.corrected
index 2fda888..2afb9b7 100644
--- a/../../../default/tests/test-dirs/type-enclosing/inside-tydecl.t
+++ b/tests/test-dirs/type-enclosing/inside-tydecl.t.corrected
@@ -6,11 +6,8 @@ test
   > EOF
   paths: [t1]
   [
-    {
-      "start": { "line": 1, "col": 18 },
-      "end": { "line": 1, "col": 20 },
-      "identifier": "t1"
-    }
+    { "start": { "line": 1, "col": 18 }, "end": { "line": 1, "col": 20 },
+    "identifier": "t1" }
   ]
   node = core_type
   exprs = [t1]
File "tests/test-dirs/with-ppx/parsetree-cache.t/run.t", line 1, characters 0-0:
         git (internal) (exit 1)
(cd _build/.sandbox/ce72e181129cf69098b4086cec2d7fc5/default && /usr/bin/git --no-pager diff --no-index --color=always -u ../../../default/tests/test-dirs/with-ppx/parsetree-cache.t/run.t tests/test-dirs/with-ppx/parsetree-cache.t/run.t.corrected)
diff --git a/../../../default/tests/test-dirs/with-ppx/parsetree-cache.t/run.t b/tests/test-dirs/with-ppx/parsetree-cache.t/run.t.corrected
index a403786..52bffdf 100644
--- a/../../../default/tests/test-dirs/with-ppx/parsetree-cache.t/run.t
+++ b/tests/test-dirs/with-ppx/parsetree-cache.t/run.t.corrected
@@ -180,7 +180,7 @@ When ppx_dep.txt contains an int, there are no errors.
   > EOF
 
   $ dune exec ./main.exe 2>/dev/null
-  1
+  [1]
 And Merlin does the right thing.
   $ $MERLIN server errors -filename main.ml -log-file merlin_logs 1> /dev/null < main.ml
   $ $MERLIN server errors -filename main.ml -log-file merlin_logs < main.ml
@@ -228,7 +228,7 @@ Again: when ppx_dep.txt contains an int, there are no errors.
   > EOF
 
   $ dune exec ./main.exe 2>/dev/null
-  1
+  [1]
 
 And Merlin does the right thing.
   $ $MERLIN server errors -filename main.ml -log-file merlin_logs < main.ml
@@ -256,22 +256,7 @@ This time, since the PPX cache isn't enabled, Merlin does the right thing here a
   $ $MERLIN server errors -filename main.ml -log-file merlin_logs < main.ml
   {
     "class": "return",
-    "value": [
-      {
-        "start": {
-          "line": 1,
-          "col": 18
-        },
-        "end": {
-          "line": 1,
-          "col": 30
-        },
-        "type": "typer",
-        "sub": [],
-        "valid": true,
-        "message": "It's sunny"
-      }
-    ],
+    "value": [],
     "notifications": []
   }
   $ cat merlin_logs | grep 'Phase cache' -A 1 | sed "s/[0-9]*//g"
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-01 14:47.49: Job failed: Failed: Build failed