Organisationsocamlmerlin42a1fd ()debian-12-5.2_x86_32_opam-2.1

debian-12-5.2_x86_32_opam-2.1

Logs

Show full logs
2024-07-30 10:08.29: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/heads/main (42a1fd8b3ae9a3fb836fa5a22929302d9f492d82) (linux-x86_64:debian-12-5.2_x86_32_opam-2.1)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:2b41a434cbda3481cf175af20688d5914e7cc24b6ab2d405dd9009d2b1a3d8fe
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/merlin.git" -b "main" && cd "merlin" && git reset --hard 42a1fd8b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:2b41a434cbda3481cf175af20688d5914e7cc24b6ab2d405dd9009d2b1a3d8fe
# debian-12-5.2_x86_32_opam-2.1
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 e02e5286a726df2d946d936f0a69edb933ddd988 || git fetch origin master) && git reset -q --hard e02e5286a726df2d946d936f0a69edb933ddd988 && 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_32.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-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --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-07-30 10:08.29: Using cache hint "ocaml/merlin-ocaml/opam:debian-12-ocaml-5.2@sha256:2b41a434cbda3481cf175af20688d5914e7cc24b6ab2d405dd9009d2b1a3d8fe-debian-12-5.2_x86_32_opam-2.1-b34e0256342e9a1819514b8a88c9973e"
2024-07-30 10:08.29: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:2b41a434cbda3481cf175af20688d5914e7cc24b6ab2d405dd9009d2b1a3d8fe)
 (comment debian-12-5.2_x86_32_opam-2.1)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 e02e5286a726df2d946d936f0a69edb933ddd988 || git fetch origin master) && git reset -q --hard e02e5286a726df2d946d936f0a69edb933ddd988 && 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_32.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-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.16.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.1 --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-07-30 10:08.29: Waiting for resource in pool OCluster
2024-07-30 10:08.29: Waiting for worker…
2024-07-30 10:18.24: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at 42a1fd8b [DMR] Merge pull request #1803 from liam923/config-stdlib

(from ocaml/opam:debian-12-ocaml-5.2@sha256:2b41a434cbda3481cf175af20688d5914e7cc24b6ab2d405dd9009d2b1a3d8fe)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2024-07-30 10:18.24 ---> using "fdfbadbc8d9ab417deb055125f0545d9d6e8e32342f8b8389cb30f29530d129b" from cache

/: (comment debian-12-5.2_x86_32_opam-2.1)

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

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-07-30 10:18.24 ---> using "198fbd3cc1c4049b8042244bec71097b31bccacb8678b10457c9bef9228c4fde" 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.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-07-30 10:18.24 ---> using "e8da87706b71c548b55017be90e290e5c3cf23d387fcf5db03e25c12917499bc" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-116-generic
The OCaml toplevel, version 5.2.0
2.1.6
2024-07-30 10:18.24 ---> using "9323d410c4b61d79511031d767a9607f321686d582eb4ba72fd3b0240ba49875" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-07-30 10:18.24 ---> using "a2796e15a941b3002f6820fd04ffe9aec377c6af3e8a1c7dc23eabdcfd683c3a" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e e02e5286a726df2d946d936f0a69edb933ddd988 || git fetch origin master) && git reset -q --hard e02e5286a726df2d946d936f0a69edb933ddd988 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   39a5da86fc..7cef2cadfc  master     -> origin/master
e02e5286a7 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-07-30 10:19.56 ---> saved as "8583b80a299a6f19e92cad347368b4d9b05b6917354b67d4b5c187d7d38fb2e9"

/src: (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam)
            (dst ./))
2024-07-30 10:19.56 ---> saved as "aad9fc5ed724164d200bd17afbd34c2a9fbd4fa85c4b4a80fc53a29b6fa17d2c"

/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-07-30 10:20.06 ---> saved as "fabb3aa6208e367ecfa4ab697b9c204e75a50b34f0a6f88daf984b916d9b4c20"

/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_32.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-option-bytecode-only.1 ocaml-options-vanilla.1 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib0.v0.16.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.1 --depext-only -y ocaml-index.dev 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-security bookworm-security/main i386 Packages [168 kB]
- Fetched 271 kB in 0s (859 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-option-bytecode-only 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_32 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
- Selecting previously unselected package libonig5:i386.
- (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 ... 18750 files and directories currently installed.)
- Preparing to unpack .../libonig5_6.9.8-1_i386.deb ...
- Unpacking libonig5:i386 (6.9.8-1) ...
- Selecting previously unselected package libjq1:i386.
- Preparing to unpack .../libjq1_1.6-2.1_i386.deb ...
- Unpacking libjq1:i386 (1.6-2.1) ...
- Selecting previously unselected package jq.
- Preparing to unpack .../archives/jq_1.6-2.1_i386.deb ...
- Unpacking jq (1.6-2.1) ...
- Setting up libonig5:i386 (6.9.8-1) ...
- Setting up libjq1:i386 (1.6-2.1) ...
- Setting up jq (1.6-2.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u7) ...
2024-07-30 10:20.30 ---> saved as "5e8510081da25b426f3b1e3bfb323aa953c4dcbf744a6dd8dc0d2768fa007b46"

/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-option-bytecode-only 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_32 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 seq                 base
  - install dune                3.16.0
  - install conf-jq             1
  - install ocamlfind           1.9.6
  - install yojson              2.2.2
  - install stdlib-shims        0.3.0
  - install sexplib0            v0.16.0
  - install ppx_derivers        1.2.1
  - install ocaml-compiler-libs v0.17.0
  - install menhirSdk           20240715
  - install menhirLib           20240715
  - install menhirCST           20240715
  - install csexp               1.5.2
  - install ppxlib              0.33.0
  - install menhir              20240715
===== 15 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved menhir.20240715  (cached)
-> installed conf-jq.1
-> retrieved menhirCST.20240715  (cached)
-> retrieved menhirLib.20240715  (cached)
-> retrieved menhirSdk.20240715  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed menhirCST.20240715
-> installed sexplib0.v0.16.0
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed yojson.2.2.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed menhir.20240715
-> installed ppxlib.0.33.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-07-30 10:23.58 ---> saved as "393e68464e02b1d85ccf041853fc24759941b7baa54a9efdaa8247623f54bc27"

/src: (copy (src .) (dst /src))
2024-07-30 10:23.59 ---> saved as "c69f727412d34d675c103e03a1679ef841261d370c42cf0a37670f72bb2fc641"

/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/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 -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).
2024-07-30 10:25.41 ---> saved as "61def5877209d523f2d61a34587e953a6b391c6f67b3d7ae7d7f338239690b3a"
Job succeeded
2024-07-30 10:25.41: Job succeeded