Organisationsocurrentobuildera4329f (master)windows-server-mingw-ltsc2025-5.4_opam-2.5

windows-server-mingw-ltsc2025-5.4_opam-2.5

Logs

Show full logs
2026-04-18 20:58.07: New job: test ocurrent/obuilder https://github.com/ocurrent/obuilder.git#refs/heads/master (a4329f09abdf762b019b83c9218c1d8dd1d6a093) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/obuilder.git" -b "master" && cd "obuilder" && git reset --hard a4329f09
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
# windows-server-mingw-ltsc2025-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e a8ee7279413c53a7b29c76b0c216b2680bb8b6e6 || git fetch origin master) && git reset -q --hard a8ee7279413c53a7b29c76b0c216b2680bb8b6e6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 obuilder.opam obuilder-spec.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn obuilder.dev '/cygwin64/home/opam/src/./' && \
    opam pin add -yn obuilder-spec.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 arch-x86_64.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-sqlite3-x86_64.1 conf-pkg-config.4 conf-sqlite3.1 cppo.1.8.0 crunch.4.0.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.22.2 dune-compiledb.0.6.0 dune-configurator.3.22.2 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 logs.0.10.0 lwt.6.1.1 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 sqlite3.5.4.1 stdlib-shims.0.3.0 system-mingw.1 tar.2.6.0 tar-unix.2.6.0 topkg.1.1.1 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 obuilder.dev obuilder-spec.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /cygwin64/home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build

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

2026-04-18 20:58.07: Using cache hint "ocurrent/obuilder-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1-windows-server-mingw-ltsc2025-5.4_opam-2.5-b00ccab552fa55b73f35ab9b842c3165"
2026-04-18 20:58.07: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
 (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e a8ee7279413c53a7b29c76b0c216b2680bb8b6e6 || git fetch origin master) && git reset -q --hard a8ee7279413c53a7b29c76b0c216b2680bb8b6e6 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src obuilder.opam obuilder-spec.opam)
       (dst /cygwin64/home/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn obuilder.dev '/cygwin64/home/opam/src/./' && \
             \nopam pin add -yn obuilder-spec.dev '/cygwin64/home/opam/src/./'"))
 (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 arch-x86_64.1 astring.0.8.5 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 checkseum.0.5.2 cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-sqlite3-x86_64.1 conf-pkg-config.4 conf-sqlite3.1 cppo.1.8.0 crunch.4.0.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 dune.3.22.2 dune-compiledb.0.6.0 dune-configurator.3.22.2 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 logs.0.10.0 lwt.6.1.1 mingw-w64-shims.0.2.0 num.1.6 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 optint.0.3.0 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.38.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 sexplib.v0.17.0 sexplib0.v0.17.0 sha.1.15.4 sqlite3.5.4.1 stdlib-shims.0.3.0 system-mingw.1 tar.2.6.0 tar-unix.2.6.0 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y obuilder.dev obuilder-spec.dev $DEPS"))
 (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /cygwin64/home/opam/src))
 (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2026-04-18 20:58.07: Waiting for resource in pool OCluster
2026-04-18 20:58.07: Waiting for worker…
2026-04-18 20:58.07: Got resource from pool OCluster
Building on ltsc2025-2
Initialized empty Git repository in C:/state/git/obuilder.git-a24c8b9c20a9d54a9495a5bd98808b173546cc17/.git/
HEAD is now at a4329f0 Merge pull request #205 from mtelvers/fix-dot-slash-tar-paths

(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
2026-04-18 20:58.46 ---> using "e6e8a2cf62a928430568e9b050d6cc986ddb11ca371f3b24e6b6f1ad80860153" from cache

C:/: (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)

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

C:/: (env CLICOLOR_FORCE 1)

C:/: (env OPAMCOLOR always)

C:/: (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-04-18 20:58.46 ---> using "8371c7bbeda21231937607a48921d4490a1c9c23810f1d7416ef9e1aa874f8e3" from cache

C:/: (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] Initialised
2026-04-18 20:58.46 ---> using "8bf506c77ce4ea2b6efe0b049434ba77c8ea5f4c0beccb9cedbfead0127ea0b7" from cache

C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.7-1.x86_64
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-18 20:58.46 ---> using "017acac92f6c222a89f675ad77684e3ed5874f73aa36dd7947a6dd1cf4a5b5c7" from cache

C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
          (network host)
          (shell "cd ~/opam-repository && (git cat-file -e a8ee7279413c53a7b29c76b0c216b2680bb8b6e6 || git fetch origin master) && git reset -q --hard a8ee7279413c53a7b29c76b0c216b2680bb8b6e6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   65664dc5b2..fe0da7a967  master     -> origin/master
a8ee727941 Merge pull request #29737 from mmottl/release-sqlite3-5.4.1

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file://C:/cygwin64/home/opam/opam-repository
default (at git+file://C:/cygwin64/home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at git+file://C:/cygwin64/home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


Everything as up-to-date as possible
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-18 21:19.49 ---> saved as "f84d3d4e6b011c6fcd91ba0c7d5fa3c4969dd47f3c92164ec2e5e3899632501f"

C:/: (copy (src obuilder.opam obuilder-spec.opam)
           (dst /cygwin64/home/opam/src/./))
Failure("Failed to commit snapshot obuilder-57fd49dd278f13c672bbe147e1a5ad9bd940a7cb26bd545bcc55aa293f39cb71: \"ctr\" \"snapshot\" \"commit\" \"obuilder-57fd49dd278f13c672bbe147e1a5ad9bd940a7cb26bd545bcc55aa293f39cb71-committed\" \"obuilder-57fd49dd278f13c672bbe147e1a5ad9bd940a7cb26bd545bcc55aa293f39cb71\" failed with exit status 1")
2026-04-18 21:20.12: Job failed: Failed: Build failed