Organisationsocamlmerlineba269 ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-04-25 10:09.20: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1754/head (eba2699ca84916481dc7a800e8fc98b92c1e9288) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1754/head" && git reset --hard eba2699c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76
# debian-12-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && 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 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.1 --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-04-25 10:09.20: Using cache hint "ocaml/merlin-ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76-debian-12-4.14_opam-2.1-61f49405db6bc56d745c8fa926d6bd0a"
2024-04-25 10:09.20: Using OBuilder spec:
((from ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76)
 (comment debian-12-4.14_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && 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 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.1 --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-04-25 10:09.20: Waiting for resource in pool OCluster
2024-04-25 10:09.20: Waiting for worker…
2024-04-25 10:09.20: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
HEAD is now at 94abfea1 tests: wrong error with string literal in comment
HEAD is now at eba2699c Add changelog entry for #1754


(from ocaml/opam@sha256:7299e34125e8e87f4e3ae8546b0b53671f057a8aef5fbac9ecb58b75acb37b76)
2024-04-25 10:09.21 ---> using "9b0d5848fbc2a314479f34accfbaa696b92455f47034a73d0069aa1a6685173d" from cache


/: (comment debian-12-4.14_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-25 10:09.21 ---> using "e427ee87097ee67f58ffce22a90b321d261d5e29767c4557fd85cc7f8c3bec93" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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-04-25 10:09.21 ---> using "1f94c7ef90e4be9c850e97fa948ae4f3a97470add7b59a9b82cf249370a94569" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-25 10:09.21 ---> using "aaecfbf119af0cafdcfbf0de181e22bc5576ac96eb15e330673549c3f85eddcc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-25 10:09.21 ---> using "972f9a00f9271bc62a16b6b1b3542039a4ca6a1873f56e28cd5bbf8aec128eae" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 294bafe2db1d8c7e5e321c3c41a9577c137b8003 || git fetch origin master) && git reset -q --hard 294bafe2db1d8c7e5e321c3c41a9577c137b8003 && git log --no-decorate -n1 --oneline && opam update -u"))
294bafe2db OCaml 4.14.2 packages


<><> 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-04-25 10:10.38 ---> saved as "febe8ac4458215d19273b2e0b8308aceb8a8fc9b669026132d8355ade4f0f3b7"


/src: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./))
2024-04-25 10:10.38 ---> saved as "f9cc27c6f5909b7f85bd15e8d49e440e4fa29ef2a544826035e8574eca4e6149"


/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-04-25 10:10.43 ---> saved as "d66ef94e31049b81efc022e16a69256c4834cbddfba1b3c4b4114efdcb958ac1"


/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 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.1 --depext-only -y merlin.dev merlin-lib.dev dot-merlin-reader.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 270 kB in 0s (1110 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 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


2024-04-25 10:11.06 ---> saved as "23741d722514d834a67abfbb2837352e5020eaeca0325f5e03a7b34cf7f335d1"


/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 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 ocamlfind           1.9.1
  - install jbuilder            1.0+beta20.1
  - install conf-jq             1
  - install seq                 base
  - install dune                2.9.1
  - install base-bytes          base
  - install ppx_derivers        1.0
  - install ocaml-compiler-libs v0.11.0
  - install stdlib-shims        0.1.0
  - install sexplib0            v0.12.0
  - install menhirSdk           20201216
  - install menhirLib           20201216
  - install csexp               1.5.1
  - install cppo                1.6.1
  - install ppxlib              0.24.0
  - install menhir              20201216
  - install yojson              2.0.0
===== 17 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved dune.2.9.1  (cached)
-> installed conf-jq.1
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved menhir.20201216  (cached)
-> retrieved menhirLib.20201216  (cached)
-> retrieved menhirSdk.20201216  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocamlfind.1.9.1  (cached)
-> installed seq.base
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved yojson.2.0.0  (cached)
-> retrieved ppxlib.0.24.0  (cached)
-> 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-04-25 10:12.07 ---> saved as "29efcb02563a1023e87e03df0e887b7ee21237e535c34ee387daecde5715d701"


/src: (copy (src .) (dst /src))
2024-04-25 10:12.08 ---> saved as "5fb5c4b899682ddf4396084784722fe550e07e53a6f11db220ace1e81cb9b1df"


/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/b8aa354a1eb6610529873556bbfd37d1/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/8c552b9b001faaea787fa6ed16438f64/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-04-25 10:12.39: Job failed: Failed: Build failed