2025-03-25 08:06.26: New job: test dinosaure/spoke https://github.com/dinosaure/spoke.git#refs/heads/main (af854d61a6e3da2d84480c39d87de29b9d96065f) (linux-x86_64:debian-12-5.3_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/dinosaure/spoke.git" -b "main" && cd "spoke" && git reset --hard af854d61
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51
# debian-12-5.3_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 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 || git fetch origin master) && git reset -q --hard 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 spoke.opam ./
RUN opam pin add -yn spoke.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 arp.4.0.0 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 fmt.0.10.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ke.0.6 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 psq.0.2.1 randomconv.0.2.0 result.1.5 rresult.0.7.0 seq.base tcpip.9.0.0 topkg.1.0.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y spoke.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-03-25 08:06.26: Using cache hint "dinosaure/spoke-ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51-debian-12-5.3_opam-2.3-c0ce71f94a1897b66a7c58d2c23e597c"
2025-03-25 08:06.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51)
(comment debian-12-5.3_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 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 || git fetch origin master) && git reset -q --hard 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src spoke.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn spoke.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "angstrom.0.16.1 arp.4.0.0 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 fmt.0.10.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ke.0.6 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 psq.0.2.1 randomconv.0.2.0 result.1.5 rresult.0.7.0 seq.base tcpip.9.0.0 topkg.1.0.8")
(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 spoke.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-03-25 08:06.26: Waiting for resource in pool OCluster
2025-03-25 08:06.26: Waiting for worker…
2025-03-25 08:06.26: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at af854d6 Merge pull request #10 from dinosaure/string
(from ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51' locally
docker.io/ocaml/opam@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51: Pulling from ocaml/opam
bffb52139beb: Pulling fs layer
bffb52139beb: Verifying Checksum
bffb52139beb: Download complete
bffb52139beb: Pull complete
Digest: sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51
Status: Downloaded newer image for ocaml/opam@sha256:bc8aaa1230ecb57c5762546b9227e538394dff3b0a270fc783baf8bc6bd0bf51
2025-03-25 08:06.27 ---> using "4c4507dc2c915bc2fe880d11485a066845ce2ccaf87ae0c7a8ec26d34c0670c5" from cache
/: (comment debian-12-5.3_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-03-25 08:06.27 ---> using "172407e1e661134309aea2eb4045783b25179cce1174e2b787c71a0e229d6f99" 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-25 08:06.27 ---> using "09dad00ef8e83b2a63e7fe35b5cddf78fe4785748596ca052e2c9a3bfcd80b21" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-25 08:06.27 ---> using "4c6e6131f0e3a298407e281b1e9dfd9b93e12d2f56fdd382c559c07f8223d814" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-25 08:06.27 ---> using "a6d2d725d9ab586b26e2389e81730115d2ead44f3f6db0f5c35ba85c11f7e8a2" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 || git fetch origin master) && git reset -q --hard 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
862a7640b1..acfb0e6e94 master -> origin/master
08baa0f29f Merge pull request #27602 from dbuenzli/b0-publish-logs.0.8.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-03-25 08:06.27 ---> using "72f67cad92f02108aa2f5d978dd30416e7f39f7c827636ec7de53f0e07af7c13" from cache
/src: (copy (src spoke.opam) (dst ./))
2025-03-25 08:06.27 ---> using "3bc85ab9cd7d6ce3542a76368aef8acc0214935875a51cabf93e9d1fc7bfa491" from cache
/src: (run (network host)
(shell "opam pin add -yn spoke.dev './'"))
[spoke.dev] synchronised (file:///src)
spoke is now pinned to file:///src (version dev)
2025-03-25 08:06.27 ---> using "5446713998e980fb468293a1d125b9baffe0258e692b05cbfcd557856c873789" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-25 08:06.27 ---> using "4b1ea854ff7cfe9a88547bcf7d9d86fa62db7d2c9e80e5a32fd10161f84cb8ca" from cache
/src: (env DEPS "angstrom.0.16.1 arp.4.0.0 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 encore.0.8.1 eqaf.0.10 ethernet.3.2.0 fmt.0.10.0 hxd.0.3.3 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 ke.0.6 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mimic.0.0.9 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-sleep.4.0.0 mtime.2.1.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 psq.0.2.1 randomconv.0.2.0 result.1.5 rresult.0.7.0 seq.base tcpip.9.0.0 topkg.1.0.8")
/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 spoke.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8792 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [250 kB]
- Fetched 9297 kB in 2s (5708 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[spoke.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-03-25 08:06.27 ---> using "ea4fe0abaced03bc4353a89c4355efc9b154cb8f2948eaa2a79f9d155509ca0b" from cache
/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 49 packages
- install angstrom 0.16.1
- install arp 4.0.0
- install base-bytes base
- install base64 3.5.1
- install bigstringaf 0.10.0
- install cmdliner 1.3.0
- install cppo 1.8.0
- install csexp 1.5.2
- install cstruct 6.2.0
- install cstruct-lwt 6.2.0
- install digestif 1.2.0
- install domain-name 0.4.1
- install dune 3.17.2
- install dune-configurator 3.17.2
- install duration 0.2.1
- install encore 0.8.1
- install eqaf 0.10
- install ethernet 3.2.0
- install fmt 0.10.0
- install hxd 0.3.3
- install ipaddr 5.6.0
- install ipaddr-cstruct 5.6.0
- install ke 0.6
- install logs 0.8.0
- install lru 0.3.1
- install lwt 5.9.1
- install lwt-dllist 1.0.1
- install macaddr 5.6.0
- install macaddr-cstruct 5.6.0
- install metrics 0.4.1
- install mimic 0.0.9
- install mirage-crypto 2.0.0
- install mirage-crypto-rng 2.0.0
- install mirage-flow 5.0.0
- install mirage-mtime 5.0.0
- install mirage-net 4.0.0
- install mirage-sleep 4.0.0
- install mtime 2.1.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install psq 0.2.1
- install randomconv 0.2.0
- install result 1.5
- install rresult 0.7.0
- install seq base
- install tcpip 9.0.0
- install topkg 1.0.8
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved arp.4.0.0 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved encore.0.8.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved ethernet.3.2.0 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved hxd.0.3.3 (cached)
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0 (cached)
-> retrieved ke.0.6 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lru.0.3.1 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved mimic.0.0.9 (cached)
-> retrieved digestif.1.2.0 (cached)
-> retrieved mirage-flow.5.0.0 (cached)
-> retrieved mirage-mtime.5.0.0 (cached)
-> retrieved mirage-net.4.0.0 (cached)
-> retrieved mirage-sleep.4.0.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-rng.2.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved randomconv.0.2.0 (cached)
-> retrieved seq.base (cached)
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved tcpip.9.0.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed fmt.0.10.0
-> installed dune.3.17.2
-> installed duration.0.2.1
-> installed randomconv.0.2.0
-> installed lwt-dllist.1.0.1
-> installed mirage-mtime.5.0.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed cppo.1.8.0
-> installed ke.0.6
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed ocaml-syntax-shims.1.0.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed macaddr-cstruct.5.6.0
-> installed lru.0.3.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.0
-> installed ipaddr-cstruct.5.6.0
-> installed digestif.1.2.0
-> installed dune-configurator.3.17.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed encore.0.8.1
-> installed mirage-crypto.2.0.0
-> installed lwt.5.9.1
-> installed mirage-flow.5.0.0
-> installed mirage-net.4.0.0
-> installed cstruct-lwt.6.2.0
-> installed mirage-sleep.4.0.0
-> installed hxd.0.3.3
-> installed logs.0.8.0
-> installed ethernet.3.2.0
-> installed mimic.0.0.9
-> installed mirage-crypto-rng.2.0.0
-> installed arp.4.0.0
-> installed tcpip.9.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-25 08:06.27 ---> using "abd4335d92e0d89ca8296e86f0552ef2e01426399034253c8ac0a3c4c3138026" from cache
/src: (copy (src .) (dst /src))
2025-03-25 08:06.27 ---> using "05b20e097ea749a63853bd5ca85d3d637434f37d9a3c50e6cb10948c92a283d3" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-25 08:06.27 ---> using "67ad8dce8ea0c37c6cc08a7511440f89d95c84b1f8b8392945f92994430a4065" from cache
Job succeeded
2025-03-25 08:06.27: Job succeeded