(for PR #25273)
2024-04-17 19:22.37: New job: build leaves.0.0.3, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/25273/head (20766ae4a537a13e1ac026d21b630f786edfe10d) on debian-10-ocaml-4.14/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/25273/head" && git reset --hard 20766ae4 git fetch origin master git merge --no-edit f089d8564db935c703bea70a4b3d8335ffa1bef3 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-10-ocaml-4.14@sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMSOLVERTIMEOUT="500" 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 update --depexts || true ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" RUN opam pin add -k version -yn leaves.0.0.3 0.0.3 RUN opam reinstall leaves.0.0.3; \ 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-10\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'leaves.0.0.3' && 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 . 2024-04-17 19:22.37: Using cache hint "ocaml/opam:debian-10-ocaml-4.14@sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043-leaves.0.0.3-20766ae4a537a13e1ac026d21b630f786edfe10d" 2024-04-17 19:22.37: Using OBuilder spec: ((from ocaml/opam:debian-10-ocaml-4.14@sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMSOLVERTIMEOUT 500) (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 update --depexts || true")) (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (run (shell "opam pin add -k version -yn leaves.0.0.3 0.0.3")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall leaves.0.0.3;\ \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-10\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'leaves.0.0.3' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-04-17 19:22.37: Waiting for resource in pool OCluster 2024-04-17 20:23.28: Waiting for worker… 2024-04-17 20:26.05: Got resource from pool OCluster Building on x86-bm-c4.sw.ocaml.org All commits already cached Updating files: 68% (22957/33525) Updating files: 69% (23133/33525) Updating files: 70% (23468/33525) Updating files: 71% (23803/33525) Updating files: 72% (24138/33525) Updating files: 73% (24474/33525) Updating files: 74% (24809/33525) Updating files: 75% (25144/33525) Updating files: 76% (25479/33525) Updating files: 77% (25815/33525) Updating files: 78% (26150/33525) Updating files: 79% (26485/33525) Updating files: 80% (26820/33525) Updating files: 81% (27156/33525) Updating files: 82% (27491/33525) Updating files: 83% (27826/33525) Updating files: 84% (28161/33525) Updating files: 85% (28497/33525) Updating files: 86% (28832/33525) Updating files: 87% (29167/33525) Updating files: 88% (29502/33525) Updating files: 89% (29838/33525) Updating files: 90% (30173/33525) Updating files: 91% (30508/33525) Updating files: 92% (30843/33525) Updating files: 93% (31179/33525) Updating files: 94% (31514/33525) Updating files: 95% (31849/33525) Updating files: 96% (32184/33525) Updating files: 97% (32520/33525) Updating files: 98% (32855/33525) Updating files: 99% (33190/33525) Updating files: 100% (33525/33525) Updating files: 100% (33525/33525), done. HEAD is now at f089d8564d Merge pull request #25672 from gborough/opam-publish-fred.0.1.0 Merge made by the 'ort' strategy. packages/leaves/leaves.0.0.3/opam | 42 ++++++++++++++++++++++++++++++++++ packages/minttea/minttea.0.0.3/opam | 43 +++++++++++++++++++++++++++++++++++ packages/spices/spices.0.0.3/opam | 45 +++++++++++++++++++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 packages/leaves/leaves.0.0.3/opam create mode 100644 packages/minttea/minttea.0.0.3/opam create mode 100644 packages/spices/spices.0.0.3/opam (from ocaml/opam:debian-10-ocaml-4.14@sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043) Unable to find image 'ocaml/opam:debian-10-ocaml-4.14@sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043' locally docker.io/ocaml/opam@sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043: Pulling from ocaml/opam 87d1f41a8fb9: Pulling fs layer 87d1f41a8fb9: Verifying Checksum 87d1f41a8fb9: Download complete 87d1f41a8fb9: Pull complete Digest: sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043 Status: Downloaded newer image for ocaml/opam@sha256:17c1b249435ce7564d60bcdabef9093f19b5d08ba6c6d355fff9e727a8dd4043 2024-04-17 20:27.54 ---> saved as "66df07b7032e91463eabf57fcc6cab0d8b7d56af1fb3c6744448c9d96475f552" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-04-17 20:27.54 ---> saved as "0ac61dc55281640835639cb121bb0dcf1eb69dae7731bfe50dfde13dbd4e9e7f" /home/opam: (run (network host) (shell "opam init --reinit --config .opamrc-sandbox -ni")) Configuring 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. This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, 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 39 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=39 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-04-17 20:29.06 ---> saved as "c463e158e53c0fcaea7f908174e8cb3279225bda26d1d6d9131589d89b35515d" /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-102-generic The OCaml toplevel, version 4.14.2 2.2.0~beta3~dev 2024-04-17 20:29.07 ---> saved as "f2b68af8b388dac6a848d3d03d6a2520c4930f6b7c6e2a239884e5aa1f8b5377" /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 500) /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/")) 2024-04-17 20:29.21 ---> saved as "2b1f0baf48454569ac9490dcf6ae2f0bd66962c31fbb8d41ff74c2b38adaf8e4" /home/opam: (copy (src .) (dst opam-repository/)) 2024-04-17 20:29.39 ---> saved as "a34ed7ade79c33bc2628c1caf5d7af709c5d205a8a85f48ff1605769d3fdcd80" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-04-17 20:30.30 ---> saved as "db72c479334cd39b51b6613007cdb08f408c384d051112cc1c03818a8dd68990" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian buster InRelease - Get:2 http://deb.debian.org/debian-security buster/updates InRelease [34.8 kB] - Hit:3 http://deb.debian.org/debian buster-updates InRelease - Get:4 http://deb.debian.org/debian-security buster/updates/main amd64 Packages [595 kB] - Fetched 630 kB in 0s (1606 kB/s) - Reading package lists... - 2024-04-17 20:30.32 ---> saved as "2423a3018bed47177fd5733212841f3f26b961dfcaf6c0f4bf33f02e8200f058" /home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (run (shell "opam pin add -k version -yn leaves.0.0.3 0.0.3")) leaves is now pinned to version 0.0.3 2024-04-17 20:30.33 ---> saved as "9d9b61c694b38a5b378f06facc655eb4cac7e5e4fef6c2ee09b9e6739a28df17" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall leaves.0.0.3;\ \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-10\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'leaves.0.0.3' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) leaves.0.0.3 is not installed. Install it? [y/n] y * No agreement on the version of ocaml: - (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2 - leaves >= 0.0.3 -> ocaml >= 5.1 You can temporarily relax the switch invariant with `--update-invariant' * Incompatible packages: - (invariant) -> ocaml-base-compiler = 4.14.2 - leaves >= 0.0.3 -> ocaml >= 5.1 -> ocaml-variants >= 5.1.1~ No solution found, exiting "/usr/bin/env" "bash" "-c" "opam reinstall leaves.0.0.3; 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-10\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'leaves.0.0.3' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 20 2024-04-17 20:30.53: Job failed: Failed: Build failed 2024-04-17 20:30.53: Log analysis: 2024-04-17 20:30.53: >>> No solution found, exiting (score = 100) 2024-04-17 20:30.53: [SKIP] Package not available