Organisationsmiragespamtacus2d10c6 (main)debian-12-4.12_opam-2.3

debian-12-4.12_opam-2.3

Link Copied
Code Copied

Logs

2025-06-17 18:24.13: New job: test mirage/spamtacus https://github.com/mirage/spamtacus.git#refs/heads/main (2d10c6f114e63621bb26999fefd7881f3e673bad) (linux-x86_64:debian-12-4.12_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/spamtacus.git" -b "main" && cd "spamtacus" && git reset --hard 2d10c6f1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74
# debian-12-4.12_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 spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam ./
RUN opam pin add -yn spamtacus.dev './' && \
opam pin add -yn spamtacus-mirage.dev './' && \
opam pin add -yn spamtacus-bayesian.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 fmt.0.10.0 fpath.0.7.3 ipaddr.5.6.0 ke.0.6 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mrmime.0.7.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.2.0 re.1.12.0 rosetta.0.3.0 rresult.0.7.0 seq.base topkg.1.0.8 unstrctrd.0.4 uutf.1.0.4 uuuu.0.3.0 yuscii.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.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.13: Using cache hint "mirage/spamtacus-ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74-debian-12-4.12_opam-2.3-5ba474ea8c7c28c1bd743ebb83fc7c0b"
2025-06-17 18:24.13: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74)
(comment debian-12-4.12_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 spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn spamtacus.dev './' && \
\nopam pin add -yn spamtacus-mirage.dev './' && \
\nopam pin add -yn spamtacus-bayesian.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 fmt.0.10.0 fpath.0.7.3 ipaddr.5.6.0 ke.0.6 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mrmime.0.7.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.2.0 re.1.12.0 rosetta.0.3.0 rresult.0.7.0 seq.base topkg.1.0.8 unstrctrd.0.4 uutf.1.0.4 uuuu.0.3.0 yuscii.0.3.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 spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.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.13: Waiting for resource in pool OCluster
2025-06-17 18:45.52: Waiting for worker…
2025-06-17 18:48.20: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 2d10c6f Merge pull request #12 from mirage/lint


(from ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.12@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74' locally
docker.io/ocaml/opam@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74: Pulling from ocaml/opam
63656250e9b5: Pulling fs layer
63656250e9b5: Verifying Checksum
63656250e9b5: Download complete
63656250e9b5: Pull complete
Digest: sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74
Status: Downloaded newer image for ocaml/opam@sha256:6ce65c127e4fc5158565b6acdd96d1940a5d2466050576ea42ee9455b0ce7c74
2025-06-17 18:48.21 ---> using "1da314489d8a1aa96dc3f82d3e21db390b8f77f7e412f4ac849ce7c521e73be9" from cache


/: (comment debian-12-4.12_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:48.21 ---> using "c358228b0cab7212e2b56cd6aea347fd122150aa0fa20072b2ba5085d0175e41" 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:48.21 ---> using "24db23dd17d764d3315fb05ad6ba9eb5195a4906df98cb785d87d0374ca8a675" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-17 18:48.21 ---> using "cf176336eeb9f7dce24597e25b65bd464fabf14abb4fb789dfe2d4262ee23704" 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:48.21 ---> using "2db1c1930670f539470d1465e2282550611931c805e66615607fa21e1b26cd38" from cache


/src: (copy (src spamtacus.opam spamtacus-mirage.opam spamtacus-bayesian.opam)
(dst ./))
2025-06-17 18:48.21 ---> saved as "c39ca221c75e183b195f722807e2db69b346dc3c24196bbe2eb6c16919fbed44"


/src: (run (network host)
(shell  "opam pin add -yn spamtacus.dev './' && \
\nopam pin add -yn spamtacus-mirage.dev './' && \
\nopam pin add -yn spamtacus-bayesian.dev './'"))
Package spamtacus does not exist, create as a NEW package? [y/n] y
[spamtacus.dev] synchronised (file:///src)
spamtacus is now pinned to file:///src (version dev)
Package spamtacus-mirage does not exist, create as a NEW package? [y/n] y
[spamtacus-mirage.dev] synchronised (file:///src)
spamtacus-mirage is now pinned to file:///src (version dev)
Package spamtacus-bayesian does not exist, create as a NEW package? [y/n] y
[spamtacus-bayesian.dev] synchronised (file:///src)
spamtacus-bayesian is now pinned to file:///src (version dev)
2025-06-17 18:48.25 ---> saved as "8e980636ee8527887ff2f8c0f2a4bd57418e5fd7e25799ad68127c5d727b500f"


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


/src: (env DEPS "angstrom.0.16.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigarray-overlap.0.2.1 bigstringaf.0.10.0 cmdliner.1.3.0 coin.0.1.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 fmt.0.10.0 fpath.0.7.3 ipaddr.5.6.0 ke.0.6 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mrmime.0.7.0 ocaml.4.12.1 ocaml-base-compiler.4.12.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 pecu.0.7 prettym.0.0.3 ptime.1.2.0 re.1.12.0 rosetta.0.3.0 rresult.0.7.0 seq.base topkg.1.0.8 unstrctrd.0.4 uutf.1.0.4 uuuu.0.3.0 yuscii.0.3.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 spamtacus.dev spamtacus-mirage.dev spamtacus-bayesian.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 (916 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[spamtacus.dev] synchronised (file:///src)
[spamtacus-bayesian.dev] synchronised (file:///src)
[spamtacus-mirage.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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:
pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:amd64.
- (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 .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-06-17 18:48.41 ---> saved as "32381f5d4679ea6317e095c8193f56d2a3f15f431dee74d5e8a2f7a9211d6dac"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.12.1).
[NOTE] Package ocaml is already installed (current version is 4.12.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 39 packages
- install angstrom           0.16.1
- install astring            0.8.5
- install base-bytes         base
- install base64             3.5.1
- install bigarray-overlap   0.2.1
- install bigstringaf        0.10.0
- install cmdliner           1.3.0
- install coin               0.1.4
- install conf-pkg-config    4
- install cppo               1.8.0
- install csexp              1.5.2
- install domain-name        0.4.1
- install dune               3.19.1
- install dune-configurator  3.19.1
- install emile              1.1
- install fmt                0.10.0
- install fpath              0.7.3
- install ipaddr             5.6.0
- install ke                 0.6
- install logs               0.8.0
- install lwt                5.9.1
- install macaddr            5.6.0
- install mrmime             0.7.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install pecu               0.7
- install prettym            0.0.3
- install ptime              1.2.0
- install re                 1.12.0
- install rosetta            0.3.0
- install rresult            0.7.0
- install seq                base
- install topkg              1.0.8
- install unstrctrd          0.4
- install uutf               1.0.4
- install uuuu               0.3.0
- install yuscii             0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigarray-overlap.0.2.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved coin.0.1.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved logs.0.8.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved mrmime.0.7.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved prettym.0.0.3  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved rosetta.0.3.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved rresult.0.7.0  (cached)
-> retrieved unstrctrd.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved uuuu.0.3.0  (cached)
-> retrieved yuscii.0.3.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed bigarray-overlap.0.2.1
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> installed ke.0.6
-> installed macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed re.1.12.0
-> installed yuscii.0.3.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed rosetta.0.3.0
-> installed dune-configurator.3.19.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed prettym.0.0.3
-> installed unstrctrd.0.4
-> installed emile.1.1
-> installed mrmime.0.7.0
-> installed lwt.5.9.1
-> installed logs.0.8.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 18:49.30 ---> saved as "45225325e41e03ed6c3e5e2293ba17b08af655ab04a8a2a1426cdd6f9cf4788d"


/src: (copy (src .) (dst /src))
2025-06-17 18:49.30 ---> saved as "fc3f10c87b7b732612d9f55e652a5bfdfbbcaad245c3efab0f6c1b0b836adce2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-17 18:49.52 ---> saved as "c9b483d846d8bdc68a6b3ad95e5871e1bdf45b19aa01d9cd54b4d8016ea1f7d6"
Job succeeded
2025-06-17 18:49.52: Job succeeded