Build:
  1. 0
2026-02-18 03:06.34: New job: test ambient-context-lwt.0.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29418/head (918be552fb423202b7bb8628e34edf8b9e4bffc5)
                              on debian-13-ocaml-4.14/s390x

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29418/head" && git reset --hard 918be552
git fetch origin master
git merge --no-edit 9e3a17040e4a64f2381eed061ca12fd2fde434c2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 ambient-context-lwt.0.2 0.2
RUN opam reinstall ambient-context-lwt.0.2; \
    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" != 'ambient-context-lwt.0.2' && 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 ambient-context-lwt.0.2) || true
RUN opam reinstall --with-test --verbose ambient-context-lwt.0.2; \
    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" != 'ambient-context-lwt.0.2' && 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-02-18 03:06.34: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c-ambient-context-lwt.0.2-918be552fb423202b7bb8628e34edf8b9e4bffc5"
2026-02-18 03:06.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c)
 (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 "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 ambient-context-lwt.0.2 0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ambient-context-lwt.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        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\" != 'ambient-context-lwt.0.2' && 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 ambient-context-lwt.0.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose ambient-context-lwt.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        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\" != 'ambient-context-lwt.0.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-18 03:06.34: Waiting for resource in pool OCluster
2026-02-18 03:06.34: Waiting for worker…
2026-02-18 03:13.36: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files:  97% (17716/18226)
Updating files:  98% (17862/18226)
Updating files:  99% (18044/18226)
Updating files: 100% (18226/18226)
Updating files: 100% (18226/18226), done.
HEAD is now at 9e3a17040e Merge pull request #29406 from anentropic/opam-publish-oktree.0.2.4
Updating 9e3a17040e..918be552fb
Fast-forward
 .../ambient-context-eio.0.2/opam                   | 42 +++++++++++++++++++
 .../ambient-context-lwt.0.2/opam                   | 42 +++++++++++++++++++
 packages/ambient-context/ambient-context.0.2/opam  | 48 ++++++++++++++++++++++
 3 files changed, 132 insertions(+)
 create mode 100644 packages/ambient-context-eio/ambient-context-eio.0.2/opam
 create mode 100644 packages/ambient-context-lwt/ambient-context-lwt.0.2/opam
 create mode 100644 packages/ambient-context/ambient-context.0.2/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c' locally
docker.io/ocaml/opam@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c: Pulling from ocaml/opam
Digest: sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c
Status: Downloaded newer image for ocaml/opam@sha256:68f10dd39e49d591561c33aa69d59351b98e37ac63e63192e1bee906642a5c6c
2026-02-18 03:13.38 ---> using "4d413909f132eff1351ca56b1192e7957e3658946b80832d99c51d49f08a3550" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-18 03:13.38 ---> using "77dcdba6a9aabd6dee4a1c4f12c8d1d487428913a0be8b977dc260db285ca5b4" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, 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-02-18 03:13.38 ---> using "806a084394fd687621229d291641006272e283c074617ac14e95434136ffb06c" from cache

/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.5.0
# self-upgrade         no
# system               arch=s390x os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-02-18 03:13.38 ---> using "8130c9a89432729e1ff5bf8bf37a5e40d9d49958fb71ebc53c5b19b3d4329670" from cache

/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-02-18 03:13.38 ---> using "094a07b65d7d81ffe22c10ac60bbc276eda8f8ac44af1de92e93ed255ddcd6cd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-18 03:13.39 ---> using "815b55dab13004c541e22628f9a2c30c266eac18b6daccb8d6f62c9894a5df25" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-18 03:14.20 ---> saved as "3efa23ac1338f56099e2b611e12f44ca442fff091944cf3f3852aadf255863d7"

/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 s390x Packages [98.0 kB]
- Fetched 189 kB in 0s (439 kB/s)
- Reading package lists...
- 
2026-02-18 03:14.25 ---> saved as "deee3e38b0cc909c38ce84416f642980b2e0ed3247c57a234e58eba4c5ae9e80"

/home/opam: (run (shell "opam pin add -k version -yn ambient-context-lwt.0.2 0.2"))
ambient-context-lwt is now pinned to version 0.2
2026-02-18 03:14.27 ---> saved as "0bcdd6f7f82f11be182b8aee4702181f4509882af9a1cea09ffbeb86a6d52cf1"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ambient-context-lwt.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        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\" != 'ambient-context-lwt.0.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ambient-context-lwt.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
  - install ambient-context     0.2          [required by ambient-context-lwt]
  - install ambient-context-lwt 0.2 (pinned)
  - install base-bytes          base         [required by ocplib-endian]
  - install cppo                1.8.0        [required by lwt]
  - install csexp               1.5.2        [required by dune-configurator]
  - install dune                3.21.1       [required by ambient-context-lwt]
  - install dune-configurator   3.21.1       [required by lwt]
  - install hmap                0.8.1        [required by ambient-context]
  - install lwt                 6.1.0        [required by ambient-context-lwt]
  - install ocamlbuild          0.16.1       [required by hmap]
  - install ocamlfind           1.9.8        [required by hmap]
  - install ocplib-endian       1.2          [required by lwt]
  - install topkg               1.1.1        [required by hmap]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ambient-context.0.2, ambient-context-lwt.0.2  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved lwt.6.1.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved topkg.1.1.1  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed hmap.0.8.1
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed ambient-context.0.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.21.1
-> installed lwt.6.1.0
-> installed ambient-context-lwt.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 03:15.29 ---> saved as "80d83d7e1f64f03835294b5fb492521cf03bc62a4ca3711b7186203bde2f26dc"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ambient-context-lwt.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ambient-context-lwt 0.2 (pinned)
=== install 15 packages
  - install   alcotest            1.9.1        [required by ambient-context-lwt]
  - install   alcotest-lwt        1.9.1        [required by ambient-context-lwt]
  - install   astring             0.8.5        [required by alcotest]
  - install   bisect_ppx          2.8.3        [required by ambient-context-lwt]
  - install   cmdliner            1.3.0        [required by alcotest, bisect_ppx]
  - install   fmt                 0.11.0       [required by alcotest, alcotest-lwt]
  - install   logs                0.10.0       [required by alcotest-lwt]
  - install   ocaml-compiler-libs v0.12.4      [required by ppxlib]
  - install   ocaml-syntax-shims  1.0.0        [required by alcotest]
  - install   ppx_derivers        1.2.1        [required by ppxlib]
  - install   ppxlib              0.35.0       [required by bisect_ppx]
  - install   re                  1.14.0       [required by alcotest]
  - install   sexplib0            v0.17.0      [required by ppxlib]
  - install   stdlib-shims        0.3.0        [required by alcotest]
  - install   uutf                1.0.4        [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1, alcotest-lwt.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved bisect_ppx.2.8.3  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> retrieved ocaml-compiler-libs.v0.12.4  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1  (https://opam.ocaml.org/cache)
-> retrieved ppxlib.0.35.0  (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved sexplib0.v0.17.0  (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed cmdliner.1.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> removed   ambient-context-lwt.0.2
-> installed re.1.14.0
-> installed logs.0.10.0
-> installed alcotest.1.9.1
-> installed alcotest-lwt.1.9.1
-> installed ppxlib.0.35.0
-> installed bisect_ppx.2.8.3
-> installed ambient-context-lwt.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 03:16.28 ---> saved as "7bec8f535d6a250dcfdec8af4fd8673e414c79e73489aadd0bad4f7fe96ed323"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ambient-context-lwt.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        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\" != 'ambient-context-lwt.0.2' && 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 1 package
  - recompile ambient-context-lwt 0.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [ambient-context-lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ambient-context-lwt" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ambient-context-lwt.0.2)
- (cd _build/default/test/unix/lwt && ./test_lwt.exe)
- Testing `Unix'.
- This run has ID `9EUGW1TC'.
- 
-   [OK]          Lwt          0   can set storage provider.
-   [OK]          Lwt          1   test sequenced storage.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/ambient-context-lwt.0.2/_build/default/test/unix/lwt/_build/_tests/Unix'.
- Test Successful in 3.001s. 2 tests run.
-> compiled  ambient-context-lwt.0.2
-> removed   ambient-context-lwt.0.2
-> installed ambient-context-lwt.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-18 03:16.40 ---> saved as "f827cb1a05e38ed29d08b5fdc12a5dffaf38970804282d81bb72d910216eaae5"
Job succeeded
2026-02-18 03:16.46: Job succeeded