Organisationsocamlmerlin42a1fd ()freebsd-5.2_opam-2.1

freebsd-5.2_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) (freebsd-x86_64:freebsd-5.2_opam-2.1)
Base: freebsd-ocaml-5.2
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 freebsd-ocaml-5.2
# freebsd-5.2_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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_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.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-freebsd-freebsd-ocaml-5.2-freebsd-5.2_opam-2.1-b38a1eb0b08bdcf735bebf2a62addbd9"
2024-07-30 10:08.29: Using OBuilder spec:
((from freebsd-ocaml-5.2)
 (comment freebsd-5.2_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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_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.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:10.52: Got resource from pool OCluster
Building on spring
HEAD is now at f40096ed Add test for -ocamllib-path flag
HEAD is now at 42a1fd8b [DMR] Merge pull request #1803 from liam923/config-stdlib

(from freebsd-ocaml-5.2)
2024-07-30 10:03.11 ---> using "3515bf58445883216685df527c06fc8b9b7799700694ffa335d1401da4433261" from cache

/: (comment freebsd-5.2_opam-2.1)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
2024-07-30 10:03.12 ---> using "9d6862887f900f59625b2215f75e812893e141cab42bcb588c0a696a0d5f58ba" from cache

/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
default (at git+file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

2024-07-30 10:03.12 ---> using "1fd90ea945c776de537d3c99dc7b4903609e7adbb45bd33c5e3538b8de92ea66" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p6
The OCaml toplevel, version 5.2.0
2.1.5
2024-07-30 10:03.13 ---> using "fb7d445678cc2654300145baf3967822bea6d22d7d1784a343fa4d849ce67e57" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-07-30 10:03.13 ---> using "c8753f135ab4a2a6875ba6c72e3a7bf45a73413350972305e894f2309c51e448" 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
   e2171914dc..88f29cc0aa  master     -> origin/master
e02e5286a7 Release ppxlib.0.33.0

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
default (at git+file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)


Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-07-30 10:03.13 ---> using "5660f63ffa8cee76986b49f3c832dec596719ca229416d5696379bd67178d8d4" from cache

/src: (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam)
            (dst ./))
2024-07-30 10:03.14 ---> using "772c1e1be011b053283c36f402ad2b48726df97eda75def82d5f0627ee5b7f56" 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-07-30 10:03.14 ---> using "4ce57c4ba5c6cd218bd653f1cce35c8495bf5e2d8950c615be7d570c047a7473" 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.1 --depext-only -y ocaml-index.dev merlin.dev merlin-lib.dev dot-merlin-reader.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "jq"
- Updating FreeBSD repository catalogue...
- [spring] Fetching data.pkg: ...
- ....
- ... done
- Processing entries: 
- ..
- ..
- ..
- ..
- .
- . done
- FreeBSD repository update completed. 34464 packages processed.
- All repositories are up to date.
- The following 2 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	jq: 1.7.1
- 	oniguruma: 6.9.9
- 
- Number of packages to be installed: 2
- 
- The process will require 3 MiB more space.
- 606 KiB to be downloaded.
- [spring] [1/2] Fetching jq-1.7.1.pkg: .......... done
- [spring] [2/2] Fetching oniguruma-6.9.9.pkg: ........ done
- Checking integrity... done (0 conflicting)
- [spring] [1/2] Installing oniguruma-6.9.9...
- [spring] [1/2] Extracting oniguruma-6.9.9: .......... done
- [spring] [2/2] Installing jq-1.7.1...
- [spring] [2/2] Extracting jq-1.7.1: .......... done
2024-07-30 10:03.15 ---> using "4d6a4f219c9cbe2ec342bccd3f473abd79dfff5482446fe4255fc18bc6fa0d49" 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).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
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.17.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 =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved menhir.20240715  (cached)
 installed conf-jq.1
 retrieved dune.3.16.0  (cached)
 retrieved menhirLib.20240715  (cached)
 retrieved menhirCST.20240715  (cached)
 retrieved menhirSdk.20240715  (cached)
 retrieved ocaml-compiler-libs.v0.17.0  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved ppxlib.0.33.0  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved sexplib0.v0.17.0  (cached)
 retrieved ppx_derivers.1.2.1  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved yojson.2.2.2  (cached)
 retrieved csexp.1.5.2  (cached)
 installed ocamlfind.1.9.6
 installed dune.3.16.0
 installed menhirLib.20240715
 installed ppx_derivers.1.2.1
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.17.0
 installed ocaml-compiler-libs.v0.17.0
 installed menhirSdk.20240715
 installed menhirCST.20240715
 installed yojson.2.2.2
 installed csexp.1.5.2
 installed ppxlib.0.33.0
 installed menhir.20240715
Done.
2024-07-30 10:03.15 ---> using "f88a3184c1749b947f385552d48358d2fc6ec944adb80d66b3a297199f055926" from cache

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

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.2.0/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.0/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.0/lib/findlib -I /home/opam/.opam/5.2.0/lib/ocaml/str -I /home/opam/.opam/5.2.0/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.0/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.0/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.0/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-07-30 10:05.02 ---> saved as "eea98d4942edecf1c32ba03f4b166240a1b3f653a081516d43005dafa60bacd4"
Job succeeded
2024-07-30 10:12.53: Job succeeded