2025-11-05 15:31.24: New job: test ocaml-opam/opam-compiler https://github.com/ocaml-opam/opam-compiler.git#refs/heads/master (db82c046ac02b80517d64d06e8f4e6c1087db946) (windows-amd64:windows-server-2022-amd64-5.4_opam-2.4)Base: windows-server-2022-amd64-ocaml-5.4Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocaml-opam/opam-compiler.git" -b "master" && cd "opam-compiler" && git reset --hard db82c046cat > Dockerfile <<'END-OF-DOCKERFILE'FROM windows-server-2022-amd64-ocaml-5.4# windows-server-2022-amd64-5.4_opam-2.4USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"RUN ln -f /usr/bin/opam-2.4 /usr/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionRUN cd ~/opam-repository && (git cat-file -e 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 || git fetch origin master) && git reset -q --hard 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 opam-compiler.opam /Users/opam/src/./RUN opam pin add -yn opam-compiler.dev '/Users/opam/src/./'RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'ENV DEPS="alcotest.1.9.1 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.20.2 dune-configurator.3.20.2 easy-format.1.3.4 either.1.0.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 github-data.4.5.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.1 uri.4.4.0 uutf.1.0.4 yojson.2.2.2"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.4 --depext-only -y opam-compiler.dev $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . /Users/opam/srcRUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2025-11-05 15:31.24: Using cache hint "ocaml-opam/opam-compiler-windows-server-2022-amd64-ocaml-5.4-windows-server-2022-amd64-5.4_opam-2.4-2a55c24c61b18ece0aa51491e9961afd"2025-11-05 15:31.24: Using OBuilder spec:((from windows-server-2022-amd64-ocaml-5.4)(comment windows-server-2022-amd64-5.4_opam-2.4)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(run (shell "ln -f /usr/bin/opam-2.4 /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 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 || git fetch origin master) && git reset -q --hard 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src opam-compiler.opam) (dst /Users/opam/src/./))(run (network host)(shell "opam pin add -yn opam-compiler.dev '/Users/opam/src/./'"))(run (network host)(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))(env DEPS "alcotest.1.9.1 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.20.2 dune-configurator.3.20.2 easy-format.1.3.4 either.1.0.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 github-data.4.5.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.1 uri.4.4.0 uutf.1.0.4 yojson.2.2.2")(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.4 --depext-only -y opam-compiler.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-11-05 15:31.24: Waiting for resource in pool OCluster2025-11-06 01:22.20: Waiting for worker…2025-11-06 05:49.16: Got resource from pool OClusterBuilding on thymeAll commits already cachedHEAD is now at db82c04 Merge pull request #41 from tmcgilchrist/re_version(from windows-server-2022-amd64-ocaml-5.4)2025-11-06 05:49.17 ---> using "dc0473c210cbdaa785843aceeb4b20f70de275b54f2f11b3cd1945755e26c295" from cache/: (comment windows-server-2022-amd64-5.4_opam-2.4)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))2025-11-06 05:49.17 ---> using "2cc10c0de974a41a492b52f4c10e4774291ab2452e1192584f4bd1214eecf165" 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:\cygwin644. Use another existing Cygwin/MSYS2 installation5. Abort initialisation[1/2/3/4/5] 1Checking 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-repository2025-11-06 05:49.17 ---> using "e3a025f74254e53619e1cb17b830cf27adf6ecfb6e45ea98f6e1b9fc227d98a5" from cache/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))CYGWIN_NT-10.0-20348 3.6.5-1.x86_64The OCaml toplevel, version 5.4.02.4.12025-11-06 05:49.17 ---> using "b2317ce0850b83bf9a96e1d3315a4c08197605467948e554d9a6e5c89b07a70d" 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 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 || git fetch origin master) && git reset -q --hard 70d1dfb3b86d9aa841c74aa97359dc7639d3a8c6 && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEAD5bf570252b..70d1dfb3b8 master -> origin/master70d1dfb3b8 Merge pull request #28838 from dbuenzli/b0-publish-logs.0.10.0<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from file://C:/Users/opam/opam-repositoryAlready up-to-date.Nothing to do.# To update the current shell environment, run: eval $(opam env)2025-11-06 05:49.17 ---> using "30b9279b5f70ba995bfae5ffeb5556aa2bf39700b39ce6a7bbb1bc9b2ce49bdb" from cache/: (copy (src opam-compiler.opam) (dst /Users/opam/src/./))2025-11-06 05:49.55 ---> saved as "16547bcc1dac1ab5389eea8342e47c779e0389b4b4b14198299a842e5c901bb9"/: (run (network host)(shell "opam pin add -yn opam-compiler.dev '/Users/opam/src/./'"))[opam-compiler.dev] synchronised (file://C:/Users/opam/src/.)opam-compiler is now pinned to file://C:/Users/opam/src/. (version dev)2025-11-06 05:50.40 ---> saved as "04d4282977fd47b4df33825a2ebbf833f23de086e6d10450b09ad8a01de45ad8"/: (run (network host)(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))2025-11-06 05:51.14 ---> saved as "dbec9058d52e2e57570776e358d68347202d873463e220db8e5b8bceb0419a3b"/: (env DEPS "alcotest.1.9.1 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 camlp-streams.5.0.1 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 curly.0.3.0 dune.3.20.2 dune-configurator.3.20.2 easy-format.1.3.4 either.1.0.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 github-data.4.5.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.10.0 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 result.1.5 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.1 uri.4.4.0 uutf.1.0.4 yojson.2.2.2")/: (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.4 --depext-only -y opam-compiler.dev $DEPS"))<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[opam-compiler.dev] synchronised (file://C:/Users/opam/src/.)[NOTE] Package system-mingw is already installed (current version is 1).[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).[NOTE] Package ocaml-config is already installed (current version is 3).[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).[NOTE] Package ocaml is already installed (current version is 5.4.0).[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).[NOTE] Package host-system-mingw is already installed (current version is 1).[NOTE] Package host-arch-x86_64 is already installed (current version is 1).[NOTE] Package flexdll is already installed (current version is 0.44).[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).[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-nnp is already installed (current version is base).[NOTE] Package base-effects is already installed (current version is base).[NOTE] Package base-domains is already installed (current version is base).[NOTE] Package base-bigarray is already installed (current version is base).[NOTE] Package arch-x86_64 is already installed (current version is 1).2025-11-06 05:53.17 ---> saved as "640a1ca863a51cb891dc5dee53e30cbf49650d08267458261c4f7af41c204c50"/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))(network host)(shell "opam install $DEPS"))[NOTE] Package system-mingw is already installed (current version is 1).[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).[NOTE] Package ocaml-config is already installed (current version is 3).[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).[NOTE] Package ocaml is already installed (current version is 5.4.0).[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).[NOTE] Package host-system-mingw is already installed (current version is 1).[NOTE] Package host-arch-x86_64 is already installed (current version is 1).[NOTE] Package flexdll is already installed (current version is 0.44).[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).[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-nnp is already installed (current version is base).[NOTE] Package base-effects is already installed (current version is base).[NOTE] Package base-domains is already installed (current version is base).[NOTE] Package base-bigarray is already installed (current version is base).[NOTE] Package arch-x86_64 is already installed (current version is 1).The following actions will be performed:=== install 39 packages- install alcotest 1.9.1- install angstrom 0.16.1- install astring 0.8.5- install atd 2.16.0- install atdgen 2.16.0- install atdgen-runtime 2.16.0- install bigstringaf 0.10.0- install biniou 1.2.2- install bos 0.2.1- install camlp-streams 5.0.1- install cmdliner 2.0.0- install csexp 1.5.2- install curly 0.3.0- install dune 3.20.2- install dune-configurator 3.20.2- install easy-format 1.3.4- install either 1.0.0- install fmt 0.11.0- install fpath 0.7.3- install github-data 4.5.0- install logs 0.10.0- install menhir 20250912- install menhirCST 20250912- install menhirLib 20250912- install menhirSdk 20250912- install ocaml-syntax-shims 1.0.0- install ocaml-version 4.0.3- install ocamlbuild 0.16.1- install ocamlfind 1.9.8- install re 1.14.0- install result 1.5- install rresult 0.7.0- install seq base- install stdlib-shims 0.3.0- install stringext 1.6.0- install topkg 1.1.1- install uri 4.4.0- install uutf 1.0.4- install yojson 2.2.2<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved angstrom.0.16.1 (cached)-> retrieved astring.0.8.5 (cached)-> retrieved bigstringaf.0.10.0 (cached)-> retrieved alcotest.1.9.1 (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)-> retrieved biniou.1.2.2 (cached)-> retrieved atd.2.16.0, atdgen.2.16.0, atdgen-runtime.2.16.0 (cached)-> retrieved bos.0.2.1 (cached)-> retrieved camlp-streams.5.0.1 (cached)-> retrieved csexp.1.5.2 (cached)-> retrieved curly.0.3.0 (cached)-> retrieved cmdliner.2.0.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-2.0.0.tbz)-> retrieved easy-format.1.3.4 (cached)-> retrieved either.1.0.0 (cached)-> retrieved fpath.0.7.3 (cached)-> retrieved fmt.0.11.0 (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)-> retrieved logs.0.10.0 (https://erratique.ch/software/logs/releases/logs-0.10.0.tbz)-> retrieved github-data.4.5.0 (https://github.com/mirage/ocaml-github/releases/download/4.5.0/github-4.5.0.tar.gz)-> retrieved ocaml-syntax-shims.1.0.0 (cached)-> retrieved ocaml-version.4.0.3 (https://github.com/ocurrent/ocaml-version/releases/download/v4.0.3/ocaml-version-4.0.3.tbz)-> retrieved ocamlbuild.0.16.1 (cached)-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912 (https://gitlab.inria.fr/fpottier/menhir/-/archive/20250912/archive.tar.gz)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved result.1.5 (cached)-> retrieved re.1.14.0 (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)-> retrieved seq.base (cached)-> retrieved dune.3.20.2, dune-configurator.3.20.2 (https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)-> retrieved rresult.0.7.0 (cached)-> retrieved stdlib-shims.0.3.0 (cached)-> retrieved stringext.1.6.0 (cached)-> retrieved uri.4.4.0 (cached)-> retrieved uutf.1.0.4 (cached)-> retrieved topkg.1.1.1 (https://erratique.ch/software/topkg/releases/topkg-1.1.1.tbz)-> retrieved yojson.2.2.2 (cached)-> installed cmdliner.2.0.0-> installed seq.base[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe[WARNING] C:\Users\opam\AppData\Local\opam\5.4.0\bin\safe_camlp4 is a script; the command won't be available-> installed ocamlfind.1.9.8-> installed ocamlbuild.0.16.1-> installed topkg.1.1.1-> installed rresult.0.7.0-> installed uutf.1.0.4-> installed fmt.0.11.0-> installed astring.0.8.5-> installed fpath.0.7.3-> installed logs.0.10.0-> installed bos.0.2.1-> installed dune.3.20.2-> installed camlp-streams.5.0.1-> installed csexp.1.5.2-> installed easy-format.1.3.4-> installed either.1.0.0-> installed menhirCST.20250912-> installed menhirLib.20250912-> installed menhirSdk.20250912-> installed ocaml-syntax-shims.1.0.0-> installed ocaml-version.4.0.3-> installed result.1.5-> installed biniou.1.2.2-> installed stdlib-shims.0.3.0-> installed stringext.1.6.0-> installed curly.0.3.0-> installed dune-configurator.3.20.2-> installed re.1.14.0-> installed yojson.2.2.2-> installed bigstringaf.0.10.0-> installed atdgen-runtime.2.16.0-> installed alcotest.1.9.1-> installed angstrom.0.16.1-> installed uri.4.4.0-> installed menhir.20250912-> installed atd.2.16.0[WARNING] C:\Users\opam\AppData\Local\opam\5.4.0\bin\atdgen-cppo is a script; the command won't be available[WARNING] C:\Users\opam\AppData\Local\opam\5.4.0\bin\cppo-json is a script; the command won't be available-> installed atdgen.2.16.0-> installed github-data.4.5.0Done.# To update the current shell environment, run: eval $(opam env)2025-11-06 06:17.39 ---> saved as "577db44d1d58814ef35db6be85c9f0de17aa9df1074dd09f65f1b1f2ae34e32e"/: (copy (src .) (dst /Users/opam/src))2025-11-06 06:18.37 ---> saved as "08374a75a675cb88e72dcc8ab85d0a94366f98959ba2fa2f051e8b43c3c18855"/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))(cd _build/default/test/unit && .\test.exe --compact)Testing `opam-compiler'.This run has ID `19N6TSBG'..........................File "test/cram/create.t", line 1, characters 0-0:C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/default/test/cram/create.t _build/default/test/cram/create.t.correcteddiff --git a/_build/default/test/cram/create.t b/_build/default/test/cram/create.t.correctedindex 7a8e77c..0ea9958 100644--- a/_build/default/test/cram/create.t+++ b/_build/default/test/cram/create.t.corrected@@ -50,10 +50,9 @@ Several of them can be specified:A proper error message is displayed if a variant is not recognized:$ opam-compiler create --dry-run USER/REPO:BRANCH --with something- opam-compiler: option '--with': invalid element in list ('something'):- Unknown variant.- Usage: opam-compiler create [OPTION]… SOURCE- Try 'opam-compiler create --help' or 'opam-compiler --help' for more information.+ Usage: opam-compiler create [--help] [OPTION]… SOURCE+ opam-compiler: option --with: invalid element in list (something): Unknown+ variant.[124]It is not possible to mix --configure-command and --with:"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12025-11-06 06:19.53: Job failed: Failed: Build failed