(for PR #28173)
2025-07-14 22:15.55: New job: build bam-ppx.0.4, using opam 2.0 from https://github.com/ocaml/opam-repository.git#refs/pull/28173/head (54238081f7cad4bf6f27faa50df6edd6de144696) on debian-12-ocaml-5.3/amd64 To reproduce locally: cd $(mktemp -d) git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28173/head" && git reset --hard 54238081 git fetch origin master git merge --no-edit fb593fd72351e22b3778cfd880158a3c4542aa3f cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.3@sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam RUN opam init --reinit -ni RUN opam config report ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMPRECISETRACKING="1" ENV CI="true" ENV OPAM_REPO_CI="true" RUN rm -rf opam-repository/ COPY --chown=1000:1000 . opam-repository/ RUN opam repository set-url --strict default opam-repository/ RUN opam depext -u || true RUN opam pin add -k version -yn bam-ppx.0.4 0.4 RUN opam depext bam-ppx.0.4 && opam reinstall bam-ppx.0.4; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ partial_fails=""; \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'bam-ppx.0.4' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 END-OF-DOCKERFILE docker build -f ../Dockerfile . 2025-07-14 22:15.55: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067-bam-ppx.0.4-54238081f7cad4bf6f27faa50df6edd6de144696" 2025-07-14 22:15.55: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.3@sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam")) (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) (run (shell "opam config report")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMPRECISETRACKING 1) (env CI true) (env OPAM_REPO_CI true) (run (shell "rm -rf opam-repository/")) (copy (src .) (dst opam-repository/)) (run (shell "opam repository set-url --strict default opam-repository/")) (run (network host) (shell "opam depext -u || true")) (run (shell "opam pin add -k version -yn bam-ppx.0.4 0.4")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext bam-ppx.0.4 && opam reinstall bam-ppx.0.4;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'bam-ppx.0.4' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-07-14 22:15.55: Waiting for resource in pool OCluster 2025-07-14 22:15.57: Waiting for worker… 2025-07-14 22:16.03: Got resource from pool OCluster Building on doris.caelum.ci.dev All commits already cached HEAD is now at fb593fd723 Merge pull request #28170 from liyishuai/setr-z3 Updating fb593fd723..54238081f7 Fast-forward packages/bam-ppx/bam-ppx.0.4/opam | 42 ++++++++++++++++++++++++++++++++++ packages/bam/bam.0.4/opam | 43 +++++++++++++++++++++++++++++++++++ packages/tezt-bam/tezt-bam.0.4/opam | 45 +++++++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 packages/bam-ppx/bam-ppx.0.4/opam create mode 100644 packages/bam/bam.0.4/opam create mode 100644 packages/tezt-bam/tezt-bam.0.4/opam (from ocaml/opam:debian-12-ocaml-5.3@sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067) Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067' locally docker.io/ocaml/opam@sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067: Pulling from ocaml/opam f4604dd855e0: Pulling fs layer f4604dd855e0: Verifying Checksum f4604dd855e0: Download complete f4604dd855e0: Pull complete Digest: sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067 Status: Downloaded newer image for ocaml/opam@sha256:bfa14ce28ec0251aee862bfa20fb2d9f714e8ff6a7537ef2cad575c73935f067 2025-07-14 22:17.39 ---> using "acdff9d7a8a70deb48da0f65d3f7d6921bbbea95414d15db7c2fdb990dcfe1a1" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam")) 2025-07-14 22:17.40 ---> saved as "ef0da7a965a3e48fc2c94cdce0e9c2ee07a92b5b7c4e82a6a0eca234ded45c9c" /home/opam: (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) [NOTE] Will configure from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from 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. [WARNING] Recommended dependencies -- most packages rely on these: - m4 <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised default (at git+file:///home/opam/opam-repository): [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 2025-07-14 22:18.23 ---> saved as "c7913a4975d141d96b303189a2e15aeca160e5cf645738677077726defe98e02" /home/opam: (run (shell "opam config report")) # opam config report # opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) # self-upgrade no # system arch=x86_64 os=linux os-distribution=debian os-version=12 # solver builtin-mccs+glpk # install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed # upgrade-criteria -removed,-count[version-lag,solution],-new # jobs 71 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 5.3 2025-07-14 22:18.24 ---> saved as "18b5868bccbfbe35b4624ed77548e105a92af46b6e8a0e518342f0791e7c21b7" /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMPRECISETRACKING 1) /home/opam: (env CI true) /home/opam: (env OPAM_REPO_CI true) /home/opam: (run (shell "rm -rf opam-repository/")) 2025-07-14 22:18.34 ---> saved as "9bdf2f7a35f164b4a0f73d854e8cd1e0d78dd00faaed30503512cce6fa75008d" /home/opam: (copy (src .) (dst opam-repository/)) 2025-07-14 22:18.49 ---> saved as "c23e3ce921d6ab90eea48b5b792de5a33d092c41e20df6eacafa62f5edfc0db4" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised default (at file:///home/opam/opam-repository): [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html) 2025-07-14 22:19.01 ---> saved as "379b7175f7f240e26ad075b4f0b125d45b505a00ceb2e876afab3bbfa603bf1d" /home/opam: (run (network host) (shell "opam depext -u || true")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. # All required OS packages found. The following command needs to be run through "sudo": apt-get update Hit:1 http://deb.debian.org/debian bookworm InRelease Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] Fetched 103 kB in 0s (207 kB/s) Reading package lists... # OS package update successful 2025-07-14 22:19.03 ---> saved as "d5b74730c4c1e3ae91bdec452e3d661c72559b783acdfcb37913c0c716f79b3d" /home/opam: (run (shell "opam pin add -k version -yn bam-ppx.0.4 0.4")) bam-ppx is now pinned to version 0.4 2025-07-14 22:19.03 ---> saved as "242e9654e6993ae93b126e1c4a52dda3d39b52a80df1aa4bfd1955e383545c72" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam depext bam-ppx.0.4 && opam reinstall bam-ppx.0.4;\ \n res=$?;\ \n test \"$res\" != 31 && exit \"$res\";\ \n export OPAMCLI=2.0;\ \n build_dir=$(opam var prefix)/.opam-switch/build;\ \n failed=$(ls \"$build_dir\");\ \n partial_fails=\"\";\ \n for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'bam-ppx.0.4' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. # All required OS packages found. bam-ppx.0.4 is not installed. Install it? [Y/n] y The following actions will be performed: - install dune 3.19.1 [required by bam-ppx] - install stdlib-shims 0.3.0 [required by ppxlib] - install sexplib0 v0.17.0 [required by ppxlib] - install ppx_derivers 1.2.1 [required by ppxlib] - install ocaml-compiler-libs v0.17.0 [required by ppxlib] - install dmap 0.5 [required by bam-ppx] - install ppxlib 0.36.0 [required by bam-ppx] - install bam-ppx 0.4* ===== 8 to install ===== <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [bam-ppx.0.4] found in cache [dmap.0.5] found in cache [dune.3.19.1] found in cache [ocaml-compiler-libs.v0.17.0] found in cache [ppx_derivers.1.2.1] found in cache [ppxlib.0.36.0] found in cache [sexplib0.v0.17.0] found in cache [stdlib-shims.0.3.0] found in cache <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed dune.3.19.1 -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.3.0 -> installed dmap.0.5 -> installed sexplib0.v0.17.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed ppxlib.0.36.0 -> installed bam-ppx.0.4 Done. # Run eval $(opam env) to update the current shell environment 2025-07-14 22:19.49 ---> saved as "d0a4be01410849acccf5c0b38f17cc16ae8ce5752270bcb2922d060b5dbcf544" Job succeeded 2025-07-14 22:19.55: Job succeeded