2026-08-15 08:20.43: New job: Build using windows-1809-x86_64 in
[https://github.com/ocaml/opam-repository#master (566df006adab884cf0a59ceb7125a8639c2c55dd)]
2026-08-15 08:20.43: Will push staging image to ocurrent/opam-staging:windows-mingw-ltsc2019-opam-amd64
Dockerfile:
# escape=`
# Autogenerated by OCaml-Dockerfile scripts
FROM mcr.microsoft.com/windows:10.0.17763.8880 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:10.0.17763.8880 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 C:\cygwin64\bin\peflags -d0 C:\cygwin64\bin\cygwin1.dll
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 gc.autoDetach false && 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 979bc4d3150da03cbfb1be0af27cd4db456d6b52 && 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 ad0564f20c6306bc83085fe663cab903fe887208"
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 979bc4d3150da03cbfb1be0af27cd4db456d6b52"
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:10.0.17763.8880
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')"
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 C:\cygwin64\bin\peflags -d0 C:\cygwin64\bin\cygwin1.dll
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 gc.autoDetach false && 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-08-15 08:20.43: Using cache hint "opam-windows-mingw-ltsc2019"
2026-08-15 08:20.43: Waiting for confirm-threshold > above-average
2026-08-15 08:22.43: Confirm-threshold now > above-average
2026-08-15 08:22.43: Waiting for resource in pool OCluster
2026-08-15 08:22.43: Waiting for worker…
2026-08-17 11:03.33: Got resource from pool OCluster
Building on ltsc2019-1
HEAD is now at b85f65c75d Merge pull request #30076 from ocaml/dependabot/github_actions/actions/checkout-7
HEAD is now at 566df006ad Merge pull request #30476 from panglesd/release-slipshow-v0.12.0
------------------------------------------------------------------------------
Total Copied Skipped Mismatch FAILED Extras
Dirs : 58002 58002 0 0 0 0
Files : 62327 62327 0 0 0 0
Bytes : 248.89 m 248.89 m 0 0 0 0
Times : 0:02:00 0:01:16 0:00:00 0:00:44
Speed : 3427611 Bytes/sec.
Speed : 196.129 MegaBytes/min.
Ended : Monday, August 17, 2026 11:07:41 AM
Sending build context to Docker daemon 399.6MB
Step 1/75 : FROM mcr.microsoft.com/windows:10.0.17763.8880 AS winget-builder
10.0.17763.8880: Pulling from windows
Digest: sha256:4487fcf6d66b567bc52b920e2d38ae6eac4744d961f8dd3069477dc829292781
Status: Image is up to date for mcr.microsoft.com/windows:10.0.17763.8880
---> 695c7e914a68
Step 2/75 : USER ContainerAdministrator
---> Using cache
---> fc106f69c5ad
Step 3/75 : ADD [ "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle", "C:\\TEMP\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip" ]
---> 36ec3a405ac7
Step 4/75 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip -DestinationPath C:\TEMP\winget-cli -Force"
---> Running in 88d9530efdd7
---> Removed intermediate container 88d9530efdd7
---> 69cc2a132861
Step 5/75 : RUN ren C:\TEMP\winget-cli\AppInstaller_x64.msix AppInstaller_x64.zip
---> Running in f6b2fb48f505
---> Removed intermediate container f6b2fb48f505
---> 498cf3856beb
Step 6/75 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\winget-cli\AppInstaller_x64.zip -DestinationPath C:\TEMP\winget-cli\ -Force"
---> Running in 4a7cb9175ae0
---> Removed intermediate container 4a7cb9175ae0
---> a35efc8e5556
Step 7/75 : 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\"
---> Running in 0407c250d05f
1 file(s) moved.
1 file(s) moved.
1 file(s) moved.
---> Removed intermediate container 0407c250d05f
---> 64dfcf60ceb2
Step 8/75 : FROM mcr.microsoft.com/windows:10.0.17763.8880 AS opam-builder
10.0.17763.8880: Pulling from windows
Digest: sha256:4487fcf6d66b567bc52b920e2d38ae6eac4744d961f8dd3069477dc829292781
Status: Image is up to date for mcr.microsoft.com/windows:10.0.17763.8880
---> 695c7e914a68
Step 9/75 : USER ContainerAdministrator
---> Using cache
---> fc106f69c5ad
Step 10/75 : 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
---> a2ac6dfb5ba8
Step 11/75 : ENV CYGWIN="nodosfilewarning winsymlinks:native"
---> Using cache
---> 58287a4c1708
Step 12/75 : 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
---> 06aa26179836
Step 13/75 : ADD [ "https://www.cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe" ]
---> Using cache
---> 910bc4b62af1
Step 14/75 : RUN mkdir C:\cygwin64\lib\cygsympathy && mkdir C:\cygwin64\etc\postinstall
---> Using cache
---> 64740545498f
Step 15/75 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.cmd", "C:\\cygwin64\\lib\\cygsympathy\\" ]
---> Using cache
---> 7d5efc2260b0
Step 16/75 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.sh", "C:\\cygwin64\\lib\\cygsympathy\\cygsympathy" ]
---> Using cache
---> a8827f798269
Step 17/75 : RUN mklink C:\cygwin64\etc\postinstall\zp_zcygsympathy.sh C:\cygwin64\lib\cygsympathy\cygsympathy
---> Using cache
---> d223be62577e
Step 18/75 : 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
---> 0a9bc28d1068
Step 19/75 : RUN C:\cygwin64\bin\peflags -d0 C:\cygwin64\bin\cygwin1.dll
---> Using cache
---> cf735646f0bb
Step 20/75 : RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
---> Using cache
---> 169c97deb302
Step 21/75 : ENV HOME="C:\cygwin64\home\opam"
---> Using cache
---> 0bf6ebeb60fb
Step 22/75 : 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 gc.autoDetach false && git config --global --add safe.directory /tmp/opam-sources"
---> Running in 89d13d27498a
Copying skeleton files.
These files are for the users to personalise their cygwin experience.
They will never be overwritten nor automatically updated.
'./.bashrc' -> '/home/opam//.bashrc'
'./.bash_profile' -> '/home/opam//.bash_profile'
'./.inputrc' -> '/home/opam//.inputrc'
'./.profile' -> '/home/opam//.profile'
tzset: can't find matching POSIX timezone for Windows timezone ""
---> Removed intermediate container 89d13d27498a
---> 88d352dfd12d
Step 23/75 : RUN C:\cygwin64\bin\bash.exe --login -c "git clone https://github.com/ocaml/opam /tmp/opam && cd /tmp/opam && git checkout 979bc4d3150da03cbfb1be0af27cd4db456d6b52 && sed -i \"s/make -j[0-9]*/make -j\$NUMBER_OF_PROCESSORS/g\" shell/bootstrap-ocaml.sh && make compiler "
---> Running in 9e62893e4f2c
2026-08-17 11:20.29: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled