Organisationsocaml-ppxppx_import485c15 ()ubuntu-25.04-5.3_opam-2.4

ubuntu-25.04-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-10-13 15:13.40: New job: test ocaml-ppx/ppx_import https://github.com/ocaml-ppx/ppx_import.git#refs/heads/v1.x (485c152c2b6386a2c0fc51142069a4b330e7498c) (linux-x86_64:ubuntu-25.04-5.3_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-ppx/ppx_import.git" -b "v1.x" && cd "ppx_import" && git reset --hard 485c152c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19
# ubuntu-25.04-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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~5.4preview 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-10-13 15:13.40: Using cache hint "ocaml-ppx/ppx_import-ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19-ubuntu-25.04-5.3_opam-2.4-f2d7976b239743af571e064d5af8102c"
2025-10-13 15:13.40: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19)
(comment ubuntu-25.04-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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~5.4preview 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-10-13 15:13.40: Waiting for resource in pool OCluster
2025-10-13 15:13.40: Waiting for worker…
2025-10-13 15:13.40: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
HEAD is now at 48982f4 [ci] Forward port CI changes from v1.x branch (#102)
HEAD is now at 485c152 Merge pull request #102 from ejgallego/ci_v1.x


(from ocaml/opam:ubuntu-25.04-ocaml-5.3@sha256:b161be7c60f9b6ee9139d3f8ffb966f1e1710c11a1a8379dc4d2fa62c24eaf19)
2025-10-13 15:13.41 ---> using "b5d08b2c1d468bdf084d83f92b87da0a162be101d82446f9c77ac822687eb8f4" from cache


/: (comment ubuntu-25.04-5.3_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-10-13 15:13.41 ---> using "836fa5d9f6d7a5b77c51a5215d0308a61c5ebff1b91761a2cb9b74cc40eb665f" 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.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-10-13 15:13.41 ---> using "95d4acefdf0e92b0bbca121389be9b680be5e94898f0dc04c700fe801920007b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-13 15:13.41 ---> using "7ce08b612f57877940976a9a6666dd5db8716a7cf61be5d1e3242f311a5dd1b0" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-13 15:13.41 ---> using "61ab72321ba2bcb032ea5c4e1853c02fde01acccd7a2c58d423b82f0916be754" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..1abfcdbf14  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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-10-13 15:13.41 ---> using "176ccc17e20c00b85eaa14acab8c9733f2d80bd972c70d84a9c1900fc06f409d" from cache


/src: (copy (src ppx_import.opam) (dst ./))
2025-10-13 15:13.41 ---> using "704972c22aea515dcde1094e98f12ebd8baf24a76d40251a63dd8163fafbc8be" from cache


/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-10-13 15:13.41 ---> using "16660b944484753e6ff152892ff3d19609c06dc66aa797f2565aa6f3e3c926b9" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-13 15:13.41 ---> using "316a36373181baeac1e829fdd0182c7164cf649fafee028325ef9811705f0e4b" from cache


/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.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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~5.4preview 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 "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [30.8 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [332 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [209 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [285 kB]
- Get:9 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [462 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [313 kB]
- Get:11 http://archive.ubuntu.com/ubuntu plucky-backports/universe amd64 Packages [3672 B]
- Get:12 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [297 kB]
- Get:13 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Packages [30.6 kB]
- Fetched 2343 kB in 0s (11.5 MB/s)
- Reading package lists...


<><> 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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-10-13 15:13.41 ---> using "1fd46f5aa368c51dca3f873efe952a3898a0bf4bff596a1ddcd7ce3a0fe176ec" 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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~5.4preview
- 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 ppxlib.0.37.0~5.4preview  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.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 cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.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~5.4preview
-> 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-10-13 15:13.41 ---> using "bdcbe40885aaf2d6d03977e3d66ddc0660648b843c204d33a04f72188e41faf3" from cache


/src: (copy (src .) (dst /src))
2025-10-13 15:13.41 ---> using "b0716466c1adf90385659e3e09af6bb08b0afed9fd1c975245cd12a4050d595f" from cache


/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.10 seconds.
OK
2025-10-13 15:13.41 ---> using "ce9826fdbf26e5ed79167dc46927d9794613ccf676eab2e7460295f07f984a02" from cache
Job succeeded
2025-10-13 15:13.41: Job succeeded