Organisationsjmidmutaml783831 (main)debian-13-5.4_riscv64_opam-2.5

debian-13-5.4_riscv64_opam-2.5

Link Copied
Code Copied

Logs

2026-03-26 14:42.04: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (linux-riscv64:debian-13-5.4_riscv64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard 783831dc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
# debian-13-5.4_riscv64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mutaml.opam ./
RUN opam pin add -yn mutaml.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-03-26 14:42.04: Using cache hint "jmid/mutaml-ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb-debian-13-5.4_riscv64_opam-2.5-7c3f4a1f85b283d86b288c7733fdf3e2"
2026-03-26 14:42.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb)
(comment debian-13-5.4_riscv64_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mutaml.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mutaml.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-03-26 14:42.04: Waiting for resource in pool OCluster
2026-03-26 14:42.04: Waiting for worker…
2026-03-26 22:41.27: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
HEAD is now at 783831d Merge pull request #44 from jmid/dependabot/github_actions/actions/checkout-5


(from ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb' locally
docker.io/ocaml/opam@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb: Pulling from ocaml/opam
3be247472b67: Already exists
1130a6599d48: Already exists
4563094dc5bf: Already exists
fe576e939753: Already exists
796ec56fee5d: Already exists
ae1dbdab64f3: Already exists
54ebe7f31159: Already exists
9c74968441d6: Already exists
8ff00744bcbe: Already exists
beefc92ce96c: Already exists
13c3a23afc45: Already exists
3ad6f94d2ab3: Already exists
22575fc2056a: Already exists
079151a0f1cd: Already exists
3121107eb638: Already exists
0fa7697d3886: Already exists
b01afbafdb23: Already exists
b01afbafdb23: Already exists
f1fca7591d59: Already exists
f0f274f772f6: Already exists
9ce5599383df: Already exists
3794f582ed46: Already exists
4f4fb700ef54: Already exists
a98d5511bfa4: Already exists
644d5d83146e: Already exists
736a3abf8060: Already exists
fcf7694b8ff7: Already exists
23acdcf20d0c: Already exists
ca82e2abed2b: Already exists
7e0ab658accc: Already exists
f0d1ebb4aea1: Already exists
ebc9ee3f3ea8: Already exists
730afd2601cb: Already exists
62485c2f91d4: Already exists
e018d49283ab: Already exists
e070b48b5cf1: Already exists
6158a39b48ff: Already exists
989b36477d41: Already exists
a2020f8fe115: Already exists
c382453fc245: Already exists
a96fccb405ba: Already exists
48f4eab97ee7: Pulling fs layer
0c16dce1868e: Pulling fs layer
3523be22c1ac: Pulling fs layer
a9761b50840d: Pulling fs layer
7b0a2713f29f: Pulling fs layer
a9761b50840d: Waiting
db782875bfc3: Pulling fs layer
7b0a2713f29f: Waiting
664ae43875a8: Pulling fs layer
db782875bfc3: Waiting
664ae43875a8: Waiting
0c16dce1868e: Verifying Checksum
0c16dce1868e: Download complete
48f4eab97ee7: Verifying Checksum
48f4eab97ee7: Download complete
48f4eab97ee7: Pull complete
0c16dce1868e: Pull complete
3523be22c1ac: Verifying Checksum
3523be22c1ac: Download complete
7b0a2713f29f: Verifying Checksum
7b0a2713f29f: Download complete
664ae43875a8: Download complete
db782875bfc3: Verifying Checksum
3523be22c1ac: Pull complete
a9761b50840d: Verifying Checksum
a9761b50840d: Download complete
a9761b50840d: Pull complete
7b0a2713f29f: Pull complete
db782875bfc3: Pull complete
664ae43875a8: Pull complete
Digest: sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
Status: Downloaded newer image for ocaml/opam@sha256:46f82aeb1bb69765da189ace46ec4a9674dd052a61a6858094bb41f7b19bb2fb
2026-03-26 22:41.28 ---> using "e0905cb4ea77c127c2496da0afb75340dc772dd47ed162b86bc55e06e6af136a" from cache


/: (comment debian-13-5.4_riscv64_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-03-26 22:41.28 ---> using "678184416a598483bd3e16c53def6d123ed7dc6797cbe0ea3c6b0a3dbcdc7bd5" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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-03-26 22:41.28 ---> using "ad7ed4390d364d59a28a0fd9fbdf3b2736407d154db8cc6883b591d30340507d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-26 22:41.28 ---> using "045609221492a2388bb503a2166fe9e945abd6f25f13d0ab21aa83754ab14aed" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-26 22:41.28 ---> using "4f94c0140991a32313ae5fd6ef2a17627880235ae274410ce5cec7b38666b910" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ffb54b9bdd..46f289cd37  master     -> origin/master
46f289cd37 Merge pull request #29563 from NathanReb/release-ppxlib-0.38.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-03-26 22:41.28 ---> using "cb81b9d535497f7914d7525f0f0d437eb5a9736c26b69fbff76af761581f7feb" from cache


/src: (copy (src mutaml.opam) (dst ./))
2026-03-26 22:41.29 ---> saved as "70cd3fb476a719e268efe8c72298c5622eed8bb836ee916457e78fdad904abc9"


/src: (run (network host)
(shell "opam pin add -yn mutaml.dev './'"))
[mutaml.dev] synchronised (file:///src)
mutaml is now pinned to file:///src (version dev)
2026-03-26 22:41.36 ---> saved as "4b8c60880695aee6d131cb971645f6b20784e6b9a2196ef6964a32b2276644ca"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-26 22:41.37 ---> saved as "8e8da30354678eeb06a2f06c5045a0d919f7cbfa8959462e51d4621b1020c398"


/src: (env DEPS "base.v0.17.3 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_js_style.v0.17.1 ppx_yojson_conv.v0.17.1 ppx_yojson_conv_lib.v0.17.0 ppxlib.0.38.0 seq.base sexplib0.v0.17.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.3.0.0")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mutaml.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main riscv64 Packages [9380 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [108 kB]
- Fetched 9718 kB in 5s (1934 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
# To update the current shell environment, run: eval $(opam env)
2026-03-26 22:42.27 ---> saved as "2e97b9dacd5467a811491462fd62fc4a925da4d795c751da40f981d5cdd30a99"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 23 packages
- install base                    v0.17.3
- install conf-diffutils          2
- install conf-timeout            1
- install cppo                    1.8.0
- install csexp                   1.5.2
- install dune                    3.22.0
- install dune-configurator       3.22.0
- install ocaml-compiler-libs     v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlfind               1.9.8
- install octavius                1.2.2
- install ounit2                  2.2.7
- install ppx_derivers            1.2.1
- install ppx_deriving            6.1.1
- install ppx_js_style            v0.17.1
- install ppx_yojson_conv         v0.17.1
- install ppx_yojson_conv_lib     v0.17.0
- install ppxlib                  0.38.0
- install seq                     base
- install sexplib0                v0.17.0
- install stdlib-random           1.2.0
- install stdlib-shims            0.3.0
- install yojson                  3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-diffutils.2
-> installed conf-timeout.1
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_js_style.v0.17.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_yojson_conv.v0.17.1  (cached)
-> retrieved ppx_yojson_conv_lib.v0.17.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-random.1.2.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-random.1.2.0
-> installed dune-configurator.3.22.0
-> installed stdlib-shims.0.3.0
-> installed octavius.1.2.2
-> installed ounit2.2.2.7
-> installed yojson.3.0.0
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed base.v0.17.3
-> installed ppxlib.0.38.0
-> installed ppx_js_style.v0.17.1
-> installed ppx_deriving.6.1.1
-> installed ppx_yojson_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-26 22:53.19 ---> saved as "60a84bc76b546e8b6fc750ec217fffb07c78ae2c1acbd51d08eaed9ca12f2fac"


/src: (copy (src .) (dst /src))
2026-03-26 22:53.19 ---> saved as "19313affd3584b7a6965baba1a6e963f26cefbd785e74bf49e4bf0b550d55414"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/examples/testproj-2-modules/test && ./ounittest.exe)
..
Ran: 2 tests in: 0.12 seconds.
OK
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.12 seconds.
OK
(cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I src/ppx/.mutaml_ppx.objs/byte -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.4/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.4/lib/ocaml/compiler-libs -I /home/opam/.opam/5.4/lib/ppx_derivers -I /home/opam/.opam/5.4/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.4/lib/ppxlib -I /home/opam/.opam/5.4/lib/ppxlib/ast -I /home/opam/.opam/5.4/lib/ppxlib/astlib -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/ppxlib/stdppx -I /home/opam/.opam/5.4/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-random/v4 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/yojson -I src/common/.mutaml_common.objs/byte -no-alias-deps -opaque -o src/ppx/.mutaml_ppx.objs/byte/mutaml_ppx.cmo -c -impl src/ppx/mutaml_ppx.pp.ml)
File "src/ppx/mutaml_ppx.ml", line 466, characters 9-28:
466 |     | _, Pexp_function cases ->
^^^^^^^^^^^^^^^^^^^
Error: The constructor Pexp_function expects 3 argument(s),
but is applied here to 1 argument(s)
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-03-26 22:53.55: Job failed: Failed: Build failed