Organisationsdinosaureprettymebeaf7 (main)ubuntu-22.04-5.4_opam-2.5

ubuntu-22.04-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-01-16 13:58.35: New job: test dinosaure/prettym https://github.com/dinosaure/prettym.git#refs/heads/main (ebeaf7feb23775f0cad289b3bd0863d52f0baa47) (linux-x86_64:ubuntu-22.04-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/prettym.git" -b "main" && cd "prettym" && git reset --hard ebeaf7fe
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf
# ubuntu-22.04-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 prettym.opam ./
RUN opam pin add -yn prettym.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bstr.0.0.3 cmdliner.2.1.0 dune.3.21.0 fmt.0.11.0 jsonm.1.0.2 ke.0.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y prettym.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


2026-01-16 13:58.35: Using cache hint "dinosaure/prettym-ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf-ubuntu-22.04-5.4_opam-2.5-ecb2d8317e50902d63f460358e49ff9f"
2026-01-16 13:58.35: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf)
(comment ubuntu-22.04-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src prettym.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn prettym.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bstr.0.0.3 cmdliner.2.1.0 dune.3.21.0 fmt.0.11.0 jsonm.1.0.2 ke.0.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
(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.5 --depext-only -y prettym.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"))
)


2026-01-16 13:58.35: Waiting for resource in pool OCluster
2026-01-16 18:00.17: Waiting for worker…
2026-01-16 18:03.50: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at ebeaf7f Merge pull request #7 from dinosaure/prepare-v0.0.4


(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:d4a27ab95df84adf31c981e5685c02ea85ca52f32f7984c6c442c99dc13b2edf)
2026-01-16 18:03.50 ---> using "7a9f40bfd6eae0cbe23271c7b8d132ab75e85de213c7201e41623cbd6253ba55" from cache


/: (comment ubuntu-22.04-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-16 18:03.50 ---> using "b319cbce2e5705e4fb1f92cb4b1e300392daf9d5c0a365811116903b52ef003b" 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-16 18:03.50 ---> using "cbc98d5810fbee3548b36119d392c05238b7cc66ed66e48cd90cc2787f9d646c" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-16 18:03.50 ---> using "9288545b90511a0a602819257c8eb0739b9dea6623a0f0619c6a9dd8ef570a92" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-16 18:03.50 ---> using "69ca65ba44feda7c5f5d730d820704de55c243e0d7f002705bf5d264fa34fb9e" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a6b2f19780..92679ed614  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-16 18:03.50 ---> using "0bca0cf3b4b7bd54868b1b6dc6a97d6efafdec63801daf44c7690b4cdbc27a7d" from cache


/src: (copy (src prettym.opam) (dst ./))
2026-01-16 18:03.51 ---> saved as "4eb61b4c0e089d49952e0f1c99956adcaaf7af8e9b262dc352160859229e8d48"


/src: (run (network host)
(shell "opam pin add -yn prettym.dev './'"))
[prettym.dev] synchronised (file:///src)
prettym is now pinned to file:///src (version dev)
2026-01-16 18:03.56 ---> saved as "04c1de71d3455fcc7f56690b18c6cf3540182ad72e9cf5e311cc4ae4919f1a3c"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 18:03.56 ---> saved as "4c81e1a296ca9b10d3147c66500136b074438dbb4e8a9e60472d99aa17230abc"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.2 bstr.0.0.3 cmdliner.2.1.0 dune.3.21.0 fmt.0.11.0 jsonm.1.0.2 ke.0.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")


/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.5 --depext-only -y prettym.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3968 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1600 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3637 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1289 kB]
- Fetched 10.9 MB in 2s (5830 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[prettym.dev] synchronised (file:///src)


[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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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).
# To update the current shell environment, run: eval $(opam env)
2026-01-16 18:04.23 ---> saved as "ef0342ef01d76808465c485feddf4712d8f1a273b8050c8157d0c881327d5f3f"


/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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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 alcotest           1.9.1
- install astring            0.8.5
- install base64             3.5.2
- install bstr               0.0.3
- install cmdliner           2.1.0
- install dune               3.21.0
- install fmt                0.11.0
- install jsonm              1.0.2
- install ke                 0.6
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ptime              1.2.0
- install re                 1.14.0
- install stdlib-shims       0.3.0
- install topkg              1.1.1
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bstr.0.0.3  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.21.0  (cached)
-> installed cmdliner.2.1.0
-> 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 ptime.1.2.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed dune.3.21.0
-> installed base64.3.5.2
-> installed ke.0.6
-> installed bstr.0.0.3
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed alcotest.1.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-16 18:05.53 ---> saved as "7c95bf2900f05e5c623bc46fa992297cb9e4a45fa44a8f24c7beb1fb4455088f"


/src: (copy (src .) (dst /src))
2026-01-16 18:05.54 ---> saved as "677467c50a2dde088aa2361d8b46b481a0e2670f9c41ad75442f8cca2f0768fd"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe --color=always)
Random: [|63297; 3249; 16517; 49035; 53581; 45638; 25574; 14218; 12995;
45248; 20239; 7875; 8142; 25828; 11293; 25073|].
Testing `format'.
This run has ID `4Z6CP936'.


[OK]          json            0   [true].
[OK]          json            1   {"a":[true,false]}.
[OK]          json            2   [{"a":true,"b":false}].
[OK]          unroll          0   unroll.
[OK]          lift            0   lift.


Full test results in `/src/_build/default/test/_build/_tests/format'.
Test Successful in 0.004s. 5 tests run.
2026-01-16 18:05.56 ---> saved as "7771b18ebbd1747854a79ff9859f5812716cb397c2344737928f6761993863a5"
Job succeeded
2026-01-16 18:05.56: Job succeeded