(for PR #21122)
2022-04-07 12:54.47: New job: build mirage-block-ccm.1.0.2, using opam 2.1 from https://github.com/ocaml/opam-repository.git#refs/pull/21122/head (854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6) on debian-11-ocaml-4.03/amd64 To reproduce locally: git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/21122/head" && git reset --hard 854464dc git fetch origin master git merge 4d72a962379797389a56c9429260f356d6033ac7 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-11-ocaml-4.03@sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f USER 1000:1000 WORKDIR /home/opam RUN for pkg in $(opam pin list --short); do opam pin remove "$pkg"; done RUN opam repository remove -a multicore || true RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam RUN opam init --reinit -ni ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMSOLVERTIMEOUT="500" ENV OPAMPRECISETRACKING="1" RUN rm -rf opam-repository/ COPY --chown=1000:1000 . opam-repository/ RUN opam repository set-url --strict default opam-repository/ RUN opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2 RUN opam update --depexts RUN opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2; \ res=$?; \ test "$res" != 31 && exit "$res"; \ export OPAMCLI=2.0; \ build_dir=$(opam var prefix)/.opam-switch/build; \ failed=$(ls "$build_dir"); \ for pkg in $failed; do \ if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ done; \ exit 1 END-OF-DOCKERFILE docker build -f ../Dockerfile . 2022-04-07 12:54.47: Using cache hint "ocaml/opam:debian-11-ocaml-4.03@sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f-mirage-block-ccm.1.0.2-854464dcb0d584c0d9a7b6cbdf5b33d0d390d5b6" 2022-04-07 12:54.47: Using OBuilder spec: ((from ocaml/opam:debian-11-ocaml-4.03@sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done")) (run (shell "opam repository remove -a multicore || true")) (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) (run (shell "opam init --reinit --config .opamrc-sandbox -ni")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMSOLVERTIMEOUT 500) (env OPAMPRECISETRACKING 1) (run (shell "rm -rf opam-repository/")) (copy (src .) (dst opam-repository/)) (run (shell "opam repository set-url --strict default opam-repository/")) (run (shell "opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2")) (run (network host) (shell "opam update --depexts")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2;\ \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 for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n done;\ \n exit 1")) ) 2022-04-07 12:54.47: Waiting for resource in pool OCluster 2022-04-07 13:17.27: Waiting for worker... 2022-04-07 13:21.06: Got resource from pool OCluster Building on m1-c.ocamllabs.io All commits already cached Updating files: 33% (8405/25408) Updating files: 34% (8639/25408) Updating files: 35% (8893/25408) Updating files: 36% (9147/25408) Updating files: 37% (9401/25408) Updating files: 38% (9656/25408) Updating files: 39% (9910/25408) Updating files: 40% (10164/25408) Updating files: 41% (10418/25408) Updating files: 42% (10672/25408) Updating files: 43% (10926/25408) Updating files: 44% (11180/25408) Updating files: 45% (11434/25408) Updating files: 46% (11688/25408) Updating files: 47% (11942/25408) Updating files: 48% (12196/25408) Updating files: 49% (12450/25408) Updating files: 50% (12704/25408) Updating files: 51% (12959/25408) Updating files: 52% (13213/25408) Updating files: 53% (13467/25408) Updating files: 54% (13721/25408) Updating files: 55% (13975/25408) Updating files: 56% (14229/25408) Updating files: 57% (14483/25408) Updating files: 58% (14737/25408) Updating files: 59% (14991/25408) Updating files: 60% (15245/25408) Updating files: 61% (15499/25408) Updating files: 62% (15753/25408) Updating files: 63% (16008/25408) Updating files: 64% (16262/25408) Updating files: 65% (16516/25408) Updating files: 66% (16770/25408) Updating files: 67% (17024/25408) Updating files: 68% (17278/25408) Updating files: 69% (17532/25408) Updating files: 70% (17786/25408) Updating files: 71% (18040/25408) Updating files: 71% (18241/25408) Updating files: 72% (18294/25408) Updating files: 73% (18548/25408) Updating files: 74% (18802/25408) Updating files: 75% (19056/25408) Updating files: 76% (19311/25408) Updating files: 77% (19565/25408) Updating files: 78% (19819/25408) Updating files: 79% (20073/25408) Updating files: 80% (20327/25408) Updating files: 81% (20581/25408) Updating files: 82% (20835/25408) Updating files: 83% (21089/25408) Updating files: 84% (21343/25408) Updating files: 85% (21597/25408) Updating files: 86% (21851/25408) Updating files: 87% (22105/25408) Updating files: 88% (22360/25408) Updating files: 89% (22614/25408) Updating files: 90% (22868/25408) Updating files: 91% (23122/25408) Updating files: 92% (23376/25408) Updating files: 93% (23630/25408) Updating files: 94% (23884/25408) Updating files: 95% (24138/25408) Updating files: 96% (24392/25408) Updating files: 97% (24646/25408) Updating files: 98% (24900/25408) Updating files: 99% (25154/25408) Updating files: 100% (25408/25408) Updating files: 100% (25408/25408), done. HEAD is now at 4d72a96237 Merge pull request #21082 from zoggy/opam-publish-chamo.3.0 Merge made by the 'recursive' strategy. .../mirage-block-ccm/mirage-block-ccm.1.0.2/opam | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 packages/mirage-block-ccm/mirage-block-ccm.1.0.2/opam (from ocaml/opam:debian-11-ocaml-4.03@sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f) Unable to find image 'ocaml/opam:debian-11-ocaml-4.03@sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f' locally docker.io/ocaml/opam@sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f: Pulling from ocaml/opam dbba69284b27: Already exists d5625030247c: Already exists 63c2eb44bd40: Pulling fs layer 63c2eb44bd40: Verifying Checksum 63c2eb44bd40: Download complete 63c2eb44bd40: Pull complete Digest: sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f Status: Downloaded newer image for ocaml/opam@sha256:990be7825987f631d45edc3289a70f48f4d696b7f3b322b83c18fc8ea534d18f 2022-04-07 13:21.10 ---> using "69a8f596d3418a4d789e3d09f0e1dbb9b51b314e4d7921eab800d579780b1a2f" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "for pkg in $(opam pin list --short); do opam pin remove \"$pkg\"; done")) Ok, ocaml-base-compiler is no longer pinned to https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz (version 4.03.0) No package build needed. Nothing to do. # Run eval $(opam env) to update the current shell environment 2022-04-07 13:21.10 ---> using "2fab7f2914eddeb674fabbcbd49da83644af244ffdb77843a86fe78c781b7886" from cache /home/opam: (run (shell "opam repository remove -a multicore || true")) [WARNING] No configured repositories by these names found: multicore 2022-04-07 13:21.10 ---> using "a188d6861bf65754c73c30343d5c99b8d7879e0787534979b18f3d2f91368c95" from cache /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2022-04-07 13:21.10 ---> using "c614245e4279a368af8e99b69d89e5237d5b3219ca827e601736d28dc437324e" from cache /home/opam: (run (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. Continue? [Y/n] y This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted. You may want to back it up before going further. Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2022-04-07 13:21.10 ---> using "6dea32a5303d84d975ae7f6612e12c2d93b625a44c9f136884e439df37b11266" from cache /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 500) /home/opam: (env OPAMPRECISETRACKING 1) /home/opam: (run (shell "rm -rf opam-repository/")) 2022-04-07 13:21.10 ---> using "8f21312e39d11f7c9f3a7f477a1a8ccb637b6086c5bf9e90b060c434c6d49a77" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2022-04-07 13:21.25 ---> saved as "cdcf0e4623af43b6989406e1129c95b5437bf7166be02734c28aa97d7279e6fc" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2022-04-07 13:21.49 ---> saved as "cb496ccbadaadf1236a29b03b1a578ab03365177f111c26b87803a1754366f7e" /home/opam: (run (shell "opam pin add -k version -yn mirage-block-ccm.1.0.2 1.0.2")) mirage-block-ccm is now pinned to version 1.0.2 2022-04-07 13:21.54 ---> saved as "ff56190023e056788f04379a1828ba6a52110944c02cd75deeab1d82a526a0a8" /home/opam: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian bullseye InRelease - Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB] - Get:3 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] - Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [124 kB] - Fetched 207 kB in 0s (433 kB/s) - Reading package lists... - 2022-04-07 13:21.58 ---> saved as "71f79cff022375849dd5b56961f1263cf46d2c48e598bfa52d4397aef86410ec" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2;\ \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 for pkg in $failed; do\ \n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-11\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n done;\ \n exit 1")) [NOTE] mirage-block-ccm.1.0.2 is not installed. Nothing to do. [ERROR] Package conflict! * No agreement on the version of ocaml: - (invariant) -> ocaml-base-compiler = 4.03.0 -> ocaml = 4.03.0 - mirage-block-ccm >= 1.0.2 -> ocaml >= 4.08.0 You can temporarily relax the switch invariant with `--update-invariant' No solution found, exiting "/bin/bash" "-c" "opam remove mirage-block-ccm.1.0.2 && opam install --deps-only mirage-block-ccm.1.0.2 && opam install -v mirage-block-ccm.1.0.2; res=$?; test "$res" != 31 && exit "$res"; export OPAMCLI=2.0; build_dir=$(opam var prefix)/.opam-switch/build; failed=$(ls "$build_dir"); for pkg in $failed; do if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-11\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; done; exit 1" failed with exit status 20 2022-04-07 13:22.35: Job failed: Failed: Build failed 2022-04-07 13:22.35: Log analysis: 2022-04-07 13:22.35: >>> [ERROR] Package conflict! (score = 100) 2022-04-07 13:22.35: [SKIP] Package not available