Organisationsmirageawa-ssh9fb835 ()windows-server-2022-amd64-5.3_opam-2.3

windows-server-2022-amd64-5.3_opam-2.3

Logs

Show full logs
2025-04-24 14:18.04: New job: test mirage/awa-ssh https://github.com/mirage/awa-ssh.git#refs/heads/main (9fb835b7409077568e3907452e09a44ba01353bb) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.3)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/mirage/awa-ssh.git" -b "main" && cd "awa-ssh" && git reset --hard 9fb835b7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.3 /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 5afc819055f4ae8f1195b0588a75ae3258f52bce || git fetch origin master) && git reset -q --hard 5afc819055f4ae8f1195b0588a75ae3258f52bce && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 awa.opam awa-mirage.opam /Users/opam/src/./
RUN opam pin add -yn awa.dev '/Users/opam/src/./' && \
    opam pin add -yn awa-mirage.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 asn1-combinators.0.3.2 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 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.18.1 dune-configurator.3.18.1 duration.0.2.1 eqaf.0.10 flexdll.0.43 fmt.0.10.0 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.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-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 system-mingw.1 topkg.1.0.8 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y awa.dev awa-mirage.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

2025-04-24 14:18.04: Using cache hint "mirage/awa-ssh-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.3-e5b6820ae8c87a6b233806d68a0d5e45"
2025-04-24 14:18.04: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
 (comment windows-server-2022-amd64-5.3_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "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"))
 (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 5afc819055f4ae8f1195b0588a75ae3258f52bce || git fetch origin master) && git reset -q --hard 5afc819055f4ae8f1195b0588a75ae3258f52bce && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src awa.opam awa-mirage.opam) (dst /Users/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn awa.dev '/Users/opam/src/./' && \
             \nopam pin add -yn awa-mirage.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 asn1-combinators.0.3.2 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 cmdliner.1.3.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.4.1 dune.3.18.1 dune-configurator.3.18.1 duration.0.2.1 eqaf.0.10 flexdll.0.43 fmt.0.10.0 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.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-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ptime.1.2.0 system-mingw.1 topkg.1.0.8 x509.1.0.6 zarith.1.14")
 (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.3 --depext-only -y awa.dev awa-mirage.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"))
)

2025-04-24 14:18.04: Waiting for resource in pool OCluster
2025-04-24 14:18.04: Waiting for worker…
2025-04-24 14:18.05: Got resource from pool OCluster
Building on odawa
HEAD is now at 268be2d Expand on FIXME
HEAD is now at 9fb835b Merge pull request #74 from reynir/banawa

(from windows-server-2022-amd64-ocaml-5.3)
2025-04-24 14:18.06 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache

/: (comment windows-server-2022-amd64-5.3_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-24 14:18.06 ---> using "95d5d85ee56c2575e196f53fe7f940cc0731fb5c4485beb38b72a714de9d05bf" from cache

/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.

<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>

opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.

How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
  2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
  3. Use Cygwin installation found in C:\cygwin64
  4. Use another existing Cygwin/MSYS2 installation
  5. Abort initialisation

[1/2/3/4/5] 1
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2025-04-24 14:18.06 ---> using "53bae75d46d214e65b51daece9ef873c6c6a891e203ec3d98bbd26c30834d1e2" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.5-1.x86_64
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-24 14:18.06 ---> using "2b54922bf0d8d5ddbb1aea4afec4a959968c963bd87de7fe3038a742f957825c" from cache

/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 5afc819055f4ae8f1195b0588a75ae3258f52bce || git fetch origin master) && git reset -q --hard 5afc819055f4ae8f1195b0588a75ae3258f52bce && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..8106bcf57f  master     -> origin/master
5afc819055 Merge pull request #27763 from hannesm/release-x509-v1.0.6

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository
2025-04-24 14:19.44: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled