2025-03-25 08:06.26: New job: test dinosaure/spoke https://github.com/dinosaure/spoke.git#refs/heads/main (af854d61a6e3da2d84480c39d87de29b9d96065f) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
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:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
# alpine-3.21-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:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec-alpine-3.21-4.14_opam-2.3-aa48602d275ec3e205466aedda5c718f"
2025-03-25 08:06.26: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
(comment alpine-3.21-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-c7.sw.ocaml.org
All commits already cached
HEAD is now at af854d6 Merge pull request #10 from dinosaure/string
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec' locally
docker.io/ocaml/opam@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec: Pulling from ocaml/opam
079b5f886b6e: Pulling fs layer
079b5f886b6e: Verifying Checksum
079b5f886b6e: Download complete
079b5f886b6e: Pull complete
Digest: sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
Status: Downloaded newer image for ocaml/opam@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
2025-03-25 08:06.27 ---> using "1365d3d062370cdb3e23e0410421a094d8879b8f0dd4d3093d64147b4bfe4ff9" from cache
/: (comment alpine-3.21-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 "5be1ab3ea9e48bd2199383c0f25d4669eec253aa64c46238de9e36ed6f7e50cb" 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 255 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=255 --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 "ca0f9b6308acc60ffbea931949e0e9fb7680afa32d2003099d5a7f217fa5486d" 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 "8e127786c3870968fda1dfe20835536dac15f3a82c303577d90f01ea7cc40e6d" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-25 08:06.27 ---> using "1106de8ba8163af5066c46218ad21da7ed722fff392921ab78c2a9189d06c86d" 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 "d9c4be8ebedd6d29be202098c76b09fe68f717c2a0b63d9e89fd17c6ac71f671" from cache
/src: (copy (src spoke.opam) (dst ./))
2025-03-25 08:06.27 ---> using "28aadf7f85029f679217a64e51a8e8208b50098130df12827e0dcac5e33252ec" 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 "927ee5e3eceb390229432a21eaac98af7925c1020804af1216abb27eacd4e3b2" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-25 08:06.27 ---> using "798ed0b96b7ed1153bb841d6a16a108749bc945ce22ed1e9b71ef50f781adc63" 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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-224-gd7e9ed8727a [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-227-g2377fbbb1be [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-4546-gedd54f51c3a [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-4572-g5f2b644de14 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-4572-g5f2b644de14 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57328 distinct packages available
<><> 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 "1a84d427a1188c93319fae414f70b4b9cd8deba92f456ee3e0006e4a124f7470" 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 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 dune.3.17.2, dune-configurator.3.17.2 (cached)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-rng.2.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 ocamlfind.1.9.8 (cached)
-> installed cmdliner.1.3.0
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved randomconv.0.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved result.1.5 (cached)
-> retrieved rresult.0.7.0 (cached)
-> 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 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 "638cb82f056c11e0c5769fd25f65a690c8ced73cff4bfa7981f5dcbb103efff6" from cache
/src: (copy (src .) (dst /src))
2025-03-25 08:06.27 ---> using "b96b373d5a92a7da3c14fc80242ddfb85ab02e58d65207492e73f43252f7aa7a" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-03-25 08:06.27 ---> using "bcfd974184594a226d0ebab6616a08cfb8b690771a1f9fe85abe4e697ff241f5" from cache
Job succeeded
2025-03-25 08:06.27: Job succeeded