2025-06-19 20:41.10: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/heads/master (c09b015b7c4cbc0ffa2b1008b7dc148a4c88b2b4) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/opam-compiler.git" -b "master" && cd "opam-compiler" && git reset --hard c09b015b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e
# debian-12-4.08_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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 opam-compiler.opam ./
RUN opam pin add -yn opam-compiler.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.5.0 astring.0.8.3 atd.2.0.0 atdgen.2.0.0 atdgen-runtime.2.0.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 bos.0.1.4 cmdliner.1.3.0 conf-m4.1 conf-which.1 cppo.1.6.1 curly.0.2.0 dune.2.9.3 easy-format.1.0.1 either.1.0.0 fmt.0.8.8 fpath.0.7.1 github-data.4.4.0 jbuilder.1.0+beta20.1 logs.0.7.0 menhir.20160303 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 rresult.0.6.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3 yojson.1.7.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y opam-compiler.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-19 20:41.10: Using cache hint "ocaml-opam/opam-compiler-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-a594c11c6472443e3326535b18f7d65d"
2025-06-19 20:41.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
(comment debian-12-4.08_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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src opam-compiler.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn opam-compiler.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.5.0 astring.0.8.3 atd.2.0.0 atdgen.2.0.0 atdgen-runtime.2.0.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 bos.0.1.4 cmdliner.1.3.0 conf-m4.1 conf-which.1 cppo.1.6.1 curly.0.2.0 dune.2.9.3 easy-format.1.0.1 either.1.0.0 fmt.0.8.8 fpath.0.7.1 github-data.4.4.0 jbuilder.1.0+beta20.1 logs.0.7.0 menhir.20160303 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 rresult.0.6.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3 yojson.1.7.0")
(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 opam-compiler.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-19 20:41.10: Waiting for resource in pool OCluster
2025-06-19 20:47.03: Waiting for worker…
2025-06-19 20:48.59: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at c09b015 Prepare 0.2.0
(from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e)
2025-06-19 20:48.59 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" from cache
/: (comment debian-12-4.08_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-19 20:48.59 ---> using "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-19 20:48.59 ---> using "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.08.1
2.3.0
2025-06-19 20:48.59 ---> using "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-19 20:48.59 ---> using "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u"))
0e1a25ffde Merge pull request #27956 from Leonidas-from-XIV/release-yojson-3.0.0
<><> 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-19 20:49.32 ---> saved as "ce2ae2c751975ed7618cc560bc0b6a97c325ce4635b2d60cd7f1bb4f7ffae37e"
/src: (copy (src opam-compiler.opam) (dst ./))
2025-06-19 20:49.33 ---> saved as "4f763fee4d97522c660d16250eb2e26981d31f79394ac77e3f3c29ab181cfdbf"
/src: (run (network host)
(shell "opam pin add -yn opam-compiler.dev './'"))
[opam-compiler.dev] synchronised (file:///src)
opam-compiler is now pinned to file:///src (version dev)
2025-06-19 20:49.35 ---> saved as "f4a5cc3c4f865b0177ec8faa36a7e0d59b6fdbd26d57d3a9add33ad55e3e85cc"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-19 20:49.35 ---> saved as "d9760cadc5917c69c9e3cd9ec4b36d135c4e23125696210f2068be0ecd29c241"
/src: (env DEPS "alcotest.1.5.0 astring.0.8.3 atd.2.0.0 atdgen.2.0.0 atdgen-runtime.2.0.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 bos.0.1.4 cmdliner.1.3.0 conf-m4.1 conf-which.1 cppo.1.6.1 curly.0.2.0 dune.2.9.3 easy-format.1.0.1 either.1.0.0 fmt.0.8.8 fpath.0.7.1 github-data.4.4.0 jbuilder.1.0+beta20.1 logs.0.7.0 menhir.20160303 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.5.0 ocamlbuild.0.14.0 ocamlfind.1.8.0 re.1.7.2 result.1.5 rresult.0.6.0 seq.0.3 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3 yojson.1.7.0")
/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 opam-compiler.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 [267 kB]
- Fetched 370 kB in 0s (1087 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-compiler.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package m4.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18747 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2025-06-19 20:50.04 ---> saved as "5f794771a7fb68a27b4ca6b058affdc000f3854650e4c86368bdf4640157c6f4"
/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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 34 packages
- install alcotest 1.5.0
- install astring 0.8.3
- install atd 2.0.0
- install atdgen 2.0.0
- install atdgen-runtime 2.0.0
- install base-bytes base
- install biniou 1.2.0
- install bos 0.1.4
- install cmdliner 1.3.0
- install conf-m4 1
- install conf-which 1
- install cppo 1.6.1
- install curly 0.2.0
- install dune 2.9.3
- install easy-format 1.0.1
- install either 1.0.0
- install fmt 0.8.8
- install fpath 0.7.1
- install github-data 4.4.0
- install jbuilder 1.0+beta20.1 (deprecated)
- install logs 0.7.0
- install menhir 20160303
- install ocaml-syntax-shims 1.0.0
- install ocaml-version 3.5.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install re 1.7.2
- install result 1.5
- install rresult 0.6.0
- install seq 0.3
- install stdlib-shims 0.1.0
- install topkg 1.0.8
- install uutf 1.0.3
- install yojson 1.7.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.5.0 (cached)
-> retrieved astring.0.8.3 (cached)
-> retrieved biniou.1.2.0 (cached)
-> retrieved atd.2.0.0, atdgen.2.0.0, atdgen-runtime.2.0.0 (cached)
-> retrieved bos.0.1.4 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> installed conf-which.1
-> retrieved curly.0.2.0 (cached)
-> retrieved easy-format.1.0.1 (cached)
-> retrieved either.1.0.0 (cached)
-> retrieved fmt.0.8.8 (cached)
-> retrieved fpath.0.7.1 (cached)
-> retrieved github-data.4.4.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved menhir.20160303 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.9.3 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml-version.3.5.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved re.1.7.2 (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.6.0 (cached)
-> retrieved seq.0.3 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved uutf.1.0.3 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved yojson.1.7.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed easy-format.1.0.1
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed biniou.1.2.0
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed dune.2.9.3
-> installed topkg.1.0.8
-> installed result.1.5
-> installed ocaml-version.3.5.0
-> installed either.1.0.0
-> installed seq.0.3
-> installed stdlib-shims.0.1.0
-> installed curly.0.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed rresult.0.6.0
-> installed uutf.1.0.3
-> installed fmt.0.8.8
-> installed astring.0.8.3
-> installed yojson.1.7.0
-> installed atdgen-runtime.2.0.0
-> installed fpath.0.7.1
-> installed alcotest.1.5.0
-> installed logs.0.7.0
-> installed bos.0.1.4
-> installed menhir.20160303
-> installed atd.2.0.0
-> installed atdgen.2.0.0
-> installed github-data.4.4.0
Done.
<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-06-19 20:52.08 ---> saved as "bb3ac6a33f5f30b2e5860a25ce1830b13fcb4c7edef41e7a27c913d7625bd724"
/src: (copy (src .) (dst /src))
2025-06-19 20:52.08 ---> saved as "3976475f9c0aac48516a17b53bf368ccadcd6ca91a42424d483b6f4a1050e481"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/biniou/biniou.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/atdgen/atdgen.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/atdgen-runtime/atdgen-runtime.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/re.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/emacs/re.emacs.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/glob/re.glob.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/pcre/re.pcre.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/perl/re.perl.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/posix/re.posix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/re/str/re.str.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
test alias test/unit/runtest
Testing `opam-compiler'.
This run has ID `EOL6UKAL'.
......................
2025-06-19 20:52.11 ---> saved as "6a27a3f53bf80a860f758f827ef98c68003b0f11f664edfa28bbc376e5d1b9da"
Job succeeded
2025-06-19 20:52.11: Job succeeded