Organisationsocamlmerlin16a127 ()ubuntu-24.04-4.14_opam-2.2

ubuntu-24.04-4.14_opam-2.2

Logs

Show full logs
2024-09-01 14:14.11: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/heads/414 (16a12743b3b615a1a4f528dae26426b3073f8f24) (linux-x86_64:ubuntu-24.04-4.14_opam-2.2)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
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:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
# ubuntu-24.04-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 f57c065fe9329efd503ebbbfcc76ee78f979cf3d || git fetch origin master) && git reset -q --hard f57c065fe9329efd503ebbbfcc76ee78f979cf3d && 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 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:14.11: Using cache hint "ocaml/merlin-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5-ubuntu-24.04-4.14_opam-2.2-9cbf59a7a5843e5aa01fd7e0d5240d2f"
2024-09-01 14:14.11: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5)
 (comment ubuntu-24.04-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 f57c065fe9329efd503ebbbfcc76ee78f979cf3d || git fetch origin master) && git reset -q --hard f57c065fe9329efd503ebbbfcc76ee78f979cf3d && 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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 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:14.11: Waiting for resource in pool OCluster
2024-09-01 17:53.23: Waiting for worker…
2024-09-01 17:55.45: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at 16a12743 Merge pull request #1782 from voodoos/backports-414

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5' locally
docker.io/ocaml/opam@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5: Pulling from ocaml/opam
dc1faef22be7: Pulling fs layer
dc1faef22be7: Verifying Checksum
dc1faef22be7: Download complete
dc1faef22be7: Pull complete
Digest: sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
Status: Downloaded newer image for ocaml/opam@sha256:17c385837e506275cdce9b449bf98ac6011ef360d60aba53fc024bda6ceb12d5
2024-09-01 17:55.45 ---> using "25db9bf4775bd403f1810d7e62fea93d76081005643154e52538497d13ccf952" from cache

/: (comment ubuntu-24.04-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 17:55.45 ---> using "33214496dbdbb88903cbaee5f2712b10a886b544d6abe81bd9497994e4e389f6" 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 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-01 17:55.45 ---> using "f6df5e6faa9a0706f5f2e75a28f4999175be531940b2057adb40017c568ed79d" 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 17:55.45 ---> using "3f86f62cc8d83d6aa2f54bbed4d7a633d752700b6dd91d97f5e69d72bcb01156" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-01 17:55.45 ---> using "478020e656440aff4cc3010df2a4783a62f6dca5426b3fe4d622dda8ecc65a47" 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

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 17:56.55 ---> saved as "969f3b305331be6413e25f41dac7a55d480469f227e150848fe4358d34681a59"

/src: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam) (dst ./))
2024-09-01 17:56.55 ---> saved as "846a3356e3c1bd832b0d4d857c5d965416e9e1f837514e0fa1466397e4c4112a"

/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 17:57.03 ---> saved as "ece03ae623fdf4eeffd007e4e2abd6ea5ad9d7d369c95f40cea02addf4052038"

/src: (env DEPS "base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 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 merlin.dev merlin-lib.dev dot-merlin-reader.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [449 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [594 kB]
- Fetched 1169 kB in 0s (2686 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 ... 16333 files and directories currently installed.)
- Preparing to unpack .../libonig5_6.9.9-1build1_amd64.deb ...
- Unpacking libonig5:amd64 (6.9.9-1build1) ...
- Selecting previously unselected package libjq1:amd64.
- Preparing to unpack .../libjq1_1.7.1-3build1_amd64.deb ...
- Unpacking libjq1:amd64 (1.7.1-3build1) ...
- Selecting previously unselected package jq.
- Preparing to unpack .../jq_1.7.1-3build1_amd64.deb ...
- Unpacking jq (1.7.1-3build1) ...
- Setting up libonig5:amd64 (6.9.9-1build1) ...
- Setting up libjq1:amd64 (1.7.1-3build1) ...
- Setting up jq (1.7.1-3build1) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.3) ...
2024-09-01 17:57.31 ---> saved as "2f5903545ffc8a23ac1f34362d8aa97f65437b9ff30ce2111011b300905d2d5f"

/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 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.12.4
  - 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.12.4  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved ocamlfind.1.9.6  (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 sexplib0.v0.17.0
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> 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-09-01 17:58.43 ---> saved as "60a49f422cc11f1de60bfba109422138d86544dde44edee4ee806ab873ba2aa5"

/src: (copy (src .) (dst /src))
2024-09-01 17:58.44 ---> saved as "5650b2777efb07d6e84a2455ec98e9b9621c4bd0976eecdadbae32a3fb5c2b2d"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/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 -g -bin-annot -I src/ocaml/preprocess/recover/.gen_recover.eobjs/byte -I /home/opam/.opam/4.14/lib/menhirSdk -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/ocaml/preprocess/recover/.gen_recover.eobjs/byte/dune__exe__Synthesis.cmo -c -impl src/ocaml/preprocess/recover/synthesis.ml)
File "src/ocaml/preprocess/recover/synthesis.ml", line 125, characters 24-38:
125 |             ) infinity (Lr1.reductions st)
                              ^^^^^^^^^^^^^^
Error (alert deprecated): G.Lr1.reductions
Please use [get_reductions]
File "src/ocaml/preprocess/recover/synthesis.ml", line 206, characters 19-33:
206 |             ) acc (Lr1.reductions st)
                         ^^^^^^^^^^^^^^
Error (alert deprecated): G.Lr1.reductions
Please use [get_reductions]
(cd _build/default && /home/opam/.opam/4.14/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 -g -bin-annot -I src/ocaml/preprocess/recover/.gen_recover.eobjs/byte -I /home/opam/.opam/4.14/lib/menhirSdk -no-alias-deps -opaque -open Dune__exe -o src/ocaml/preprocess/recover/.gen_recover.eobjs/byte/dune__exe__Gen_recover.cmo -c -impl src/ocaml/preprocess/recover/gen_recover.ml)
File "src/ocaml/preprocess/recover/gen_recover.ml", line 47, characters 13-27:
47 |           ) (Lr1.reductions st);
                  ^^^^^^^^^^^^^^
Error (alert deprecated): G.Lr1.reductions
Please use [get_reductions]
(cd _build/default && /home/opam/.opam/4.14/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 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.
(cd _build/default && /home/opam/.opam/4.14/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/ocaml/preprocess/recover/.gen_recover.eobjs/byte -I src/ocaml/preprocess/recover/.gen_recover.eobjs/native -I /home/opam/.opam/4.14/lib/menhirSdk -intf-suffix .ml -no-alias-deps -opaque -open Dune__exe -o src/ocaml/preprocess/recover/.gen_recover.eobjs/native/dune__exe__Synthesis.cmx -c -impl src/ocaml/preprocess/recover/synthesis.ml)
File "src/ocaml/preprocess/recover/synthesis.ml", line 125, characters 24-38:
125 |             ) infinity (Lr1.reductions st)
                              ^^^^^^^^^^^^^^
Error (alert deprecated): G.Lr1.reductions
Please use [get_reductions]
File "src/ocaml/preprocess/recover/synthesis.ml", line 206, characters 19-33:
206 |             ) acc (Lr1.reductions st)
                         ^^^^^^^^^^^^^^
Error (alert deprecated): G.Lr1.reductions
Please use [get_reductions]
(cd _build/default && /home/opam/.opam/4.14/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 929, characters 0-9:
Warning: the precedence level assigned to GREATERDOT is never useful.
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-01 17:58.59: Job failed: Failed: Build failed