2025-06-17 18:29.30: New job: test ocaml-dune/ppx_deriving_dyn https://github.com/ocaml-dune/ppx_deriving_dyn.git#refs/heads/main (bacf84896c3924f4858e40b11acc1a6c16d2ac75) (linux-x86_64:opensuse-15.6-4.14_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-dune/ppx_deriving_dyn.git" -b "main" && cd "ppx_deriving_dyn" && git reset --hard bacf8489
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514
# opensuse-15.6-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_deriving_dyn.opam ./
RUN opam pin add -yn ppx_deriving_dyn.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base dune.3.19.1 dyn.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.36.0 sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppx_deriving_dyn.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
2025-06-17 18:29.30: Using cache hint "ocaml-dune/ppx_deriving_dyn-ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514-opensuse-15.6-4.14_opam-2.3-e344ada961de7251d1a4def2147a1ec6"
2025-06-17 18:29.30: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514)
(comment opensuse-15.6-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_deriving_dyn.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_deriving_dyn.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.19.1 dyn.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.36.0 sexplib0.v0.17.0 stdlib-shims.0.3.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.3 --depext-only -y ppx_deriving_dyn.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"))
)
2025-06-17 18:29.30: Waiting for resource in pool OCluster
2025-06-17 21:01.55: Waiting for worker…
2025-06-17 21:06.32: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at bacf848 Merge pull request #6 from NathanReb/support-mutually-rec-types
(from ocaml/opam:opensuse-15.6-ocaml-4.14@sha256:426f09cee108ecfbe56ad2cb6ab397290a5bb96f4d171d7c223958bd200ba514)
2025-06-17 21:06.33 ---> using "4a6fdc936af901a9f89c53eac736863712182b22bf00eb1f2f91749b3b4fb635" from cache
/: (comment opensuse-15.6-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-17 21:06.33 ---> using "4c300f703eb6b72998a7a749b253aa4744f7f99c794840231dd85d48efe7ca70" 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 development 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
2025-06-17 21:06.33 ---> using "5027001e609d3036b16bc554af07cf799a1d5ff69beb9bbf7fbc4d01a80ef8bd" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 21:06.33 ---> using "6c9720425dc8efa9ac96fe70e7855459125f210e0162dc8427c6ce1df9975a74" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 21:06.33 ---> using "9cf2c360dcb9a5dca580f7a61e2ee5775f8408ce7fe0237ece8ea229231f4c30" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 21:06.33 ---> using "93a69ee437f6a3aec65461c23d5003b7d4f55840c2338cb19510a70206a84349" from cache
/src: (copy (src ppx_deriving_dyn.opam) (dst ./))
2025-06-17 21:06.33 ---> saved as "d7a5cffcd13386b0ccc28844cfcfd499f53045be556eb762d11d5ee762cfe724"
/src: (run (network host)
(shell "opam pin add -yn ppx_deriving_dyn.dev './'"))
Package ppx_deriving_dyn does not exist, create as a NEW package? [y/n] y
[ppx_deriving_dyn.dev] synchronised (file:///src)
ppx_deriving_dyn is now pinned to file:///src (version dev)
2025-06-17 21:06.38 ---> saved as "252587be8c4c8f178234d63b655ad862d8484550febb938e3fc7959d0e9a2ebc"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 21:06.39 ---> saved as "5f54b08ea19a6f022ad834f0796a42b29d702751425a860917a8389f42dd7454"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base dune.3.19.1 dyn.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 pp.2.0.0 ppx_derivers.1.2.1 ppxlib.0.36.0 sexplib0.v0.17.0 stdlib-shims.0.3.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.3 --depext-only -y ppx_deriving_dyn.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.......
- ..done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- ...........
- .........
- ..........
- ..........
- ..........
- ..........
- .........
- .....done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_deriving_dyn.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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
2025-06-17 21:07.18 ---> saved as "9d9fbfe71fe2bd0155c91aa9a6a07a86c8205bd199ef171fb1a3c8852eb0c997"
/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 9 packages
- install dune 3.19.1
- install dyn 3.19.1
- install ocaml-compiler-libs v0.12.4
- install ordering 3.19.1
- install pp 2.0.0
- install ppx_derivers 1.2.1
- install ppxlib 0.36.0
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved dune.3.19.1, dyn.3.19.1, ordering.3.19.1 (cached)
-> installed dune.3.19.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed pp.2.0.0
-> installed sexplib0.v0.17.0
-> installed ordering.3.19.1
-> installed dyn.3.19.1
-> installed ppxlib.0.36.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 21:08.10 ---> saved as "99472923057ad0b0d7b0c5a697b856b337746bd3e7f8f1e775e9e1c8e6879997"
/src: (copy (src .) (dst /src))
2025-06-17 21:08.11 ---> saved as "0bd6a37920e308d5a75333f38d1c5ed5108ffb340ea13acfc65c905b8f91e26c"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I deriver/.ppx_deriving_dyn.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Ppx_deriving_dyn__ -o deriver/.ppx_deriving_dyn.objs/byte/ppx_deriving_dyn__Attr.cmo -c -impl deriver/attr.pp.ml)
File "deriver/attr.ml", line 18, characters 25-33:
18 | let fun_expr = as__ (pexp_fun drop drop drop drop) in
^^^^^^^^
Error: Unbound value pexp_fun
Hint: Did you mean pexp_for?
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I deriver/.ppx_deriving_dyn.objs/byte -I deriver/.ppx_deriving_dyn.objs/native -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -opaque -open Ppx_deriving_dyn__ -o deriver/.ppx_deriving_dyn.objs/native/ppx_deriving_dyn__Attr.cmx -c -impl deriver/attr.pp.ml)
File "deriver/attr.ml", line 18, characters 25-33:
18 | let fun_expr = as__ (pexp_fun drop drop drop drop) in
^^^^^^^^
Error: Unbound value pexp_fun
Hint: Did you mean pexp_for?
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I deriver/.ppx_deriving_dyn.objs/byte -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.14/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.14/lib/ocaml/compiler-libs -I /home/opam/.opam/4.14/lib/ppx_derivers -I /home/opam/.opam/4.14/lib/ppxlib -I /home/opam/.opam/4.14/lib/ppxlib/ast -I /home/opam/.opam/4.14/lib/ppxlib/astlib -I /home/opam/.opam/4.14/lib/ppxlib/print_diff -I /home/opam/.opam/4.14/lib/ppxlib/stdppx -I /home/opam/.opam/4.14/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdlib-shims -no-alias-deps -opaque -open Ppx_deriving_dyn__ -o deriver/.ppx_deriving_dyn.objs/byte/ppx_deriving_dyn.cmo -c -impl deriver/ppx_deriving_dyn.pp.ml)
File "deriver/ppx_deriving_dyn.ml", line 79, characters 29-35:
79 | fun_or_applied ~loc ~f:to_dyn expr_opt
^^^^^^
Error: This expression has type
type_constraint option -> function_body -> expression
but an expression was expected of type expression
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-17 21:08.13: Job failed: Failed: Build failed