2024-10-01 14:14.10: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/heads/main (f8e16b3d70e5418db11a096108093d2a55012704) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" -b "main" && cd "ocamlformat" && git reset --hard f8e16b3d
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
# debian-12-4.08_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.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-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.2.8.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.2 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.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-10-01 14:14.10: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612-debian-12-4.08_opam-2.2-0e728fc46e0bf1e0bc06a2744a008add"
2024-10-01 14:14.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612)
(comment debian-12-4.08_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.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-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.2.8.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.2 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.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-10-01 14:14.10: Waiting for resource in pool OCluster
2024-10-01 16:15.37: Waiting for worker…
2024-10-01 16:17.29: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at f8e16b3d Allow custom commands for running ocamlformat (#2577)
(from ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612' locally
docker.io/ocaml/opam@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612: Pulling from ocaml/opam
5c3cccbf9bc6: Pulling fs layer
5c3cccbf9bc6: Verifying Checksum
5c3cccbf9bc6: Download complete
5c3cccbf9bc6: Pull complete
Digest: sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
Status: Downloaded newer image for ocaml/opam@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
2024-10-01 16:17.29 ---> using "8ac68bced7188653db7b81863dbdd05e2bdaccde05c724cc4b90798d2e42b237" from cache
/: (comment debian-12-4.08_opam-2.2)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-01 16:17.29 ---> using "68946da4107789f21e1b43a1fc10876ada8abd5ae5cb3a46df3ba7efc4a26ebc" from cache
/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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-01 16:17.29 ---> using "0fa87fa384c8382b8a3fdb2ca4fdbb17616e9027318b0968209ab2e40b8a37d2" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-10-01 16:17.29 ---> using "e80aa2ad87a5a9275a0410f836bb3790b9cb60ee03a9d88121517497b46d307a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-10-01 16:17.29 ---> using "971af2034814b6690f2f54ab0ca46316cd22d9aed5eb0bc7863e9b345f165523" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4795e0895b44aa27b6ee67583148aee756966a60 || git fetch origin master) && git reset -q --hard 4795e0895b44aa27b6ee67583148aee756966a60 && git log --no-decorate -n1 --oneline && opam update -u"))
4795e0895b Merge pull request #26339 from mtelvers/macos-m4
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
The following actions will be performed:
=== downgrade 1 package
- downgrade opam-depext 1.2.3 to 1.2.1-1 [no longer available]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.1-1 (cached)
-> removed opam-depext.1.2.3
-> installed opam-depext.1.2.1-1
Done.
<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-10-01 16:17.29 ---> using "7dbc603b12cee6d89748d471ed7797d319c9bc5ba016bccfe969e8f82cf840d9" from cache
/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
2024-10-01 16:17.29 ---> using "e20b7e1b62b31a9834cfe69c4999961d62c6afa90ef2bd0e689f3d88cac25220" from cache
/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-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-bench does not exist, create as a NEW package? [y/n] y
[ocamlformat-bench.dev] synchronised (file:///src)
[WARNING] Failed checks on ocamlformat-bench package definition from source at file:///src:
warning 68: Missing field 'license'
ocamlformat-bench is now pinned to file:///src (version dev)
2024-10-01 16:17.29 ---> using "36450cd263b5ff2f89493bb7d651dc60c868879773c7fa771017f04e6af2a24e" from cache
/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.2.8.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.2 --depext-only -y ocamlformat.dev ocamlformat-rpc-lib.dev ocamlformat-lib.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 [185 kB]
- Fetched 288 kB in 0s (859 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlformat.dev] synchronised (no changes)
[ocamlformat-bench.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
- Selecting previously unselected package m4.
- (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-10-01 16:17.33 ---> saved as "ef7a1b469d6a9247c2237ee1b42790a287248ef37d50993d60673cfd4542d7e9"
/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 42 packages
- install alcotest 1.3.0
- install astring 0.8.2
- install base v0.12.2
- install base-bytes base
- install bechamel 0.2.0
- install biniou 1.2.0
- install camlp-streams 5.0.1
- install cmdliner 1.2.0
- install conf-m4 1
- install conf-which 1
- install cppo 1.6.1
- install csexp 1.4.0
- install dune 2.8.0
- install dune-build-info 1.11.0
- install dune-configurator 2.3.0
- install dune-private-libs 2.3.0
- install easy-format 1.0.1
- install either 1.0.0
- install fix 20130611
- install fmt 0.9.0
- install fpath 0.7.3
- install jbuilder 1.0+beta20.1
- install menhir 20201216
- install menhirLib 20201216
- install menhirSdk 20201216
- install ocaml-version 3.5.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install ocp-indent 1.8.1
- install re 1.10.3
- install result 1.5
- install seq 0.2.2
- install sexplib0 v0.12.0
- install stdio v0.12.0
- install stdlib-shims 0.1.0
- install topkg 1.0.3
- install uchar 0.0.2
- install uucp 10.0.0
- install uuidm 0.9.6
- install uuseg 10.0.0
- install uutf 1.0.1
- install yojson 1.6.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.2 (cached)
-> retrieved base.v0.12.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 cppo.1.6.1 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved csexp.1.4.0 (cached)
-> retrieved dune.2.8.0 (cached)
-> retrieved dune-build-info.1.11.0 (cached)
-> retrieved dune-configurator.2.3.0, 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 ocaml-version.3.5.0 (cached)
-> installed cmdliner.1.2.0
-> retrieved menhir.20201216, menhirLib.20201216, menhirSdk.20201216 (cached)
-> retrieved jbuilder.1.0+beta20.1 (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 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 dune.2.8.0
-> installed topkg.1.0.3
-> installed camlp-streams.5.0.1
-> installed dune-build-info.1.11.0
-> installed either.1.0.0
-> installed ocaml-version.3.5.0
-> installed stdlib-shims.0.1.0
-> installed result.1.5
-> installed menhirSdk.20201216
-> installed seq.0.2.2
-> installed sexplib0.v0.12.0
-> installed menhirLib.20201216
-> installed csexp.1.4.0
-> installed uuidm.0.9.6
-> installed uutf.1.0.1
-> installed ocp-indent.1.8.1
-> installed re.1.10.3
-> installed fmt.0.9.0
-> installed yojson.1.6.0
-> installed astring.0.8.2
-> installed bechamel.0.2.0
-> installed fpath.0.7.3
-> 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-10-01 16:18.17 ---> saved as "9fe7c5cf339d107886f381a0979599eeff6ba6fb292558e478165f3dbf1444e9"
/src: (copy (src .) (dst /src))
2024-10-01 16:18.18 ---> saved as "7ea6e90409da3352cfd026987bcc9209cacb8da076ab357467e61cc08490776f"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/biniou/biniou.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
test_unit alias test/unit/runtest
Testing `ocamlformat'.
This run has ID `62048132-475B-4687-A1C6-570652DC593B'.
................................................................................
................................................................................
.........................................
2024-10-01 16:18.28 ---> saved as "6c21f6b01ca92a18cc545bfbc9eea3ae2e04da2028ca8e5a4d38e9bf9e97659a"
Job succeeded
2024-10-01 16:18.29: Job succeeded