Organisationsahrefsdevkited2a2f ()windows-server-2022-amd64-5.4_opam-2.5

windows-server-2022-amd64-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-02-26 20:36.02: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (ed2a2f55dcc2c1ef95a3241be8b12a70a89632da) (windows-amd64:windows-server-2022-amd64-5.4_opam-2.5)
Base: windows-server-2022-amd64-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard ed2a2f55
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.4
# windows-server-2022-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e f15d82d4876db0d9c8ffca03adbd331cd7612081 || git fetch origin master) && git reset -q --hard f15d82d4876db0d9c8ffca03adbd331cd7612081 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam /Users/opam/src/./
RUN opam pin add -yn devkit.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.14 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-mingw-w64-curl-x86_64.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libevent-x86_64.1 conf-mingw-w64-pcre2-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.21.1 dune-compiledb.0.6.0 dune-configurator.3.21.1 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.1 lwt_ppx.6.1.0 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 trace.0.11 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y devkit.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-02-26 20:36.02: Using cache hint "ahrefs/devkit-windows-server-2022-amd64-ocaml-5.4-windows-server-2022-amd64-5.4_opam-2.5-2ff192075c432503ca9298334abcf72e"
2026-02-26 20:36.02: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.4)
(comment windows-server-2022-amd64-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f15d82d4876db0d9c8ffca03adbd331cd7612081 || git fetch origin master) && git reset -q --hard f15d82d4876db0d9c8ffca03adbd331cd7612081 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src devkit.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn devkit.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.14 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-mingw-w64-curl-x86_64.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libevent-x86_64.1 conf-mingw-w64-pcre2-x86_64.1 conf-mingw-w64-zlib-x86_64.1 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.21.1 dune-compiledb.0.6.0 dune-configurator.3.21.1 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 jsonm.1.0.2 libevent.0.9.0 lwt.6.1.1 lwt_ppx.6.1.0 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre2.8.0.4 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 trace.0.11 uutf.1.0.4 yojson.3.0.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y devkit.dev $DEPS"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-02-26 20:36.02: Waiting for resource in pool OCluster
2026-02-26 20:36.02: Waiting for worker…
2026-02-26 20:59.03: Cancelling: Auto-cancelling job because it is no longer needed