Organisationstmcgilchristocaml-gitlab722a8c ()debian-12-5.0_opam-2.3

debian-12-5.0_opam-2.3

Logs

Steps to Reproduce
git clone --recursive "https://github.com/tmcgilchrist/ocaml-gitlab.git" -b "windows" && cd "ocaml-gitlab" && git reset --hard 722a8ce4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
# debian-12-5.0_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 lab.opam gitlab.opam gitlab-unix.opam gitlab-jsoo.opam ./
RUN opam pin add -yn lab.dev './' && \
opam pin add -yn gitlab.dev './' && \
opam pin add -yn gitlab-unix.dev './' && \
opam pin add -yn gitlab-jsoo.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.0 cohttp-lwt.6.1.0 cohttp-lwt-jsoo.6.1.0 cohttp-lwt-unix.6.1.0 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.0 ISO8601.0.2.6 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-lwt.6.0.1 js_of_ocaml-ppx.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 otoml.1.0.5 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.0 topkg.1.0.8 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.5 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y lab.dev gitlab.dev gitlab-unix.dev gitlab-jsoo.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 .
2025-03-17 22:33.32: New job: test tmcgilchrist/ocaml-gitlab https://github.com/tmcgilchrist/ocaml-gitlab.git#refs/heads/windows (722a8ce46a70e8b2156e3834792caf9eb275b8bb) (linux-x86_64:debian-12-5.0_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/tmcgilchrist/ocaml-gitlab.git" -b "windows" && cd "ocaml-gitlab" && git reset --hard 722a8ce4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463
# debian-12-5.0_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 lab.opam gitlab.opam gitlab-unix.opam gitlab-jsoo.opam ./
RUN opam pin add -yn lab.dev './' && \
opam pin add -yn gitlab.dev './' && \
opam pin add -yn gitlab-unix.dev './' && \
opam pin add -yn gitlab-jsoo.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.0 cohttp-lwt.6.1.0 cohttp-lwt-jsoo.6.1.0 cohttp-lwt-unix.6.1.0 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.0 ISO8601.0.2.6 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-lwt.6.0.1 js_of_ocaml-ppx.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 otoml.1.0.5 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.0 topkg.1.0.8 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.5 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y lab.dev gitlab.dev gitlab-unix.dev gitlab-jsoo.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-17 22:33.32: Using cache hint "tmcgilchrist/ocaml-gitlab-ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463-debian-12-5.0_opam-2.3-5b21514a7cd78e58559c1c9a324ca6bb"
2025-03-17 22:33.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463)
(comment debian-12-5.0_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 lab.opam gitlab.opam gitlab-unix.opam gitlab-jsoo.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn lab.dev './' && \
\nopam pin add -yn gitlab.dev './' && \
\nopam pin add -yn gitlab-unix.dev './' && \
\nopam pin add -yn gitlab-jsoo.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.8.0 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base.v0.16.3 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.0 cohttp-lwt.6.1.0 cohttp-lwt-jsoo.6.1.0 cohttp-lwt-unix.6.1.0 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 http.6.1.0 ISO8601.0.2.6 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-lwt.6.0.1 js_of_ocaml-ppx.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 mdx.2.5.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-compiler-libs.v0.12.4 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 otoml.1.0.5 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 result.1.5 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.0 topkg.1.0.8 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.5 yojson.2.2.2 zarith.1.14")
(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 lab.dev gitlab.dev gitlab-unix.dev gitlab-jsoo.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-17 22:33.32: Waiting for resource in pool OCluster
2025-03-17 22:33.32: Waiting for worker…
2025-03-17 22:37.26: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
HEAD is now at 6a3d9fc fixup! Update Windows CI and setup-ocaml
HEAD is now at 722a8ce fixup! Update Windows CI and setup-ocaml


(from ocaml/opam:debian-12-ocaml-5.0@sha256:4a4cc3737c8517659d64a504c97bab753ee54bdaff6a12ff3cd102d967839463)
2025-03-17 22:38.12 ---> saved as "c1ce6044a10861c2208f8129df92060b6dd533392c6b8377391b3dabc3a3cff1"


/: (comment debian-12-5.0_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-17 22:38.12 ---> saved as "427531f9671709a727e0146bd4b82a018c9c3ffc6afdc56a310740c53312de42"


/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"
2025-03-17 22:38.53: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled