Organisationsocaml-ppxocamlformatabaeda ()(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2024-04-17 12:38.21: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/pull/2535/head (abaeda12870db0feed39456a3d25aac507b92bc7) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" && cd "ocamlformat" && git fetch origin "refs/pull/2535/head" && git reset --hard abaeda12
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /usr/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 0d269faa45d7a07cdd53bb713f56d453cf648218 || git fetch origin master) && git reset -q --hard 0d269faa45d7a07cdd53bb713f56d453cf648218 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-dev.opam ocamlformat-bench.opam ./
RUN opam pin add -yn ocamlformat.dev './' && \
    opam pin add -yn ocamlformat-rpc-lib.dev './' && \
    opam pin add -yn ocamlformat-lib.dev './' && \
    opam pin add -yn ocamlformat-dev.dev './' && \
    opam pin add -yn ocamlformat-bench.dev './'
ENV DEPS="alcotest.1.3.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.2.0 biniou.1.2.0 camlp-streams.5.0.1 cmdliner.1.2.0 conf-m4.1 conf-which.1 cppo.1.6.1 csexp.1.4.0 dune.3.14.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 either.1.0.0 fix.20130611 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocp-indent.1.8.1 re.1.10.3 result.1.5 seq.0.2.2 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uucp.10.0.0 uuidm.0.9.6 uuseg.10.0.0 uutf.1.0.1 yojson.1.6.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-dev.dev ocamlformat-bench.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-04-17 12:38.21: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480-debian-12-4.08_opam-2.1-d1145a4d07e2a69fa427ad80cd210d94"
2024-04-17 12:38.21: Using OBuilder spec:
((from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
 (comment debian-12-4.08_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/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 0d269faa45d7a07cdd53bb713f56d453cf648218 || git fetch origin master) && git reset -q --hard 0d269faa45d7a07cdd53bb713f56d453cf648218 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-dev.opam ocamlformat-bench.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn ocamlformat.dev './' && \
             \nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
             \nopam pin add -yn ocamlformat-lib.dev './' && \
             \nopam pin add -yn ocamlformat-dev.dev './' && \
             \nopam pin add -yn ocamlformat-bench.dev './'"))
 (env DEPS "alcotest.1.3.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.2.0 biniou.1.2.0 camlp-streams.5.0.1 cmdliner.1.2.0 conf-m4.1 conf-which.1 cppo.1.6.1 csexp.1.4.0 dune.3.14.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 either.1.0.0 fix.20130611 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocp-indent.1.8.1 re.1.10.3 result.1.5 seq.0.2.2 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uucp.10.0.0 uuidm.0.9.6 uuseg.10.0.0 uutf.1.0.1 yojson.1.6.0")
 (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.1 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-dev.dev ocamlformat-bench.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-04-17 12:38.21: Waiting for resource in pool OCluster
2024-04-17 12:38.21: Waiting for worker…
2024-04-17 12:38.21: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
HEAD is now at abaeda12 rm useless files


(from ocaml/opam@sha256:e30e92a245a5f284471a3437bd6b19ebfb9ae067e380416fd178b1f6c2290480)
2024-04-17 12:39.04 ---> saved as "ca7a47bb337547622343e1e691b0c92596d0990b9ed28342fd47c7204c2b0a74"


/: (comment debian-12-4.08_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-17 12:39.04 ---> saved as "9362e111b0c9aa6dec1dc253e7435efd8f1ac8f2d7d6e66c10d24bc4c57ad605"


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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.0 to version 2.1, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-17 12:40.27 ---> saved as "d9b0dd4261d4b45d1d45fcc185429e91e6b23305997b0ad336885eac0d3204ff"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-102-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-04-17 12:40.28 ---> saved as "6d08f9350fb9ef3e5cae7793dcb5f2ac075cfe0fc789bf328cd7ac0338e3980e"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-17 12:40.28 ---> saved as "44438eb632bedbdf12ad26788b4a274ef117e2313c1b08772cdb3a6d8d921790"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 0d269faa45d7a07cdd53bb713f56d453cf648218 || git fetch origin master) && git reset -q --hard 0d269faa45d7a07cdd53bb713f56d453cf648218 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   4bb8cb8b65..f089d8564d  master     -> origin/master
0d269faa45 Revert #25484 and #25536


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
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-04-17 12:41.46 ---> saved as "19d3b23d2793325e86d4edd73e1693efb19a1544c514ac855f038462c5413804"


/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-dev.opam ocamlformat-bench.opam)
            (dst ./))
2024-04-17 12:41.46 ---> saved as "b57e148ffc861020de2c248c62995b6f1333f02f1270d2a3768227fb9ac02f41"


/src: (run (network host)
           (shell  "opam pin add -yn ocamlformat.dev './' && \
                  \nopam pin add -yn ocamlformat-rpc-lib.dev './' && \
                  \nopam pin add -yn ocamlformat-lib.dev './' && \
                  \nopam pin add -yn ocamlformat-dev.dev './' && \
                  \nopam pin add -yn ocamlformat-bench.dev './'"))
[ocamlformat.dev] synchronised (file:///src)
ocamlformat is now pinned to file:///src (version dev)
[ocamlformat-rpc-lib.dev] synchronised (file:///src)
ocamlformat-rpc-lib is now pinned to file:///src (version dev)
[ocamlformat-lib.dev] synchronised (file:///src)
ocamlformat-lib is now pinned to file:///src (version dev)
Package ocamlformat-dev does not exist, create as a NEW package? [Y/n] y
[ocamlformat-dev.dev] synchronised (file:///src)
ocamlformat-dev is now pinned to file:///src (version dev)
Package ocamlformat-bench does not exist, create as a NEW package? [Y/n] y
[ocamlformat-bench.dev] synchronised (file:///src)
ocamlformat-bench is now pinned to file:///src (version dev)
2024-04-17 12:41.55 ---> saved as "6351a4031450a0c778f63ea512e8deba15ec4a049a285f415c3f498b1fb7b7ec"


/src: (env DEPS "alcotest.1.3.0 astring.0.8.2 base.v0.12.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base bechamel.0.2.0 biniou.1.2.0 camlp-streams.5.0.1 cmdliner.1.2.0 conf-m4.1 conf-which.1 cppo.1.6.1 csexp.1.4.0 dune.3.14.0 dune-build-info.1.11.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 either.1.0.0 fix.20130611 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 menhir.20201216 menhirLib.20201216 menhirSdk.20201216 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocp-indent.1.8.1 re.1.10.3 result.1.5 seq.0.2.2 sexplib0.v0.12.0 stdio.v0.12.0 stdlib-shims.0.1.0 topkg.1.0.3 uchar.0.0.2 uucp.10.0.0 uuidm.0.9.6 uuseg.10.0.0 uutf.1.0.1 yojson.1.6.0")


/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.1 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.dev ocamlformat-dev.dev ocamlformat-bench.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [154 kB]
- Fetched 257 kB in 0s (1094 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlformat.dev] synchronised (no changes)
[ocamlformat-bench.dev] synchronised (no changes)
[ocamlformat-dev.dev] synchronised (no changes)
[ocamlformat-lib.dev] synchronised (no changes)
[ocamlformat-rpc-lib.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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:
    m4


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed


2024-04-17 12:42.20 ---> saved as "0c376e7458615cb9bc6bd777033c8ae8a8bfd7b5cf607d06710b98d31bb05749"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 cmdliner          1.2.0
  - install conf-m4           1
  - install jbuilder          1.0+beta20.1
  - install dune              3.14.0
  - install ocamlbuild        0.14.0
  - install conf-which        1
  - install ocamlfind         1.8.0
  - install stdlib-shims      0.1.0
  - install sexplib0          v0.12.0
  - install seq               0.2.2
  - install result            1.5
  - install ocaml-version     3.5.0
  - install menhirSdk         20201216
  - install menhirLib         20201216
  - install either            1.0.0
  - install dune-private-libs 2.3.0
  - install dune-build-info   1.11.0
  - install camlp-streams     5.0.1
  - install uchar             0.0.2
  - install topkg             1.0.3
  - install fix               20130611
  - install easy-format       1.0.1
  - install base-bytes        base
  - install re                1.10.3
  - install csexp             1.4.0
  - install menhir            20201216
  - install dune-configurator 2.3.0
  - install uutf              1.0.1
  - install fmt               0.9.0
  - install biniou            1.2.0
  - install uuidm             0.9.6
  - install ocp-indent        1.8.1
  - install cppo              1.6.1
  - install astring           0.8.2
  - install base              v0.12.2
  - install uucp              10.0.0
  - install bechamel          0.2.0
  - install yojson            1.6.0
  - install fpath             0.7.3
  - install alcotest          1.3.0
  - install stdio             v0.12.0
  - install uuseg             10.0.0
===== 42 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.12.2  (cached)
-> retrieved astring.0.8.2  (cached)
-> retrieved alcotest.1.3.0  (cached)
-> retrieved bechamel.0.2.0  (cached)
-> retrieved biniou.1.2.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved cppo.1.6.1  (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved csexp.1.4.0  (cached)
-> retrieved dune-build-info.1.11.0  (cached)
-> retrieved dune-configurator.2.3.0  (cached)
-> retrieved dune.3.14.0  (cached)
-> retrieved dune-private-libs.2.3.0  (cached)
-> retrieved easy-format.1.0.1  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fix.20130611  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved menhir.20201216  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved menhirLib.20201216  (cached)
-> retrieved menhirSdk.20201216  (cached)
-> retrieved ocaml-version.3.5.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ocp-indent.1.8.1  (cached)
-> retrieved re.1.10.3  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved stdio.v0.12.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved uuidm.0.9.6  (cached)
-> retrieved topkg.1.0.3  (cached)
-> retrieved uuseg.10.0.0  (cached)
-> retrieved uutf.1.0.1  (cached)
-> retrieved yojson.1.6.0  (cached)
-> retrieved uucp.10.0.0  (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed easy-format.1.0.1
-> installed ocamlbuild.0.14.0
-> installed fix.20130611
-> installed uchar.0.0.2
-> installed jbuilder.1.0+beta20.1
-> installed biniou.1.2.0
-> installed cppo.1.6.1
-> installed topkg.1.0.3
-> installed uuidm.0.9.6
-> installed uutf.1.0.1
-> installed fmt.0.9.0
-> installed astring.0.8.2
-> installed fpath.0.7.3
-> installed dune.3.14.0
-> installed camlp-streams.5.0.1
-> installed dune-build-info.1.11.0
-> installed either.1.0.0
-> installed result.1.5
-> installed ocaml-version.3.5.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed menhirSdk.20201216
-> installed sexplib0.v0.12.0
-> installed csexp.1.4.0
-> installed menhirLib.20201216
-> installed bechamel.0.2.0
-> installed re.1.10.3
-> installed ocp-indent.1.8.1
-> installed yojson.1.6.0
-> installed alcotest.1.3.0
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed menhir.20201216
-> installed base.v0.12.2
-> installed stdio.v0.12.0
-> installed uucp.10.0.0
-> installed uuseg.10.0.0
Done.


<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:


   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/4.08/share/emacs/site-lisp")
     (require 'ocp-indent)


   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/4.08/share/ocp-indent/vim"
# Run eval $(opam env) to update the current shell environment
2024-04-17 12:43.27 ---> saved as "aa73c7c1089a808fc2f70e06660306d912c2ce9b5b43277d4cb7c080225031d9"


/src: (copy (src .) (dst /src))
2024-04-17 12:43.27 ---> saved as "9892ad71a1bc149e3fbbcf80b8e848cf2e81c162f84dcd7c50fe9c991d3103dd"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/unit && ./test_unit.exe)
Testing `ocamlformat'.
This run has ID `4D8EAB31-6392-4045-84C9-2F51F1A93062'.


................................................................................
................................................................................
.........................................


2024-04-17 12:43.41 ---> saved as "b69e0cf0d740a533169597f098e052a1534bf31c6e240fc4feccba60706f7e57"
Job succeeded
2024-04-17 12:43.42: Job succeeded