Build:
  1. 1
  2. 0
2026-05-09 06:33.14: New job: Build using windows-x86_64 in
                                [https://github.com/ocaml/opam-repository#master (fc08333d1ba03c1ffbc960479a92aa94085c5f78)]
2026-05-09 06:33.14: Will push staging image to ocurrent/opam-staging:windows-server-mingw-ltsc2025-opam-amd64

Dockerfile:

# escape=`

# Autogenerated by OCaml-Dockerfile scripts
FROM mcr.microsoft.com/windows/server:10.0.26100.32690 AS winget-builder
USER ContainerAdministrator
ADD [ "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle", "C:\\TEMP\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip" ]
RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip -DestinationPath C:\TEMP\winget-cli -Force"
RUN ren C:\TEMP\winget-cli\AppInstaller_x64.msix AppInstaller_x64.zip
RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\winget-cli\AppInstaller_x64.zip -DestinationPath C:\TEMP\winget-cli\ -Force"
RUN mkdir "C:\Program Files\winget-cli" && `
  move "C:\TEMP\winget-cli\\winget.exe" "C:\Program Files\winget-cli\" && `
  move "C:\TEMP\winget-cli\\WindowsPackageManager.dll" "C:\Program Files\winget-cli\" && `
  move "C:\TEMP\winget-cli\\resources.pri" "C:\Program Files\winget-cli\"

FROM mcr.microsoft.com/windows/server:10.0.26100.32690 AS opam-builder
USER ContainerAdministrator
RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "\\$"') do `
          for /f "delims=" %l in ('cmd /v:on /c "set v=%c&& echo !v:~0,-1!"') do `
            reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "%l"
ENV CYGWIN="nodosfilewarning winsymlinks:native"
RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do `
        reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\cygwin64\bin;%c"
ADD [ "https://www.cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe" ]
RUN mkdir C:\cygwin64\lib\cygsympathy && mkdir C:\cygwin64\etc\postinstall
ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.cmd", "C:\\cygwin64\\lib\\cygsympathy\\" ]
ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.sh", "C:\\cygwin64\\lib\\cygsympathy\\cygsympathy" ]
RUN mklink C:\cygwin64\etc\postinstall\zp_zcygsympathy.sh C:\cygwin64\lib\cygsympathy\cygsympathy
RUN C:\cygwin64\setup-x86_64.exe --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --local-package-dir C:\TEMP\cache --root C:\cygwin64 --site https://mirrors.kernel.org/sourceware/cygwin/ --symlink-type=native --packages diffutils,git,make,mingw64-i686-gcc-g++,mingw64-x86_64-gcc-core,mingw64-x86_64-gcc-g++,patch && `
  powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
ENV HOME="C:\cygwin64\home\opam"
RUN C:\cygwin64\bin\bash.exe --login -c "git config --global user.email 'docker@example.com' && git config --global user.name 'Docker' && git config --system core.longpaths true && git config --global --add safe.directory /tmp/opam-sources"
RUN C:\cygwin64\bin\bash.exe --login -c "git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && git checkout 1ea21b460db391ba6f8fb727ee296a86f65579e2 && sed -i \"s/make -j[0-9]*/make -j\$NUMBER_OF_PROCESSORS/g\" shell/bootstrap-ocaml.sh && make compiler "
RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.2 && cd /tmp/opam-build-2.2 && git config --global --add safe.directory /tmp/opam-build-2.2 && git checkout 01e9a24a61e23e42d513b4b775d8c30c807439b2"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.2 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.2.exe"
RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.3 && cd /tmp/opam-build-2.3 && git config --global --add safe.directory /tmp/opam-build-2.3 && git checkout 35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.3 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.3.exe"
RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.4 && cd /tmp/opam-build-2.4 && git config --global --add safe.directory /tmp/opam-build-2.4 && git checkout 7c92631391984f698f31ee24f3ae4dc1cd3698ff"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.4 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.4.exe"
RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.5 && cd /tmp/opam-build-2.5 && git config --global --add safe.directory /tmp/opam-build-2.5 && git checkout 6218d0c4c022106034a93c8ecb5b80fa213d7356"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.5 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.5.exe"
RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-master && cd /tmp/opam-build-master && git config --global --add safe.directory /tmp/opam-build-master && git checkout 1ea21b460db391ba6f8fb727ee296a86f65579e2"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-master && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-master.exe"

FROM mcr.microsoft.com/windows/server:10.0.26100.32690
USER ContainerAdministrator
LABEL distro_style="windows"
USER ContainerAdministrator
RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "\\$"') do `
          for /f "delims=" %l in ('cmd /v:on /c "set v=%c&& echo !v:~0,-1!"') do `
            reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "%l"
ADD [ "https://aka.ms/vs/17/release/vc_redist.x64.exe", "C:\\TEMP\\" ]
RUN C:\TEMP\vc_redist.x64.exe /install /passive /norestart /log C:\TEMP\vc_redist.log && `
  powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
COPY --from=winget-builder [ "C:\\Program Files\\winget-cli", "C:\\Program Files\\winget-cli" ]
RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do `
        reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\Program Files\winget-cli;%c"
RUN powershell -Command "$path=(Join-Path $env:LOCALAPPDATA 'Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState'); New-Item $path -ItemType Directory -Force; '{ """"$schema"""": """"https://aka.ms/winget-settings.schema.json"""", """"telemetry"""": { """"disable"""": """"true"""" } }' | Out-File -encoding ASCII (Join-Path $path 'settings.json')"
RUN winget install --exact --accept-source-agreements --accept-package-agreements Git.Git
ENV CYGWIN="nodosfilewarning winsymlinks:native"
RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do `
        reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\cygwin64\bin;%c"
ADD [ "https://www.cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe" ]
RUN mkdir C:\cygwin64\lib\cygsympathy && mkdir C:\cygwin64\etc\postinstall
ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.cmd", "C:\\cygwin64\\lib\\cygsympathy\\" ]
ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.sh", "C:\\cygwin64\\lib\\cygsympathy\\cygsympathy" ]
RUN mklink C:\cygwin64\etc\postinstall\zp_zcygsympathy.sh C:\cygwin64\lib\cygsympathy\cygsympathy
RUN C:\cygwin64\setup-x86_64.exe --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --local-package-dir C:\TEMP\cache --root C:\cygwin64 --site https://mirrors.kernel.org/sourceware/cygwin/ --symlink-type=native --packages curl,diffutils,git,m4,make,mingw64-x86_64-gcc-core,patch,perl,rsync,unzip && `
  powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\Opam.Runtime.amd64", "C:\\Opam.Runtime.amd64" ]
RUN move C:\Opam.Runtime.amd64 C:\cygwin64\usr\local\bin
COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.2.exe", "C:\\opam-2.2.exe" ]
RUN move C:\opam-2.2.exe C:\cygwin64\usr\local\bin
COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.3.exe", "C:\\opam-2.3.exe" ]
RUN move C:\opam-2.3.exe C:\cygwin64\usr\local\bin
COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.4.exe", "C:\\opam-2.4.exe" ]
RUN move C:\opam-2.4.exe C:\cygwin64\usr\local\bin
COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.5.exe", "C:\\opam-2.5.exe" ]
RUN move C:\opam-2.5.exe C:\cygwin64\usr\local\bin
COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-master.exe", "C:\\opam-dev.exe" ]
RUN move C:\opam-dev.exe C:\cygwin64\usr\local\bin
RUN mklink C:\cygwin64\usr\local\bin\opam.exe C:\cygwin64\usr\local\bin\opam-2.2.exe
RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do `
        reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\cygwin64\usr\local\bin;C:\cygwin64\bin;%c"
WORKDIR C:\cygwin64\home\opam
ENV HOME="C:\cygwin64\home\opam"
RUN C:\cygwin64\bin\bash.exe --login -c "git config --global user.email 'docker@example.com' && git config --global user.name 'Docker' && git config --system core.longpaths true && git config --global --add safe.directory /home/opam/opam-repository"
COPY [ ".", "C:\\cygwin64\\home\\opam\\opam-repository" ]
ENV OPAMROOT="C:\opam\.opam"
RUN opam init -k git -a "C:\cygwin64\home\opam\opam-repository" --bare --disable-sandboxing
RUN C:\cygwin64\bin\bash.exe --login -c "rm -rf /cygdrive/c/opam/.opam/repo/default/.git"
COPY [ "Dockerfile", "/Dockerfile.opam" ]


2026-05-09 06:33.14: Using cache hint "opam-windows-server-mingw-ltsc2025"
2026-05-09 06:33.14: Waiting for confirm-threshold > above-average
2026-05-09 06:33.36: Confirm-threshold now > above-average
2026-05-09 06:33.37: Waiting for worker…
2026-05-09 06:33.37: Got resource from pool OCluster
Building on ltsc2025-3
HEAD is now at 76bd899e94 Merge pull request #29831 from RyanGibb/opam-publish-wol.1.0
HEAD is now at fc08333d1b Merge pull request #29875 from ocaml/mseri-patch-3


------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :     56802     56802         0         0         0         0
   Files :     60972     60972         0         0         0         0
   Bytes :  241.48 m  241.48 m         0         0         0         0
   Times :   0:06:55   0:04:25                       0:00:00   0:02:30


   Speed :             954,275 Bytes/sec.
   Speed :              54.604 MegaBytes/min.
   Ended : Saturday, May 9, 2026 6:44:48 AM

Sending build context to Docker daemon  387.4MB

Step 1/74 : FROM mcr.microsoft.com/windows/server:10.0.26100.32690 AS winget-builder
10.0.26100.32690: Pulling from windows/server
Digest: sha256:cc057bd91286601d395f3af0e0abe458a6ab64926cb40bded28afb200a69ce2f
Status: Image is up to date for mcr.microsoft.com/windows/server:10.0.26100.32690
 ---> 82a0a2231189
Step 2/74 : USER ContainerAdministrator
 ---> Using cache
 ---> 8b3293d6da6f
Step 3/74 : ADD [ "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle", "C:\\TEMP\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip" ]


 ---> Using cache
 ---> 8fda76e4c167
Step 4/74 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip -DestinationPath C:\TEMP\winget-cli -Force"
 ---> Using cache
 ---> 254e0efc472c
Step 5/74 : RUN ren C:\TEMP\winget-cli\AppInstaller_x64.msix AppInstaller_x64.zip
 ---> Using cache
 ---> b7d7fcd98788
Step 6/74 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\winget-cli\AppInstaller_x64.zip -DestinationPath C:\TEMP\winget-cli\ -Force"
 ---> Using cache
 ---> 1ab70c7419b1
Step 7/74 : RUN mkdir "C:\Program Files\winget-cli" &&   move "C:\TEMP\winget-cli\\winget.exe" "C:\Program Files\winget-cli\" &&   move "C:\TEMP\winget-cli\\WindowsPackageManager.dll" "C:\Program Files\winget-cli\" &&   move "C:\TEMP\winget-cli\\resources.pri" "C:\Program Files\winget-cli\"
 ---> Using cache
 ---> 60ed7c1de46a
Step 8/74 : FROM mcr.microsoft.com/windows/server:10.0.26100.32690 AS opam-builder
10.0.26100.32690: Pulling from windows/server
Digest: sha256:cc057bd91286601d395f3af0e0abe458a6ab64926cb40bded28afb200a69ce2f
Status: Image is up to date for mcr.microsoft.com/windows/server:10.0.26100.32690
 ---> 82a0a2231189
Step 9/74 : USER ContainerAdministrator
 ---> Using cache
 ---> 8b3293d6da6f
Step 10/74 : RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "\\$"') do           for /f "delims=" %l in ('cmd /v:on /c "set v=%c&& echo !v:~0,-1!"') do             reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "%l"
 ---> Using cache
 ---> c0321ce31ded
Step 11/74 : ENV CYGWIN="nodosfilewarning winsymlinks:native"
 ---> Using cache
 ---> 1584f7e8ed0b
Step 12/74 : RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do         reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\cygwin64\bin;%c"
 ---> Using cache
 ---> 7b85305140ac
Step 13/74 : ADD [ "https://www.cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe" ]

 ---> Using cache
 ---> c4d3d596f4a8
Step 14/74 : RUN mkdir C:\cygwin64\lib\cygsympathy && mkdir C:\cygwin64\etc\postinstall
 ---> Using cache
 ---> 6b368abeaabd
Step 15/74 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.cmd", "C:\\cygwin64\\lib\\cygsympathy\\" ]

 ---> Using cache
 ---> 5e8c95ca1e02
Step 16/74 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.sh", "C:\\cygwin64\\lib\\cygsympathy\\cygsympathy" ]

 ---> Using cache
 ---> f6fb77a6cb06
Step 17/74 : RUN mklink C:\cygwin64\etc\postinstall\zp_zcygsympathy.sh C:\cygwin64\lib\cygsympathy\cygsympathy
 ---> Using cache
 ---> 31af013bccb8
Step 18/74 : RUN C:\cygwin64\setup-x86_64.exe --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --local-package-dir C:\TEMP\cache --root C:\cygwin64 --site https://mirrors.kernel.org/sourceware/cygwin/ --symlink-type=native --packages diffutils,git,make,mingw64-i686-gcc-g++,mingw64-x86_64-gcc-core,mingw64-x86_64-gcc-g++,patch &&   powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
 ---> Using cache
 ---> afbf6017db1b
Step 19/74 : RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
 ---> Using cache
 ---> 8b7c4df2f120
Step 20/74 : ENV HOME="C:\cygwin64\home\opam"
 ---> Using cache
 ---> bf8df6bce5f7
Step 21/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git config --global user.email 'docker@example.com' && git config --global user.name 'Docker' && git config --system core.longpaths true && git config --global --add safe.directory /tmp/opam-sources"
 ---> Using cache
 ---> 568761618a69
Step 22/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && git checkout 1ea21b460db391ba6f8fb727ee296a86f65579e2 && sed -i \"s/make -j[0-9]*/make -j\$NUMBER_OF_PROCESSORS/g\" shell/bootstrap-ocaml.sh && make compiler "
 ---> Using cache
 ---> 2d7eb7b95ddf
Step 23/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.2 && cd /tmp/opam-build-2.2 && git config --global --add safe.directory /tmp/opam-build-2.2 && git checkout 01e9a24a61e23e42d513b4b775d8c30c807439b2"
 ---> Using cache
 ---> 48d1173d1f5d
Step 24/74 : RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.2 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.2.exe"
 ---> Using cache
 ---> a037ee0f2840
Step 25/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.3 && cd /tmp/opam-build-2.3 && git config --global --add safe.directory /tmp/opam-build-2.3 && git checkout 35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724"
 ---> Using cache
 ---> a456e79b57e7
Step 26/74 : RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.3 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.3.exe"
 ---> Using cache
 ---> 4d688a941e21
Step 27/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.4 && cd /tmp/opam-build-2.4 && git config --global --add safe.directory /tmp/opam-build-2.4 && git checkout 7c92631391984f698f31ee24f3ae4dc1cd3698ff"
 ---> Using cache
 ---> 05b73f124ab5
Step 28/74 : RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.4 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.4.exe"
 ---> Using cache
 ---> 0426d4dbc38c
Step 29/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-2.5 && cd /tmp/opam-build-2.5 && git config --global --add safe.directory /tmp/opam-build-2.5 && git checkout 6218d0c4c022106034a93c8ecb5b80fa213d7356"
 ---> Using cache
 ---> c58c0b6ab959
Step 30/74 : RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-2.5 && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-2.5.exe"
 ---> Using cache
 ---> 1e52cc5f8880
Step 31/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git clone /tmp/opam /tmp/opam-build-master && cd /tmp/opam-build-master && git config --global --add safe.directory /tmp/opam-build-master && git checkout 1ea21b460db391ba6f8fb727ee296a86f65579e2"
 ---> Using cache
 ---> 51424332ded1
Step 32/74 : RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-master && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" ./configure --enable-cold-check --with-private-runtime --with-vendored-deps --with-0install-solver && env PATH="/tmp/opam/bootstrap/ocaml/bin:$PATH" make && make install && mv /usr/local/bin/opam.exe /usr/local/bin/opam-master.exe"
 ---> Using cache
 ---> 56f121454240
Step 33/74 : FROM mcr.microsoft.com/windows/server:10.0.26100.32690
10.0.26100.32690: Pulling from windows/server
Digest: sha256:cc057bd91286601d395f3af0e0abe458a6ab64926cb40bded28afb200a69ce2f
Status: Image is up to date for mcr.microsoft.com/windows/server:10.0.26100.32690
 ---> 82a0a2231189
Step 34/74 : USER ContainerAdministrator
 ---> Using cache
 ---> 8b3293d6da6f
Step 35/74 : LABEL distro_style="windows"
 ---> Using cache
 ---> 6e247f67dde7
Step 36/74 : USER ContainerAdministrator
 ---> Using cache
 ---> 70ff0a0d0483
Step 37/74 : RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "\\$"') do           for /f "delims=" %l in ('cmd /v:on /c "set v=%c&& echo !v:~0,-1!"') do             reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "%l"
 ---> Using cache
 ---> 522ccd080084
Step 38/74 : ADD [ "https://aka.ms/vs/17/release/vc_redist.x64.exe", "C:\\TEMP\\" ]

 ---> Using cache
 ---> c8610a84fc10
Step 39/74 : RUN C:\TEMP\vc_redist.x64.exe /install /passive /norestart /log C:\TEMP\vc_redist.log &&   powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
 ---> Using cache
 ---> 33a983f91bae
Step 40/74 : COPY --from=winget-builder [ "C:\\Program Files\\winget-cli", "C:\\Program Files\\winget-cli" ]
 ---> Using cache
 ---> 95f9fcd7a63a
Step 41/74 : RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do         reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\Program Files\winget-cli;%c"
 ---> Using cache
 ---> 3a7753067e27
Step 42/74 : RUN powershell -Command "$path=(Join-Path $env:LOCALAPPDATA 'Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState'); New-Item $path -ItemType Directory -Force; '{ """"$schema"""": """"https://aka.ms/winget-settings.schema.json"""", """"telemetry"""": { """"disable"""": """"true"""" } }' | Out-File -encoding ASCII (Join-Path $path 'settings.json')"
 ---> Using cache
 ---> c4d576d58bfc
Step 43/74 : RUN winget install --exact --accept-source-agreements --accept-package-agreements Git.Git
 ---> Using cache
 ---> ea45e87c34df
Step 44/74 : ENV CYGWIN="nodosfilewarning winsymlinks:native"
 ---> Using cache
 ---> 749741b399ff
Step 45/74 : RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do         reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\cygwin64\bin;%c"
 ---> Using cache
 ---> 4ffc3eb6bdf4
Step 46/74 : ADD [ "https://www.cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe" ]

 ---> Using cache
 ---> 2a7b495360c4
Step 47/74 : RUN mkdir C:\cygwin64\lib\cygsympathy && mkdir C:\cygwin64\etc\postinstall
 ---> Using cache
 ---> ddcaf9ad77f0
Step 48/74 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.cmd", "C:\\cygwin64\\lib\\cygsympathy\\" ]

 ---> Using cache
 ---> 018821f842bd
Step 49/74 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.sh", "C:\\cygwin64\\lib\\cygsympathy\\cygsympathy" ]

 ---> Using cache
 ---> 0bac82e7fde2
Step 50/74 : RUN mklink C:\cygwin64\etc\postinstall\zp_zcygsympathy.sh C:\cygwin64\lib\cygsympathy\cygsympathy
 ---> Using cache
 ---> 2a2223815a10
Step 51/74 : RUN C:\cygwin64\setup-x86_64.exe --quiet-mode --no-shortcuts --no-startmenu --no-desktop --only-site --local-package-dir C:\TEMP\cache --root C:\cygwin64 --site https://mirrors.kernel.org/sourceware/cygwin/ --symlink-type=native --packages curl,diffutils,git,m4,make,mingw64-x86_64-gcc-core,patch,perl,rsync,unzip &&   powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
 ---> Using cache
 ---> c3ac4b9d1bf0
Step 52/74 : RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
 ---> Using cache
 ---> f4d54a8f9b9c
Step 53/74 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\Opam.Runtime.amd64", "C:\\Opam.Runtime.amd64" ]
 ---> Using cache
 ---> 947255e2aa61
Step 54/74 : RUN move C:\Opam.Runtime.amd64 C:\cygwin64\usr\local\bin
 ---> Using cache
 ---> 0d01bd4aed6f
Step 55/74 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.2.exe", "C:\\opam-2.2.exe" ]
 ---> Using cache
 ---> a6852788937e
Step 56/74 : RUN move C:\opam-2.2.exe C:\cygwin64\usr\local\bin
 ---> Using cache
 ---> 8a41c563565b
Step 57/74 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.3.exe", "C:\\opam-2.3.exe" ]
 ---> Using cache
 ---> e4713100488a
Step 58/74 : RUN move C:\opam-2.3.exe C:\cygwin64\usr\local\bin
 ---> Using cache
 ---> 2831e59dfa8a
Step 59/74 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.4.exe", "C:\\opam-2.4.exe" ]
 ---> Using cache
 ---> c5bff1dbb1b0
Step 60/74 : RUN move C:\opam-2.4.exe C:\cygwin64\usr\local\bin
 ---> Using cache
 ---> 40171a405341
Step 61/74 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.5.exe", "C:\\opam-2.5.exe" ]
 ---> Using cache
 ---> 614f5e5b6f76
Step 62/74 : RUN move C:\opam-2.5.exe C:\cygwin64\usr\local\bin
 ---> Using cache
 ---> f85f0883edd3
Step 63/74 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-master.exe", "C:\\opam-dev.exe" ]
 ---> Using cache
 ---> 249ef62c6127
Step 64/74 : RUN move C:\opam-dev.exe C:\cygwin64\usr\local\bin
 ---> Using cache
 ---> a9e6210bc876
Step 65/74 : RUN mklink C:\cygwin64\usr\local\bin\opam.exe C:\cygwin64\usr\local\bin\opam-2.2.exe
 ---> Using cache
 ---> aef9ee3de065
Step 66/74 : RUN for /f "tokens=1,2,*" %a in ('reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path ^| findstr /r "^[^H]"') do         reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\cygwin64\usr\local\bin;C:\cygwin64\bin;%c"
 ---> Using cache
 ---> 911b9f1c05ac
Step 67/74 : WORKDIR C:\cygwin64\home\opam
 ---> Using cache
 ---> 6d857f64d17a
Step 68/74 : ENV HOME="C:\cygwin64\home\opam"
 ---> Using cache
 ---> 7191604aef63
Step 69/74 : RUN C:\cygwin64\bin\bash.exe --login -c "git config --global user.email 'docker@example.com' && git config --global user.name 'Docker' && git config --system core.longpaths true && git config --global --add safe.directory /home/opam/opam-repository"
 ---> Using cache
 ---> 308019b3b45f
Step 70/74 : COPY [ ".", "C:\\cygwin64\\home\\opam\\opam-repository" ]
2026-05-09 07:54.41: Job failed: Disconnected: Switch turned off