Build:
  1. 0
2026-04-11 08:05.59: New job: test sm.0.1.1, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29698/head (c6b442b8f2713ecfa13812163a9a6ecc188872a2)
                              on debian-13-ocaml-5.4/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/29698/head" && git reset --hard c6b442b8
git fetch origin master
git merge --no-edit 42844088d70eed10b276d49691b1cbd714fa56a9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && 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 update --depexts || true
RUN opam pin add -k version -yn sm.0.1.1 0.1.1
RUN opam reinstall sm.0.1.1; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'sm.0.1.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test sm.0.1.1) || true
RUN opam reinstall --with-test --verbose sm.0.1.1; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'sm.0.1.1' && 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 .

2026-04-11 08:05.59: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03-sm.0.1.1-c6b442b8f2713ecfa13812163a9a6ecc188872a2"
2026-04-11 08:05.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && 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 update --depexts || true"))
 (run (shell "opam pin add -k version -yn sm.0.1.1 0.1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall sm.0.1.1;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test sm.0.1.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose sm.0.1.1;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-11 08:05.59: Waiting for resource in pool OCluster
2026-04-11 08:06.00: Waiting for worker…
2026-04-11 08:08.33: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 42844088d7 Merge pull request #29664 from YuriyKrasilnikov/opam-publish-jsonschema-core.0.1.0
Merge made by the 'ort' strategy.
 packages/sm/sm.0.1.1/opam | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 packages/sm/sm.0.1.1/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03)
2026-04-11 08:08.36 ---> using "4e852d2e6c9ac39a43c0cb8d1ef92ecff46d16da630bff560bb4811e0bb278c3" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2026-04-11 08:08.36 ---> using "cb2fc39d3b1a9ad39186334e4373bfc6c6e7575a4fdf26856eb06db3db811844" from cache

/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.1, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-11 08:09.51 ---> saved as "e2b14c9f3ab4df5df8b3f8c2c5ccb77d484a5e3b653abb2ba364500e391853d2"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.1.6 (263921263e1f745613e2882745114b7b08f3608b) 
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-04-11 08:09.53 ---> saved as "1e7b692703dd5e4c305ba854d47c293ae1c9abf9878d507705f8d9ffdd872104"

/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/"))
2026-04-11 08:10.02 ---> saved as "828a57f4e0553dac77cf15ce78891b17987a82d9a58967735ee80ca345c3e84a"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 08:10.10 ---> saved as "075dddf87f58d53e12a47668c3500e35991f121b1531459808bf09871c0c2344"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 08:10.22 ---> saved as "9f71dfa7a7a0ac1474ca29b63f931ef081a7e593de4569b10d6b3dbdc621bcbd"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [121 kB]
- Fetched 211 kB in 0s (1197 kB/s)
- Reading package lists...
- 
2026-04-11 08:10.23 ---> saved as "ea337aaaa04b810244bcff611bf7109235e636ec515080ebd048cc336916e544"

/home/opam: (run (shell "opam pin add -k version -yn sm.0.1.1 0.1.1"))
sm is now pinned to version 0.1.1
2026-04-11 08:10.23 ---> saved as "e525bbc64e2344d65adc49e90a01a8ebba8b586254dca2e54f49831f68f8034e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall sm.0.1.1;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
sm.0.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune 3.22.1 [required by sm]
  - install sm   0.1.1*
===== 2 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.1  (cached)
-> retrieved sm.0.1.1  (cached)
-> installed dune.3.22.1
-> installed sm.0.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-11 08:11.02 ---> saved as "c9bffe63d091b7f0276451c52ac0ce28c492e2bb452f9c4acdbef7bb68f8becd"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test sm.0.1.1) || true"))
The following actions will be performed:
  - install   ocamlbuild         0.16.1 [required by fmt, astring, uutf]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   ocamlfind          1.9.8  [required by fmt, astring, uutf]
  - install   cmdliner           2.1.0  [required by alcotest]
  - install   re                 1.14.0 [required by alcotest]
  - install   stdlib-shims       0.3.0  [required by alcotest]
  - install   topkg              1.1.1  [required by fmt, astring, uutf]
  - install   uutf               1.0.4  [required by alcotest]
  - install   fmt                0.11.0 [required by alcotest]
  - install   astring            0.8.5  [required by alcotest]
  - install   alcotest           1.7.0  [required by sm]
  - recompile sm                 0.1.1*
===== 11 to install | 1 to recompile =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.7.0  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1  (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.9.8  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed ocamlfind.1.9.8
-> installed cmdliner.2.1.0
-> removed   sm.0.1.1
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed alcotest.1.7.0
-> installed sm.0.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-11 08:11.30 ---> saved as "d9b8615ca3781b4f3360eccacedc49c8ab3fb56ce3e0d0250140723d1067aebc"

/home/opam: (run (shell  "opam reinstall --with-test --verbose sm.0.1.1;\
                        \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-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'sm.0.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
  - recompile sm 0.1.1*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [sm: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sm" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/sm.0.1.1)
- (cd _build/.sandbox/f07a798dfe2d920e19000472b474f4f3/default/test && ./test_sm3.exe)
- Testing `sm3'.
- This run has ID `LNZ1CIGP'.
- 
-   [OK]          sm3          0   empty string.
-   [OK]          sm3          1   abc vector.
-   [OK]          sm3          2   64-byte vector.
-   [OK]          sm3          3   long message (512 bits).
-   [OK]          sm3          4   empty input shape.
-   [OK]          sm3          5   incremental update.
-   [OK]          sm3          6   subbytes update.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/f07a798dfe2d920e19000472b474f4f3/default/test/_build/_tests/sm3'.
- Test Successful in 0.001s. 7 tests run.
- (cd _build/.sandbox/d46147b850fd84eae80e86fcc9758372/default/test && ./test_zuc.exe)
- Testing `zuc'.
- This run has ID `1J36O2WR'.
- 
-   [OK]          zuc          0   zero vector.
-   [OK]          zuc          1   zero vector long.
-   [OK]          zuc          2   ff vector.
-   [OK]          zuc          3   ff vector long.
-   [OK]          zuc          4   custom vector.
-   [OK]          zuc          5   crypt roundtrip.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/d46147b850fd84eae80e86fcc9758372/default/test/_build/_tests/zuc'.
- Test Successful in 0.001s. 6 tests run.
- (cd _build/.sandbox/ee4b8f2bd050eb31903d01ac4bfde871/default/test && ./test_sm2.exe)
- Testing `sm2'.
- This run has ID `7HKZ1M1Y'.
- 
-   [OK]          sm2          0   derive public key.
-   [OK]          sm2          1   sign verify.
-   [OK]          sm2          2   encrypt decrypt.
-   [OK]          sm2          3   signature der.
-   [OK]          sm2          4   der pem compat.
-   [OK]          sm2          5   encrypted private key pem.
-   [OK]          sm2          6   top module.
-   [OK]          sm2          7   key exchange.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/ee4b8f2bd050eb31903d01ac4bfde871/default/test/_build/_tests/sm2'.
- Test Successful in 0.339s. 8 tests run.
- (cd _build/.sandbox/42ac707f833edf692859f98042f0bd50/default/test && ./test_sm4.exe)
- Testing `sm4'.
- This run has ID `LDYQF9IW'.
- 
-   [OK]          sm4          0   standard vector.
-   [OK]          sm4          1   million rounds.
-   [OK]          sm4          2   cbc vectors.
-   [OK]          sm4          3   cbc pkcs7.
-   [OK]          sm4          4   ctr vector.
-   [OK]          sm4          5   gcm vector.
-   [OK]          sm4          6   stream api.
- 
- Full test results in `~/.opam/5.4/.opam-switch/build/sm.0.1.1/_build/.sandbox/42ac707f833edf692859f98042f0bd50/default/test/_build/_tests/sm4'.
- Test Successful in 0.828s. 7 tests run.
-> compiled  sm.0.1.1
-> removed   sm.0.1.1
-> installed sm.0.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-11 08:11.41 ---> saved as "47c549f8a0e1cf4610e9f6479036d8b901465548631f4a1c953cae20e3a32c08"
Job succeeded
2026-04-11 08:11.48: Job succeeded