Organisationsocaml-ppxppxlibe0c024 ()alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-05-10 12:28.06: New job: test ocaml-ppx/ppxlib https://github.com/ocaml-ppx/ppxlib.git#refs/heads/main (e0c0244283f717d7ca50df973d07f4b8dfb44071) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppxlib.git" -b "main" && cd "ppxlib" && git reset --hard e0c02442
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
# alpine-3.21-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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam ./
RUN opam pin add -yn ppxlib.dev './' && \
opam pin add -yn ppxlib-tools.dev './' && \
opam pin add -yn ppxlib-bench.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-05-10 12:28.06: Using cache hint "ocaml-ppx/ppxlib-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c-alpine-3.21-4.14_opam-2.3-345828965cd7a3b9fdfd4432a2da1931"
2025-05-10 12:28.06: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
(comment alpine-3.21-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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2")
(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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.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-05-10 12:28.06: Waiting for resource in pool OCluster
2025-05-10 14:10.37: Waiting for worker…
2025-05-10 14:13.34: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at e0c02442 Merge pull request #575 from patricoferris/remove-legacy-asts


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c' locally
docker.io/ocaml/opam@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c: Pulling from ocaml/opam
724292bd7d2f: Pulling fs layer
724292bd7d2f: Waiting
724292bd7d2f: Verifying Checksum
724292bd7d2f: Download complete
724292bd7d2f: Pull complete
Digest: sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
Status: Downloaded newer image for ocaml/opam@sha256:c46d6084a2d69602000f28df4e6676c70008fc18356b5e0da6cde79296e0b89c
2025-05-10 14:13.35 ---> using "b31f8ea9b0da9063a13255c6536c5f85700cfe755ad07fbc6516da39211433c3" from cache


/: (comment alpine-3.21-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-05-10 14:13.35 ---> using "19df58eb54ed30110ece635c4514ba385d140993ef5afc1d6ea8834ab1dff193" 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-05-10 14:13.35 ---> using "5d59f74e6dbc788d5564e4eb41af6de5cdafa28276e80e99123b7c2df2221c47" 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-05-10 14:13.35 ---> using "f3ac1918087de3fd30b9d202f649badc87b770850bf1bccf4ef78510f7ee33ac" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-05-10 14:13.35 ---> using "0399f5b9278019e7dd66be1fc65fe4435ea8eeec9e9d0cc3290c1440795219b0" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
35eb2f107a Merge pull request #27838 from maiste/release-dune-3.18.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes 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-05-10 14:13.35 ---> using "2784e54b94e3e4981854b5a379084402ed4e2516fa5b821ee0215cb1707c3efc" from cache


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-05-10 14:13.35 ---> using "9e71f581f081c4f38e0fdedc048b44f56dfe72a201dd239fdb21ae4ad549b727" from cache


/src: (run (network host)
(shell  "opam pin add -yn ppxlib.dev './' && \
\nopam pin add -yn ppxlib-tools.dev './' && \
\nopam pin add -yn ppxlib-bench.dev './'"))
[ppxlib.dev] synchronised (file:///src)
ppxlib is now pinned to file:///src (version dev)
[ppxlib-tools.dev] synchronised (file:///src)
ppxlib-tools is now pinned to file:///src (version dev)
Package ppxlib-bench does not exist, create as a NEW package? [y/n] y
[ppxlib-bench.dev] synchronised (file:///src)
ppxlib-bench is now pinned to file:///src (version dev)
2025-05-10 14:13.35 ---> using "a7a10be9fb71b755034af3416ce7d94a687c690f3f37db3d038ebd46d8e1fab3" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-10 14:13.35 ---> using "1364999f31304beb4385e06954172b37e8e752618974ffa424660ddb74addd93" from cache


/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 csexp.1.5.2 dune.3.18.2 dune-configurator.3.18.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.12.0 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 yojson.2.2.2")


/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 ppxlib.dev ppxlib-tools.dev ppxlib-bench.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-452-gee5ce66b724 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-459-gb091f834ac8 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-7846-g39271601b77 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-7843-g6586b379a88 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-7827-gb606fd1275d [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58157 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-bench.dev] synchronised (file:///src)
[ppxlib-tools.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-05-10 14:13.35 ---> using "cfb6030648157b235e94751eadb5ae7f46b23ae5dd93b290860863bab7f6aa2a" from cache


/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 14 packages
- install base                v0.16.4
- install cinaps              v0.15.1
- install cmdliner            1.3.0
- install csexp               1.5.2
- install dune                3.18.2
- install dune-configurator   3.18.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install re                  1.12.0
- install seq                 base
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install yojson              2.2.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved dune.3.18.2, dune-configurator.3.18.2  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.18.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.18.2
-> installed base.v0.16.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-10 14:13.35 ---> using "32a0de31cc5fcf7f70444847865a57c193d2de2fd7cfac2616428f94fff0b871" from cache


/src: (copy (src .) (dst /src))
2025-05-10 14:13.35 ---> saved as "4a3d960fac561f109bdff78f491c273362c762467585576fb7059f0163fb1b7a"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-05-10 14:13.54 ---> saved as "057fffe9dc4bb6d9e7736c2288153e3fcd5e8b1c8ffde4f3924d21a590bb6abb"
Job succeeded
2025-05-10 14:13.55: Job succeeded