2026-01-30 10:57.24: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/pull/257/head (19a716a938afa5dd2ca532876f6bddbadfb84caa) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.5)Base: macos-homebrew-ocaml-4.14Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" && cd "ocaml-dockerfile" && git fetch origin "refs/pull/257/head" && git reset --hard 19a716a9cat > Dockerfile <<'END-OF-DOCKERFILE'FROM macos-homebrew-ocaml-4.14# macos-homebrew-4.14_arm64_opam-2.5USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionRUN cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam ./src/./RUN opam pin add -yn dockerfile.dev './src/./' && \opam pin add -yn dockerfile-opam.dev './src/./' && \opam pin add -yn dockerfile-cmd.dev './src/./'RUN echo '(lang dune 3.0)' > './src/./dune-project'ENV DEPS="alcotest.1.9.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.5 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . ./srcRUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2026-01-30 10:57.24: Using cache hint "ocurrent/ocaml-dockerfile-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.5-1680413fc72ac4b2796a2dddf8c0686f"2026-01-30 10:57.24: Using OBuilder spec:((from macos-homebrew-ocaml-4.14)(comment macos-homebrew-4.14_arm64_opam-2.5)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))(run (shell "opam init --reinit -ni"))(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)(dst ./src/./))(run (network host)(shell "opam pin add -yn dockerfile.dev './src/./' && \\nopam pin add -yn dockerfile-opam.dev './src/./' && \\nopam pin add -yn dockerfile-cmd.dev './src/./'"))(run (network host)(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))(env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")(env CI true)(env OCAMLCI true)(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam install $DEPS"))(copy (src .) (dst ./src))(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")))2026-01-30 10:57.24: Waiting for resource in pool OCluster2026-01-30 10:57.24: Waiting for worker…2026-01-30 10:57.24: Got resource from pool OClusterBuilding on m1-worker-04HEAD is now at 5953558 Fix paths and file copyHEAD is now at 19a716a Fix paths and file copy(from macos-homebrew-ocaml-4.14)2026-01-30 10:57.25 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache/: (comment macos-homebrew-4.14_arm64_opam-2.5)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))2026-01-30 10:57.26 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" from cache/: (run (shell "opam init --reinit -ni"))No configuration file found, using built-in defaults.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.This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.You may want to back it up before going further.Continue? [Y/n] y[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:opam option jobs=1 --globalFormat upgrade done.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] no changes from git+file:///Users/mac1000/opam-repository2026-01-30 10:57.26 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Darwin 24.5.0The OCaml toplevel, version 4.14.22.5.02026-01-30 10:57.26 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" from cache/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEAD95f7875db7..873cb18c37 master -> origin/master873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///Users/mac1000/opam-repositoryEverything as up-to-date as possibleThe following packages are not being upgraded because the new versions conflict with other installed packages:- ocaml.5.4.0- ocaml-config.3However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.Nothing to do.# To update the current shell environment, run: eval $(opam env)2026-01-30 10:57.26 ---> using "9b174de0df1fe4f719027b2d8af70cb0e7a030ac562162893d628018ce2218f6" from cache/: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)(dst ./src/./))2026-01-30 10:57.26 ---> using "06c2d3bbaf5ff6a083f9387d599e82bc4612e94a37afe8d45c03bd3cbbf4515d" from cache/: (run (network host)(shell "opam pin add -yn dockerfile.dev './src/./' && \\nopam pin add -yn dockerfile-opam.dev './src/./' && \\nopam pin add -yn dockerfile-cmd.dev './src/./'"))[dockerfile.dev] synchronised (file:///Users/mac1000/src)dockerfile is now pinned to file:///Users/mac1000/src (version dev)[dockerfile-opam.dev] synchronised (file:///Users/mac1000/src)dockerfile-opam is now pinned to file:///Users/mac1000/src (version dev)[dockerfile-cmd.dev] synchronised (file:///Users/mac1000/src)dockerfile-cmd is now pinned to file:///Users/mac1000/src (version dev)2026-01-30 10:57.26 ---> using "0584a6f343d9a022791a6a3895cd6d487e3e3bc7149d81ada5c5ad099b30a3bb" from cache/: (run (network host)(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))2026-01-30 10:57.26 ---> using "e920a121fa3774e1da166515299c1f88fc1282a48786104e235c9b12c21408c1" from cache/: (env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.16.4 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.21.0 dune-configurator.3.21.0 fmt.0.11.0 fpath.0.7.3 logs.0.10.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")/: (env CI true)/: (env OCAMLCI true)/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))+ /opt/homebrew/bin/brew "update"- ==> Updating Homebrew...- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:1c98fa49eacc935640a6f8e10a2bf33f14cfc276804b71ddb658ea45ba99d167- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.4.8.arm64_big_sur.bottle.tar.gz- ==> Pouring portable-ruby-3.4.8.arm64_big_sur.bottle.tar.gz- ==> Homebrew collects anonymous analytics.- Read the analytics documentation (and how to opt-out) here:- https://docs.brew.sh/Analytics- No analytics have been recorded yet (nor will be during this `brew` run).-- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:- https://github.com/Homebrew/brew#donations-- Updated 2 taps (homebrew/core and homebrew/cask).- ==> New Formulae- magics: ECMWF's meteorological plotting software- nativefiledialog-extended: Native file dialog library with C and C++ bindings<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[dockerfile-opam.dev] synchronised (file:///Users/mac1000/src)[dockerfile-cmd.dev] synchronised (file:///Users/mac1000/src)[dockerfile.dev] synchronised (file:///Users/mac1000/src)[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-config is already installed (current version is 2).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).[NOTE] Package ocaml is already installed (current version is 4.14.2).[NOTE] Package base-unix is already installed (current version is base).[NOTE] Package base-threads is already installed (current version is base).[NOTE] Package base-bigarray is already installed (current version is base).# To update the current shell environment, run: eval $(opam env)2026-01-30 10:57.26 ---> using "cfce0c9b5ad6f9d4b78567d26b59201753d15eede572dba106d62f56934df59e" from cache/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))(network host)(shell "opam install $DEPS"))[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).[NOTE] Package ocaml-config is already installed (current version is 2).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).[NOTE] Package ocaml is already installed (current version is 4.14.2).[NOTE] Package base-unix is already installed (current version is base).[NOTE] Package base-threads is already installed (current version is base).[NOTE] Package base-bigarray is already installed (current version is base).The following actions will be performed:=== install 25 packages- install alcotest 1.9.1- install astring 0.8.5- install base v0.16.4- install bos 0.2.1- install cmdliner 2.1.0- install csexp 1.5.2- install dune 3.21.0- install dune-configurator 3.21.0- install fmt 0.11.0- install fpath 0.7.3- install logs 0.10.0- install ocaml-compiler-libs v0.12.4- install ocaml-syntax-shims 1.0.0- install ocaml-version 4.0.3- install ocamlbuild 0.16.1- install ocamlfind 1.9.8- install ppx_derivers 1.2.1- install ppx_sexp_conv v0.16.0- install ppxlib 0.35.0- install re 1.14.0- install rresult 0.7.0- install sexplib0 v0.16.0- install stdlib-shims 0.3.0- install topkg 1.1.1- install uutf 1.0.4<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved base.v0.16.4 (cached)-> retrieved astring.0.8.5 (cached)-> retrieved alcotest.1.9.1 (cached)-> retrieved cmdliner.2.1.0 (cached)-> retrieved csexp.1.5.2 (cached)-> retrieved bos.0.2.1 (cached)-> retrieved fmt.0.11.0 (cached)-> retrieved fpath.0.7.3 (cached)-> retrieved logs.0.10.0 (cached)-> retrieved ocaml-compiler-libs.v0.12.4 (cached)-> retrieved ocaml-syntax-shims.1.0.0 (cached)-> retrieved ocaml-version.4.0.3 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved ppx_derivers.1.2.1 (cached)-> retrieved ocamlbuild.0.16.1 (cached)-> retrieved ppx_sexp_conv.v0.16.0 (cached)-> retrieved re.1.14.0 (cached)-> retrieved rresult.0.7.0 (cached)-> retrieved ppxlib.0.35.0 (cached)-> retrieved sexplib0.v0.16.0 (cached)-> retrieved stdlib-shims.0.3.0 (cached)-> retrieved uutf.1.0.4 (cached)-> retrieved topkg.1.1.1 (cached)-> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached)-> installed ocamlfind.1.9.8-> installed cmdliner.2.1.0-> installed ocamlbuild.0.16.1-> installed topkg.1.1.1-> installed rresult.0.7.0-> installed uutf.1.0.4-> installed fmt.0.11.0-> installed astring.0.8.5-> installed fpath.0.7.3-> installed logs.0.10.0-> installed bos.0.2.1-> installed dune.3.21.0-> installed ppx_derivers.1.2.1-> installed csexp.1.5.2-> installed stdlib-shims.0.3.0-> installed sexplib0.v0.16.0-> installed re.1.14.0-> installed ocaml-version.4.0.3-> installed ocaml-syntax-shims.1.0.0-> installed ocaml-compiler-libs.v0.12.4-> installed dune-configurator.3.21.0-> installed alcotest.1.9.1-> installed base.v0.16.4-> installed ppxlib.0.35.0-> installed ppx_sexp_conv.v0.16.0Done.# To update the current shell environment, run: eval $(opam env)2026-01-30 10:57.26 ---> using "4a47589c554345097b845e91e59b99b1cd9716e6e874782e5a50eb943405264c" from cache/: (copy (src .) (dst ./src))2026-01-30 10:57.27 ---> saved as "7c93f237b3b4e0d4c2bec8195ddb4cd91a314a6a80458c3dbd4e9865a8023b64"/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I src-opam/.dockerfile_opam.objs/byte -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/ocaml-version -I /Users/mac1000/.opam/4.14.2/lib/ppx_sexp_conv/runtime-lib -I /Users/mac1000/.opam/4.14.2/lib/sexplib0 -I src/.dockerfile.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Dockerfile_opam__ -o src-opam/.dockerfile_opam.objs/byte/dockerfile_opam__Opam.cmo -c -impl src-opam/opam.pp.ml)File "src-opam/opam.ml", lines 387-401, characters 28-18:387 | ............................(Printf.sprintf {|388 | $before = (Get-Content C:\path_before.txt).Trim()389 | $content = Get-Content C:\msvc_env.txt390 | foreach ($line in $content) {391 | if ($line -match '^(INCLUDE|LIB|LIBPATH)=(.*)$') {...398 | [Environment]::SetEnvironmentVariable('PATH', $finalPath, 'Machine')399 | }400 | }401 | |} cygwin windows)Error: This expression has type string but an expression was expected of type('a, unit, string, t) format4 =('a, unit, string, string, string, t) format6(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src-opam/.dockerfile_opam.objs/byte -I src-opam/.dockerfile_opam.objs/native -I /Users/mac1000/.opam/4.14.2/lib/fmt -I /Users/mac1000/.opam/4.14.2/lib/ocaml-version -I /Users/mac1000/.opam/4.14.2/lib/ppx_sexp_conv/runtime-lib -I /Users/mac1000/.opam/4.14.2/lib/sexplib0 -I src/.dockerfile.objs/byte -I src/.dockerfile.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Dockerfile_opam__ -o src-opam/.dockerfile_opam.objs/native/dockerfile_opam__Opam.cmx -c -impl src-opam/opam.pp.ml)File "src-opam/opam.ml", lines 387-401, characters 28-18:387 | ............................(Printf.sprintf {|388 | $before = (Get-Content C:\path_before.txt).Trim()389 | $content = Get-Content C:\msvc_env.txt390 | foreach ($line in $content) {391 | if ($line -match '^(INCLUDE|LIB|LIBPATH)=(.*)$') {...398 | [Environment]::SetEnvironmentVariable('PATH', $finalPath, 'Machine')399 | }400 | }401 | |} cygwin windows)Error: This expression has type string but an expression was expected of type('a, unit, string, t) format4 =('a, unit, string, string, string, t) format6(cd _build/default/test && ./dockerfile.exe)Testing `test'.This run has ID `MBPWLCMX'.[OK] dockerfile 0 string_of_t.[OK] dockerfile 1 string_of_t.[OK] dockerfile 2 Format RUN heredocs.Full test results in `~/src/_build/default/test/_build/_tests/test'.Test Successful in 0.000s. 3 tests run."/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 12026-01-30 10:57.33: Job failed: Failed: Build failed