Organisationsjmidmutaml783831 (main)fedora-42-5.4_opam-2.5

fedora-42-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:35.26: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (linux-x86_64:fedora-42-5.4_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
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:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
# fedora-42-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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.1 dune-configurator.3.22.1 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-04-03 11:35.26: Using cache hint "jmid/mutaml-ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9-fedora-42-5.4_opam-2.5-815bfa86e7d865e151856ec557d26c35"
2026-04-03 11:35.26: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9)
(comment fedora-42-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && 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.1 dune-configurator.3.22.1 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-04-03 11:35.26: Waiting for resource in pool OCluster
2026-04-03 11:35.27: Waiting for worker…
2026-04-03 11:35.31: Got resource from pool OCluster
Building on doris.caelum.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:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9)
Unable to find image 'ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9' locally
docker.io/ocaml/opam@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9: Pulling from ocaml/opam
8864f7ce221a: Pulling fs layer
fa32c4141cf1: Pulling fs layer
26f7a7dc558b: Pulling fs layer
6862e7f75177: Pulling fs layer
5f0745ea34a6: Pulling fs layer
2bd31c16646d: Pulling fs layer
fa32c4141cf1: Waiting
5f0745ea34a6: Waiting
26f7a7dc558b: Waiting
6862e7f75177: Waiting
2bd31c16646d: Waiting
8864f7ce221a: Verifying Checksum
8864f7ce221a: Download complete
fa32c4141cf1: Verifying Checksum
fa32c4141cf1: Download complete
26f7a7dc558b: Verifying Checksum
26f7a7dc558b: Download complete
6862e7f75177: Download complete
5f0745ea34a6: Download complete
2bd31c16646d: Verifying Checksum
2bd31c16646d: Download complete
8864f7ce221a: Pull complete
fa32c4141cf1: Pull complete
26f7a7dc558b: Pull complete
6862e7f75177: Pull complete
5f0745ea34a6: Pull complete
2bd31c16646d: Pull complete
Digest: sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
Status: Downloaded newer image for ocaml/opam@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
2026-04-03 11:35.39 ---> using "7475aab050e630f181222e2bcfd2f2ccc93ea244c4604746c566288291c5f731" from cache


/: (comment fedora-42-5.4_opam-2.5)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 - x86_64 - Updates           100% |   2.7 KiB/s |   7.0 KiB |  00m03s
Fedora 42 - x86_64                     100% |  10.8 KiB/s |  22.1 KiB |  00m02s
Fedora 42 openh264 (From Cisco) - x86_ 100% |   2.5 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2026-04-03 11:35.39 ---> using "ad03b594e80fdfe7eb6420d71fdc4a385393716432efc0ecd7710b2f5059dc41" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-04-03 11:35.39 ---> using "8432c7b9b18a821faf615d2ef2c1d4f2d374119b56bb9397d03b1c51c5368209" 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-03 11:35.39 ---> using "8f9ef1abca30d916cd46406e0d3fe0436c1db51b92f8a2e3fd96adb58fda524f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-106-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-04-03 11:35.39 ---> using "2a71f2c35a51ffe6926d0c0830d13e687d1e361d3d3464e5c6e0b31040d46258" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-04-03 11:35.39 ---> using "98153c43af34ff83f63aca5cbdbb63a261ec7eee9ec3694252ae1cbc561f86cf" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
4f056bfedf..d06cfb1853  master     -> origin/master
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1


<><> 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-04-03 11:35.52 ---> saved as "5f426772a3f5bc786a5e7a564c586d757746eb32fdca7e4425308db8ebef81b0"


/src: (copy (src mutaml.opam) (dst ./))
2026-04-03 11:35.53 ---> saved as "ebb97c8a63bf97769a50364eb94f511bda2adc790469d3e55e1a6387ce071438"


/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-04-03 11:35.55 ---> saved as "efaa9e6c30b8c8e94ae231c47d112d2ab2d983898d036a30c21662c026607cc5"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-04-03 11:35.58 ---> saved as "0fd86136ba6abdc42c3adbc272254fa751ee1addcb95e38ba43b8defe6940ffa"


/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.1 dune-configurator.3.22.1 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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% |   2.4 KiB/s |  19.2 KiB |  00m08s
- Repositories loaded.
- Metadata cache created.


<><> 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-04-03 11:36.14 ---> saved as "fee3828e69df2c9b81ebfe545c521eaeecc7164380cb5286faa4964400d1682a"


/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.1
- install dune-configurator       3.22.1
- 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 octavius.1.2.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_js_style.v0.17.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.1, dune-configurator.3.22.1  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.22.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed octavius.1.2.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed yojson.3.0.0
-> installed stdlib-random.1.2.0
-> installed ppx_yojson_conv_lib.v0.17.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.22.1
-> 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-04-03 11:37.17 ---> saved as "6965b422776a3efc047451367a4144c9b055c17863316b9b28a4ec4161354a65"


/src: (copy (src .) (dst /src))
2026-04-03 11:37.17 ---> saved as "3bd4f5d1b4ec1e8bb5b5808f376a6435a74251442b7c16c816b603adea990970"


/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.10 seconds.
OK
(cd _build/default/examples/testproj-1-module && ./ounittest.exe)
....
Ran: 4 tests in: 0.10 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-04-03 11:37.21: Job failed: Failed: Build failed