Organisationsocamlmerlinfdc089 ()macos-homebrew-4.14_opam-2.2

macos-homebrew-4.14_opam-2.2

Logs

Show full logs
2024-09-18 15:20.57: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1799/head (fdc08941a703ecd4ff13d7252c86cab6407eb9fc) (macos-x86_64:macos-homebrew-4.14_opam-2.2)
Base: macos-homebrew-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1799/head" && git reset --hard fdc08941
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.2 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 merlin.opam merlin-lib.opam dot-merlin-reader.opam ./src/./
RUN opam pin add -yn merlin.dev './src/./' && \
    opam pin add -yn merlin-lib.dev './src/./' && \
    opam pin add -yn dot-merlin-reader.dev './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"
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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2024-09-18 15:20.57: Using cache hint "ocaml/merlin-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.2-9cbf59a7a5843e5aa01fd7e0d5240d2f"
2024-09-18 15:20.57: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam)
       (dst ./src/./))
 (run (network host)
      (shell  "opam pin add -yn merlin.dev './src/./' && \
             \nopam pin add -yn merlin-lib.dev './src/./' && \
             \nopam pin add -yn dot-merlin-reader.dev './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")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst ./src))
 (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2024-09-18 15:20.57: Waiting for resource in pool OCluster
2024-09-19 02:05.14: Waiting for worker…
2024-09-19 05:06.38: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
HEAD is now at fdc08941 Removed unnecessary changes.

(from macos-homebrew-ocaml-4.14)
2024-09-19 05:06.39 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.2 ~/local/bin/opam"))
2024-09-19 05:06.40 ---> using "0fc88bc096429f8087d29338c802b1e4d45e761b825e45695066961067369beb" from cache

/: (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.

This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2024-09-19 05:06.41 ---> using "73ba886e49c62b39892c1961565fafbc649da382428721fca289ffcf0b892673" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.2.0
2024-09-19 05:06.41 ---> using "07fa1eab191e27fa6a90116da06eed20ebaaf79e4c99d1f9adbbe0baf8e3f1a3" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c635641299..45f961713f  master     -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks

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


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.4.0
  - ocaml-config.3
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-09-19 05:06.42 ---> using "2e7f6bbba51f5cb24d669e6d7afadd3e0710793775f8c0fa0f6e4281120837b9" from cache

/: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam)
         (dst ./src/./))
2024-09-19 05:06.44 ---> saved as "9aa41e318e49c9b000306a7ccd21d6a5f4d74b2cdb6b787812fc77a3f38b4142"

/: (run (network host)
        (shell  "opam pin add -yn merlin.dev './src/./' && \
               \nopam pin add -yn merlin-lib.dev './src/./' && \
               \nopam pin add -yn dot-merlin-reader.dev './src/./'"))
[merlin.dev] synchronised (file:///Users/mac1000/src)
merlin is now pinned to file:///Users/mac1000/src (version dev)
[merlin-lib.dev] synchronised (file:///Users/mac1000/src)
merlin-lib is now pinned to file:///Users/mac1000/src (version dev)
[dot-merlin-reader.dev] synchronised (file:///Users/mac1000/src)
dot-merlin-reader is now pinned to file:///Users/mac1000/src (version dev)
2024-09-19 05:07.05 ---> saved as "ddd2c2180954bec91ae158f1119b0051837b23c72b171251afb51b48b52631b2"

/: (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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> 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/local/bin/brew "install" "jq"
- ==> Downloading https://ghcr.io/v2/homebrew/core/jq/manifests/1.7.1-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/d1382cba30f89ffc26790240df7dc444b078442920626f7580500bc63ad0f414--jq-1.7.1-1.bottle_manifest.json
- ==> Fetching dependencies for jq: oniguruma
- ==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/manifests/6.9.9
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/35140c4d3995b75388bed026ef6d0acbb4d6076047cdcd895bfd996c0c8d6487--oniguruma-6.9.9.bottle_manifest.json
- ==> Fetching oniguruma
- ==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/blobs/sha256:75f2ef5b5593401d265669503cff50cda1fc10dbe2750fc54c87cbe578211b58
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/07c355d4ffdfcb22bf9c561bf5ba24502e7b64e9104eac10967ef8ec68310b3e--oniguruma--6.9.9.sonoma.bottle.tar.gz
- ==> Fetching jq
- ==> Downloading https://ghcr.io/v2/homebrew/core/jq/blobs/sha256:6bc01de99fd7f091b86880534842132a876f2d3043e3932ea75efc5f51c40aea
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/b82b4177f314e88fc5a4088fb5f97e0557219f022b9a684c37ce12a18854864b--jq--1.7.1.sonoma.bottle.1.tar.gz
- ==> Installing dependencies for jq: oniguruma
- ==> Installing jq dependency: oniguruma
- ==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/manifests/6.9.9
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/35140c4d3995b75388bed026ef6d0acbb4d6076047cdcd895bfd996c0c8d6487--oniguruma-6.9.9.bottle_manifest.json
- ==> Pouring oniguruma--6.9.9.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/oniguruma/6.9.9: 15 files, 1.4MB
- ==> Installing jq
- ==> Pouring jq--1.7.1.sonoma.bottle.1.tar.gz
- 🍺  /usr/local/Cellar/jq/1.7.1: 20 files, 1.3MB
- ==> Running `brew cleanup jq`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2024-09-19 05:07.40 ---> saved as "054b79ceaa288eae7ddc70575d6be2dbd32a91778e3442c785ff74eb65ca4a85"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> installed conf-jq.1
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> 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)
-> retrieved dune.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed yojson.2.2.2
-> installed ppxlib.0.33.0
-> installed menhir.20240715
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-19 05:09.08 ---> saved as "bd634752e36312ec81c3065d5ac67a194e92e40667c0d09220b01065e73b0a05"

/: (copy (src .) (dst ./src))
2024-09-19 05:09.11 ---> saved as "1184edee7ca738704cf636924cfca30a66123cc70b4455060e3bc523f9f1484c"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/4.14.2/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 /Users/mac1000/.opam/4.14.2/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 && /Users/mac1000/.opam/4.14.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 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 && /Users/mac1000/.opam/4.14.2/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 /Users/mac1000/.opam/4.14.2/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 && /Users/mac1000/.opam/4.14.2/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 /Users/mac1000/.opam/4.14.2/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 && /Users/mac1000/.opam/4.14.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 929, characters 0-9:
Warning: the precedence level assigned to GREATERDOT is never useful.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-09-19 05:09.28: Job failed: Failed: Build failed