Build:
- 1
- 0
2026-05-02 14:47.37: New job: Build using windows-x86_64 in
[]
2026-05-02 14:47.37: Will push staging image to ocurrent/opam-staging:windows-server-msvc-ltsc2025-ocaml-4.14-amd64
Dockerfile:
# escape=`
FROM ocurrent/opam-staging@sha256:424d19f3f56e1a253631ac95c30c0756961b046c4da7e1d84ddadb3363644973
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
RUN opam switch create 4.14 --packages=ocaml-base-compiler.4.14.3,system-msvc
RUN opam pin add -k version ocaml-base-compiler 4.14.3
ENTRYPOINT [ "opam", "exec", "--" ]
CMD [ "cmd.exe" ]
COPY [ "Dockerfile", "/Dockerfile.ocaml" ]
2026-05-02 14:47.37: Using cache hint "4.14.3-amd64-ocurrent/opam-staging@sha256:424d19f3f56e1a253631ac95c30c0756961b046c4da7e1d84ddadb3363644973"
2026-05-02 14:47.37: Waiting for resource in pool OCluster
2026-05-02 14:47.37: Waiting for worker…
2026-05-02 14:47.37: Got resource from pool OCluster
Building on ltsc2025-2
Sending build context to Docker daemon 2.048kB
Step 1/7 : FROM ocurrent/opam-staging@sha256:424d19f3f56e1a253631ac95c30c0756961b046c4da7e1d84ddadb3363644973
docker.io/ocurrent/opam-staging@sha256:424d19f3f56e1a253631ac95c30c0756961b046c4da7e1d84ddadb3363644973: Pulling from ocurrent/opam-staging
Digest: sha256:424d19f3f56e1a253631ac95c30c0756961b046c4da7e1d84ddadb3363644973
Status: Image is up to date for ocurrent/opam-staging@sha256:424d19f3f56e1a253631ac95c30c0756961b046c4da7e1d84ddadb3363644973
---> af6c028160f3
Step 2/7 : ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
---> Running in de39ec0f51b2
---> Removed intermediate container de39ec0f51b2
---> 27e53dd1a510
Step 3/7 : RUN opam switch create 4.14 --packages=ocaml-base-compiler.4.14.3,system-msvc
---> Running in 3160fbdf4537
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.14.3"} "system-msvc"]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed arch-x86_64.1
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed host-arch-x86_64.1
-> installed host-system-msvc.1
[ERROR] Failed to get sources of ocaml-base-compiler.4.14.3: curl failed
[ERROR] Failed to get sources of flexdll.0.44: curl failed
-> installed ocaml-options-vanilla.1
[ERROR] Failed to get sources of msvs-detect.0.8.0: curl failed
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-config.3 (2 extra sources)
#=== ERROR while fetching sources for ocaml-base-compiler.4.14.3 ==============#
OpamSolution.Fetch_fail("https://github.com/ocaml/ocaml/archive/4.14.3.tar.gz (curl failed: \"C:\\\\cygwin64\\\\bin\\\\curl.exe --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.2.1 -L -o C:\\\\opam\\\\.opam\\\\4.14\\\\.opam-switch\\\\sources\\\\ocaml-base-compiler.4.14.3\\\\4.14.3.tar.gz.part -- https://github.com/ocaml/ocaml/archive/4.14.3.tar.gz\" exited with code 6)")
#=== ERROR while fetching sources for msvs-detect.0.8.0 =======================#
OpamSolution.Fetch_fail("https://github.com/metastack/msvs-tools/archive/refs/tags/0.8.0.tar.gz (curl failed: \"C:\\\\cygwin64\\\\bin\\\\curl.exe --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.2.1 -L -o C:\\\\opam\\\\.opam\\\\4.14\\\\.opam-switch\\\\sources\\\\msvs-detect.0.8.0\\\\0.8.0.tar.gz.part -- https://github.com/metastack/msvs-tools/archive/refs/tags/0.8.0.tar.gz\" exited with code 6)")
#=== ERROR while fetching sources for flexdll.0.44 ============================#
OpamSolution.Fetch_fail("https://github.com/ocaml/flexdll/archive/refs/tags/0.44.tar.gz (curl failed: \"C:\\\\cygwin64\\\\bin\\\\curl.exe --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.2.1 -L -o C:\\\\opam\\\\.opam\\\\4.14\\\\.opam-switch\\\\sources\\\\flexdll.0.44\\\\0.44.tar.gz.part -- https://github.com/ocaml/flexdll/archive/refs/tags/0.44.tar.gz\" exited with code 6)")
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - fetch flexdll 0.44
| - fetch msvs-detect 0.8.0
| - fetch ocaml-base-compiler 4.14.3
+-
+- The following changes have been performed (the rest was aborted)
| - install arch-x86_64 1
| - install base-bigarray base
| - install base-threads base
| - install base-unix base
| - install host-arch-x86_64 1
| - install host-system-msvc 1
| - install ocaml-options-vanilla 1
+-
# Run for /f "tokens=*" %i in ('opam env --switch=4.14') do @%i to update the current shell environment
Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [y/n] y
docker-build failed with exit-code 40
2026-05-02 14:48.40: Job failed: Failed: Build failed