Organisationspatricoferrisocaml-cid4f665c ()debian-12-4.14_opam-2.4

debian-12-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-10-10 20:14.09: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (linux-x86_64:debian-12-4.14_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d
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:debian-12-ocaml-4.14@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d
# debian-12-4.14_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 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && 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.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.20.2 eqaf.0.10 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 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.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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


2025-10-10 20:14.09: Using cache hint "patricoferris/ocaml-cid-ocaml/opam:debian-12-ocaml-4.14@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d-debian-12-4.14_opam-2.4-d026601623d4986f5340dd76f669d504"
2025-10-10 20:14.09: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d)
(comment debian-12-4.14_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 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && 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 (network host)
(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.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.20.2 eqaf.0.10 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 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.0 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.4 --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"))
)


2025-10-10 20:14.09: Waiting for resource in pool OCluster
2025-10-10 21:00.11: Waiting for worker…
2025-10-10 21:03.23: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 4f665ca Add changes


(from ocaml/opam:debian-12-ocaml-4.14@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d' locally
docker.io/ocaml/opam@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d: Pulling from ocaml/opam
6ea5ae785a1d: Pulling fs layer
c1c4216733b1: Pulling fs layer
b786a9e5ffb6: Pulling fs layer
3d7a1ccb445b: Pulling fs layer
f4e078ec562e: Pulling fs layer
b786a9e5ffb6: Waiting
3d7a1ccb445b: Waiting
f4e078ec562e: Waiting
6ea5ae785a1d: Verifying Checksum
6ea5ae785a1d: Download complete
c1c4216733b1: Verifying Checksum
c1c4216733b1: Download complete
b786a9e5ffb6: Download complete
3d7a1ccb445b: Verifying Checksum
3d7a1ccb445b: Download complete
f4e078ec562e: Verifying Checksum
f4e078ec562e: Download complete
6ea5ae785a1d: Pull complete
c1c4216733b1: Pull complete
b786a9e5ffb6: Pull complete
3d7a1ccb445b: Pull complete
f4e078ec562e: Pull complete
Digest: sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d
Status: Downloaded newer image for ocaml/opam@sha256:e774f94090eb5c6bf5c3230dfadf72cd8cb30e85db2a23258aab36cb3c3c1b1d
2025-10-10 21:03.24 ---> using "77c0cb2fa93f3dfefc5993a88b1e467cf913dd0e1cc5a90b6fc13fec8f2c5154" from cache


/: (comment debian-12-4.14_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-10-10 21:03.24 ---> using "c7bb5b5a861dc5978256acf5ad289ec934e28cbaf988dac2f9ab53f0b21de096" 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
2025-10-10 21:03.24 ---> using "bd3ac29d326d9692377ca923f3dd68a12c897f1e03e79006868fc6f0dd63132a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-10 21:03.24 ---> using "4cd8547faa2ed4b4984227359659c7d6e252d1d9aaa1b1c06f58e40025fa68b3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-10 21:03.24 ---> using "60d353b7fca9ea47eaecfc769772261eb59b90cb4257b10b5a99390a33e6f73e" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6fab318652edf2e934926c95dbe83c86f899f133 || git fetch origin master) && git reset -q --hard 6fab318652edf2e934926c95dbe83c86f899f133 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..4b164c25f6  master     -> origin/master
6fab318652 Merge pull request #28690 from mtelvers/opam-publish-ocaml-version.4.0.3


<><> 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.3.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-10-10 21:03.24 ---> using "52039f3d5c219b15b22f2a685e2418703a686d4ccd164d2b4e290b33a9ad7819" from cache


/src: (copy (src cid.opam) (dst ./))
2025-10-10 21:03.24 ---> saved as "f121c66e1f8b79437a696ea434da266e0c956dca5cd407ff628f0acb3b747502"


/src: (run (network host)
(shell "opam pin add -yn cid.dev './'"))
[cid.dev] synchronised (file:///src)
cid is now pinned to file:///src (version dev)
[WARNING] Failed checks on cid package definition from source at file:///src:
warning 68: Missing field 'license'
2025-10-10 21:03.27 ---> saved as "0f854ee8fde4fe899a5d7e30126a1b22ef6585cd66db39bbc545625adef1a20c"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-10 21:03.28 ---> saved as "3654ff5b3072ad3746412f243d6930b5d7564503bf133b8502d8ad53130cb30a"


/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.0.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.20.2 eqaf.0.10 fmt.0.11.0 logs.0.9.0 mdx.2.5.1 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 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.0 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.4 --depext-only -y cid.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 [281 kB]
- Fetched 384 kB in 1s (424 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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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-10-10 21:03.50 ---> saved as "40618884415a842e2e0087e85e81d021444a14f9f1e1f8e1a7f3d4d563f69838"


/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.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 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.0.0
- install cppo               1.8.0
- install csexp              1.5.2
- install cstruct            6.2.0
- install digestif           1.3.0
- install dune               3.20.2
- install eqaf               0.10
- install fmt                0.11.0
- install logs               0.9.0
- install mdx                2.5.1
- 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.0.3
- 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.0
- 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 csexp.1.5.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved mdx.2.5.1  (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.0.3  (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.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.9.0
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed base64.3.5.2
-> installed camlp-streams.5.0.1
-> installed result.1.5
-> installed optint.0.3.0
-> installed ocaml-version.4.0.3
-> installed stdlib-shims.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 re.1.14.0
-> installed digestif.1.3.0
-> installed multicodec.0.1.0
-> installed multihash.0.1.0
-> installed multihash-digestif.0.1.0
-> installed alcotest.1.9.1
-> installed mdx.2.5.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-10 21:05.45 ---> saved as "b47c86af9ae74d73b4566be223f01da663efc280b68dfd6b3bdcf4d024917530"


/src: (copy (src .) (dst /src))
2025-10-10 21:05.46 ---> saved as "59a9751f8bb994a9cccee9ce88086a821ea980483e0527ff4c798c20f3c57f3e"


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


[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.
2025-10-10 21:05.56 ---> saved as "c623b74c1f3c16a659142cae585b3d2dc5c6695671846d1e60e7629ec231564d"
Job succeeded
2025-10-10 21:05.57: Job succeeded