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

debian-12-4.09_opam-2.3

Logs

Show full logs
2025-06-17 18:24.19: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (linux-x86_64:debian-12-4.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc
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.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc
# debian-12-4.09_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.09.1 ocaml-base-compiler.4.09.1 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:24.19: Using cache hint "patricoferris/ocaml-cid-ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc-debian-12-4.09_opam-2.3-a83a78f0afad2019d9fffba065469e3d"
2025-06-17 18:24.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc)
 (comment debian-12-4.09_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.09.1 ocaml-base-compiler.4.09.1 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:24.19: Waiting for resource in pool OCluster
2025-06-17 18:53.05: Waiting for worker…
2025-06-17 18:55.54: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 4f665ca Add changes

(from ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.09@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc' locally
docker.io/ocaml/opam@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc: Pulling from ocaml/opam
381acbc6a853: Pulling fs layer
381acbc6a853: Verifying Checksum
381acbc6a853: Download complete
381acbc6a853: Pull complete
Digest: sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc
Status: Downloaded newer image for ocaml/opam@sha256:f2e27349e866f3801347be218cb27d52afbfcb265ee52c4f632e8df71f4ecbcc
2025-06-17 18:55.54 ---> using "65bf5e5b63b45a457f09b3b71180edd9befa7731f8d134e69e4a7ee71fccb317" from cache

/: (comment debian-12-4.09_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:55.54 ---> using "81f789ef4e0414f085e874f7c7ed6bd44b645cdc53004a1ae37a0cb5c7549a30" 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 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-17 18:55.54 ---> using "579288dc2057653d1c2a6f94206a3778983098f43b3c86cbab5a278d7c92c1bb" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-141-generic
The OCaml toplevel, version 4.09.1
2.3.0
2025-06-17 18:55.54 ---> using "1a2b6ac0c1ad553ab0b846bb0a8290d0599543af554a7624c51b1661475ed916" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-17 18:55.54 ---> using "34dff9d6655a1781fc3f2d0c2a6e9a1a43b562173ee2f243869b117042ab6652" from cache

/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:55.54 ---> using "cfb9b215b075acc451775832cbfe673a9d52a2f79d268a5cf71125b2a3823ad9" from cache

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

/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:55.55 ---> saved as "cd7677efc1ebbb411de0df971af4c58c6a91be57f667bccbed67d3b21740b9cc"

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

/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.09.1 ocaml-base-compiler.4.09.1 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 (885 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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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:56.06 ---> saved as "d1e781f82dff32dba374e9ffeca35e9820038a8ae38849649b91e74b36babefe"

/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.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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 digestif.1.3.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.19.1  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> 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 result.1.5
-> installed camlp-streams.5.0.1
-> installed ocaml-version.4.0.1
-> installed stdlib-shims.0.3.0
-> installed optint.0.3.0
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed eqaf.0.10
-> installed ocaml-syntax-shims.1.0.0
-> installed multibase.0.1.0
-> installed re.1.11.0
-> installed cppo.1.8.0
-> installed multicodec.0.1.0
-> installed digestif.1.3.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:56.38 ---> saved as "669c0c4edad5b28866cdc5703b808f40e5dc843046b9ffae39b32fabc193e9b6"

/src: (copy (src .) (dst /src))
2025-06-17 18:56.39 ---> saved as "2eb182863ec54c32560c0240b2e4e460a3064f541d185e23d9993d39aa9b9818"

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

  [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:56.40 ---> saved as "99498b8ed9833e255479e4232977e4cdd929a90a5f6dd27f92e123c58a99b5d2"
Job succeeded
2025-06-17 18:56.40: Job succeeded