Build:
  1. 3
  2. 2
  3. 1
  4. 0
2023-03-24 11:59.33: New job: Build using windows-1809-x86_64 in
                                [https://github.com/ocaml-opam/opam-repository-mingw#sunset (921b0eceb594f96c0c7f40bb2676783be4362aeb)]
2023-03-24 11:59.33: Will push staging image to ocurrent/opam-staging:windows-msvc-1809-opam-amd64

Dockerfile:

# escape=`
FROM mcr.microsoft.com/windows:1809-KB5023702 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\"
# escape=`
FROM mcr.microsoft.com/windows:1809-KB5023702 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 && cp -P -R -p . ../opam-sources && git checkout 8bc4698fb9caded0fa5c2bf08fe67a34d732451e"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-sources && cp -P -R -p . ../opam-build-master && cd ../opam-build-master && git checkout 8bc4698fb9caded0fa5c2bf08fe67a34d732451e && git config --global --add safe.directory /tmp/opam-build-master"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-master && make compiler && make lib-pkg"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp/opam-build-master && ./configure --enable-cold-check --with-private-runtime --with-0install-solver && make && make install"
RUN C:\cygwin64\bin\bash.exe --login -c "cd /usr/local/bin && tar -cf /cygdrive/c/opam.tar ."
# escape=`
# Autogenerated by OCaml-Dockerfile scripts
FROM mcr.microsoft.com/windows:1809-KB5023702
LABEL distro_style="windows"
USER ContainerAdministrator
ADD [ "https://aka.ms/vs/16/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"
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"
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-g++,patch,rsync,unzip,vim && `
  powershell -Command "Remove-Item 'C:\TEMP' -Recurse"
ADD [ "https://github.com/metastack/msvs-tools/archive/0.4.1.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-0.4.1/msvs-detect msvs-tools-0.4.1/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
ADD [ "https://raw.githubusercontent.com/avsm/ocaml-dockerfile/master/src-opam/Install.cmd", "C:\\TEMP\\" ]
ADD [ "https://aka.ms/vscollect.exe", "C:\\TEMP\\collect.exe" ]
ADD [ "https://aka.ms/vs/16/release/channel", "C:\\TEMP\\VisualStudio.chman" ]
ADD [ "https://aka.ms/vs/16/release/vs_buildtools.exe", "C:\\TEMP\\vs_buildtools.exe" ]
RUN C:\TEMP\Install.cmd C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache `
        --installPath C:\BuildTools --channelUri C:\TEMP\VisualStudio.chman `
        --installChannelUri C:\TEMP\VisualStudio.chman `
        --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 `
        --add Microsoft.VisualStudio.Component.Windows10SDK.18362
ADD [ "https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.2/opam64.tar.xz", "C:\\TEMP\\" ]
RUN C:\cygwin64\bin\bash.exe --login -c "cd /tmp && tar -xf /cygdrive/c/TEMP/opam64.tar.xz && ./opam64/install.sh --prefix=/usr && rm -rf opam64 opam64.tar.xz"
COPY --from=opam-builder [ "C:\\opam.tar", "C:\\TEMP\\" ]
RUN C:\cygwin64\bin\tar.exe -xf /cygdrive/c/TEMP/opam.tar -C /usr/local/bin && del C:\TEMP\opam.tar && `
  mklink C:\cygwin64\bin\opam-dev.exe C:\cygwin64\usr\local\bin\opam.exe && `
  mklink C:\cygwin64\bin\opam-2.2.exe C:\cygwin64\bin\opam-dev.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 local -a "C:\cygwin64\home\opam\opam-repository" --bare --disable-sandboxing
RUN opam repo add ocurrent-overlay git+https://github.com/ocurrent/opam-repository-mingw#514541c9957ded860594146061738a060d3138e9 --set-default
RUN C:\cygwin64\bin\bash.exe --login -c "rm -rf /cygdrive/c/opam/.opam/repo/default/.git"
COPY [ "Dockerfile", "/Dockerfile.opam" ]

2023-03-24 11:59.33: Using cache hint "opam-windows-msvc-1809"
2023-03-24 11:59.33: Waiting for resource in pool OCluster
2023-03-24 11:59.33: Waiting for worker…
2023-03-24 11:59.33: Got resource from pool OCluster
Building on win2019-02
All commits already cached
HEAD is now at 921b0eceb Merge pull request #5 from dra27/4.14.1-fix

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows                              
-------------------------------------------------------------------------------

  Started : 24 March 2023 11:59:50
   Source : c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\
     Dest : c:\base-images-builder\ocluster-worker\tmp\build-context-6ac02a\.git\

    Files : *.*
	    
  Options : *.* /S /E /DCOPY:T /COPY:DATSO /R:0 /W:30 

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

	  New Dir          6	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\
	    New File  		     294	config
100%  
	    New File  		      73	description
100%  
	    New File  		     896	FETCH_HEAD
100%  
	    New File  		      23	HEAD
100%  
	    New File  		   4.2 m	index
 11%  
 23%  
 34%  
 46%  
 58%  
 69%  
 81%  
 93%  
100%  
	    New File  		      41	ORIG_HEAD
100%  
	  New Dir         13	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\hooks\
	    New File  		     478	applypatch-msg.sample
100%  
	    New File  		     896	commit-msg.sample
100%  
	    New File  		    4655	fsmonitor-watchman.sample
100%  
	    New File  		     189	post-update.sample
100%  
	    New File  		     424	pre-applypatch.sample
100%  
	    New File  		    1643	pre-commit.sample
100%  
	    New File  		     416	pre-merge-commit.sample
100%  
	    New File  		    1374	pre-push.sample
100%  
	    New File  		    4898	pre-rebase.sample
100%  
	    New File  		     544	pre-receive.sample
100%  
	    New File  		    1492	prepare-commit-msg.sample
100%  
	    New File  		    2783	push-to-checkout.sample
100%  
	    New File  		    3650	update.sample
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\info\
	    New File  		     240	exclude
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\
	    New File  		    1560	HEAD
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\heads\
	    New File  		     195	master
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\
	  New Dir          2	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\origin\
	    New File  		     208	opam2
100%  
	    New File  		     208	sunset
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\pull\
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\pull\1\
	    New File  		     207	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\pull\2\
	    New File  		     207	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\pull\3\
	    New File  		     207	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\pull\4\
	    New File  		     207	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\logs\refs\remotes\pull\5\
	    New File  		     207	head
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\objects\
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\objects\info\
	  New Dir          2	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\objects\pack\
	    New File  		   5.8 m	pack-5a5c603148c6aee72444dab577be555dc851da7e.idx
  8.6%
 17.2%
 25.8%
 34.4%
 43.0%
 51.6%
 60.2%
 68.8%
 77.4%
 86.0%
 94.6%
100%  
	    New File  		  32.4 m	pack-5a5c603148c6aee72444dab577be555dc851da7e.pack
  3.0%
  6.1%
  9.2%
 12.3%
 15.4%
 18.5%
 21.6%
 24.6%
 27.7%
 30.8%
 33.9%
 37.0%
 40.1%
 43.2%
 46.2%
 49.3%
 52.4%
 55.5%
 58.6%
 61.7%
 64.8%
 67.8%
 70.9%
 74.0%
 77.1%
 80.2%
 83.3%
 86.4%
 89.4%
 92.5%
 95.6%
 98.7%
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\heads\
	    New File  		      41	master
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\
	  New Dir          2	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\origin\
	    New File  		      41	opam2
100%  
	    New File  		      41	sunset
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\pull\
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\pull\1\
	    New File  		      41	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\pull\2\
	    New File  		      41	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\pull\3\
	    New File  		      41	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\pull\4\
	    New File  		      41	head
100%  
	  New Dir          1	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\remotes\pull\5\
	    New File  		      41	head
100%  
	  New Dir          0	c:\base-images-builder\ocluster-worker\git\opam-repository-mingw-d64a4139a4794ed226a9b4244a0353abaadb899b\.git\refs\tags\

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

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :        28        28         0         0         0         0
   Files :        39        39         0         0         0         0
   Bytes :   42.53 m   42.53 m         0         0         0         0
   Times :   0:00:00   0:00:00                       0:00:00   0:00:00


   Speed :           579269714 Bytes/sec.
   Speed :           33146.078 MegaBytes/min.
   Ended : 24 March 2023 11:59:50

Sending build context to Docker daemon  132.4MB

Step 1/64 : FROM mcr.microsoft.com/windows:1809-KB5023702 as winget-builder
1809-KB5023702: Pulling from windows
Digest: sha256:cdce7583ef68baa05fa13e70228f676028af9c3aedd6044de8cfd0c0cec23672
Status: Image is up to date for mcr.microsoft.com/windows:1809-KB5023702
 ---> 0871ed9f0cec
Step 2/64 : USER ContainerAdministrator
 ---> Using cache
 ---> 63762152c7af
Step 3/64 : ADD [ "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle", "C:\\TEMP\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip" ]


 ---> Using cache
 ---> 1011b8e14228
Step 4/64 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.zip -DestinationPath C:\TEMP\winget-cli -Force"
 ---> Using cache
 ---> c125ad4573c3
Step 5/64 : RUN ren C:\TEMP\winget-cli\AppInstaller_x64.msix AppInstaller_x64.zip
 ---> Using cache
 ---> 88b8efc958f9
Step 6/64 : RUN powershell -Command "Expand-Archive -LiteralPath C:\TEMP\winget-cli\AppInstaller_x64.zip -DestinationPath C:\TEMP\winget-cli\ -Force"
 ---> Using cache
 ---> 580c61134b4c
Step 7/64 : 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
 ---> 3912e9131a70
Step 8/64 : FROM mcr.microsoft.com/windows:1809-KB5023702 as opam-builder
1809-KB5023702: Pulling from windows
Digest: sha256:cdce7583ef68baa05fa13e70228f676028af9c3aedd6044de8cfd0c0cec23672
Status: Image is up to date for mcr.microsoft.com/windows:1809-KB5023702
 ---> 0871ed9f0cec
Step 9/64 : USER ContainerAdministrator
 ---> Using cache
 ---> 63762152c7af
Step 10/64 : 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
 ---> 00fb6d5b54a4
Step 11/64 : ENV CYGWIN="nodosfilewarning winsymlinks:native"
 ---> Using cache
 ---> 8ae0a3a37317
Step 12/64 : 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
 ---> ff05433c68d5
Step 13/64 : ADD [ "https://www.cygwin.com/setup-x86_64.exe", "C:\\cygwin64\\setup-x86_64.exe" ]


 ---> Using cache
 ---> 1512aad4ceab
Step 14/64 : RUN mkdir C:\cygwin64\lib\cygsympathy && mkdir C:\cygwin64\etc\postinstall
 ---> Using cache
 ---> 08de431ea252
Step 15/64 : ADD [ "https://raw.githubusercontent.com/metastack/cygsympathy/master/cygsympathy.cmd", "C:\\cygwin64\\lib\\cygsympathy\\" ]

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

 ---> Using cache
 ---> 4f7c01c7da4c
Step 17/64 : RUN mklink C:\cygwin64\etc\postinstall\zp_zcygsympathy.sh C:\cygwin64\lib\cygsympathy\cygsympathy
 ---> Using cache
 ---> 5e2b65aee476
Step 18/64 : 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
 ---> e5f3cc9cf494
Step 19/64 : RUN awk -i inplace "/(^#)|(^$)/{print;next}{$4=""noacl,""$4; print}" C:\cygwin64\etc\fstab
 ---> Using cache
 ---> 77c506d5c8ff
Step 20/64 : ENV HOME="C:\cygwin64\home\opam"
 ---> Using cache
 ---> d14002c4a732
Step 21/64 : 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"
 ---> Running in d99e0e83af69
     24 [main] bash 832 child_copy: dll data read copy failed, 0x7FFBE2869000..0x7FFBE2875F30, done 0, windows pid 1324, Win32 error 299
     90 [main] bash 831 dofork: child -1 - forked process 1324 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
/etc/profile: fork: retry: Resource temporarily unavailable
      6 [main] bash 833 child_copy: dll data read copy failed, 0x7FFBE1B89000..0x7FFBE1B95F30, done 0, windows pid 2164, Win32 error 299
1045628 [main] bash 831 dofork: child -1 - forked process 2164 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
/etc/profile: fork: retry: Resource temporarily unavailable
      6 [main] bash 834 child_copy: dll data read copy failed, 0x7FFBE1B89000..0x7FFBE1B95F30, done 0, windows pid 2236, Win32 error 299
3114998 [main] bash 831 dofork: child -1 - forked process 2236 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
/etc/profile: fork: retry: Resource temporarily unavailable
      7 [main] bash 835 child_copy: dll data read copy failed, 0x7FFBE1B89000..0x7FFBE1B95F30, done 0, windows pid 2296, Win32 error 299
7164385 [main] bash 831 dofork: child -1 - forked process 2296 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
/etc/profile: fork: retry: Resource temporarily unavailable
      7 [main] bash 836 child_copy: dll data read copy failed, 0x7FFBE1B89000..0x7FFBE1B95F30, done 0, windows pid 2384, Win32 error 299
15208509 [main] bash 831 dofork: child -1 - forked process 2384 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
/etc/profile: fork: Resource temporarily unavailable
docker-build failed with exit-code 254
2023-03-24 12:01.40: Job failed: Failed: Build failed