2025-07-04 15:12.05: New job: test patricoferris/ocaml-cid https://github.com/patricoferris/ocaml-cid.git#refs/heads/main (4f665cacb56e73462b690dcc793f1c6ec173c7b5) (linux-x86_64:debian-12-5.4~alpha1_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77
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-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77
# debian-12-5.4~alpha1_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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-config.3 ocaml-options-vanilla.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.13.2 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-07-04 15:12.05: Using cache hint "patricoferris/ocaml-cid-ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77-debian-12-5.4~alpha1_opam-2.3-b182e2edf0ba3293e90e67c5a83799b1"
2025-07-04 15:12.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77)
(comment debian-12-5.4~alpha1_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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && 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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-config.3 ocaml-options-vanilla.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.13.2 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-07-04 15:12.05: Waiting for resource in pool OCluster
2025-07-04 15:38.21: Waiting for worker…
2025-07-04 15:40.27: Got resource from pool OCluster
Building on asteria.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>
Initialized 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-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77)
2025-07-04 15:40.29 ---> using "7eeff0a897ba573e3887788a60a6c56290cc2b688e3dd8849ad000225167be2f" from cache
/: (comment debian-12-5.4~alpha1_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-07-04 15:40.29 ---> using "f362fb86509f313e940fd46f809dea011c9e12de45cd732e10c9cb6f1e69dd99" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "beta": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/ocaml-beta-repository/': Could not resolve host: github.com"
[default] Initialised
2025-07-04 15:40.29 ---> using "83f26b8a182ca93e937604f79038f21c2d078c7be693bf219f6439df39ed5bb6" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 5.4.0~alpha1
2.3.0
2025-07-04 15:40.29 ---> using "4e6c1dbc65dc1f5ee77c6e77d9b87ac2d2372a2909f20b7eebc1b4323415fab2" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-04 15:40.29 ---> using "cc1fd244bac21da976d3e244ee9414006eca70002afed797b133c13a5cb211ca" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
2ca36230be..ee56c84f60 master -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[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-07-04 15:40.29 ---> using "eecdcfd06d752b2a6e582f47cb462415e223b50d25ee23829c8cd0f451b04371" from cache
/src: (copy (src cid.opam) (dst ./))
2025-07-04 15:40.29 ---> saved as "81713aec7259beed130b78561db0cca3350ae2b8d4450437828d25fe89e363a1"
/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-07-04 15:40.30 ---> saved as "fb543e7dbd71d7f9c86ac97e15d23d0a95fa6f11cd02b72fbf2c9e0783b122c8"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-04 15:40.31 ---> saved as "a5f5d6f407bf07612168fe508aab04c4c4c5271475e3ee795007c3f39552dc26"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 ocaml-config.3 ocaml-options-vanilla.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.13.2 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 [271 kB]
- Fetched 374 kB in 0s (818 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-07-04 15:40.40 ---> saved as "239634943c2052c939ce0bb832783f6eac6e20ac1c7c9721015ae90a70ea580f"
/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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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.13.2
- 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 (https://opam.ocaml.org/cache)
-> retrieved multicodec.0.1.0 (cached)
-> retrieved digestif.1.3.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.4.0.1 (cached)
-> retrieved multihash.0.1.0, multihash-digestif.0.1.0 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved optint.0.3.0 (cached)
-> retrieved dune.3.19.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.13.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (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 csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed ocaml-version.4.0.1
-> installed result.1.5
-> installed camlp-streams.5.0.1
-> installed optint.0.3.0
-> installed cstruct.6.2.0
-> installed base64.3.5.1
-> installed eqaf.0.10
-> installed multibase.0.1.0
-> installed re.1.13.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.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
[ERROR] The compilation of mdx.2.5.0 failed at "dune build -p mdx -j 255 @install".
#=== ERROR while compiling mdx.2.5.0 ==========================================#
# context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.4.0~alpha1 | git+file:///home/opam/opam-repository
# path ~/.opam/5.4~alpha1/.opam-switch/build/mdx.2.5.0
# command ~/.opam/5.4~alpha1/bin/dune build -p mdx -j 255 @install
# exit-code 1
# env-file ~/.opam/log/mdx-1-310dee.env
# output-file ~/.opam/log/mdx-1-310dee.out
### output ###
# (cd _build/default && /home/opam/.opam/5.4~alpha1/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/top/.mdx_top.objs/byte -I /home/opam/.opam/5.4~alpha1/lib/astring -I /home/opam/.opam/5.4~alpha1/lib/camlp-streams -I /home/opam/.opam/5.4~alpha1/lib/csexp -I /home/opam/.opam/5.4~alpha1/lib/findlib -I /home/opam/.opam/5.4~alpha1/lib/fmt -I /home/opam/.opam/5.4~alpha1/lib/logs -I /home/opam/.opam/5.4~alpha1/lib/ocaml-version -I /home/opam/.opam/5.4~alpha1/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4~alpha1/lib/ocaml/str -I /home/opam/.opam/5.4~alpha1/lib/ocaml/threads -I /home/opam/.opam/5.4~alpha1/lib/ocaml/unix -I /home/opam/.opam/5.4~alpha1/lib/re -I /home/opam/.opam/5.4~alpha1/lib/result -I /home/opam/.opam/5.4~alpha1/lib/seq -I lib/.mdx.objs/byte -I vendor/odoc-parser/src/.odoc_parser.objs/byte -no-alias-deps -open Mdx_top__ -o lib/top/.mdx_top.objs/byte/mdx_top__Compat_top.cmi -c -intf lib/top/compat_top.pp.mli)
# File "lib/top/compat_top.mli", line 11, characters 40-69:
# Error: Unbound type constructor Types.constructor_description
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mdx 2.5.0
+-
+- The following changes have been performed
| - 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 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.13.2
| - install result 1.5
| - install seq base
| - install stdlib-shims 0.3.0
| - install topkg 1.0.8
| - install uutf 1.0.4
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.4~alpha1/.opam-switch/backup/state-20250704154041.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2025-07-04 15:41.21: Job failed: Failed: Build failed