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

macos-homebrew-5.2_opam-2.2

Link Copied
Code Copied

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-x86_64:macos-homebrew-5.2_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_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-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-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_opam-2.2-75ba66fb902f38d53f3c74344060e0f4"
2024-09-18 15:21.02: Using OBuilder spec:
((from macos-homebrew-ocaml-5.2)
 (comment macos-homebrew-5.2_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-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-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-19 02:44.27: Waiting for worker…
2024-09-19 04:57.02: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
HEAD is now at 1752f48c plop


(from macos-homebrew-ocaml-5.2)
2024-09-19 04:57.03 ---> using "9b46fe3d2429f2b9195a02468cb57ac45cfa11fb4a87cb32b5e5375232223327" from cache


/: (comment macos-homebrew-5.2_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 04:57.04 ---> 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-19 04:57.05 ---> 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-19 04:57.05 ---> 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
   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
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 04:57.06 ---> using "e741b1b0654b57a245f3c9eb31b5f47bd9ac932e8def5542224f2dc57745b5cd" from cache


/: (copy (src merlin.opam merlin-lib.opam dot-merlin-reader.opam)
         (dst ./src/./))
2024-09-19 04:57.08 ---> 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-19 04:57.25 ---> 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-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-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"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:bd12dc53d0714e477ce2ff4beaeb6ad71a9317271a63c3cd2f5d0427cf42f5c5
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.3.4_1.el_capitan.bottle.tar.gz
- ==> Pouring portable-ruby-3.3.4_1.el_capitan.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- 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-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).


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 04:58.10 ---> saved as "801b6217a86adb148d2214598dc6a8b45dfcfa7febae1df775a096819d77f71d"


/: (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-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).
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)
-> retrieved merlin-lib.dev  (file:///Users/mac1000/src)
-> installed conf-jq.1
-> 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 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.17.0
-> installed sexplib0.v0.17.0
-> installed yojson.2.2.2
-> installed ppxlib.0.33.0
-> installed menhir.20240715
-> installed merlin-lib.dev
[ERROR] The compilation of ocaml-index.1.0 failed at "dune build -p ocaml-index -j 11 --promote-install-files=false @install".


#=== ERROR while compiling ocaml-index.1.0 ====================================#
# context     2.2.0 | macos/x86_64 | 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 11 --promote-install-files=false @install
# exit-code   1
# env-file    ~/.opam/log/ocaml-index-15793-e233fb.env
# output-file ~/.opam/log/ocaml-index-15793-e233fb.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:
    /usr/local/bin/opam switch import "/Users/mac1000/.opam/5.2.0/.opam-switch/backup/state-20240919045813.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-09-19 04:59.48: Job failed: Failed: Build failed