2025-03-25 08:06.26: New job: test dinosaure/spoke https://github.com/dinosaure/spoke.git#refs/heads/main (af854d61a6e3da2d84480c39d87de29b9d96065f) (linux-x86_64:ubuntu-20.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b
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:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b
# ubuntu-20.04-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 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 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:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b-ubuntu-20.04-4.14_opam-2.3-aa48602d275ec3e205466aedda5c718f"
2025-03-25 08:06.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b)
(comment ubuntu-20.04-4.14_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-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.4.14.2 ocaml-base-compiler.4.14.2 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 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
HEAD is now at eda61bb Lint OPAM file
HEAD is now at af854d6 Merge pull request #10 from dinosaure/string
(from ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-4.14@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b' locally
docker.io/ocaml/opam@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b: Pulling from ocaml/opam
b40910abef22: Pulling fs layer
b40910abef22: Waiting
b40910abef22: Verifying Checksum
b40910abef22: Download complete
b40910abef22: Pull complete
Digest: sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b
Status: Downloaded newer image for ocaml/opam@sha256:da6f4be3088a24fad01305b8f1319701833b83862ae7e598dda32c7e699c541b
2025-03-25 08:06.27 ---> using "e479fcdb9426ccfb1fa3ff35db07cb4926bf567823e69cbd95231f5b4c33ace0" from cache
/: (comment ubuntu-20.04-4.14_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 "163bbcb674cc280f273b1a553a03ed03e4911ca20e73500771c2c10a0a595d96" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[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 "1b02a020ef0e80e6d56913e9509d6b81cf872b70bdf65a2a0252fdd9d24f9c5b" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-25 08:06.27 ---> using "b7cc1526fefe8d85fa836822e5fd58786758ae4f528e6ae8765da3e6eb9d6335" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-25 08:06.27 ---> using "89aabe27126da5163cf8c2499cc78be06242d1f347ebadfc8e65db520b937323" 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 "21eb9f21b27c45f6da0f07c871edf8a0e41ea9021dfa230f56dc070162c32526" from cache
/src: (copy (src spoke.opam) (dst ./))
2025-03-25 08:06.27 ---> using "217c17bf0d6c3af9330ec2e8b9ded74ebede7fa25b4c2aacdfe4e6d3d1230f0b" 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 "70af7641cb2925b9b67ca5617bc835df7d0063882f42af7fc410b41c010469a0" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-25 08:06.27 ---> using "3fe7dd21a5be11b4a8386a75079b901748f8be79f919b5dd08bd48c7642796c0" from cache
/src: (env DEPS "angstrom.0.16.1 arp.4.0.0 base-bigarray.base base-bytes.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.4.14.2 ocaml-base-compiler.4.14.2 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 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"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4269 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4774 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4448 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4679 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1304 kB]
- Get:10 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [33.2 kB]
- Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1597 kB]
- Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [36.8 kB]
- Fetched 21.5 MB in 2s (9217 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-03-25 08:06.27 ---> using "221eb1d737964c308d5e2ff2b77a4e839de47e2da545d2ed294323eba564bd51" 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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 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 cppo.1.8.0 (cached)
-> retrieved cmdliner.1.3.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 lwt-dllist.1.0.1
-> installed duration.0.2.1
-> installed randomconv.0.2.0
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed ke.0.6
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed mirage-mtime.5.0.0
-> installed ocaml-syntax-shims.1.0.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed macaddr-cstruct.5.6.0
-> installed ocplib-endian.1.2
-> installed lru.0.3.1
-> 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 cstruct-lwt.6.2.0
-> installed mirage-net.4.0.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 "7d16e1d532e4b0e3f924f8bf61bcff2bdf95d4d0f6dd4ddadb7b1cbd135704ab" from cache
/src: (copy (src .) (dst /src))
2025-03-25 08:06.27 ---> using "05c43c81fc0fe6431636201a300e296fae5cac0bf0525c0f2988ed1c8c7db340" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-25 08:06.27 ---> using "2912a5667ba12ad6f3310e6b4b9de0fedaea175c34c8c91388bd8a4b120492f4" from cache
Job succeeded
2025-03-25 08:06.27: Job succeeded