2025-06-29 17:59.25: New job: test ocaml-ppx/ppx_import https://github.com/ocaml-ppx/ppx_import.git#refs/heads/master (536de1c078407a2f238761d23fd8f3727e572f13) (linux-x86_64:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
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 536de1c0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
# 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 4f977ccb61d6694f12c27cd4e9b06ef51088bd9b || git fetch origin master) && git reset -q --hard 4f977ccb61d6694f12c27cd4e9b06ef51088bd9b && 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.16.4 base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.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 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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_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-06-29 17:59.25: Using cache hint "ocaml-ppx/ppx_import-ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3-alpine-3.21-4.14_opam-2.3-01c2db338de5d07488cd981f232ffa41"
2025-06-29 17:59.25: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
(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 4f977ccb61d6694f12c27cd4e9b06ef51088bd9b || git fetch origin master) && git reset -q --hard 4f977ccb61d6694f12c27cd4e9b06ef51088bd9b && 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.16.4 base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.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 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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_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-06-29 17:59.25: Waiting for resource in pool OCluster
2025-06-29 20:01.03: Waiting for worker…
2025-06-29 20:09.25: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 536de1c Merge pull request #98 from henrytill/fix-broken-link
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3' locally
docker.io/ocaml/opam@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3: Pulling from ocaml/opam
2c6cd851d050: Pulling fs layer
2c6cd851d050: Waiting
2c6cd851d050: Verifying Checksum
2c6cd851d050: Download complete
2c6cd851d050: Pull complete
Digest: sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
Status: Downloaded newer image for ocaml/opam@sha256:2a715c092c4ab201120243e7efc44191d8c5aef3c1bf63ab56cfedfe3a662ad3
2025-06-29 20:09.27 ---> using "cae3f84721b1d1626d38afde4577807843a0da8ba3807fc3f5f4606864be9e98" 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-06-29 20:09.27 ---> using "2a1b55d524b2e4107c58bb0f26b0966461f7df889d8d2380d6f73d40780d70fd" from cache
/src: (run (shell "opam init --reinit -ni"))
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.
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-29 20:09.27 ---> using "ee8cb0dc9d3d805aacaba9dc7c4502800e2864636d991c4f741219dd208e85a6" 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-29 20:09.27 ---> using "13db3bce6da9230f287f61b091a5e2118713d0477a02ba9ea85403d455daf23b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-29 20:09.27 ---> using "12e1496ffec8af3593a23abc2f334891938014651abc1cbaa893a5408d93075d" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 4f977ccb61d6694f12c27cd4e9b06ef51088bd9b || git fetch origin master) && git reset -q --hard 4f977ccb61d6694f12c27cd4e9b06ef51088bd9b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
bc726805e3..af17e9cece master -> origin/master
4f977ccb61 Merge pull request #28109 from mseri/frama-c
<><> 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-29 20:09.27 ---> using "d92116f2fd55a0e1b9ec967bbbffea090c56f51033eebd3a04b27b254fbf54aa" from cache
/src: (copy (src ppx_import.opam) (dst ./))
2025-06-29 20:09.27 ---> saved as "a595aceab42f36000441a0f75472f2ad915072037cff95e480a7d0241289995a"
/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-06-29 20:09.32 ---> saved as "0c2e5573e82d5f3a3c06bc029d64bdf4f6a88e3b420fafcc521fb576da48fa49"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-29 20:09.33 ---> saved as "c68c6891191ee9b1b898ccbcf960fbcdcd766cbff76399cb04e8975e10d58251"
/src: (env DEPS "base.v0.16.4 base-bigarray.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.19.1 dune-configurator.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 ocamlfind.1.9.8 ounit.2.2.7 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.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_import.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-612-gd8580ac27b8 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-615-g437846cb9e3 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-1139-g26f38ed1900 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-1149-g0a41e7950e5 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-1143-g1cb239558df [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58858 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 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-29 20:09.56 ---> saved as "3cc5fe3f198d142f5c1b978308b4ed86b4f271c9296f20208f1f40c474640803"
/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 16 packages
- install base v0.16.4
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.19.1
- install dune-configurator 3.19.1
- install ocaml-compiler-libs v0.12.4
- 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.0.3
- install ppx_sexp_conv v0.16.0
- install ppxlib 0.35.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved base.v0.16.4 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (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_sexp_conv.v0.16.0 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.8.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed dune-configurator.3.19.1
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_deriving.6.0.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-29 20:12.40 ---> saved as "b6bf275f0babcef5a3fa213aa218fe39dde569bce3c3a5931521399580d9e404"
/src: (copy (src .) (dst /src))
2025-06-29 20:12.41 ---> saved as "3cb04b4c2e71ebdafc0601ed300cec8a7edda82544f42556d4d7984a5bbd64b0"
/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-06-29 20:12.54 ---> saved as "e936de0d0e6e15a244f129dc740b7568d1229462a353dacf4e660d48524906b4"
Job succeeded
2025-06-29 20:12.55: Job succeeded