2025-06-17 18:23.38: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (linux-x86_64:debian-12-4.10_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
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.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
# debian-12-4.10_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.10.2 ocaml-base-compiler.4.10.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.38: Using cache hint "patricoferris/ocaml-cid-ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17-debian-12-4.10_opam-2.3-3ecf3da8c4f433f1a36c2474b0f60c4e"
2025-06-17 18:23.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17)
(comment debian-12-4.10_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.10.2 ocaml-base-compiler.4.10.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.38: Waiting for resource in pool OCluster
2025-06-17 18:23.46: Waiting for worker…
2025-06-17 18:23.46: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialised empty Git repository in /var/cache/obuilder/ocluster/git/ocaml-cid.git-7f775fab0ac8208cdfdfde4437f8b2ce363d7006/.git/
HEAD is now at 4f665ca Add changes
(from ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.10@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17' locally
docker.io/ocaml/opam@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17: Pulling from ocaml/opam
78ad157e30a7: Already exists
ed319ee133bb: Pulling fs layer
c53d15f95ae6: Pulling fs layer
04ed5cf53e4f: Pulling fs layer
6cbcbda74859: Pulling fs layer
6cbcbda74859: Waiting
04ed5cf53e4f: Waiting
c53d15f95ae6: Verifying Checksum
c53d15f95ae6: Download complete
04ed5cf53e4f: Verifying Checksum
04ed5cf53e4f: Download complete
6cbcbda74859: Verifying Checksum
6cbcbda74859: Download complete
ed319ee133bb: Verifying Checksum
ed319ee133bb: Download complete
ed319ee133bb: Pull complete
c53d15f95ae6: Pull complete
04ed5cf53e4f: Pull complete
6cbcbda74859: Pull complete
Digest: sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
Status: Downloaded newer image for ocaml/opam@sha256:60383aa792249efa81135d3a58739208ebb9d102acd693c0e52a0bbd52357b17
2025-06-17 18:24.27 ---> saved as "fac8329b29b16afaaebf81a27278ea871f6e7aaade2528ea8d095e17087bbfcd"
/: (comment debian-12-4.10_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:24.27 ---> saved as "1e01f9ade7f10db15327e3737256b9ae629aa9538672f93c595bcd2c5606d0c6"
/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:24.58 ---> saved as "a0e269b537a97ecd8c2d2bf578729b689696de91cbc38f0993f93a7c478c38a6"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-141-generic
The OCaml toplevel, version 4.10.2
2.3.0
2025-06-17 18:24.58 ---> saved as "828a66ec583e2e13910e53b4178889f6a883a12922d1b6d95aa7dddcd82bc24d"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 18:24.58 ---> saved as "01cad0dc64648a2b4a536280a8d3a8c57aec8a090e05ddb10c82aada066d516a"
/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:25.20 ---> saved as "9341888c6109efd564397ccd29aaebbe1f4346786635957bd73dd7a2b4554488"
/src: (copy (src cid.opam) (dst ./))
2025-06-17 18:25.20 ---> saved as "9916cd5a98d399587802ba4c143d3b37c289497b72ab3f9279a1565ba94e0b78"
/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:25.22 ---> saved as "31d53cabde5255f42411d1f17ffe0a28053c1580c6adc787d8dd68270e3a9184"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 18:25.23 ---> saved as "80f470871c2d01779140ead2d0d8b708e2339af33c871f5c55dd0b4131087fd1"
/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.10.2 ocaml-base-compiler.4.10.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 (1090 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.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-06-17 18:25.38 ---> saved as "2eba71c87630e0f19583f876c48be2716cc38b140aac91461702ef736f07f666"
/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 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 cmdliner.1.3.0 (cached)
-> retrieved alcotest.1.9.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 (https://opam.ocaml.org/cache)
-> retrieved multicodec.0.1.0 (https://opam.ocaml.org/cache)
-> retrieved digestif.1.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved multihash.0.1.0, multihash-digestif.0.1.0 (https://opam.ocaml.org/cache)
-> retrieved seq.base (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.8 (cached)
-> 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 csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed ocaml-version.4.0.1
-> installed result.1.5
-> installed optint.0.3.0
-> installed stdlib-shims.0.3.0
-> installed base64.3.5.1
-> 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.11.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:27.30 ---> saved as "0862763c647a0ee9667a40076b292843bccdecae36856e8046c8889fcf8253de"
/src: (copy (src .) (dst /src))
2025-06-17 18:27.30 ---> saved as "67cc2d3bbadbc84b4d3a68a9884909564cae4cc790de88b02072520a98556b21"
/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 `133TZMQT'.
[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-06-17 18:27.41 ---> saved as "bd3200e82782a4f76805840aa8432f6ce20fdb3857d8bafb85b8ef8191f7e6f1"
Job succeeded
2025-06-17 18:27.53: Job succeeded