git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/545/head" && git reset --hard 8ce22a46
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./src/./
RUN opam pin add -yn ppxlib.dev './src/./' && \
opam pin add -yn ppxlib-tools.dev './src/./' && \
opam pin add -yn ppxlib-bench.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
2025-05-28 19:12.45: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/pull/545/head (8ce22a4671f771b72191cbb0e6bb8cfc3cd2ac8c) (macos-x86_64:macos-homebrew-4.14_opam-2.3)Base: macos-homebrew-ocaml-4.14Opam project buildTo reproduce locally:git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" && cd "ppxlib" && git fetch origin "refs/pull/545/head" && git reset --hard 8ce22a46cat > Dockerfile <<'END-OF-DOCKERFILE'FROM macos-homebrew-ocaml-4.14# macos-homebrew-4.14_opam-2.3USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opamRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionRUN cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -uCOPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./src/./RUN opam pin add -yn ppxlib.dev './src/./' && \opam pin add -yn ppxlib-tools.dev './src/./' && \opam pin add -yn ppxlib-bench.dev './src/./'RUN echo '(lang dune 3.0)' > './src/./dune-project'ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-BLOCK2025-05-28 19:12.45: Using cache hint "ocaml-ppx/ppxlib-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.3-56e39cb6d91515368996716656ff2b26"2025-05-28 19:12.45: Using OBuilder spec:((from macos-homebrew-ocaml-4.14)(comment macos-homebrew-4.14_opam-2.3)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(run (shell "ln -f ~/local/bin/opam-2.3 ~/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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./src/./))(run (network host)(shell "opam pin add -yn ppxlib.dev './src/./' && \\nopam pin add -yn ppxlib-tools.dev './src/./' && \\nopam pin add -yn ppxlib-bench.dev './src/./'"))(run (network host)(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))(env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2")(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.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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")))2025-05-28 19:12.45: Waiting for resource in pool OCluster2025-05-28 19:12.45: Waiting for worker…2025-05-28 19:20.26: Got resource from pool OClusterBuilding on i7-worker-04HEAD is now at 79a61a10 Add printer config to pp_astHEAD is now at 8ce22a46 Improve Makefile(from macos-homebrew-ocaml-4.14)2025-05-28 19:20.28 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache/: (comment macos-homebrew-4.14_opam-2.3)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))2025-05-28 19:20.28 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" 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-repository2025-05-28 19:20.29 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Darwin 23.4.0The OCaml toplevel, version 4.14.22.3.02025-05-28 19:20.29 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" 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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))From https://github.com/ocaml/opam-repository* branch master -> FETCH_HEAD67e940587b..2df846cb67 master -> origin/master2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///Users/mac1000/opam-repositoryEverything as up-to-date as possible (run with --verbose to show unavailable upgrades).The following packages are not being upgraded because the new versions conflict with other installed packages:- ocaml.5.5.0- ocaml-config.3However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.Nothing to do.# To update the current shell environment, run: eval $(opam env)2025-05-28 19:20.29 ---> using "33b138126e7427be367d0a9f41a85bb66a62f123bf802739a9af6a81c3ab4489" from cache/: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./src/./))2025-05-28 19:20.30 ---> using "fc1fa50f445e5d6b45973f2655e561fb42f32370943965502519ef9fa918a84f" from cache/: (run (network host)(shell "opam pin add -yn ppxlib.dev './src/./' && \\nopam pin add -yn ppxlib-tools.dev './src/./' && \\nopam pin add -yn ppxlib-bench.dev './src/./'"))[ppxlib.dev] synchronised (file:///Users/mac1000/src)ppxlib is now pinned to file:///Users/mac1000/src (version dev)[ppxlib-tools.dev] synchronised (file:///Users/mac1000/src)ppxlib-tools is now pinned to file:///Users/mac1000/src (version dev)Package ppxlib-bench does not exist, create as a NEW package? [y/n] y[ppxlib-bench.dev] synchronised (file:///Users/mac1000/src)ppxlib-bench is now pinned to file:///Users/mac1000/src (version dev)2025-05-28 19:20.30 ---> using "32e9c4628977020961e981661c92d7673f3de5d71730d042a3499f6f33e0e08f" from cache/: (run (network host)(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))2025-05-28 19:20.30 ---> using "1a421e20db7cf861d21aa52646e794b3308a69f6cbeccbc586f68254949b2427" from cache/: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2")/: (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.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))+ /usr/local/bin/brew "update"- ==> Updating Homebrew...- Already up-to-date.<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[ppxlib.dev] synchronised (file:///Users/mac1000/src)[ppxlib-bench.dev] synchronised (file:///Users/mac1000/src)[ppxlib-tools.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).2025-05-28 19:20.31 ---> using "435cf9a453964f437ca337a6781d12dba6b02e7383af483bdc0682f3611bad5a" 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 14 packages- install base v0.16.4- install cinaps v0.15.1- install cmdliner 1.3.0- install csexp 1.5.2- install dune 3.19.0- install dune-configurator 3.19.0- install ocaml-compiler-libs v0.12.4- install ocamlfind 1.9.8- install ppx_derivers 1.2.1- install re 1.12.0- install seq base- install sexplib0 v0.16.0- install stdlib-shims 0.3.0- install yojson 2.2.2<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved cinaps.v0.15.1 (cached)-> retrieved cmdliner.1.3.0 (cached)-> retrieved csexp.1.5.2 (cached)-> retrieved base.v0.16.4 (cached)-> retrieved ocaml-compiler-libs.v0.12.4 (cached)-> retrieved ppx_derivers.1.2.1 (cached)-> retrieved ocamlfind.1.9.8 (cached)-> retrieved seq.base (cached)-> installed seq.base-> retrieved sexplib0.v0.16.0 (cached)-> retrieved re.1.12.0 (cached)-> retrieved stdlib-shims.0.3.0 (cached)-> retrieved yojson.2.2.2 (cached)-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)-> installed cmdliner.1.3.0-> installed ocamlfind.1.9.8-> installed dune.3.19.0-> installed stdlib-shims.0.3.0-> installed ppx_derivers.1.2.1-> installed csexp.1.5.2-> installed yojson.2.2.2-> installed sexplib0.v0.16.0-> installed re.1.12.0-> installed ocaml-compiler-libs.v0.12.4-> installed cinaps.v0.15.1-> installed dune-configurator.3.19.0-> installed base.v0.16.4Done.# To update the current shell environment, run: eval $(opam env)2025-05-28 19:20.31 ---> using "ce273c08c277bc52d01dee22e777467af35cf999b42b1de57b629398c767bf92" from cache/: (copy (src .) (dst ./src))2025-05-28 19:20.33 ---> saved as "f5ec967c27153b9ca58549fc5ef6801d25635649ce502c6ca329de5cd289a922"/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))2025-05-28 19:20.55 ---> saved as "1bfcfc6d2835e45a81b26e3f97f639d4ad44ef015b03c8f501a71da363792ada"Job succeeded2025-05-28 19:21.01: Job succeeded