Organisationsocamlmerlin1752f4 (voodoos-patch-1)macos-homebrew-5.2_arm64_opam-2.2

macos-homebrew-5.2_arm64_opam-2.2

Logs

Show full logs
2024-09-18 15:21.02: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/heads/voodoos-patch-1 (1752f48c56d8ecc368189ff127e03333ef2cd036) (macos-arm64:macos-homebrew-5.2_arm64_opam-2.2)
Base: macos-homebrew-ocaml-5.2
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/merlin.git" -b "voodoos-patch-1" && cd "merlin" && git reset --hard 1752f48c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.2
# macos-homebrew-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-index.1.0 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:21.02: Using cache hint "ocaml/merlin-macos-homebrew-ocaml-5.2-macos-homebrew-5.2_arm64_opam-2.2-16aa3adfcc2798056e559acb8fbf2cd2"
2024-09-18 15:21.02: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
 (comment macos-homebrew-5.2_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-domains.base base-nnp.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.5.2.0 ocaml-base-compiler.5.2.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-index.1.0 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:21.02: Waiting for resource in pool OCluster
2024-09-18 22:10.11: Waiting for worker…
2024-09-18 23:43.46: Got resource from pool OCluster
Building on m1-worker-03
All commits already cached
HEAD is now at 1752f48c plop

(from macos-homebrew-ocaml-5.2)
2024-09-18 23:43.46 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache

/: (comment macos-homebrew-5.2_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:43.46 ---> using "b003627c18f5d873361872ecfa38a9a8b5c86cc26245bef1d152887064c98071" 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:43.47 ---> using "408d2cc158c17e89759cf51b146539f00642e287086d5c54f85c33dae9e6a1f9" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.2.0
2.2.0
2024-09-18 23:43.47 ---> using "80c5626e56c363c9237b2d67b74b9ac64751c52cd041543c0fda73b45b911c9a" 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
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:43.47 ---> using "e741b1b0654b57a245f3c9eb31b5f47bd9ac932e8def5542224f2dc57745b5cd" from cache

/: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam)
         (dst ./src/./))
2024-09-18 23:43.48 ---> saved as "90432e9b45ccb0de57fb99330033af85d8bd57ba3aa8ced616af67f99bf77ef0"

/: (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)
The following additional pinnings are required by merlin.dev:
  - ocaml-index.1.0 at git+https://github.com/voodoos/ocaml-index#82b08987921884daeeb5dccc345a2dcb667fe113
Pin and install them? [y/n] y
[ocaml-index.1.0] synchronised (no changes)
[WARNING] Failed checks on ocaml-index package definition from source at git+https://github.com/voodoos/ocaml-index#82b08987921884daeeb5dccc345a2dcb667fe113:
  warning 68: Missing field 'license'
ocaml-index is now pinned to git+https://github.com/voodoos/ocaml-index#82b08987921884daeeb5dccc345a2dcb667fe113 (version 1.0)
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:44.00 ---> saved as "ba2c1f2c0bacfab53bcdc539fd0132eca9b6dfcfb5f1397050ef0e2425cfee3a"

/: (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-arm64.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-index.1.0 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)
[ocaml-index.1.0] 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-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-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 <><><><><><><><><><><><><><><><><><><><><><>

+ /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:44.22 ---> saved as "475bee67b9f52eab1c7335a8e9ecf42ac90fd41571c1bafbd9bb5fc00e71a648"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam install $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-index.1.0] 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-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-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 17 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 merlin-lib          dev (pinned) [required by ocaml-index]
  - install ocaml-compiler-libs v0.17.0
  - install ocaml-index         1.0 (pinned)
  - 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 merlin-lib.dev  (file:///Users/mac1000/src)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ocaml-index.1.0  (no changes)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved ppxlib.0.33.0  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.0
-> installed csexp.1.5.2
-> installed ppx_derivers.1.2.1
-> installed menhirCST.20240715
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20240715
-> installed menhirLib.20240715
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.2.2.2
-> installed menhir.20240715
-> installed merlin-lib.dev
[ERROR] The compilation of ocaml-index.1.0 failed at "dune build -p ocaml-index -j 7 --promote-install-files=false @install".
-> installed ppxlib.0.33.0

#=== ERROR while compiling ocaml-index.1.0 ====================================#
# context     2.2.0 | macos/arm64 | ocaml-base-compiler.5.2.0 | pinned(git+https://github.com/voodoos/ocaml-index#82b08987921884daeeb5dccc345a2dcb667fe113#82b08987921884daeeb5dccc345a2dcb667fe113)
# path        ~/.opam/5.2.0/.opam-switch/build/ocaml-index.1.0
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocaml-index -j 7 --promote-install-files=false @install
# exit-code   1
# env-file    ~/.opam/log/ocaml-index-59690-c3322b.env
# output-file ~/.opam/log/ocaml-index-59690-c3322b.out
### output ###
# File "lib/dune", line 8, characters 2-25:
# 8 |   merlin-lib.index_format))
#       ^^^^^^^^^^^^^^^^^^^^^^^
# Error: Library "merlin-lib.index_format" not found.
# -> required by library "lib" in _build/default/lib
# -> required by executable ocaml_index in bin/dune:2
# -> required by _build/default/bin/ocaml_index.exe
# -> required by _build/install/default/bin/ocaml-index
# -> required by _build/default/ocaml-index.install
# -> required by alias install



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-index 1.0
+- 
+- The following changes have been performed
| - 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 merlin-lib          dev
| - install ocaml-compiler-libs v0.17.0
| - 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
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /opt/homebrew/bin/opam switch import "/Users/mac1000/.opam/5.2.0/.opam-switch/backup/state-20240918234423.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-09-18 23:45.17: Job failed: Failed: Build failed