Organisationsocaml-ppxocamlformate436e7 ()debian-13-4.10_opam-2.4

debian-13-4.10_opam-2.4

Link Copied
Code Copied

Logs

2025-12-15 14:45.08: New job: test ocaml-ppx/ocamlformat https://github.com/ocaml-ppx/ocamlformat.git#refs/pull/2745/head (e436e7b27a232fe45e54a447a005311433e776ef) (linux-x86_64:debian-13-4.10_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.10@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ocamlformat.git" && cd "ocamlformat" && git fetch origin "refs/pull/2745/head" && git reset --hard e436e7b2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.10@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e
# debian-13-4.10_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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


2025-12-15 14:45.08: Using cache hint "ocaml-ppx/ocamlformat-ocaml/opam:debian-13-ocaml-4.10@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e-debian-13-4.10_opam-2.4-ea4c503bd6ac78f480c28f683865f423"
2025-12-15 14:45.08: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.10@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e)
(comment debian-13-4.10_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && 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 './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.4 yojson.3.0.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.4 --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"))
)


2025-12-15 14:45.08: Waiting for resource in pool OCluster
2025-12-16 00:20.18: Waiting for worker…
2025-12-16 00:21.22: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at e436e7b2 promote margin


(from ocaml/opam:debian-13-ocaml-4.10@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.10@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e' locally
docker.io/ocaml/opam@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e: Pulling from ocaml/opam
2981f7e8980b: Already exists
9c63e1c4ba84: Already exists
02578b9c9f1b: Already exists
3801cb7ba5e6: Already exists
1c4cdedd39f1: Already exists
40f6006c5f5a: Already exists
c451a17216ec: Already exists
e4104b8f72ee: Already exists
7c7dbc5e7919: Already exists
aa82be714e7c: Already exists
922520f12384: Already exists
9bfea042cef8: Already exists
1244979f7c21: Already exists
7583a0e34f94: Already exists
14bef3f2665a: Already exists
3a4b42ce6cb5: Already exists
b0a08a900877: Already exists
b0a08a900877: Already exists
16ac87e68d60: Already exists
74ac6e8c9b82: Already exists
b41290a57dc5: Already exists
592e5bcb7159: Already exists
4f4fb700ef54: Already exists
1db0705661a3: Already exists
76bb8e35b9cc: Already exists
3bc9d98c3b49: Already exists
7096ef42e6c0: Already exists
cd0e70de8125: Already exists
23ffab57f98e: Already exists
b974353d8023: Already exists
c74fba566723: Already exists
5ad399846f45: Already exists
3e7203fa3980: Already exists
0b8915d2a92b: Already exists
e68c7a56c438: Already exists
9024d680a167: Already exists
3c7c73421b6e: Already exists
7134fa9b4278: Already exists
9d94fb523099: Already exists
20d06dbdae7e: Already exists
b9a45e537661: Already exists
939fed0ca2d5: Pulling fs layer
fe1bb9d45167: Pulling fs layer
369c80e42a9d: Pulling fs layer
c64ab67d17b5: Pulling fs layer
369c80e42a9d: Waiting
c64ab67d17b5: Waiting
fe1bb9d45167: Verifying Checksum
fe1bb9d45167: Download complete
369c80e42a9d: Verifying Checksum
369c80e42a9d: Download complete
c64ab67d17b5: Verifying Checksum
c64ab67d17b5: Download complete
939fed0ca2d5: Verifying Checksum
939fed0ca2d5: Download complete
939fed0ca2d5: Pull complete
fe1bb9d45167: Pull complete
369c80e42a9d: Pull complete
c64ab67d17b5: Pull complete
Digest: sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e
Status: Downloaded newer image for ocaml/opam@sha256:9ce25a22ff43de866f2001ffea588a1e9032db93d06887dcbe438b63f9584b2e
2025-12-16 00:50.06 ---> using "6cfcfb63be748d9b2c1f64c826f4391bcb0fbf149c57d6b6a489ef61a5e1e15d" from cache


/: (comment debian-13-4.10_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-16 00:50.06 ---> using "24e1cfdd8b15b8c046567b9e6f79fc1fb91e351704999fde16ce0bab5323f576" 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 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 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-16 00:50.06 ---> using "6308a120ed1bcfc29d2cd7e637be7a10e8ec10391116f309062dfc3d345ae855" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 4.10.2
2.4.1
2025-12-16 00:50.06 ---> using "0f9400815c6c4562fc38b1c2c852a4075898dc0e2705526c87afb7cecdab897d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-16 00:50.06 ---> using "683ca47635d07965f1cd869fdb78d4f4c52965409d85bcb53f00193abdbe278a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee48e882f0..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-16 00:50.06 ---> using "86d90bfb0b091d052c99124bc59fc700c461413be2d1d848c1d6c6319ae847a7" from cache


/src: (copy (src ocamlformat.opam ocamlformat-rpc-lib.opam ocamlformat-lib.opam ocamlformat-bench.opam)
(dst ./))
2025-12-16 00:50.06 ---> using "8547e16d33fd8433f60448dcb733ad3844926b9106b39f213a7eda72e099c319" 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)
[NOTE] Package ocamlformat-bench does not exist in opam repositories registered in the current switch.
[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)
2025-12-16 00:50.06 ---> using "6bf9a442454147747509fa685702b2a4573921015d2d68dabd88070248336f6c" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-16 00:50.06 ---> using "f751a36445704a9b02d54d22b4e259f6aaeb83774db589edfe43b5fa5c9781bf" from cache


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 camlp-streams.5.0.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-build-info.3.20.2 dune-configurator.3.20.2 either.1.0.0 fix.20250919 fmt.0.11.0 fpath.0.7.3 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocp-indent.1.9.0 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.1.1 uucp.15.0.0 uuseg.15.0.0 uutf.1.0.4 yojson.3.0.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.4 --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 trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB]
- Fetched 176 kB in 1s (199 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocamlformat.dev] synchronised (file:///src)
[ocamlformat-bench.dev] synchronised (file:///src)
[ocamlformat-lib.dev] synchronised (file:///src)
[ocamlformat-rpc-lib.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[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).
2025-12-16 00:50.06 ---> using "f34beafd57e040c7e442688acfd2cafb00c72f5aea2defbf10198530a069f30b" from cache


/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.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.2).
[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 33 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install base               v0.15.1
- install bechamel           0.5.0
- install camlp-streams      5.0.1
- install cmdliner           2.1.0
- install csexp              1.5.2
- install dune               3.20.2
- install dune-build-info    3.20.2
- install dune-configurator  3.20.2
- install either             1.0.0
- install fix                20250919
- install fmt                0.11.0
- install fpath              0.7.3
- install menhir             20250912
- install menhirCST          20250912
- install menhirLib          20250912
- install menhirSdk          20250912
- install ocaml-syntax-shims 1.0.0
- install ocaml-version      4.0.3
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocp-indent         1.9.0
- install re                 1.11.0
- install seq                base
- install sexplib0           v0.15.1
- install stdio              v0.15.0
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uucp               15.0.0
- install uuseg              15.0.0
- install uutf               1.0.4
- install yojson             3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.15.1  (cached)
-> retrieved bechamel.0.5.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> retrieved dune.3.20.2, dune-build-info.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved seq.base  (cached)
-> retrieved ocp-indent.1.9.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdio.v0.15.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uuseg.15.0.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed cmdliner.2.1.0
-> installed seq.base
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved uucp.15.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.20.2
-> installed bechamel.0.5.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed fix.20250919
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.3
-> installed ocp-indent.1.9.0
-> installed re.1.11.0
-> installed sexplib0.v0.15.1
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed alcotest.1.9.1
-> installed dune-build-info.3.20.2
-> installed dune-configurator.3.20.2
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed base.v0.15.1
-> installed stdio.v0.15.0
-> installed menhir.20250912
Done.


<><> ocp-indent.1.9.0 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.10/share/emacs/site-lisp")
(require 'ocp-indent)


* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/4.10/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2025-12-16 00:50.06 ---> using "62f06545b1f380bbab44404838d63c5bc28336c0f224030638039684cd328ce2" from cache


/src: (copy (src .) (dst /src))
2025-12-16 00:50.07 ---> saved as "ad01fb8add25580de2fbf86028dc508ed6ddafa9d2a14b93f3aa66af9b760a75"


/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 `RWDBCC5H'.


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


2025-12-16 00:50.17 ---> saved as "b96e63105e3cb12ba59a63de79be3e60342047ff7877e4da854bcd9844856c62"
Job succeeded
2025-12-16 00:50.17: Job succeeded