(for PR #29945)

2026-05-23 16:28.34: New job: test lua-ml.0.9.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29945/head (8b623f363e6484cb1c885863fdf867c2295cd713)
                              on ubuntu-24.04-ocaml-4.14/riscv64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29945/head" && git reset --hard 8b623f36
git fetch origin master
git merge --no-edit 493123878a032e3f829b102f34e8690b3b2a4fd4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e
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 lua-ml.0.9.5 0.9.5
RUN opam reinstall lua-ml.0.9.5; \
    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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lua-ml.0.9.5' && 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 lua-ml.0.9.5) || true
RUN opam reinstall --with-test --verbose lua-ml.0.9.5; \
    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 "\"ubuntu-24.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lua-ml.0.9.5' && 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-05-23 16:28.34: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e-lua-ml.0.9.5-8b623f363e6484cb1c885863fdf867c2295cd713"
2026-05-23 16:28.34: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e)
 (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 lua-ml.0.9.5 0.9.5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lua-ml.0.9.5;\
             \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 \"\\\"ubuntu-24.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lua-ml.0.9.5' && 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 lua-ml.0.9.5) || true"))
 (run (shell  "opam reinstall --with-test --verbose lua-ml.0.9.5;\
             \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 \"\\\"ubuntu-24.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lua-ml.0.9.5' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-23 16:28.34: Waiting for resource in pool OCluster
2026-05-23 16:28.34: Waiting for worker…
2026-05-25 05:11.42: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
Updating files:  11% (2018/17956)
Updating files:  12% (2155/17956)
Updating files:  13% (2335/17956)
Updating files:  14% (2514/17956)
Updating files:  15% (2694/17956)
Updating files:  16% (2873/17956)
Updating files:  17% (3053/17956)
Updating files:  18% (3233/17956)
Updating files:  19% (3412/17956)
Updating files:  20% (3592/17956)
Updating files:  21% (3771/17956)
Updating files:  22% (3951/17956)
Updating files:  23% (4130/17956)
Updating files:  23% (4216/17956)
Updating files:  24% (4310/17956)
Updating files:  25% (4489/17956)
Updating files:  26% (4669/17956)
Updating files:  27% (4849/17956)
Updating files:  28% (5028/17956)
Updating files:  29% (5208/17956)
Updating files:  30% (5387/17956)
Updating files:  31% (5567/17956)
Updating files:  32% (5746/17956)
Updating files:  33% (5926/17956)
Updating files:  34% (6106/17956)
Updating files:  35% (6285/17956)
Updating files:  36% (6465/17956)
Updating files:  36% (6543/17956)
Updating files:  37% (6644/17956)
Updating files:  38% (6824/17956)
Updating files:  39% (7003/17956)
Updating files:  40% (7183/17956)
Updating files:  41% (7362/17956)
Updating files:  42% (7542/17956)
Updating files:  43% (7722/17956)
Updating files:  44% (7901/17956)
Updating files:  45% (8081/17956)
Updating files:  46% (8260/17956)
Updating files:  47% (8440/17956)
Updating files:  47% (8540/17956)
Updating files:  48% (8619/17956)
Updating files:  49% (8799/17956)
Updating files:  50% (8978/17956)
Updating files:  51% (9158/17956)
Updating files:  52% (9338/17956)
Updating files:  53% (9517/17956)
Updating files:  54% (9697/17956)
Updating files:  55% (9876/17956)
Updating files:  56% (10056/17956)
Updating files:  57% (10235/17956)
Updating files:  58% (10415/17956)
Updating files:  59% (10595/17956)
Updating files:  60% (10774/17956)
Updating files:  60% (10832/17956)
Updating files:  61% (10954/17956)
Updating files:  62% (11133/17956)
Updating files:  63% (11313/17956)
Updating files:  64% (11492/17956)
Updating files:  65% (11672/17956)
Updating files:  66% (11851/17956)
Updating files:  67% (12031/17956)
Updating files:  68% (12211/17956)
Updating files:  69% (12390/17956)
Updating files:  70% (12570/17956)
Updating files:  71% (12749/17956)
Updating files:  72% (12929/17956)
Updating files:  72% (13059/17956)
Updating files:  73% (13108/17956)
Updating files:  74% (13288/17956)
Updating files:  75% (13467/17956)
Updating files:  76% (13647/17956)
Updating files:  77% (13827/17956)
Updating files:  78% (14006/17956)
Updating files:  79% (14186/17956)
Updating files:  80% (14365/17956)
Updating files:  81% (14545/17956)
Updating files:  82% (14724/17956)
Updating files:  83% (14904/17956)
Updating files:  84% (15084/17956)
Updating files:  85% (15263/17956)
Updating files:  86% (15443/17956)
Updating files:  86% (15472/17956)
Updating files:  87% (15622/17956)
Updating files:  88% (15802/17956)
Updating files:  89% (15981/17956)
Updating files:  90% (16161/17956)
Updating files:  91% (16340/17956)
Updating files:  92% (16520/17956)
Updating files:  93% (16700/17956)
Updating files:  94% (16879/17956)
Updating files:  95% (17059/17956)
Updating files:  96% (17238/17956)
Updating files:  97% (17418/17956)
Updating files:  98% (17597/17956)
Updating files:  99% (17777/17956)
Updating files:  99% (17862/17956)
Updating files: 100% (17956/17956)
Updating files: 100% (17956/17956), done.
HEAD is now at 493123878a Merge pull request #29931 from chetmurthy/release-pa_ppx-package-suite-at-8.05.01
Updating 493123878a..8b623f363e
Fast-forward
 packages/lua-ml/lua-ml.0.9.5/opam | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 packages/lua-ml/lua-ml.0.9.5/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e)
2026-05-25 05:11.54 ---> using "12bf2538b4187012bc8174693aa825dc9d1ef6b7ec5c10bbbf1b7633c6a45098" 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-05-25 05:11.54 ---> using "cc0d87c67af96071eeba77313d86ee81b2a458401dfff9be9eeb71491092fe5d" 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-25 05:11.54 ---> using "111a885a0ed7dc3227d8bd2bcc28167255d3d55cbb8b851b74370af452877fe9" 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.1
# self-upgrade         no
# system               arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# 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-05-25 05:11.54 ---> using "a5b9c948625ba37a0390c36314c7adce89350fa0019b651c8c5685d148ad071f" 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-05-25 05:11.54 ---> using "c37d3407449b0dbffd1fb5f5f8bec32bf97c73ffefa782058de87bf642f38e00" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 05:12.00 ---> using "4908e4a768b81465c2a99340ee64a5d813bced097be08ee48beb6f1126e4df6e" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-25 05:12.00 ---> using "6e17f9ba1af1c0092e53a7aaf7a1befc602b18b206a4fc5a5675d569c29e3883" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [12.5 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [970 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1603 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.7 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [656 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1126 kB]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [9971 B]
- Fetched 4786 kB in 2s (2107 kB/s)
- Reading package lists...
- 
2026-05-25 05:12.00 ---> using "25b3fc57344a09c17a099f07ed63d1fbcf55846dece5bfeba2bfde9d8f34cc0f" from cache

/home/opam: (run (shell "opam pin add -k version -yn lua-ml.0.9.5 0.9.5"))
lua-ml is now pinned to version 0.9.5
2026-05-25 05:12.00 ---> using "f0322c2611b0c84de79050ae74828f9095f57f0dad3cfbd4c849ccab35e921e3" from cache

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.23.1  (cached)
-> retrieved lua-ml.0.9.5  (https://github.com/lindig/lua-ml/archive/refs/tags/0.9.5.tar.gz)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> installed dune.3.23.1
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirSdk.20260209
-> installed menhirLib.20260209
-> installed menhir.20260209
-> installed lua-ml.0.9.5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 05:12.00 ---> using "779eefc88222c7dfe93280d165bac9b5e43b9ec79d21101735963f761e5acd31" from cache

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test lua-ml.0.9.5) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile lua-ml 0.9.5 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   lua-ml.0.9.5
-> installed lua-ml.0.9.5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 05:12.38 ---> saved as "6a56ac0978def914d4184a762782dfce2dd3a85375a5fda55388a7a3eaac738b"

/home/opam: (run (shell  "opam reinstall --with-test --verbose lua-ml.0.9.5;\
                        \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 \"\\\"ubuntu-24.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lua-ml.0.9.5' && 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 lua-ml 0.9.5 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [lua-ml: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lua-ml" "-j" "3" "--promote-install-files=false" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/lua-ml.0.9.5)
- (cd _build/default && /home/opam/.opam/4.14/bin/menhir --external-tokens Luaparser_tokens src/luaparser_impl.mly src/luaparser_tokens.mly --base src/luaparser_impl --infer-write-query src/luaparser_impl__mock.ml.mock)
- File "src/luaparser_tokens.mly", line 12, characters 7-12:
- Warning: the token ARROW is unused.
- File "src/luaparser_tokens.mly", line 7, characters 49-53:
- Warning: the token CASE is unused.
- File "src/luaparser_tokens.mly", line 7, characters 54-63:
- Warning: the token GLOBMATCH is unused.
- File "src/luaparser_tokens.mly", line 7, characters 64-66:
- Warning: the token OF is unused.
- File "src/luaparser_tokens.mly", line 5, characters 7-17:
- Warning: the token WRONGTOKEN is unused.
Processing  2/4: [lua-ml: dune install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "lua-ml" "--create-install-files" "lua-ml" (CWD=/home/opam/.opam/4.14/.opam-switch/build/lua-ml.0.9.5)
-> compiled  lua-ml.0.9.5
-> removed   lua-ml.0.9.5
-> installed lua-ml.0.9.5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-25 05:13.16 ---> saved as "9fde233af1bd1db9230c2fde2dbc8382003d24f19ac6b7fae7b9ecc3abc68fa6"
Job succeeded
2026-05-25 05:13.49: Job succeeded