Organisationsjmidmutaml783831 (main)alpine-3.23-5.5_opam-2.5

alpine-3.23-5.5_opam-2.5

Link Copied
Code Copied

Logs

2026-06-30 12:12.17: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (783831dcb58310a4cd7a6c03dc12c45cd8b74f36) (linux-x86_64:alpine-3.23-5.5_opam-2.5)
Base: ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0
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:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0
# alpine-3.23-5.5_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 cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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 compiler-cloning.enabled conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-compiler-libs.v0.17.0 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 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-06-30 12:12.17: Using cache hint "jmid/mutaml-ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0-alpine-3.23-5.5_opam-2.5-8f2e6a77f59f76ab52cc83c8a72066e3"
2026-06-30 12:12.17: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0)
(comment alpine-3.23-5.5_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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
(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 "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 compiler-cloning.enabled conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-compiler-libs.v0.17.0 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 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-06-30 12:12.17: Waiting for resource in pool OCluster
2026-06-30 12:12.17: Waiting for worker…
2026-06-30 12:12.26: 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:alpine-3.23-ocaml-5.5@sha256:93e98c177118f56cb037326208d40cbd49e55893a9f93e9d4bfc26bcae8889d0)
2026-06-30 12:12.35 ---> using "0b35f8b26e4386fd12f40b83ae7659fc3ebbf123c3d51d923791dfd019e9285b" from cache


/: (comment alpine-3.23-5.5_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-06-30 12:12.35 ---> using "e06ed0bc18de005b13232449b2ae2e5bdea528d1ee355cf8b7034f84b7fcade9" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b85f65c75d..8cd35acddd  master     -> origin/master
8cd35acddd Merge pull request #30092 from shonfeder/release-dune-3.24.0
2026-06-30 12:12.35 ---> using "85012f2bb5d5ebb35b89c10cab36b3d92edc7d70a7d361f6a5319d8a1ec6d732" 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.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] synchronised from git+file:///home/opam/opam-repository
2026-06-30 12:12.43 ---> saved as "33305525f99fe18278c2146c52f66784caa0e243a15fb075952ca1bdde423a76"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 5.5.0
2.5.1
2026-06-30 12:12.43 ---> saved as "1abe3c65038dfdc34b81ccfff22cffe63eed16ef9e58793b34fdf5b31566673f"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-30 12:12.44 ---> saved as "7cfe93f04d99d68cc79dde72486e957cb4eaf2bae5dbc8d9302dfb3bdb8dfc92"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


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


The following actions will be performed:
=== recompile 7 packages
- recompile base-domains        base           [uses ocaml]
- recompile base-effects        base           [uses ocaml]
- recompile base-nnp            base           [uses base-domains]
- recompile ocaml               5.5.0          [uses ocaml-base-compiler]
- recompile ocaml-base-compiler 5.5.0 (pinned) [uses ocaml-compiler]
- recompile ocaml-compiler      5.5.0          [upstream or system changes]
- recompile opam-depext         1.2.3          [uses ocaml]
=== install 1 package
- install   compiler-cloning    enabled        [required by ocaml-compiler]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml.5.5.0  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> installed compiler-cloning.enabled
-> retrieved ocaml-compiler.5.5.0  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.5.0
-> removed   ocaml-base-compiler.5.5.0
-> removed   ocaml-compiler.5.5.0
-> installed ocaml-compiler.5.5.0
-> installed ocaml-base-compiler.5.5.0
-> installed ocaml.5.5.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.


<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead


<><> ocaml-compiler.5.5.0 installed successfully ><><><><><><><><><><><><><><><>
=> This switch had to be compiled from sources, but future switches with the 🐌
same compiler version and configuration should assemble instantly.
# To update the current shell environment, run: eval $(opam env)
2026-06-30 12:15.24 ---> saved as "cbcf68a55acd6fbb6c6fe2a7d9ce44bda6c1997531001b188155836037d2bb12"


/src: (copy (src mutaml.opam) (dst ./))
2026-06-30 12:15.25 ---> saved as "145c4c40472a8d6ded4e992f53b9e8d5f74acdfb8265149caf8853d9f19f1cff"


/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-06-30 12:15.27 ---> saved as "bab897ccb050e6ad08e885be5aa0e1eeaa644a5ce37cf19e8f45b1f4ca13260d"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-30 12:15.28 ---> saved as "983ac050acaecf9de5f85a33a8d03716abf04b6e1c3d172a90c98c1e853fd552"


/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 compiler-cloning.enabled conf-diffutils.2 conf-timeout.1 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 ocaml-compiler-libs.v0.17.0 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.2 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 "apk" "update"
- v3.23.5-18-g32cc23bab49 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.5-18-g32cc23bab49 [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v3.24.0-1118-gfde89874b3d [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.24.0-1119-gd7ead5c0cd2 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.24.0-1118-gfde89874b3d [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62525 distinct packages available


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


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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 system packages will first need to be installed:
diffutils


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apk" "add" "diffutils"
- (1/1) Installing diffutils (3.12-r0)
- Executing busybox-1.37.0-r30.trigger
- OK: 339.0 MiB in 105 packages
# To update the current shell environment, run: eval $(opam env)
2026-06-30 12:15.40 ---> saved as "42145523d5d0fe304be98084089e180ce3122ab47ecf775d0f2e2f95cc011285"


/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-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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.24.0
- install dune-configurator       3.24.0
- install ocaml-compiler-libs     v0.17.0
- install ocaml_intrinsics_kernel v0.17.2
- 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.2  (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_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.24.0, dune-configurator.3.24.0  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.24.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.2
-> installed octavius.1.2.2
-> 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 dune-configurator.3.24.0
-> installed ounit2.2.2.7
-> 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-06-30 12:17.05 ---> saved as "2ca15baf56ad2e20f1348b57ca4bbac67ac7c7f37c4e81ddbd4ae96e786fd469"


/src: (copy (src .) (dst /src))
2026-06-30 12:17.06 ---> saved as "464e4e391c51aba3552e09895ab8600b98e608d3292c727133287bb3fca536aa"


/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.11 seconds.
OK
(cd _build/default && /home/opam/.opam/5.5/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.5/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.5/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.5/lib/ocaml/compiler-libs -I /home/opam/.opam/5.5/lib/ppx_derivers -I /home/opam/.opam/5.5/lib/ppx_yojson_conv_lib -I /home/opam/.opam/5.5/lib/ppxlib -I /home/opam/.opam/5.5/lib/ppxlib/ast -I /home/opam/.opam/5.5/lib/ppxlib/astlib -I /home/opam/.opam/5.5/lib/ppxlib/print_diff -I /home/opam/.opam/5.5/lib/ppxlib/stdppx -I /home/opam/.opam/5.5/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.5/lib/sexplib0 -I /home/opam/.opam/5.5/lib/stdlib-random/v4 -I /home/opam/.opam/5.5/lib/stdlib-shims -I /home/opam/.opam/5.5/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-06-30 12:17.11: Job failed: Failed: Build failed