(not at the head of any monitored branch or PR)
2026-04-08 10:21.12: New job: build ppx_ezlua.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29655/head (8916fe0c9715b19b8d012c3554597ccc99b3106b)
                              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/29655/head" && git reset --hard 8916fe0c
git fetch origin master
git merge --no-edit 6b534cc83dbfe7a87165d088a7003b5a0cd906f1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4
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 ppx_ezlua.0.1 0.1
RUN opam reinstall ppx_ezlua.0.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" != 'ppx_ezlua.0.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-08 10:21.12: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4-ppx_ezlua.0.1-8916fe0c9715b19b8d012c3554597ccc99b3106b"
2026-04-08 10:21.12: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4)
 (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 ppx_ezlua.0.1 0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ppx_ezlua.0.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\" != 'ppx_ezlua.0.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-08 10:21.12: Waiting for resource in pool OCluster
2026-04-08 10:21.13: Waiting for worker…
2026-04-08 11:29.07: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files:  71% (13308/18641)
Updating files:  72% (13422/18641)
Updating files:  73% (13608/18641)
Updating files:  74% (13795/18641)
Updating files:  75% (13981/18641)
Updating files:  76% (14168/18641)
Updating files:  77% (14354/18641)
Updating files:  78% (14540/18641)
Updating files:  79% (14727/18641)
Updating files:  80% (14913/18641)
Updating files:  81% (15100/18641)
Updating files:  82% (15286/18641)
Updating files:  83% (15473/18641)
Updating files:  84% (15659/18641)
Updating files:  85% (15845/18641)
Updating files:  86% (16032/18641)
Updating files:  87% (16218/18641)
Updating files:  88% (16405/18641)
Updating files:  89% (16591/18641)
Updating files:  90% (16777/18641)
Updating files:  91% (16964/18641)
Updating files:  92% (17150/18641)
Updating files:  93% (17337/18641)
Updating files:  94% (17523/18641)
Updating files:  95% (17709/18641)
Updating files:  96% (17896/18641)
Updating files:  97% (18082/18641)
Updating files:  98% (18269/18641)
Updating files:  99% (18455/18641)
Updating files: 100% (18641/18641)
Updating files: 100% (18641/18641), done.
HEAD is now at 6b534cc83d Merge pull request #29654 from astrada/gdfuse082
Merge made by the 'ort' strategy.
 packages/ezlua/ezlua.0.1/opam         | 37 ++++++++++++++++++++++++++++++++
 packages/ppx_ezlua/ppx_ezlua.0.1/opam | 40 +++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)
 create mode 100644 packages/ezlua/ezlua.0.1/opam
 create mode 100644 packages/ppx_ezlua/ppx_ezlua.0.1/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:7bfb61a531647bfab027a09eb85e98dfd7433f96d02a26c4f0abc4cd11705dc4)
2026-04-08 11:29.10 ---> using "76cb4b904aa9b142fe98e236497a19c967dc6906b776c66da6eb214b61655493" 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-04-08 11:29.10 ---> using "7886f6437dbe44b213ecb2220fc3de79f991056bd4dfeb2ca60af51ac8a630be" 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-04-08 11:29.10 ---> using "4186a6e00ec6b70f415d2b58a21a85e42c5da4759deb4ab600f2d89792101c92" 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.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-04-08 11:29.10 ---> using "0afe1ef42f36f003ac9db8667e04fc68bb73b39faeab1ddc4b06cdeecba7f51a" 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-04-08 11:29.10 ---> using "44bd9edda4560c0ba66eb23ed9e2fee75600f360f8204ffed4b774d25754f75b" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-08 11:29.55 ---> saved as "3b3327323078b83984f8e0de5f52a4025eb96c41140f3f86c93b3359a1ae829e"

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

/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 [112 kB]
- Fetched 203 kB in 0s (1111 kB/s)
- Reading package lists...
- 
2026-04-08 11:31.07 ---> saved as "91ad12da4fdc0d9a609f09400638fbb7851c0c743d55c1d8ed5dba5103e15aaf"

/home/opam: (run (shell "opam pin add -k version -yn ppx_ezlua.0.1 0.1"))
ppx_ezlua is now pinned to version 0.1
2026-04-08 11:31.08 ---> saved as "075b60033584a43da9172e6059baa1cffbb827286820a246ad234375df2b236a"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ppx_ezlua.0.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\" != 'ppx_ezlua.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ppx_ezlua.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
  - install dune                3.22.1       [required by ppx_ezlua]
  - install ezlua               0.1          [required by ppx_ezlua]
  - install ocaml-compiler-libs v0.12.4      [required by ppxlib]
  - install ocaml-lua           1.8          [required by ezlua]
  - install ppx_derivers        1.2.1        [required by ppxlib]
  - install ppx_ezlua           0.1 (pinned)
  - install ppxlib              0.38.0       [required by ppx_ezlua]
  - install sexplib0            v0.17.0      [required by ppxlib]
  - install stdlib-shims        0.3.0        [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.1  (cached)
-> retrieved ezlua.0.1, ppx_ezlua.0.1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-lua.1.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.22.1
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
[ERROR] The compilation of ocaml-lua.1.8 failed at "dune build -p ocaml-lua -j 3 @install".
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4

#=== ERROR while compiling ocaml-lua.1.8 ======================================#
# context              2.5.0 | linux/s390x | ocaml-base-compiler.4.14.3 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/ocaml-lua.1.8
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocaml-lua -j 3 @install
# exit-code            1
# env-file             ~/.opam/log/ocaml-lua-7-884110.env
# output-file          ~/.opam/log/ocaml-lua-7-884110.out
### output ###
# File "src/lua_c/dune", lines 4-10, characters 0-265:
#  4 | (rule
#  5 |  (targets liblua_c_stubs.a dlllua_c_stubs.so)
#  6 |  (deps (source_tree lua515))
#  7 |  (action (progn
#  8 |             (chdir lua515 (run make %{system}))
#  9 |             (run cp lua515/src/liblua.a liblua_c_stubs.a)
# 10 |             (run cp lua515/src/liblua.so dlllua_c_stubs.so))))
# (cd _build/default/src/lua_c/lua515 && /usr/bin/make elf)
# make: *** No rule to make target 'elf'.  Stop.
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ocaml/threads -I lua_c -o lua_aux_lib_stubs.o -c lua_aux_lib_stubs.c)
# lua_aux_lib_stubs.c: In function 'default_panic':
# lua_aux_lib_stubs.c:215:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   215 |     value *default_panic_v = caml_named_value("default_panic");
#       |                              ^~~~~~~~~~~~~~~~
# lua_aux_lib_stubs.c: In function 'luaL_newstate__stub':
# lua_aux_lib_stubs.c:275:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   275 |     value *default_panic_v = caml_named_value("default_panic");
#       |                              ^~~~~~~~~~~~~~~~
# In file included from lua_aux_lib_stubs.c:9:
# lua_aux_lib_stubs.c: In function 'luaL_gsub__stub':
# /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# lua_aux_lib_stubs.c:382:22: note: in expansion of macro 'String_val'
#   382 |   char *retval_str = String_val(ret_val);
#       |                      ^~~~~~~~~~
# lua_aux_lib_stubs.c: In function 'luaL_checkstring__stub':
# /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# lua_aux_lib_stubs.c:411:13: note: in expansion of macro 'String_val'
#   411 |   char *s = String_val(ret_val);
#       |             ^~~~~~~~~~
# lua_aux_lib_stubs.c: In function 'luaL_findtable__stub':
# /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# lua_aux_lib_stubs.c:469:28: note: in expansion of macro 'String_val'
#   469 |         char *retval_str = String_val(ret_string);
#       |                            ^~~~~~~~~~
# (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ocaml/threads -I lua_c -o lua_api_lib_stubs.o -c lua_api_lib_stubs.c)
# In file included from lua_api_lib_stubs.c:9:
# lua_api_lib_stubs.c: In function 'writer_function':
# /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
# lua_api_lib_stubs.c:242:12: note: in expansion of macro 'String_val'
#   242 |     memcpy(String_val(buffer), p, sz);
#       |            ^~~~~~~~~~
# In file included from lua_api_lib_stubs.c:1:
# /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
#    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
#       |                      ~~~~~~~~~~~~~~~~~^~~~~~
# lua_api_lib_stubs.c: In function 'lua_tolstring__stub':
# /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   290 | #define String_val(x) ((const char *) Bp_val(x))
#       |                       ^
# lua_api_lib_stubs.c:683:15: note: in expansion of macro 'String_val'
#   683 |     char *s = String_val(ret_val);
#       |               ^~~~~~~~~~

-> installed ppxlib.0.38.0

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260408113109.export"


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-lua 1.8
+- 
+- The following changes have been performed (the rest was aborted)
| - install dune                3.22.1
| - install ocaml-compiler-libs v0.12.4
| - install ppx_derivers        1.2.1
| - install ppxlib              0.38.0
| - install sexplib0            v0.17.0
| - install stdlib-shims        0.3.0
+- 
# To update the current shell environment, run: eval $(opam env)
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing:  ocaml-lua.1.8
"/usr/bin/env" "bash" "-c" "opam reinstall ppx_ezlua.0.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" != 'ppx_ezlua.0.1' && 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
2026-04-08 11:32.40: Job failed: Failed: Build failed
2026-04-08 11:32.40: Log analysis:
2026-04-08 11:32.40: >>> 
[ERROR] The compilation of ocaml-lua.1.8 failed at "dune build -p ocaml-lua -j 3 @install".
 (score = 20)
2026-04-08 11:32.40: >>> 
opam-repo-ci detected dependencies failing:  ocaml-lua.1.8
 (score = 75)
2026-04-08 11:32.40:  ocaml-lua.1.8 failed to build