2026-05-09 20:12.18: New job: Build using windows-1809-x86_64 in
[https://github.com/ocaml/opam-repository#master (fc08333d1ba03c1ffbc960479a92aa94085c5f78)]
2026-05-09 20:12.18: Will push staging image to ocurrent/opam-staging:windows-msvc-ltsc2019-opam-amd64
Dockerfile:
# escape=`
# Autogenerated by OCaml-Dockerfile scripts
FROM mcr.microsoft.com/windows:10.0.17763.8644 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.8644 AS cygwin-msvc
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://raw.githubusercontent.com/ocurrent/ocaml-dockerfile/master/src-opam/Install.cmd", "C:\\TEMP\\" ]
ADD [ "https://aka.ms/vscollect.exe", "C:\\TEMP\\collect.exe" ]
ADD [ "https://aka.ms/vs/17/release/channel", "C:\\TEMP\\VisualStudio.chman" ]
RUN curl -SL --output C:\TEMP\vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe `
&& (call C:\TEMP\Install.cmd C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache install `
--installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" `
--channelUri C:\TEMP\VisualStudio.chman `
--installChannelUri C:\TEMP\VisualStudio.chman `
--add Microsoft.VisualStudio.Workload.VCTools `
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 `
--add Microsoft.VisualStudio.Component.Windows11SDK.22621 `
--remove Microsoft.VisualStudio.Component.Windows10SDK.10240 `
--remove Microsoft.VisualStudio.Component.Windows10SDK.10586 `
--remove Microsoft.VisualStudio.Component.Windows10SDK.14393 `
--remove Microsoft.VisualStudio.Component.Windows81SDK) `
&& del /q C:\TEMP\vs_buildtools.exe
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,patch && `
powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
RUN C:\cygwin64\bin\peflags -d0 C:\cygwin64\bin\cygwin1.dll
ADD [ "https://github.com/metastack/msvs-tools/archive/refs/heads/master.tar.gz", "C:\\TEMP\\msvs-tools.tar.gz" ]
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp && tar -xf /cygdrive/c/TEMP/msvs-tools.tar.gz && cp msvs-tools-master/msvs-detect msvs-tools-master/msvs-promote-path /bin && rm -rf /cygdrive/c/TEMP/msvs-tools/*"
RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
FROM cygwin-msvc AS opam-builder
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 OCAML_PORT=msvc64"
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-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-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-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-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-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 cygwin-msvc
LABEL distro_style="windows"
USER ContainerAdministrator
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,patch,perl,rsync,unzip && `
powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
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')"
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 powershell -Command "[Environment]::GetEnvironmentVariable('PATH', 'Machine')" > C:\path_before.txt
RUN call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64 && set > C:\msvc_env.txt
RUN powershell -Command "$before = (Get-Content C:\path_before.txt).Trim(); $content = Get-Content C:\msvc_env.txt; foreach ($line in $content) { if ($line -match '^(INCLUDE|LIB|LIBPATH)=(.*)$') { [Environment]::SetEnvironmentVariable($matches[1], $matches[2], 'Machine') } elseif ($line -match '^PATH=(.*)$') { $vcPath = $matches[1]; $msvcPaths = ($vcPath -split ';' | Where-Object { $before -notlike \"*$_*\" -and $_ -ne '' }) -join ';'; $finalPath = \"$msvcPaths;C:\cygwin64\usr\local\bin;C:\cygwin64\bin;$before\"; [Environment]::SetEnvironmentVariable('PATH', $finalPath, 'Machine') } }"
RUN del C:\path_before.txt C:\msvc_env.txt
RUN mklink C:\cygwin64\usr\local\bin\opam.exe C:\cygwin64\usr\local\bin\opam-2.2.exe
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 20:12.18: Using cache hint "opam-windows-msvc-ltsc2019"
2026-05-09 20:12.18: Waiting for confirm-threshold > above-average
2026-05-09 20:14.18: Confirm-threshold now > above-average
2026-05-09 21:16.33: Waiting for worker…
2026-05-09 21:17.07: Got resource from pool OCluster
Building on ltsc2019-1
All commits already cached
Sending build context to Docker daemon 384.3MB
Step 1/72 : FROM mcr.microsoft.com/windows:10.0.17763.8644 AS winget-builder
10.0.17763.8644: Pulling from windows
Digest: sha256:b42a7e198621b0509df04d52340d74bb28a0ec8800bc4dbd2896256394090b6b
Status: Image is up to date for mcr.microsoft.com/windows:10.0.17763.8644
---> 7304c151e6ec
Step 2/72 : USER ContainerAdministrator
---> Using cache
---> d2982fbf8fac
Step 3/72 : ADD [ "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle", "C:\\TEMP\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip" ]
---> Using cache
---> a47559ca033d
Step 4/72 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip -DestinationPath C:\TEMP\winget-cli -Force"
---> Using cache
---> c9a95da9f9d0
Step 5/72 : RUN ren C:\TEMP\winget-cli\AppInstaller_x64.msix AppInstaller_x64.zip
---> Using cache
---> d5f904b7ca4b
Step 6/72 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\winget-cli\AppInstaller_x64.zip -DestinationPath C:\TEMP\winget-cli\ -Force"
---> Using cache
---> 04d5e263e516
Step 7/72 : 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
---> 4f1edd438abc
Step 8/72 : FROM mcr.microsoft.com/windows:10.0.17763.8644 AS cygwin-msvc
10.0.17763.8644: Pulling from windows
Digest: sha256:b42a7e198621b0509df04d52340d74bb28a0ec8800bc4dbd2896256394090b6b
Status: Image is up to date for mcr.microsoft.com/windows:10.0.17763.8644
---> 7304c151e6ec
Step 9/72 : USER ContainerAdministrator
---> Using cache
---> d2982fbf8fac
Step 10/72 : 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
---> 79de5700c07f
Step 11/72 : ADD [ "https://raw.githubusercontent.com/ocurrent/ocaml-dockerfile/master/src-opam/Install.cmd", "C:\\TEMP\\" ]
---> Using cache
---> 32e6779bdd26
Step 12/72 : ADD [ "https://aka.ms/vscollect.exe", "C:\\TEMP\\collect.exe" ]
---> Using cache
---> 5ebe0710f720
Step 13/72 : ADD [ "https://aka.ms/vs/17/release/channel", "C:\\TEMP\\VisualStudio.chman" ]
---> Using cache
---> db822f168922
Step 14/72 : RUN curl -SL --output C:\TEMP\vs_buildtools.exe https://aka.ms/vs/17/release/vs_buildtools.exe && (call C:\TEMP\Install.cmd C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache install --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" --channelUri C:\TEMP\VisualStudio.chman --installChannelUri C:\TEMP\VisualStudio.chman --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --remove Microsoft.VisualStudio.Component.Windows10SDK.10240 --remove Microsoft.VisualStudio.Component.Windows10SDK.10586 --remove Microsoft.VisualStudio.Component.Windows10SDK.14393 --remove Microsoft.VisualStudio.Component.Windows81SDK) && del /q C:\TEMP\vs_buildtools.exe
---> Using cache
---> 027504e22f82
Step 15/72 : ENV CYGWIN="nodosfilewarning winsymlinks:native"
---> Using cache
---> 4ce38f42bde5
Step 16/72 : 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
---> 828f2e6d0320
Step 17/72 : ADD [ "https://www.cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe" ]
---> Using cache
---> 95b6314e8846
Step 18/72 : RUN mkdir C:\cygwin64\lib\cygsympathy && mkdir C:\cygwin64\etc\postinstall
---> Using cache
---> 1b5ea8f6de98
Step 19/72 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.cmd", "C:\\cygwin64\\lib\\cygsympathy\\" ]
---> Using cache
---> 3e1426b19023
Step 20/72 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.sh", "C:\\cygwin64\\lib\\cygsympathy\\cygsympathy" ]
---> Using cache
---> b499679b9f43
Step 21/72 : RUN mklink C:\cygwin64\etc\postinstall\zp_zcygsympathy.sh C:\cygwin64\lib\cygsympathy\cygsympathy
---> Using cache
---> f8a6cd2cbc00
Step 22/72 : 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,patch && powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
---> Using cache
---> 51ac12a49196
Step 23/72 : RUN C:\cygwin64\bin\peflags -d0 C:\cygwin64\bin\cygwin1.dll
---> Using cache
---> 7ebac37f2c06
Step 24/72 : ADD [ "https://github.com/metastack/msvs-tools/archive/refs/heads/master.tar.gz", "C:\\TEMP\\msvs-tools.tar.gz" ]
---> Using cache
---> 8e639010c416
Step 25/72 : RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp && tar -xf /cygdrive/c/TEMP/msvs-tools.tar.gz && cp msvs-tools-master/msvs-detect msvs-tools-master/msvs-promote-path /bin && rm -rf /cygdrive/c/TEMP/msvs-tools/*"
---> Using cache
---> a527afc94088
Step 26/72 : RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
---> Using cache
---> 866ae15fb0de
Step 27/72 : FROM cygwin-msvc AS opam-builder
---> 866ae15fb0de
Step 28/72 : ENV HOME="C:\cygwin64\home\opam"
---> Using cache
---> a6f723080bec
Step 29/72 : 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
---> 64191468ed4a
Step 30/72 : 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 OCAML_PORT=msvc64"
---> Using cache
---> f0dd038f876d
Step 31/72 : 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
---> d09386b6f126
Step 32/72 : 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-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
---> 70888ec5e851
Step 33/72 : 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
---> 97af855cdbf9
Step 34/72 : 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-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
---> 9f4b8cdcb68b
Step 35/72 : 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
---> 0123e18f9c7d
Step 36/72 : 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-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
---> fece31010b2e
Step 37/72 : 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
---> ad0a3514734a
Step 38/72 : 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-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
---> 5b2c6da93991
Step 39/72 : 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
---> 7cdf58b96740
Step 40/72 : 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-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"
---> Running in fd516bffc68d
tzset: can't find matching POSIX timezone for Windows timezone ""
checking for ocamlc... ocamlc
OCaml version is 4.14.2
OCaml library path is C:/cygwin64/tmp/opam/bootstrap/ocaml/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocaml... ocaml
checking for ocamldep... ocamldep
checking for ocamldep.opt... ocamldep.opt
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamldoc.opt... ocamldoc.opt
checking for ocamlbuild... no
checking OCaml Sys.os_type... Win32
checking for gawk... gawk
checking for compiler type... msvc
checking for compiler architecture... amd64
checking for compiler system... win64
checking for compiler target... x86_64-pc-windows
checking for an installed Microsoft C Compiler for x64... from Visual Studio Build Tools 2022
checking for cl... cl -nologo -O2 -Gy- -MD -D_CRT_SECURE_NO_DEPRECATE
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... obj
checking whether the compiler supports GNU C... no
checking whether cl -nologo -O2 -Gy- -MD -D_CRT_SECURE_NO_DEPRECATE accepts -g... no
checking for cl -nologo -O2 -Gy- -MD -D_CRT_SECURE_NO_DEPRECATE option to enable C11 features... unsupported
checking for cl -nologo -O2 -Gy- -MD -D_CRT_SECURE_NO_DEPRECATE option to enable C99 features... unsupported
checking for cl -nologo -O2 -Gy- -MD -D_CRT_SECURE_NO_DEPRECATE option to enable C89 features... unsupported
checking whether Microsoft Linker needs a PATH shim... no
checking for a way to invoke an x86 C compiler... from Visual Studio Build Tools 2022
checking for ocamlobjinfo... ocamlobjinfo
checking for ocamlfind... no
checking for curl... curl
checking for dune... no
checking for patch... patch
checking for bunzip2... bunzip2
checking for a workable solution for ln -s... ln -s
checking for linking method... shared
checking for OCaml findlib package unix... not found
checking for OCaml findlib package re 1.9.0 or later... no
checking for OCaml findlib package base64 3.1.0 or later... no
checking for OCaml findlib package ocamlgraph... not found
checking for OCaml findlib package cudf 0.7 or later... no
checking for OCaml findlib package dose3.common 6.1 or later... no
checking for OCaml findlib package dose3.algo 6.1 or later... no
checking for OCaml findlib package opam-file-format 2.1.4 or later... no
checking for OCaml findlib package spdx_licenses... not found
checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
checking for OCaml findlib package jsonm... not found
checking for OCaml findlib package uutf... not found
checking for OCaml findlib package sha... not found
checking for OCaml findlib package swhid_core... not found
checking for OCaml findlib package patch... not found
checking for OCaml findlib package mccs 1.1+17 or later... no
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating src/ocaml-flags-configure.sexp
config.status: creating src/core/c-flags.sexp
Opam will be built WITH its default built-in solver
Executables will be installed in /usr/local/bin
Manual pages will be installed in /usr/local/share/man
Downloading vendored source dependencies...
* Downloading dune-local...
* Downloading cppo...
* Downloading base64...
* Downloading extlib...
* Downloading re...
* Downloading ocamlgraph...
* Downloading cudf...
* Downloading dose3...
* Downloading opam-file-format...
* Downloading stdlib-shims...
* Downloading spdx_licenses...
* Downloading opam-0install-cudf...
* Downloading 0install-solver...
* Downloading uutf...
* Downloading jsonm...
* Downloading sha...
* Downloading swhid_core...
* Downloading menhir...
* Downloading patch...
* Downloading mccs...
done
Extracting vendored source dependencies in src_ext/... done
cd src_ext/dune-local && ocaml boot/bootstrap.ml
ocamlc -output-complete-exe -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
.\.duneboot.exe
/tmp/opam-build-master/src_ext/dune-local/_boot/dune.exe build --profile=release --root . --promote-install-files -- opam-installer.install opam.install
header_check.h
opam-putenv.c
sha1_stubs.c
sha256_stubs.c
opam_stubs.c
sha512_stubs.c
Creating menhirLib.ml...
Creating menhirLib.mli...
changed_criteria.cpp
count_criteria.cpp
constraint_generation.cpp
cudf_reductions.cpp
cudf_tools.cpp
lexagregate_combiner.cpp
glpk_solver.cpp
lp_solver.cpp
mccs_stubs.cpp
mccscudf.cpp
new_criteria.cpp
notuptodate_criteria.cpp
advbas.c
alloc.c
avl.c
removed_criteria.cpp
bfd.c
btf.c
btfint.c
cfg.c
cfg2.c
cfg1.c
clqcut.c
cpxbas.c
covgen.c
C:\cygwin64\tmp\opam-build-master\_build\default\src_ext\mccs\src\glpk\src_ext\mccs\src\glpk\intopt\covgen.c(155) : warning C4700: uninitialized local variable 'type' used
dmp.c
env.c
dlsup.c
error.c
fhvint.c
fhv.c
fvs.c
fpump.c
gcd.c
glpapi06.c
glpapi10.c
glpapi09.c
glpapi12.c
glpapi13.c
glpios01.c
C:\cygwin64\tmp\opam-build-master\_build\default\src_ext\mccs\src\glpk\src_ext\mccs\src\glpk\draft\glpios01.c(1494) : warning C4716: '_glp_ios_find_row': must return a value
glpios02.c
glpios03.c
glpios07.c
glpios09.c
glpios11.c
glpios12.c
glpscl.c
gmicut.c
gmigen.c
jd.c
ifu.c
ks.c
luf.c
lufint.c
mc13d.c
mc21a.c
mt1.c
mirgen.c
npp1.c
npp2.c
npp3.c
npp4.c
npp5.c
prob2.c
prob1.c
prob5.c
prob4.c
proxy1.c
proxy.c
rng.c
rng1.c
round2n.c
scf.c
scfint.c
spv.c
spxat.c
sgf.c
spxchuzc.c
spxchuzr.c
spxlp.c
spxnt.c
spxprob.c
spxprim.c
spychuzc.c
spychuzr.c
stdc.c
stdout.c
spydual.c
sva.c
time.c
tls.c
triang.c
wclique.c
wclique1.c
File "src/core/opamWin32Stubs.ml", line 1:
Warning 70 [missing-mli]: Cannot find interface file.
Read 99 sample input sentences and 99 error messages.
Read 99 sample input sentences and 47 error messages.
Grammar has 56 nonterminal symbols, among which 1 start symbols.
Grammar has 37 terminal symbols.
Grammar has 129 productions.
Built an LR(0) automaton with 199 states.
The grammar is not SLR(1) -- 7 states have a conflict.
The construction mode is no-pager.
Built an LR(1) automaton with 308 states.
One shift/reduce conflict was silently solved.
Extra reductions on error were added in 50 states.
Priority played a role in 0 of these states.
156 out of 308 states have a default reduction.
108 out of 308 states are represented.
44 out of 96 symbols keep track of their start position.
39 out of 96 symbols keep track of their end position.
The StackLang code contains 4113 instructions in 277 blocks.
The StackLang code comprises 5 mutually recursive groups.
Read 99 sample input sentences and 47 error messages.
sed -f process.sed opam.install > processed-opam.install
/tmp/opam-build-master/src_ext/dune-local/_boot/dune.exe build --profile=release --root . --promote-install-files -- opam-installer.install
sed -f process.sed opam-installer.install > processed-opam-installer.install
./opam-installer.exe --prefix "C:\cygwin64\usr\local" --mandir "C:\cygwin64\usr\local\share\man" processed-opam.install
_build\install\default\bin\opam-putenv.exe => C:\cygwin64\usr\local\bin\opam-putenv.exe
_build\install\default\bin\opam.exe => C:\cygwin64\usr\local\bin\opam.exe
_build\install\default\man\man1\opam-admin-add-constraint.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-add-constraint.1
_build\install\default\man\man1\opam-admin-add-hashes.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-add-hashes.1
_build\install\default\man\man1\opam-admin-cache.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-cache.1
_build\install\default\man\man1\opam-admin-check.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-check.1
_build\install\default\man\man1\opam-admin-compare-versions.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-compare-versions.1
_build\install\default\man\man1\opam-admin-filter.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-filter.1
_build\install\default\man\man1\opam-admin-help.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-help.1
_build\install\default\man\man1\opam-admin-index.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-index.1
_build\install\default\man\man1\opam-admin-lint.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-lint.1
_build\install\default\man\man1\opam-admin-list.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-list.1
_build\install\default\man\man1\opam-admin-make.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-make.1
_build\install\default\man\man1\opam-admin-migrate-extrafiles.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-migrate-extrafiles.1
_build\install\default\man\man1\opam-admin-update-extrafiles.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-update-extrafiles.1
_build\install\default\man\man1\opam-admin-upgrade.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin-upgrade.1
_build\install\default\man\man1\opam-admin.1 => C:\cygwin64\usr\local\share\man\man1\opam-admin.1
_build\install\default\man\man1\opam-clean.1 => C:\cygwin64\usr\local\share\man\man1\opam-clean.1
_build\install\default\man\man1\opam-config.1 => C:\cygwin64\usr\local\share\man\man1\opam-config.1
_build\install\default\man\man1\opam-env.1 => C:\cygwin64\usr\local\share\man\man1\opam-env.1
_build\install\default\man\man1\opam-exec.1 => C:\cygwin64\usr\local\share\man\man1\opam-exec.1
_build\install\default\man\man1\opam-help.1 => C:\cygwin64\usr\local\share\man\man1\opam-help.1
_build\install\default\man\man1\opam-info.1 => C:\cygwin64\usr\local\share\man\man1\opam-info.1
_build\install\default\man\man1\opam-init.1 => C:\cygwin64\usr\local\share\man\man1\opam-init.1
_build\install\default\man\man1\opam-install.1 => C:\cygwin64\usr\local\share\man\man1\opam-install.1
_build\install\default\man\man1\opam-lint.1 => C:\cygwin64\usr\local\share\man\man1\opam-lint.1
_build\install\default\man\man1\opam-list.1 => C:\cygwin64\usr\local\share\man\man1\opam-list.1
_build\install\default\man\man1\opam-lock.1 => C:\cygwin64\usr\local\share\man\man1\opam-lock.1
_build\install\default\man\man1\opam-option.1 => C:\cygwin64\usr\local\share\man\man1\opam-option.1
_build\install\default\man\man1\opam-pin.1 => C:\cygwin64\usr\local\share\man\man1\opam-pin.1
_build\install\default\man\man1\opam-reinstall.1 => C:\cygwin64\usr\local\share\man\man1\opam-reinstall.1
_build\install\default\man\man1\opam-remote.1 => C:\cygwin64\usr\local\share\man\man1\opam-remote.1
_build\install\default\man\man1\opam-remove.1 => C:\cygwin64\usr\local\share\man\man1\opam-remove.1
_build\install\default\man\man1\opam-repository.1 => C:\cygwin64\usr\local\share\man\man1\opam-repository.1
_build\install\default\man\man1\opam-search.1 => C:\cygwin64\usr\local\share\man\man1\opam-search.1
_build\install\default\man\man1\opam-show.1 => C:\cygwin64\usr\local\share\man\man1\opam-show.1
_build\install\default\man\man1\opam-source.1 => C:\cygwin64\usr\local\share\man\man1\opam-source.1
_build\install\default\man\man1\opam-switch.1 => C:\cygwin64\usr\local\share\man\man1\opam-switch.1
_build\install\default\man\man1\opam-tree.1 => C:\cygwin64\usr\local\share\man\man1\opam-tree.1
_build\install\default\man\man1\opam-uninstall.1 => C:\cygwin64\usr\local\share\man\man1\opam-uninstall.1
_build\install\default\man\man1\opam-unpin.1 => C:\cygwin64\usr\local\share\man\man1\opam-unpin.1
_build\install\default\man\man1\opam-update.1 => C:\cygwin64\usr\local\share\man\man1\opam-update.1
_build\install\default\man\man1\opam-upgrade.1 => C:\cygwin64\usr\local\share\man\man1\opam-upgrade.1
_build\install\default\man\man1\opam-var.1 => C:\cygwin64\usr\local\share\man\man1\opam-var.1
_build\install\default\man\man1\opam-why.1 => C:\cygwin64\usr\local\share\man\man1\opam-why.1
_build\install\default\man\man1\opam.1 => C:\cygwin64\usr\local\share\man\man1\opam.1
./opam-installer.exe --prefix "C:\cygwin64\usr\local" --mandir "C:\cygwin64\usr\local\share\man" processed-opam-installer.install
_build\install\default\bin\opam-installer.exe => C:\cygwin64\usr\local\bin\opam-installer.exe
_build\install\default\man\man1\opam-installer.1 => C:\cygwin64\usr\local\share\man\man1\opam-installer.1
---> Removed intermediate container fd516bffc68d
---> 023770f23d92
Step 41/72 : FROM cygwin-msvc
---> 866ae15fb0de
Step 42/72 : LABEL distro_style="windows"
---> Running in 8b42d1035222
---> Removed intermediate container 8b42d1035222
---> c6e98c577689
Step 43/72 : USER ContainerAdministrator
---> Running in 6704c85e57cc
---> Removed intermediate container 6704c85e57cc
---> 39578fe42e63
Step 44/72 : 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,patch,perl,rsync,unzip && powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
---> Running in c04c93f297e1
Starting cygwin install, version 2.937
User has backup/restore rights
User has symlink creation right
Current Directory: C:\TEMP\cache
root: C:\cygwin64 system
Changing gid to Administrators
Selected local directory: C:\TEMP\cache
net: Preconfig
site: https://mirrors.kernel.org/sourceware/cygwin/
solving: 9 tasks, update: no, use test packages: no
solving: 6 tasks, update: no, use test packages: no
Augmented Transaction List:
0 install curl 8.20.0-1
1 install libdb18.1 18.1.40-1
2 install libgdbm_compat4 1.26-1
3 install m4 1.4.21-1
4 install unzip 6.0-18
5 install perl 5.40.3-1
Downloaded C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/curl/curl-8.20.0-1-x86_64.tar.xz
Downloaded C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/db/libdb18.1/libdb18.1-18.1.40-1.tar.xz
Downloaded C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/gdbm/libgdbm_compat4/libgdbm_compat4-1.26-1-x86_64.tar.xz
Downloaded C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/m4/m4-1.4.21-1-x86_64.tar.xz
Downloaded C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/unzip/unzip-6.0-18.tar.xz
Downloaded C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/perl/perl-5.40.3-1-x86_64.tar.zst
Registry value set: HKEY_LOCAL_MACHINE\Software\Cygwin\setup\rootdir = "C:\cygwin64"
Extracting from file://C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/curl/curl-8.20.0-1-x86_64.tar.xz
Extracting from file://C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/db/libdb18.1/libdb18.1-18.1.40-1.tar.xz
Extracting from file://C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/gdbm/libgdbm_compat4/libgdbm_compat4-1.26-1-x86_64.tar.xz
Extracting from file://C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/m4/m4-1.4.21-1-x86_64.tar.xz
Extracting from file://C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/unzip/unzip-6.0-18.tar.xz
Extracting from file://C:\TEMP\cache/https%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86_64/release/perl/perl-5.40.3-1-x86_64.tar.zst
running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_zcygsympathy.sh"
Ending cygwin install
---> Removed intermediate container c04c93f297e1
---> 319890c35a81
Step 45/72 : ADD [ "https://aka.ms/vs/17/release/vc_redist.x64.exe", "C:\\TEMP\\" ]
---> 6ff72df0e352
Step 46/72 : RUN C:\TEMP\vc_redist.x64.exe /install /passive /norestart /log C:\TEMP\vc_redist.log && powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
---> Running in 14cde4df8bba
---> Removed intermediate container 14cde4df8bba
---> 72b5fce3aecb
Step 47/72 : COPY --from=winget-builder [ "C:\\Program Files\\winget-cli", "C:\\Program Files\\winget-cli" ]
---> 02b29a7ab16d
Step 48/72 : 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"
---> Running in 2be20b65c072
C:\>reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /V Path /t REG_EXPAND_SZ /f /d "C:\Program Files\winget-cli;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH"
The operation completed successfully.
---> Removed intermediate container 2be20b65c072
---> 20a598185f03
Step 49/72 : 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')"
---> Running in 6d1b57a5f208
Directory: C:\Users\ContainerAdministrator\AppData\Local\Packages\Microsoft
.DesktopAppInstaller_8wekyb3d8bbwe
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 5/9/2026 9:49 PM LocalState
---> Removed intermediate container 6d1b57a5f208
---> b4776b849bf7
Step 50/72 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.2.exe", "C:\\opam-2.2.exe" ]
---> 83613a575c28
Step 51/72 : RUN move C:\opam-2.2.exe C:\cygwin64\usr\local\bin
---> Running in 24cccec9707d
1 file(s) moved.
---> Removed intermediate container 24cccec9707d
---> 137e71e8ff10
Step 52/72 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.3.exe", "C:\\opam-2.3.exe" ]
---> ed3cd394f9ae
Step 53/72 : RUN move C:\opam-2.3.exe C:\cygwin64\usr\local\bin
---> Running in a5bcf1da9da4
1 file(s) moved.
---> Removed intermediate container a5bcf1da9da4
---> 91fc236a9201
Step 54/72 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.4.exe", "C:\\opam-2.4.exe" ]
---> 8c441cf15fb7
Step 55/72 : RUN move C:\opam-2.4.exe C:\cygwin64\usr\local\bin
---> Running in f78cb3e8d3a8
1 file(s) moved.
---> Removed intermediate container f78cb3e8d3a8
---> 0de8b80bfb9d
Step 56/72 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-2.5.exe", "C:\\opam-2.5.exe" ]
---> 78c5470f7948
Step 57/72 : RUN move C:\opam-2.5.exe C:\cygwin64\usr\local\bin
---> Running in 4f8c3356815a
1 file(s) moved.
---> Removed intermediate container 4f8c3356815a
---> 5b1c09e54a12
Step 58/72 : COPY --from=opam-builder [ "C:\\cygwin64\\usr\\local\\bin\\opam-master.exe", "C:\\opam-dev.exe" ]
---> b521a0275a64
Step 59/72 : RUN move C:\opam-dev.exe C:\cygwin64\usr\local\bin
---> Running in 306b6639eb10
1 file(s) moved.
---> Removed intermediate container 306b6639eb10
---> cebe352f4555
Step 60/72 : RUN powershell -Command "[Environment]::GetEnvironmentVariable('PATH', 'Machine')" > C:\path_before.txt
---> Running in dfa2f8831f7d
---> Removed intermediate container dfa2f8831f7d
---> faa1dbb70fb3
Step 61/72 : RUN call "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64 && set > C:\msvc_env.txt
---> Running in 123be97e2b60
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.14.31
** Copyright (c) 2025 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
---> Removed intermediate container 123be97e2b60
---> 1944289d8c61
Step 62/72 : RUN powershell -Command "$before = (Get-Content C:\path_before.txt).Trim(); $content = Get-Content C:\msvc_env.txt; foreach ($line in $content) { if ($line -match '^(INCLUDE|LIB|LIBPATH)=(.*)$') { [Environment]::SetEnvironmentVariable($matches[1], $matches[2], 'Machine') } elseif ($line -match '^PATH=(.*)$') { $vcPath = $matches[1]; $msvcPaths = ($vcPath -split ';' | Where-Object { $before -notlike \"*$_*\" -and $_ -ne '' }) -join ';'; $finalPath = \"$msvcPaths;C:\cygwin64\usr\local\bin;C:\cygwin64\bin;$before\"; [Environment]::SetEnvironmentVariable('PATH', $finalPath, 'Machine') } }"
---> Running in 694ad0cedc8e
---> Removed intermediate container 694ad0cedc8e
---> ed644b1b14d9
Step 63/72 : RUN del C:\path_before.txt C:\msvc_env.txt
---> Running in b8db1ed7c370
---> Removed intermediate container b8db1ed7c370
---> 8c720d4b5079
Step 64/72 : RUN mklink C:\cygwin64\usr\local\bin\opam.exe C:\cygwin64\usr\local\bin\opam-2.2.exe
---> Running in 2319617fd0c5
symbolic link created for C:\cygwin64\usr\local\bin\opam.exe <<===>> C:\cygwin64\usr\local\bin\opam-2.2.exe
---> Removed intermediate container 2319617fd0c5
---> a49f7337f888
Step 65/72 : WORKDIR C:\cygwin64\home\opam
---> Running in 5e8303f1587e
---> Removed intermediate container 5e8303f1587e
---> 55012f25cc94
Step 66/72 : ENV HOME="C:\cygwin64\home\opam"
---> Running in b2d0f74b75db
---> Removed intermediate container b2d0f74b75db
---> cf821a2c0f6e
Step 67/72 : 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"
---> Running in 20a5c5d43bec
tzset: can't find matching POSIX timezone for Windows timezone ""
---> Removed intermediate container 20a5c5d43bec
---> ef3aac4c1f10
Step 68/72 : COPY [ ".", "C:\\cygwin64\\home\\opam\\opam-repository" ]
---> 6c227bec940d
Step 69/72 : ENV OPAMROOT="C:\opam\.opam"
---> Running in 205b3208ef23
---> Removed intermediate container 205b3208ef23
---> c1171ea083c1
Step 70/72 : RUN opam init -k git -a "C:\cygwin64\home\opam\opam-repository" --bare --disable-sandboxing
---> Running in 4010751dac6c
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.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
---> Removed intermediate container 4010751dac6c
---> ce9032e6a13b
Step 71/72 : RUN C:\cygwin64\bin\bash.exe --login -c "rm -rf /cygdrive/c/opam/.opam/repo/default/.git"
---> Running in 6936ef1760d3
tzset: can't find matching POSIX timezone for Windows timezone ""
---> Removed intermediate container 6936ef1760d3
---> 189d5daa9855
Step 72/72 : COPY [ "Dockerfile", "/Dockerfile.opam" ]
---> e56fe81def98
Successfully built e56fe81def98
Pushing "sha256:e56fe81def987e837a035a229d42c861caae043b5c91d4022a55bbaa49fedf17" to "ocurrent/opam-staging:windows-msvc-ltsc2019-opam-amd64" as user "ocurrentbuilder"
The push refers to repository [docker.io/ocurrent/opam-staging]
e7391ef4719a: Preparing
81fa5ea6b25c: Preparing
c404c32ebe88: Preparing
4f509ab66562: Preparing
bec8ef45ce01: Preparing
4b5936cb3ccf: Preparing
b43a694e2489: Preparing
10d69df7a557: Preparing
deddfd3a8171: Preparing
4d783055a27a: Preparing
952a94b47c13: Preparing
a4fd9560e2a3: Preparing
9a8ee34d56fe: Preparing
0b066c12786a: Preparing
a6dd06c6cddc: Preparing
d24161cd3d76: Preparing
1709afaca3b2: Preparing
a8058721b67e: Preparing
646d8001842c: Preparing
45c2582a8ec7: Preparing
f0b3ce526415: Preparing
475643ec553e: Preparing
67957f1fdd2f: Preparing
952a94b47c13: Waiting
a4fd9560e2a3: Waiting
9a8ee34d56fe: Waiting
0b066c12786a: Waiting
a6dd06c6cddc: Waiting
d24161cd3d76: Waiting
1709afaca3b2: Waiting
a8058721b67e: Waiting
646d8001842c: Waiting
4b5936cb3ccf: Waiting
b43a694e2489: Waiting
10d69df7a557: Waiting
deddfd3a8171: Waiting
4d783055a27a: Waiting
a6d4a2ab1cbf: Preparing
9e86c73bf173: Preparing
fd6d093c631e: Preparing
67957f1fdd2f: Waiting
a6d4a2ab1cbf: Waiting
45c2582a8ec7: Waiting
f0b3ce526415: Waiting
9e86c73bf173: Waiting
475643ec553e: Waiting
fd6d093c631e: Waiting
e2ace662c07e: Preparing
e25b54f4bd9b: Preparing
e2ace662c07e: Waiting
e25b54f4bd9b: Waiting
d957e984fa80: Preparing
d957e984fa80: Waiting
3018e5fda450: Preparing
35365df50100: Preparing
3706db45d23b: Preparing
35365df50100: Waiting
9ce54d5f0b26: Preparing
a5c10b92639e: Preparing
ff729b7bbdb3: Preparing
e1481e2f2209: Preparing
9b157e330ac8: Preparing
ebfb30e30a5c: Preparing
3303e7e71fc1: Preparing
ff3fd034e27a: Preparing
82cbdb0a2471: Preparing
cd49df7db872: Preparing
8f06347ae4b3: Preparing
c31de59f6d64: Preparing
ff67d91ce83e: Preparing
2293c57ba2b1: Preparing
103f0b986857: Preparing
720b1f80e596: Preparing
c9ffe0a7b5f0: Preparing
f7584efec747: Preparing
43189a88d55c: Preparing
3706db45d23b: Waiting
9ce54d5f0b26: Waiting
a5c10b92639e: Waiting
ff729b7bbdb3: Waiting
e1481e2f2209: Waiting
9b157e330ac8: Waiting
ebfb30e30a5c: Waiting
3303e7e71fc1: Waiting
ff3fd034e27a: Waiting
82cbdb0a2471: Waiting
cd49df7db872: Waiting
8f06347ae4b3: Waiting
c31de59f6d64: Waiting
ff67d91ce83e: Waiting
2293c57ba2b1: Waiting
103f0b986857: Waiting
720b1f80e596: Waiting
c9ffe0a7b5f0: Waiting
f7584efec747: Waiting
43189a88d55c: Waiting
4f509ab66562: Pushed
e7391ef4719a: Pushed
b43a694e2489: Pushed
81fa5ea6b25c: Pushed
10d69df7a557: Pushed
4b5936cb3ccf: Pushed
deddfd3a8171: Pushed
4d783055a27a: Pushed
a4fd9560e2a3: Pushed
9a8ee34d56fe: Pushed
a6dd06c6cddc: Pushed
0b066c12786a: Pushed
952a94b47c13: Pushed
1709afaca3b2: Pushed
d24161cd3d76: Pushed
646d8001842c: Pushed
f0b3ce526415: Pushed
45c2582a8ec7: Pushed
a8058721b67e: Pushed
67957f1fdd2f: Pushed
475643ec553e: Pushed
a6d4a2ab1cbf: Pushed
9e86c73bf173: Pushed
e2ace662c07e: Pushed
fd6d093c631e: Pushed
e25b54f4bd9b: Pushed
3018e5fda450: Pushed
35365df50100: Pushed
3706db45d23b: Pushed
9ce54d5f0b26: Pushed
a5c10b92639e: Pushed
ff729b7bbdb3: Pushed
9b157e330ac8: Pushed
ebfb30e30a5c: Pushed
3303e7e71fc1: Pushed
ff3fd034e27a: Pushed
82cbdb0a2471: Pushed
cd49df7db872: Pushed
8f06347ae4b3: Pushed
2026-05-16 06:38.13: Cancelling: Auto-cancelling job because it is no longer needed
`Fatal Push was canceled after 1 attempts.
Job cancelled