Organisationsocaml-ppxppx_importe7ff30 (master)alpine-3.22-5.4_opam-2.4

alpine-3.22-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-12-15 14:44.59: New job: test ocaml-ppx/ppx_import https://github.com/ocaml-ppx/ppx_import.git#refs/heads/master (e7ff3012b87dc16be1b058b0f480f944c8d1a165) (linux-x86_64:alpine-3.22-5.4_opam-2.4)
Base: ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_import.git" -b "master" && cd "ppx_import" && git reset --hard e7ff3012
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
# alpine-3.22-5.4_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ppx_import.opam ./
RUN opam pin add -yn ppx_import.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 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 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 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ppx_import.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-12-15 14:44.59: Using cache hint "ocaml-ppx/ppx_import-ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa-alpine-3.22-5.4_opam-2.4-5129308f210c74ec10163f92fab47b72"
2025-12-15 14:44.59: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa)
(comment alpine-3.22-5.4_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ppx_import.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ppx_import.dev './'"))
(run (network host)
(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 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 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 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 seq.base 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.4 --depext-only -y ppx_import.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-12-15 14:44.59: Waiting for resource in pool OCluster
2025-12-16 00:07.09: Waiting for worker…
2025-12-16 00:08.09: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at e7ff301 Merge pull request #100 from Octachron/Support_OCaml_5.4


(from ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-5.4@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa' locally
docker.io/ocaml/opam@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa: Pulling from ocaml/opam
1acd6848526d: Already exists
011c0aa8d664: Already exists
a04693dbb011: Already exists
46d3ce831e6b: Already exists
7e43a8d41d8a: Already exists
0f022733f029: Already exists
fd1b508ae401: Already exists
Digest: sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
Status: Downloaded newer image for ocaml/opam@sha256:8e38c5f7a0619e59e641da986cc6e5a2fb675f58f51a0438d81159631878e8fa
2025-12-16 00:08.10 ---> using "3610d2e4ecf908516fa5cd0b42f61fa30c0a32fae0d20c6a95c58a2cde134d65" from cache


/: (comment alpine-3.22-5.4_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-16 00:08.10 ---> using "820118d0eb54b68c3da09657de32137103a9432395d1f6165aa111c0f0278039" 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.


Continue? [Y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-16 00:08.10 ---> using "25da5b698c660f158fde90556f8568dd476f97ad1a1a7c09c1a532fea86d4a54" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-12-16 00:08.10 ---> using "8eb7a0bc02b58e6d717d7140ad6c45ee7ca826c5fcee980a470c1cf869ee7ff7" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-12-16 00:08.10 ---> using "40d19b76d2f0774b6d2c09fbbab6c31f0be48fa878028495a8fe053c829a6314" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
2ec6d6cc92..c65fcb1165  master     -> origin/master
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-12-16 00:08.10 ---> using "f06be5858aa6cbaf552b94ad03975c2f129d6a98e405a5962c6829437060ba03" from cache


/src: (copy (src ppx_import.opam) (dst ./))
2025-12-16 00:08.11 ---> saved as "2435cfb800e512b67502d1e0bab17b5d7bd1f5327856ef6684fcef35c7791d91"


/src: (run (network host)
(shell "opam pin add -yn ppx_import.dev './'"))
[ppx_import.dev] synchronised (file:///src)
ppx_import is now pinned to file:///src (version dev)
2025-12-16 00:08.17 ---> saved as "722254eaebcff59cc90394e474940171845cbf992e9bcd22bdf501321968f5ad"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-12-16 00:08.18 ---> saved as "fc7096f71c6da62eb8871786651fc6d1138a3c2ff66f3276bb633ef9ca305d50"


/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 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 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 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_sexp_conv.v0.17.1 ppxlib.0.37.0 ppxlib_jane.v0.17.4 seq.base 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.4 --depext-only -y ppx_import.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/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.22.2-308-gfeaeb3000e3 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-307-g4886c13aeed [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v3.23.0-996-g0679211a501 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0-1021-gc6c0b6fe297 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0-1018-g35942ed38c2 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60364 distinct packages available


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppx_import.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).
2025-12-16 00:08.45 ---> saved as "75ea1eecd662b8e8f35b2bcd6fb287f34ab83c1d5a03c8b05730e7c7e1c3eb0f"


/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 18 packages
- install base                    v0.17.3
- install cppo                    1.8.0
- install csexp                   1.5.2
- install dune                    3.20.2
- install dune-configurator       3.20.2
- install ocaml-compiler-libs     v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- install ocamlfind               1.9.8
- install ounit                   2.2.7
- install ounit2                  2.2.7
- install ppx_derivers            1.2.1
- install ppx_deriving            6.1.1
- install ppx_sexp_conv           v0.17.1
- install ppxlib                  0.37.0
- install ppxlib_jane             v0.17.4
- install seq                     base
- install sexplib0                v0.17.0
- install stdlib-shims            0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed dune-configurator.3.20.2
-> installed base.v0.17.3
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_deriving.6.1.1
-> installed ppx_sexp_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-16 00:11.46 ---> saved as "45d39809e8adbce57fb66e498758c3b37d7de822089172544fe2e9bb7b6d82e9"


/src: (copy (src .) (dst /src))
2025-12-16 00:11.47 ---> saved as "5240929807f50a29894b8cc75915f5146584da422116293a47bb413666d750c9"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src_test/ppx_deriving && ./test_ppx_import.exe)
....
Ran: 4 tests in: 0.11 seconds.
OK
2025-12-16 00:11.59 ---> saved as "ebbeea3d4740d973920c8076abb84aa8f64bbf5cdd2e5c17ac51dac2b8093f24"
Job succeeded
2025-12-16 00:11.59: Job succeeded