Organisationspatricoferrisocaml-cid4f665c (main)ubuntu-22.04-4.14_opam-2.5

ubuntu-22.04-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-04-27 07:30.10: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (linux-x86_64:ubuntu-22.04-4.14_opam-2.5)
Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/ocaml-cid.git" -b "main" && cd "ocaml-cid" && git reset --hard 4f665cac
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
# ubuntu-22.04-4.14_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 499ef09e251055ba35c2e994b86c609886b37a53 || git fetch origin master) && git reset -q --hard 499ef09e251055ba35c2e994b86c609886b37a53 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cid.opam ./
RUN opam pin add -yn cid.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 camlp-streams.5.0.1 cmdliner.2.1.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.22.2 eqaf.0.10 fmt.0.11.0 logs.0.10.0 mdx.2.5.2 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 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 cid.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-04-27 07:30.10: Using cache hint "patricoferris/ocaml-cid-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a-ubuntu-22.04-4.14_opam-2.5-f6793729cfb15b086cc23750eea0d04f"
2026-04-27 07:30.10: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a)
(comment ubuntu-22.04-4.14_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 499ef09e251055ba35c2e994b86c609886b37a53 || git fetch origin master) && git reset -q --hard 499ef09e251055ba35c2e994b86c609886b37a53 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cid.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn cid.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 camlp-streams.5.0.1 cmdliner.2.1.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.22.2 eqaf.0.10 fmt.0.11.0 logs.0.10.0 mdx.2.5.2 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 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 cid.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-04-27 07:30.10: Waiting for resource in pool OCluster
2026-04-27 08:16.53: Waiting for worker…
2026-04-27 08:19.25: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 4f665ca Add changes


(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a' locally
docker.io/ocaml/opam@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a: Pulling from ocaml/opam
f63eb04151bc: Already exists
16ef32c2b922: Already exists
e5e797a8532e: Already exists
900d76492cd2: Already exists
b32fb13583c7: Already exists
cc067465d8d1: Already exists
6aa8f5351c31: Already exists
dd8552e5b43d: Already exists
43f4b9675c30: Already exists
4c7b0811a3d4: Already exists
631ea5d5606c: Already exists
feb2963643de: Already exists
4a7bd3298042: Already exists
869749c01379: Already exists
062faef17978: Already exists
3da7b1d53079: Already exists
5c55fc1c2e7f: Already exists
5c55fc1c2e7f: Already exists
4f4fb700ef54: Already exists
bc630b9f54d9: Already exists
d37f1552c2be: Already exists
93fddfb5d660: Already exists
4f4fb700ef54: Already exists
7e22d88b1f22: Already exists
471528d8c145: Already exists
ea05e57fd084: Already exists
158119cd57c7: Already exists
325db06da924: Already exists
168b1f896c3b: Already exists
2bfb76a16172: Already exists
0cf1ed22f117: Already exists
5ccb0f2d64b3: Already exists
5e94edcc9569: Already exists
00860f476adc: Already exists
94d81fb6e3f5: Already exists
0247515e7c33: Already exists
e05c2c8dbed5: Already exists
5e97b484e1fe: Already exists
3b7e8887fcc2: Already exists
15db2b9812bb: Already exists
610e48377a63: Already exists
117f8d44d4a3: Pulling fs layer
9eddb87ae6a8: Pulling fs layer
b38c24be2496: Pulling fs layer
4cffb5c2964b: Pulling fs layer
4cffb5c2964b: Waiting
9eddb87ae6a8: Verifying Checksum
9eddb87ae6a8: Download complete
b38c24be2496: Download complete
4cffb5c2964b: Verifying Checksum
4cffb5c2964b: Download complete
117f8d44d4a3: Verifying Checksum
117f8d44d4a3: Download complete
117f8d44d4a3: Pull complete
9eddb87ae6a8: Pull complete
b38c24be2496: Pull complete
4cffb5c2964b: Pull complete
Digest: sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
Status: Downloaded newer image for ocaml/opam@sha256:9978d28b1510425f9fa78e53f7123219de900b660f115242255dec9bdd416d1a
2026-04-27 08:26.42 ---> using "8f2b5d0a59cc03e6e84b710b80d10f3206c6bcf1d163b115e624435fb4299fd5" from cache


/: (comment ubuntu-22.04-4.14_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-04-27 08:26.42 ---> using "87fdcf2f2a15f69e2326fdefca603bf7e5009918339b39978c52d9140c3c5cd9" 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-04-27 08:26.42 ---> using "0780bb7df08dce901f0f1d0c7e2ed44e749fe768d09bfe42aa793c4b41ebc505" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.14.3
2.5.1
2026-04-27 08:26.42 ---> using "292a08f2d8ffaadcbe2e8aef0b4b29bd4676ba1d6895ab82a8f9fed1b58fe31a" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-27 08:26.42 ---> using "a03adddbad1c03d5ec72934682e5f46d67d262e0e097e2afa79c5c78dfcdb45a" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 499ef09e251055ba35c2e994b86c609886b37a53 || git fetch origin master) && git reset -q --hard 499ef09e251055ba35c2e994b86c609886b37a53 && git log --no-decorate -n1 --oneline && opam update -u"))
499ef09e25 Merge pull request #29791 from dbuenzli/b0-publish-bos.0.3.0


<><> 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.5.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)
2026-04-27 08:27.05 ---> saved as "1618db028d62b2bfd968c94b145aa29e1a48a316e4f1ed906b4f9f6dddd4c020"


/src: (copy (src cid.opam) (dst ./))
2026-04-27 08:27.06 ---> saved as "c11dcbbd06fa3efbda2863f8b86022dd5a6f49b6b2020f2e9ba7de29dec7faf6"


/src: (run (network host)
(shell "opam pin add -yn cid.dev './'"))
[cid.dev] synchronised (file:///src)
[WARNING] Failed checks on cid package definition from source at file:///src:
warning 68: Missing field 'license'
cid is now pinned to file:///src (version dev)
2026-04-27 08:27.10 ---> saved as "16a509da980d529ec89d601d69bbb31c14870af41b07f16e043aa598bce0401e"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-27 08:27.11 ---> saved as "c4de98d32e3a6d094c3b412a9410d5bd792dc5eb61e666e04a3895a86080cee8"


/src: (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.2 camlp-streams.5.0.1 cmdliner.2.1.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.22.2 eqaf.0.10 fmt.0.11.0 logs.0.10.0 mdx.2.5.2 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.14.3 ocaml-base-compiler.4.14.3 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.1.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 result.1.5 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 cid.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Fetched 384 kB in 1s (337 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cid.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-04-27 08:27.31 ---> saved as "0f00f07a50c80317d39a8ae694631a5e7ee06ceb66b5f14258df00a622558d41"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.3).
[NOTE] Package ocaml is already installed (current version is 4.14.3).
[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 28 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install base64             3.5.2
- install camlp-streams      5.0.1
- install cmdliner           2.1.1
- install cppo               1.8.0
- install csexp              1.5.2
- install cstruct            6.2.0
- install digestif           1.3.0
- install dune               3.22.2
- install eqaf               0.10
- install fmt                0.11.0
- install logs               0.10.0
- install mdx                2.5.2
- install multibase          0.1.0
- install multicodec         0.1.0
- install multihash          0.1.0
- install multihash-digestif 0.1.0
- install ocaml-syntax-shims 1.0.0
- install ocaml-version      4.1.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install optint             0.3.0
- install re                 1.14.0
- install result             1.5
- 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 camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.2.1.1  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved mdx.2.5.2  (cached)
-> retrieved multibase.0.1.0  (cached)
-> retrieved multicodec.0.1.0  (cached)
-> retrieved multihash.0.1.0, multihash-digestif.0.1.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.22.2  (cached)
-> installed cmdliner.2.1.1
-> 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 logs.0.10.0
-> installed dune.3.22.2
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.4.1.0
-> installed result.1.5
-> installed optint.0.3.0
-> installed cstruct.6.2.0
-> installed eqaf.0.10
-> installed multibase.0.1.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cppo.1.8.0
-> installed multicodec.0.1.0
-> installed re.1.14.0
-> installed digestif.1.3.0
-> installed multihash.0.1.0
-> installed multihash-digestif.0.1.0
-> installed alcotest.1.9.1
-> installed mdx.2.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-27 08:28.42 ---> saved as "b0085ba8a02fd536c7086d0dc3e949ca8bb5f4e133b8d767fefdf07428be8e59"


/src: (copy (src .) (dst /src))
2026-04-27 08:28.43 ---> saved as "cdf000e7d83afd59c5ce815b81d557788b813dc2d7de8a0481734f4f27ac220a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
Testing `CID'.
This run has ID `GVO76NJ2'.


[OK]          enc-dec          0   cid 0.
[OK]          enc-dec          1   cid 1.
[OK]          enc-dec          2   cid 2.
[OK]          enc-dec          3   cid 3.
[OK]          enc-dec          4   cid 4.


Full test results in `/src/_build/default/test/_build/_tests/CID'.
Test Successful in 0.001s. 5 tests run.
2026-04-27 08:28.51 ---> saved as "6a00cf66acac965c7ca05aff12073dd20001523fa3ba70198f3b69eb45c6a4c2"
Job succeeded
2026-04-27 08:28.51: Job succeeded