Organisationsocamlmerlinca03fc ()freebsd-5.2_opam-2.2

freebsd-5.2_opam-2.2

Logs

Show full logs
2024-09-18 15:30.37: New job: test ocaml/merlin https://github.com/ocaml/merlin.git#refs/pull/1828/head (ca03fc2e439f7255c80087eab491167ada70db92) (freebsd-x86_64:freebsd-5.2_opam-2.2)
Base: freebsd-ocaml-5.2
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml/merlin.git" && cd "merlin" && git fetch origin "refs/pull/1828/head" && git reset --hard ca03fc2e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.2
# freebsd-5.2_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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="alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --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-09-18 15:30.37: Using cache hint "ocaml/merlin-freebsd-ocaml-5.2-freebsd-5.2_opam-2.2-32fb3617d4b40c311c3e3f2b6984dc18"
2024-09-18 15:30.37: Using OBuilder spec:
((from freebsd-ocaml-5.2)
 (comment freebsd-5.2_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.2 /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 45f961713f04a0d83218c0eb2706131a40f96d54 || git fetch origin master) && git reset -q --hard 45f961713f04a0d83218c0eb2706131a40f96d54 && 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 "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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.2 --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-09-18 15:30.37: Waiting for resource in pool OCluster
2024-09-18 15:30.37: Waiting for worker…
2024-09-18 15:31.47: Got resource from pool OCluster
Building on spring
HEAD is now at 1054246c Add licence and package setup for merlin-xref.
HEAD is now at ca03fc2e Simplify the result buffer of search

(from freebsd-ocaml-5.2)
2024-09-18 15:22.59 ---> using "3515bf58445883216685df527c06fc8b9b7799700694ffa335d1401da4433261" from cache

/: (comment freebsd-5.2_opam-2.2)

/: (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.2 /usr/local/bin/opam"))
2024-09-18 15:23.00 ---> using "ce5d446dcad4679490c4842006d3847ab79c5b03f27c64107dd9b4b693f9227b" 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.

This version of opam requires an update to the layout of /home/opam/.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:///home/opam/opam-repository
2024-09-18 15:23.00 ---> using "315f104d2431f3f8513b249e297f5cd9ab00e87e07651779a2c033f75790f186" 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.2.0
2024-09-18 15:23.00 ---> using "122bbc3ca2d5d079e67c62df055dfe2029bb1467ac0b82961d95a877a82d7ad7" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-09-18 15:23.01 ---> using "ea3d067661d07cb941931c0bd3d63b7212a0090aedfda056edf38cb8ce4f84dc" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (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
   e2171914dc..45f961713f  master     -> origin/master
45f961713f Merge pull request #26585 from dra27/trunk-tweaks

<><> 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)


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.
2024-09-18 15:23.01 ---> using "0805cadbb39fcd8c45e508a3ec184406e6ec50399312271f8f0d0f30c0799bfb" from cache

/src: (copy (src ocaml-index.opam merlin.opam merlin-lib.opam dot-merlin-reader.opam)
            (dst ./))
2024-09-18 15:23.10 ---> saved as "7161e6b018544f4ba5c865f9751e60d757c7c680677cd35600063466e3ea3c35"

/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-09-18 15:23.44 ---> saved as "74ef3a50770036af9fac438aa3fb394bb24077d05476ef594aad5b27b5cde443"

/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 conf-jq.1 csexp.1.5.2 dune.3.16.0 fmt.0.9.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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 ppx_derivers.1.2.1 ppxlib.0.33.0 re.1.12.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uutf.1.0.3 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.2 --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 ><><><><><><><><><><><><><><><><><><><><><><>
[merlin.dev] synchronised (no changes)
[merlin-lib.dev] synchronised (no changes)
[dot-merlin-reader.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).

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. 34439 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-09-18 15:25.22 ---> saved as "0ace879bf12835326eba9fa85435289698b756247f413902ecf8f37786c5ab2e"

/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).
The following actions will be performed:
=== install 24 packages
   alcotest            1.8.0
   astring             0.8.5
   cmdliner            1.3.0
   conf-jq             1
   csexp               1.5.2
   dune                3.16.0
   fmt                 0.9.0
   menhir              20240715
   menhirCST           20240715
   menhirLib           20240715
   menhirSdk           20240715
   ocaml-compiler-libs v0.17.0
   ocaml-syntax-shims  1.0.0
   ocamlbuild          0.15.0
   ocamlfind           1.9.6
   ppx_derivers        1.2.1
   ppxlib              0.33.0
   re                  1.12.0
   seq                 base
   sexplib0            v0.17.0
   stdlib-shims        0.3.0
   topkg               1.0.7
   uutf                1.0.3
   yojson              2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved astring.0.8.5  (cached)
 retrieved csexp.1.5.2  (cached)
 installed conf-jq.1
 retrieved cmdliner.1.3.0  (cached)
 retrieved fmt.0.9.0  (cached)
 retrieved alcotest.1.8.0  (cached)
 retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
 retrieved ocaml-compiler-libs.v0.17.0  (cached)
 retrieved ocaml-syntax-shims.1.0.0  (cached)
 retrieved ocamlbuild.0.15.0  (cached)
 retrieved ppx_derivers.1.2.1  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved re.1.12.0  (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 dune.3.16.0  (cached)
 retrieved yojson.2.2.2  (cached)
 retrieved uutf.1.0.3  (cached)
 retrieved topkg.1.0.7  (cached)
 installed cmdliner.1.3.0
 installed ocamlbuild.0.15.0
 installed ocamlfind.1.9.6
 installed topkg.1.0.7
 installed uutf.1.0.3
 installed astring.0.8.5
 installed fmt.0.9.0
 installed dune.3.16.0
 installed menhirLib.20240715
 installed ppx_derivers.1.2.1
 installed ocaml-syntax-shims.1.0.0
 installed ocaml-compiler-libs.v0.17.0
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.17.0
2024-09-18 15:37.57: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled