Organisationsocamlmerlinfdc089 ()macos-homebrew-4.14_arm64_opam-2.2

macos-homebrew-4.14_arm64_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-arm64:macos-homebrew-4.14_arm64_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_arm64_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-arm64.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_arm64_opam-2.2-679d4a4e78fbac7bae5a83017aa31f8f"
2024-09-18 15:20.57: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (comment macos-homebrew-4.14_arm64_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-arm64.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-18 21:59.32: Waiting for worker…
2024-09-18 23:59.14: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
HEAD is now at fdc08941 Removed unnecessary changes.

(from macos-homebrew-ocaml-4.14)
2024-09-18 23:59.14 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

/: (comment macos-homebrew-4.14_arm64_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-18 23:59.15 ---> 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-18 23:59.15 ---> 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-18 23:59.15 ---> 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
   fe8dffac61..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-18 23:59.15 ---> using "2e7f6bbba51f5cb24d669e6d7afadd3e0710793775f8c0fa0f6e4281120837b9" from cache

/: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam)
         (dst ./src/./))
2024-09-18 23:59.17 ---> 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-18 23:59.27 ---> 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-arm64.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"))
+ /opt/homebrew/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-arm64 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 <><><><><><><><><><><><><><><><><><><><><><>

+ /opt/homebrew/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:53913ccbdad8ce504d0266fc20a867f2fc306d7331d066f2895f48d167102a24
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/59e8579a8e70269e5c928e7cbbf3edbfab17680f24b808139760eaf6131ff56a--oniguruma--6.9.9.arm64_sonoma.bottle.tar.gz
- ==> Fetching jq
- ==> Downloading https://ghcr.io/v2/homebrew/core/jq/blobs/sha256:7d01bc414859db57e055c814daa10e9c586626381ea329862ad4300f9fee78ce
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/33fa6f63828d3fdfa086250cef295785aff4290b792819148ea101a71a95fc91--jq--1.7.1.arm64_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.arm64_sonoma.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/oniguruma/6.9.9: 15 files, 1.4MB
- ==> Installing jq
- ==> Pouring jq--1.7.1.arm64_sonoma.bottle.1.tar.gz
- 🍺  /opt/homebrew/Cellar/jq/1.7.1: 20 files, 1.4MB
- ==> 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-18 23:59.46 ---> saved as "48c131c37e7953c57b3e2a9cf8300e217d6f35181528944ba2b5e0d60b962f0d"

/: (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-arm64 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 sexplib0.v0.17.0  (cached)
-> retrieved ppxlib.0.33.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 menhirCST.20240715
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed sexplib0.v0.17.0
-> 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-19 00:00.34 ---> saved as "4f2a65153c1adfbfc8067ad345c8f4e71bc9cc9cd33a66d97fad7fdb8b7d3672"

/: (copy (src .) (dst ./src))
2024-09-19 00:00.36 ---> saved as "fca20bee6b8b473caaf0ff102cf11f06391b17222af8ea26c5d994e5914d32f5"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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 -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/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/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/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 00:00.48: Job failed: Failed: Build failed