Organisationspatricoferrisocaml-cid4f665c (main)debian-12-4.11_opam-2.3

debian-12-4.11_opam-2.3

Link Copied
Code Copied

Logs

2025-06-17 18:23.50: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (linux-x86_64:debian-12-4.11_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
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.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
# debian-12-4.11_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.19.1 eqaf.0.10 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-06-17 18:23.50: Using cache hint "patricoferris/ocaml-cid-ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4-debian-12-4.11_opam-2.3-f81af3ea8dda63900ecacfa16ba50dfd"
2025-06-17 18:23.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4)
(comment debian-12-4.11_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.19.1 eqaf.0.10 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.8 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.3 --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-06-17 18:23.50: Waiting for resource in pool OCluster
2025-06-17 18:26.09: Waiting for worker…
2025-06-17 18:27.50: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 4f665ca Add changes


(from ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.11@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4' locally
docker.io/ocaml/opam@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4: Pulling from ocaml/opam
78ad157e30a7: Already exists
769a3370bb59: Pulling fs layer
fb6b773a0ec1: Pulling fs layer
002f66d5ffef: Pulling fs layer
6250e543dcf0: Pulling fs layer
6250e543dcf0: Waiting
fb6b773a0ec1: Verifying Checksum
fb6b773a0ec1: Download complete
002f66d5ffef: Verifying Checksum
002f66d5ffef: Download complete
6250e543dcf0: Verifying Checksum
6250e543dcf0: Download complete
769a3370bb59: Verifying Checksum
769a3370bb59: Download complete
769a3370bb59: Pull complete
fb6b773a0ec1: Pull complete
002f66d5ffef: Pull complete
6250e543dcf0: Pull complete
Digest: sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
Status: Downloaded newer image for ocaml/opam@sha256:2dce75e675e23fd22a5db2cc9e93722dcd2627af3c514980c29ea1ca457ce0d4
2025-06-17 18:28.02 ---> saved as "e6c058c747c2299c436bd88f68a27d5eb7648c2beb994ce56ec1e23a7fa3344f"


/: (comment debian-12-4.11_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-17 18:28.02 ---> saved as "f9e56d7c98fc281dfa36178e471c2c2fe7faa703b56b0c725fddfa7ffe2a90e3"


/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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-17 18:28.53 ---> saved as "db457c39dea794696525089a7e414c9d0f740c1cc332859594c0fbf073f6028a"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-141-generic
The OCaml toplevel, version 4.11.2
2.3.0
2025-06-17 18:28.53 ---> saved as "82a727c63447dacebb33da98a89c439a755b0421b9c2e18520c1ade9fc4757bb"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-17 18:28.53 ---> saved as "22f54e858b19279035672d57e8e6438034ca4a55bb9ad8d10e46753f9c4229d4"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1


<><> 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, 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-06-17 18:29.24 ---> saved as "0597c45b6e16862f3a70e92d13a3b0f0d5790b85c28b1f61c3d3b2f6367feb2e"


/src: (copy (src cid.opam) (dst ./))
2025-06-17 18:29.24 ---> saved as "ca7374a9b8283602893b8cd48565251f925b39b3005f031371bf3a4fa582c4a7"


/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)
2025-06-17 18:29.27 ---> saved as "7ae38d2c965fc66f640fc0c1f13c60fd8a8822efb39c7307f77d07151bc17165"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 18:29.27 ---> saved as "41b65c96cc825b545ef321561a751e494d11a1f00f33b3f095eea289d390a9f8"


/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 digestif.1.3.0 dune.3.19.1 eqaf.0.10 fmt.0.10.0 logs.0.8.0 mdx.2.5.0 multibase.0.1.0 multicodec.0.1.0 multihash.0.1.0 multihash-digestif.0.1.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.11.0 result.1.5 seq.base stdlib-shims.0.3.0 topkg.1.0.8 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.3 --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 [263 kB]
- Fetched 366 kB in 0s (1003 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cid.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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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-06-17 18:29.48 ---> saved as "4ce4b7eccd8a11010b8d1c2268332a18ea0930bbca184161c4837d98de640b5c"


/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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 29 packages
- install alcotest           1.9.0
- install astring            0.8.5
- install base64             3.5.1
- install camlp-streams      5.0.1
- install cmdliner           1.3.0
- install cppo               1.8.0
- install csexp              1.5.2
- install cstruct            6.2.0
- install digestif           1.3.0
- install dune               3.19.1
- install eqaf               0.10
- install fmt                0.10.0
- install logs               0.8.0
- install mdx                2.5.0
- 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.1
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install optint             0.3.0
- install re                 1.11.0
- install result             1.5
- install seq                base
- install stdlib-shims       0.3.0
- install topkg              1.0.8
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved mdx.2.5.0  (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.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed logs.0.8.0
-> installed dune.3.19.1
-> installed result.1.5
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed camlp-streams.5.0.1
-> installed optint.0.3.0
-> installed ocaml-version.4.0.1
-> installed base64.3.5.1
-> installed eqaf.0.10
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed multibase.0.1.0
-> installed re.1.11.0
-> installed cppo.1.8.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.0
-> installed mdx.2.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 18:32.10 ---> saved as "99ed9cce8ca5240b78e5c0855859941a8e5bcee0bb1598a21e39ac055650b1c5"


/src: (copy (src .) (dst /src))
2025-06-17 18:32.10 ---> saved as "09a772088ae3c10378a28f1e48c19f875eac22a6caba3c634ef70be9dda39ba2"


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


[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.002s. 5 tests run.
2025-06-17 18:32.22 ---> saved as "59103952a487186e44a00183de67ccd38f1bbf95d592954ff01670c1466cb3ae"
Job succeeded
2025-06-17 18:32.22: Job succeeded