(for PR #26890)

2024-11-25 08:24.31: New job: build octez-riscv-api.21.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26890/head (7d056a17b3735f6625d5d59a0cb52e4cbd3e79d3)
                              on debian-12-ocaml-5.2/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/26890/head" && git reset --hard 7d056a17
git fetch origin master
git merge --no-edit 727427c1e71db673d70869c8df4d678bf322632b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:6df0d724516bd70a8d42ee042eb4856c32ade3e30c88abaff72556b06ff20aa7
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /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="1000"
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 octez-riscv-api.21.0 21.0
RUN opam depext octez-riscv-api.21.0 && opam reinstall octez-riscv-api.21.0; \
    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" != 'octez-riscv-api.21.0' && 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-11-25 08:24.31: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:6df0d724516bd70a8d42ee042eb4856c32ade3e30c88abaff72556b06ff20aa7-octez-riscv-api.21.0-7d056a17b3735f6625d5d59a0cb52e4cbd3e79d3"
2024-11-25 08:24.31: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:6df0d724516bd70a8d42ee042eb4856c32ade3e30c88abaff72556b06ff20aa7)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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 octez-riscv-api.21.0 21.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext octez-riscv-api.21.0 && opam reinstall octez-riscv-api.21.0;\
             \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\" != 'octez-riscv-api.21.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-11-25 08:24.31: Waiting for resource in pool OCluster
2024-11-25 12:46.12: Waiting for worker…
2024-11-25 13:02.41: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
Updating files:  91% (29875/32817)
Updating files:  92% (30192/32817)
Updating files:  93% (30520/32817)
Updating files:  94% (30848/32817)
Updating files:  95% (31177/32817)
Updating files:  96% (31505/32817)
Updating files:  97% (31833/32817)
Updating files:  98% (32161/32817)
Updating files:  99% (32489/32817)
Updating files: 100% (32817/32817)
Updating files: 100% (32817/32817), done.
HEAD is now at 727427c1e7 Merge pull request #26934 from hhugo/alcotest-js
Merge made by the 'ort' strategy.
 packages/bls12-381/bls12-381.21.0/opam             |  31 ++++++
 .../octez-accuser-PsParisC.21.0/opam               |  32 ++++++
 .../octez-accuser-PsQuebec.21.0/opam               |  32 ++++++
 packages/octez-alcotezt/octez-alcotezt.21.0/opam   |  29 +++++
 .../octez-baker-PsParisC.21.0/opam                 |  32 ++++++
 .../octez-baker-PsQuebec.21.0/opam                 |  32 ++++++
 packages/octez-client/octez-client.21.0/opam       |  81 ++++++++++++++
 packages/octez-codec/octez-codec.21.0/opam         |  70 ++++++++++++
 packages/octez-crawler/octez-crawler.21.0/opam     |  30 +++++
 .../octez-dac-client/octez-dac-client.21.0/opam    |  38 +++++++
 packages/octez-dac-node/octez-dac-node.21.0/opam   |  41 +++++++
 packages/octez-dal-node/octez-dal-node.21.0/opam   |  43 +++++++
 .../octez-distributed-internal.21.0/opam           |  29 +++++
 .../octez-distributed-lwt-internal.21.0/opam       |  32 ++++++
 packages/octez-injector/octez-injector.21.0/opam   |  32 ++++++
 .../octez-internal-libs.21.0/opam                  |  55 +++++++++
 packages/octez-l2-libs/octez-l2-libs.21.0/opam     |  53 +++++++++
 packages/octez-libs/octez-libs.21.0/opam           | 124 +++++++++++++++++++++
 .../octez-node-config/octez-node-config.21.0/opam  |  30 +++++
 packages/octez-node/octez-node.21.0/opam           | 123 ++++++++++++++++++++
 .../octez-proto-libs/octez-proto-libs.21.0/opam    |  39 +++++++
 .../octez-protocol-000-Ps9mPmXa-libs.21.0/opam     |  31 ++++++
 .../octez-protocol-001-PtCJ7pwo-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-002-PsYLVpVv-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-003-PsddFKi3-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-004-Pt24m4xi-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-005-PsBabyM1-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-006-PsCARTHA-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-007-PsDELPH1-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-008-PtEdo2Zk-libs.21.0/opam     |  33 ++++++
 .../octez-protocol-009-PsFLoren-libs.21.0/opam     |  34 ++++++
 .../octez-protocol-010-PtGRANAD-libs.21.0/opam     |  34 ++++++
 .../octez-protocol-011-PtHangz2-libs.21.0/opam     |  34 ++++++
 .../octez-protocol-012-Psithaca-libs.21.0/opam     |  34 ++++++
 .../octez-protocol-013-PtJakart-libs.21.0/opam     |  34 ++++++
 .../octez-protocol-014-PtKathma-libs.21.0/opam     |  34 ++++++
 .../octez-protocol-015-PtLimaPt-libs.21.0/opam     |  34 ++++++
 .../octez-protocol-016-PtMumbai-libs.21.0/opam     |  36 ++++++
 .../octez-protocol-017-PtNairob-libs.21.0/opam     |  36 ++++++
 .../octez-protocol-018-Proxford-libs.21.0/opam     |  36 ++++++
 .../octez-protocol-019-PtParisB-libs.21.0/opam     |  36 ++++++
 .../octez-protocol-020-PsParisC-libs.21.0/opam     |  48 ++++++++
 .../octez-protocol-021-PsQuebec-libs.21.0/opam     |  48 ++++++++
 .../octez-protocol-alpha-libs.21.0/opam            |  48 ++++++++
 .../octez-protocol-compiler.21.0/opam              |  34 ++++++
 packages/octez-riscv-api/octez-riscv-api.21.0/opam |  29 +++++
 packages/octez-riscv-pvm/octez-riscv-pvm.21.0/opam |  30 +++++
 .../octez-rpc-process/octez-rpc-process.21.0/opam  |  33 ++++++
 packages/octez-rust-deps/octez-rust-deps.21.0/opam |  28 +++++
 .../octez-shell-libs/octez-shell-libs.21.0/opam    |  59 ++++++++++
 packages/octez-signer/octez-signer.21.0/opam       |  30 +++++
 .../octez-smart-rollup-node-Proxford.21.0/opam     |  45 ++++++++
 .../octez-smart-rollup-node-PsParisC.21.0/opam     |  45 ++++++++
 .../octez-smart-rollup-node-PsQuebec.21.0/opam     |  46 ++++++++
 .../octez-smart-rollup-node-PtNairob.21.0/opam     |  44 ++++++++
 .../octez-smart-rollup-node-PtParisB.21.0/opam     |  45 ++++++++
 .../octez-smart-rollup-node-alpha.21.0/opam        |  46 ++++++++
 .../octez-smart-rollup-node-lib.21.0/opam          |  39 +++++++
 .../octez-smart-rollup-node.21.0/opam              |  44 ++++++++
 .../octez-smart-rollup-wasm-debugger-lib.21.0/opam |  34 ++++++
 .../opam                                           |  28 +++++
 .../octez-smart-rollup-wasm-debugger.21.0/opam     |  29 +++++
 packages/octez-version/octez-version.21.0/opam     |  30 +++++
 packages/octez/octez.21.0/opam                     |  77 +++++++++++++
 packages/tezos-benchmark/tezos-benchmark.21.0/opam |  32 ++++++
 .../tezos-client-demo-counter.21.0/opam            |  31 ++++++
 .../tezos-client-genesis.21.0/opam                 |  32 ++++++
 .../tezos-dac-client-lib.21.0/opam                 |  31 ++++++
 packages/tezos-dac-lib/tezos-dac-lib.21.0/opam     |  30 +++++
 .../tezos-dac-node-lib.21.0/opam                   |  33 ++++++
 .../tezos-dal-node-lib.21.0/opam                   |  31 ++++++
 .../tezos-dal-node-services.21.0/opam              |  29 +++++
 packages/tezos-openapi/tezos-openapi.21.0/opam     |  31 ++++++
 .../tezos-protocol-000-Ps9mPmXa.21.0/opam          |  30 +++++
 .../tezos-protocol-001-PtCJ7pwo.21.0/opam          |  30 +++++
 .../tezos-protocol-002-PsYLVpVv.21.0/opam          |  30 +++++
 .../tezos-protocol-003-PsddFKi3.21.0/opam          |  30 +++++
 .../tezos-protocol-004-Pt24m4xi.21.0/opam          |  30 +++++
 .../tezos-protocol-005-PsBABY5H.21.0/opam          |  30 +++++
 .../tezos-protocol-005-PsBabyM1.21.0/opam          |  30 +++++
 .../tezos-protocol-006-PsCARTHA.21.0/opam          |  30 +++++
 .../tezos-protocol-007-PsDELPH1.21.0/opam          |  30 +++++
 .../tezos-protocol-008-PtEdo2Zk.21.0/opam          |  30 +++++
 .../tezos-protocol-008-PtEdoTez.21.0/opam          |  30 +++++
 .../tezos-protocol-009-PsFLoren.21.0/opam          |  30 +++++
 .../tezos-protocol-010-PtGRANAD.21.0/opam          |  30 +++++
 .../tezos-protocol-011-PtHangz2.21.0/opam          |  31 ++++++
 .../tezos-protocol-012-Psithaca.21.0/opam          |  31 ++++++
 .../tezos-protocol-013-PtJakart.21.0/opam          |  31 ++++++
 .../tezos-protocol-014-PtKathma.21.0/opam          |  31 ++++++
 .../tezos-protocol-015-PtLimaPt.21.0/opam          |  31 ++++++
 .../tezos-protocol-016-PtMumbai.21.0/opam          |  31 ++++++
 .../tezos-protocol-017-PtNairob.21.0/opam          |  31 ++++++
 .../tezos-protocol-018-Proxford.21.0/opam          |  31 ++++++
 .../tezos-protocol-019-PtParisB.21.0/opam          |  31 ++++++
 .../tezos-protocol-020-PsParisC.21.0/opam          |  31 ++++++
 .../tezos-protocol-021-PsQuebec.21.0/opam          |  31 ++++++
 .../tezos-protocol-alpha.21.0/opam                 |  31 ++++++
 .../tezos-protocol-demo-counter.21.0/opam          |  30 +++++
 .../tezos-protocol-demo-noops.21.0/opam            |  30 +++++
 .../tezos-protocol-genesis.21.0/opam               |  30 +++++
 packages/tezt-tezos/tezt-tezos.21.0/opam           |  28 +++++
 102 files changed, 3784 insertions(+)
 create mode 100644 packages/bls12-381/bls12-381.21.0/opam
 create mode 100644 packages/octez-accuser-PsParisC/octez-accuser-PsParisC.21.0/opam
 create mode 100644 packages/octez-accuser-PsQuebec/octez-accuser-PsQuebec.21.0/opam
 create mode 100644 packages/octez-alcotezt/octez-alcotezt.21.0/opam
 create mode 100644 packages/octez-baker-PsParisC/octez-baker-PsParisC.21.0/opam
 create mode 100644 packages/octez-baker-PsQuebec/octez-baker-PsQuebec.21.0/opam
 create mode 100644 packages/octez-client/octez-client.21.0/opam
 create mode 100644 packages/octez-codec/octez-codec.21.0/opam
 create mode 100644 packages/octez-crawler/octez-crawler.21.0/opam
 create mode 100644 packages/octez-dac-client/octez-dac-client.21.0/opam
 create mode 100644 packages/octez-dac-node/octez-dac-node.21.0/opam
 create mode 100644 packages/octez-dal-node/octez-dal-node.21.0/opam
 create mode 100644 packages/octez-distributed-internal/octez-distributed-internal.21.0/opam
 create mode 100644 packages/octez-distributed-lwt-internal/octez-distributed-lwt-internal.21.0/opam
 create mode 100644 packages/octez-injector/octez-injector.21.0/opam
 create mode 100644 packages/octez-internal-libs/octez-internal-libs.21.0/opam
 create mode 100644 packages/octez-l2-libs/octez-l2-libs.21.0/opam
 create mode 100644 packages/octez-libs/octez-libs.21.0/opam
 create mode 100644 packages/octez-node-config/octez-node-config.21.0/opam
 create mode 100644 packages/octez-node/octez-node.21.0/opam
 create mode 100644 packages/octez-proto-libs/octez-proto-libs.21.0/opam
 create mode 100644 packages/octez-protocol-000-Ps9mPmXa-libs/octez-protocol-000-Ps9mPmXa-libs.21.0/opam
 create mode 100644 packages/octez-protocol-001-PtCJ7pwo-libs/octez-protocol-001-PtCJ7pwo-libs.21.0/opam
 create mode 100644 packages/octez-protocol-002-PsYLVpVv-libs/octez-protocol-002-PsYLVpVv-libs.21.0/opam
 create mode 100644 packages/octez-protocol-003-PsddFKi3-libs/octez-protocol-003-PsddFKi3-libs.21.0/opam
 create mode 100644 packages/octez-protocol-004-Pt24m4xi-libs/octez-protocol-004-Pt24m4xi-libs.21.0/opam
 create mode 100644 packages/octez-protocol-005-PsBabyM1-libs/octez-protocol-005-PsBabyM1-libs.21.0/opam
 create mode 100644 packages/octez-protocol-006-PsCARTHA-libs/octez-protocol-006-PsCARTHA-libs.21.0/opam
 create mode 100644 packages/octez-protocol-007-PsDELPH1-libs/octez-protocol-007-PsDELPH1-libs.21.0/opam
 create mode 100644 packages/octez-protocol-008-PtEdo2Zk-libs/octez-protocol-008-PtEdo2Zk-libs.21.0/opam
 create mode 100644 packages/octez-protocol-009-PsFLoren-libs/octez-protocol-009-PsFLoren-libs.21.0/opam
 create mode 100644 packages/octez-protocol-010-PtGRANAD-libs/octez-protocol-010-PtGRANAD-libs.21.0/opam
 create mode 100644 packages/octez-protocol-011-PtHangz2-libs/octez-protocol-011-PtHangz2-libs.21.0/opam
 create mode 100644 packages/octez-protocol-012-Psithaca-libs/octez-protocol-012-Psithaca-libs.21.0/opam
 create mode 100644 packages/octez-protocol-013-PtJakart-libs/octez-protocol-013-PtJakart-libs.21.0/opam
 create mode 100644 packages/octez-protocol-014-PtKathma-libs/octez-protocol-014-PtKathma-libs.21.0/opam
 create mode 100644 packages/octez-protocol-015-PtLimaPt-libs/octez-protocol-015-PtLimaPt-libs.21.0/opam
 create mode 100644 packages/octez-protocol-016-PtMumbai-libs/octez-protocol-016-PtMumbai-libs.21.0/opam
 create mode 100644 packages/octez-protocol-017-PtNairob-libs/octez-protocol-017-PtNairob-libs.21.0/opam
 create mode 100644 packages/octez-protocol-018-Proxford-libs/octez-protocol-018-Proxford-libs.21.0/opam
 create mode 100644 packages/octez-protocol-019-PtParisB-libs/octez-protocol-019-PtParisB-libs.21.0/opam
 create mode 100644 packages/octez-protocol-020-PsParisC-libs/octez-protocol-020-PsParisC-libs.21.0/opam
 create mode 100644 packages/octez-protocol-021-PsQuebec-libs/octez-protocol-021-PsQuebec-libs.21.0/opam
 create mode 100644 packages/octez-protocol-alpha-libs/octez-protocol-alpha-libs.21.0/opam
 create mode 100644 packages/octez-protocol-compiler/octez-protocol-compiler.21.0/opam
 create mode 100644 packages/octez-riscv-api/octez-riscv-api.21.0/opam
 create mode 100644 packages/octez-riscv-pvm/octez-riscv-pvm.21.0/opam
 create mode 100644 packages/octez-rpc-process/octez-rpc-process.21.0/opam
 create mode 100644 packages/octez-rust-deps/octez-rust-deps.21.0/opam
 create mode 100644 packages/octez-shell-libs/octez-shell-libs.21.0/opam
 create mode 100644 packages/octez-signer/octez-signer.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node-Proxford/octez-smart-rollup-node-Proxford.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node-PsParisC/octez-smart-rollup-node-PsParisC.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node-PsQuebec/octez-smart-rollup-node-PsQuebec.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node-PtNairob/octez-smart-rollup-node-PtNairob.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node-PtParisB/octez-smart-rollup-node-PtParisB.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node-alpha/octez-smart-rollup-node-alpha.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node-lib/octez-smart-rollup-node-lib.21.0/opam
 create mode 100644 packages/octez-smart-rollup-node/octez-smart-rollup-node.21.0/opam
 create mode 100644 packages/octez-smart-rollup-wasm-debugger-lib/octez-smart-rollup-wasm-debugger-lib.21.0/opam
 create mode 100644 packages/octez-smart-rollup-wasm-debugger-plugin/octez-smart-rollup-wasm-debugger-plugin.21.0/opam
 create mode 100644 packages/octez-smart-rollup-wasm-debugger/octez-smart-rollup-wasm-debugger.21.0/opam
 create mode 100644 packages/octez-version/octez-version.21.0/opam
 create mode 100644 packages/octez/octez.21.0/opam
 create mode 100644 packages/tezos-benchmark/tezos-benchmark.21.0/opam
 create mode 100644 packages/tezos-client-demo-counter/tezos-client-demo-counter.21.0/opam
 create mode 100644 packages/tezos-client-genesis/tezos-client-genesis.21.0/opam
 create mode 100644 packages/tezos-dac-client-lib/tezos-dac-client-lib.21.0/opam
 create mode 100644 packages/tezos-dac-lib/tezos-dac-lib.21.0/opam
 create mode 100644 packages/tezos-dac-node-lib/tezos-dac-node-lib.21.0/opam
 create mode 100644 packages/tezos-dal-node-lib/tezos-dal-node-lib.21.0/opam
 create mode 100644 packages/tezos-dal-node-services/tezos-dal-node-services.21.0/opam
 create mode 100644 packages/tezos-openapi/tezos-openapi.21.0/opam
 create mode 100644 packages/tezos-protocol-000-Ps9mPmXa/tezos-protocol-000-Ps9mPmXa.21.0/opam
 create mode 100644 packages/tezos-protocol-001-PtCJ7pwo/tezos-protocol-001-PtCJ7pwo.21.0/opam
 create mode 100644 packages/tezos-protocol-002-PsYLVpVv/tezos-protocol-002-PsYLVpVv.21.0/opam
 create mode 100644 packages/tezos-protocol-003-PsddFKi3/tezos-protocol-003-PsddFKi3.21.0/opam
 create mode 100644 packages/tezos-protocol-004-Pt24m4xi/tezos-protocol-004-Pt24m4xi.21.0/opam
 create mode 100644 packages/tezos-protocol-005-PsBABY5H/tezos-protocol-005-PsBABY5H.21.0/opam
 create mode 100644 packages/tezos-protocol-005-PsBabyM1/tezos-protocol-005-PsBabyM1.21.0/opam
 create mode 100644 packages/tezos-protocol-006-PsCARTHA/tezos-protocol-006-PsCARTHA.21.0/opam
 create mode 100644 packages/tezos-protocol-007-PsDELPH1/tezos-protocol-007-PsDELPH1.21.0/opam
 create mode 100644 packages/tezos-protocol-008-PtEdo2Zk/tezos-protocol-008-PtEdo2Zk.21.0/opam
 create mode 100644 packages/tezos-protocol-008-PtEdoTez/tezos-protocol-008-PtEdoTez.21.0/opam
 create mode 100644 packages/tezos-protocol-009-PsFLoren/tezos-protocol-009-PsFLoren.21.0/opam
 create mode 100644 packages/tezos-protocol-010-PtGRANAD/tezos-protocol-010-PtGRANAD.21.0/opam
 create mode 100644 packages/tezos-protocol-011-PtHangz2/tezos-protocol-011-PtHangz2.21.0/opam
 create mode 100644 packages/tezos-protocol-012-Psithaca/tezos-protocol-012-Psithaca.21.0/opam
 create mode 100644 packages/tezos-protocol-013-PtJakart/tezos-protocol-013-PtJakart.21.0/opam
 create mode 100644 packages/tezos-protocol-014-PtKathma/tezos-protocol-014-PtKathma.21.0/opam
 create mode 100644 packages/tezos-protocol-015-PtLimaPt/tezos-protocol-015-PtLimaPt.21.0/opam
 create mode 100644 packages/tezos-protocol-016-PtMumbai/tezos-protocol-016-PtMumbai.21.0/opam
 create mode 100644 packages/tezos-protocol-017-PtNairob/tezos-protocol-017-PtNairob.21.0/opam
 create mode 100644 packages/tezos-protocol-018-Proxford/tezos-protocol-018-Proxford.21.0/opam
 create mode 100644 packages/tezos-protocol-019-PtParisB/tezos-protocol-019-PtParisB.21.0/opam
 create mode 100644 packages/tezos-protocol-020-PsParisC/tezos-protocol-020-PsParisC.21.0/opam
 create mode 100644 packages/tezos-protocol-021-PsQuebec/tezos-protocol-021-PsQuebec.21.0/opam
 create mode 100644 packages/tezos-protocol-alpha/tezos-protocol-alpha.21.0/opam
 create mode 100644 packages/tezos-protocol-demo-counter/tezos-protocol-demo-counter.21.0/opam
 create mode 100644 packages/tezos-protocol-demo-noops/tezos-protocol-demo-noops.21.0/opam
 create mode 100644 packages/tezos-protocol-genesis/tezos-protocol-genesis.21.0/opam
 create mode 100644 packages/tezt-tezos/tezt-tezos.21.0/opam

(from ocaml/opam:debian-12-ocaml-5.2@sha256:6df0d724516bd70a8d42ee042eb4856c32ade3e30c88abaff72556b06ff20aa7)
2024-11-25 13:02.49 ---> using "0dc330c5a204cb604177e743f55b9bd68e712252d651cfe30d04181b4490a475" 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"))
2024-11-25 13:02.49 ---> using "3a7f7f63b25e3434706b599bf025e23aebb3bdf62c7576ddcfe1ead2b17df451" from cache

/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] synchronised from file:///home/opam/opam-repository
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)

2024-11-25 13:03.15 ---> saved as "f324a086d102b3f6b14d2d4ab2753924d67fea03dd0007190dbe5a467c2107e3"

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 5.2.1
2.0.10
2024-11-25 13:03.16 ---> saved as "708123cbfecf8dd4aad5d90b2e80364737df416376f405141048371122519eb2"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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-11-25 13:03.31 ---> saved as "a9ef5acd5ae10cc682d7445b0920aa8c29e539a83f58d596944d201c2f25554e"

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-25 13:03.46 ---> saved as "569aeb2b6083e3b38269dc30dbf8ebf1689fb1d415360d3ea87f34940453d008"

/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)

2024-11-25 13:04.10 ---> saved as "01e071421e8415ec1424ab6a837f1147126bf5f2548be449a7fbdd7c68e3e06b"

/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]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [205 kB]
Fetched 309 kB in 0s (1137 kB/s)
Reading package lists...
# OS package update successful
2024-11-25 13:04.12 ---> saved as "fe2eb51427089b0f5af114f324a780f4b4e97ff669fed5c53b23bde61e660d62"

/home/opam: (run (shell "opam pin add -k version -yn octez-riscv-api.21.0 21.0"))
octez-riscv-api is now pinned to version 21.0
2024-11-25 13:04.12 ---> saved as "049f49c0484194c7f35f27153707e3161498271f4e431251ad93cfa31f1c79da"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext octez-riscv-api.21.0 && opam reinstall octez-riscv-api.21.0;\
                        \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\" != 'octez-riscv-api.21.0' && 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.
octez-riscv-api.21.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune            3.16.1 [required by octez-riscv-api]
  - install octez-rust-deps 21.0   [required by octez-riscv-api]
  - install octez-riscv-api 21.0*
===== 3 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.16.1] found in cache
[octez-riscv-api.21.0] found in cache
[octez-rust-deps.21.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.16.1
[ERROR] The compilation of octez-rust-deps failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p octez-rust-deps -j 39".

#=== ERROR while compiling octez-rust-deps.21.0 ===============================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.5.2.1 | file:///home/opam/opam-repository
# path                 ~/.opam/5.2/.opam-switch/build/octez-rust-deps.21.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p octez-rust-deps -j 39
# exit-code            1
# env-file             ~/.opam/log/octez-rust-deps-44-5dd0bd.env
# output-file          ~/.opam/log/octez-rust-deps-44-5dd0bd.out
### output ###
# File "src/rust_deps/dune", lines 12-28, characters 0-515:
# 12 | (rule
# 13 |  (targets liboctez_rust_deps.a dlloctez_rust_deps.so wasmer.h wasm.h)
# 14 |  (deps
# ....
# 26 |   (file ../../src/lib_wasm_runtime/build.rs)
# 27 |   (glob_files_rec ../../src/lib_wasm_runtime/src/**.rs))
# 28 |  (action (no-infer (bash ./build.sh))))
# (cd _build/default/src/rust_deps && /usr/bin/bash -e -u -o pipefail -c ./build.sh)
# ./build.sh: line 20: cargo: command not found



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build octez-rust-deps 21.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install dune 3.16.1
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    opam switch import "/home/opam/.opam/5.2/.opam-switch/backup/state-20241125130427.export"
opam-repo-ci detected dependencies failing:  octez-rust-deps.21.0
"/usr/bin/env" "bash" "-c" "opam depext octez-riscv-api.21.0 && opam reinstall octez-riscv-api.21.0;
        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" != 'octez-riscv-api.21.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2024-11-25 13:05.28: Job failed: Failed: Build failed
2024-11-25 13:05.28: Log analysis:
2024-11-25 13:05.28: >>> 
[ERROR] The compilation of octez-rust-deps failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build dune build -p octez-rust-deps -j 39".
 (score = 20)
2024-11-25 13:05.28: >>> 
opam-repo-ci detected dependencies failing:  octez-rust-deps.21.0
 (score = 75)
2024-11-25 13:05.28:  octez-rust-deps.21.0 failed to build