Organisationspatricoferrisppxlibc4d4db ()debian-12-4.09_opam-2.3

debian-12-4.09_opam-2.3

Link Copied
Code Copied

Logs

2025-04-04 09:03.51: New job: test patricoferris/ppxlib https://github.com/patricoferris/ppxlib.git#refs/heads/ci (c4d4dba4f7354f89eaf70938af29816403814ea2) (linux-x86_64:debian-12-4.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/ppxlib.git" -b "ci" && cd "ppxlib" && git reset --hard c4d4dba4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510
# debian-12-4.09_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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && 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-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.18.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.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 ppxlib.dev ppxlib-tools.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-04-04 09:03.51: Using cache hint "patricoferris/ppxlib-ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510-debian-12-4.09_opam-2.3-441c95a0649ecb8d874abd2cda984059"
2025-04-04 09:03.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510)
(comment debian-12-4.09_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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && 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-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.18.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.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 ppxlib.dev ppxlib-tools.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 --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
)


2025-04-04 09:03.51: Waiting for resource in pool OCluster
2025-04-04 09:03.51: Waiting for worker…
2025-04-04 09:08.04: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at c4d4dba Bump trunk CI build to 5.4.0+trunk


(from ocaml/opam:debian-12-ocaml-4.09@sha256:ab7f027ee1881889bd68d0ece5dbdc4c69df2722ebe470b0f20147068a91c510)
2025-04-04 09:08.04 ---> using "05ad6ac23edb88d5d3efac143a29d9f5e14afe22991ef7f145fa413bd4497a5f" from cache


/: (comment debian-12-4.09_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-04-04 09:08.04 ---> using "fe3395b2037690ccf3508667a906e5a02fef0f50b81584d9867c69b095ec58b9" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-04 09:08.04 ---> using "b15cd9b32b0111836a2e44c453c743aa07b5453b9472d2215c0f7b072e72c3d6" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.09.1
2.3.0
2025-04-04 09:08.04 ---> using "c5cba336da306c3da6e5c40e9bf7a0aa654db568b8694f261eaa67287a0233f8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-04 09:08.04 ---> using "cc533f12c1366b82059633e054dddd119a78a055557c4e9fa5081ee807c1b435" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a8ed476033..da74d7829f  master     -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-04-04 09:08.04 ---> using "c1e0c6a4c63b13eb9ad0175d0f68b30b2ab3350adebdb6460c51e377705099ab" from cache


/src: (copy (src ppxlib.opam ppxlib-tools.opam ppxlib-bench.opam) (dst ./))
2025-04-04 09:08.04 ---> using "a3828ec9f3c3451c08e862af38412bd193ea6f884fa880dc570bb4fa7741d20d" 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-04-04 09:08.04 ---> using "af9f9fc658e4b60421fdb5a3f8a79489273d39ffc360e6438fe7c4c9d635c79c" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 09:08.04 ---> using "18dc6dcecfdb7527770f688935b190a49f968c070f3bccef12414d691243ea48" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base cinaps.v0.15.1 cmdliner.1.3.0 dune.3.18.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 re.1.11.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 ppxlib.dev ppxlib-tools.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [250 kB]
- Fetched 370 kB in 0s (1320 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ppxlib.dev] synchronised (file:///src)
[ppxlib-tools.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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-04-04 09:08.04 ---> using "8563bec7bed3b6a2b42937c3540877ace1b4e2d313f1044ed8f90aacc178f94b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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 10 packages
- install cinaps              v0.15.1
- install cmdliner            1.3.0
- install dune                3.18.0
- install ocaml-compiler-libs v0.12.4
- install ocamlfind           1.9.8
- install ppx_derivers        1.2.1
- install re                  1.11.0
- install seq                 base
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cinaps.v0.15.1  (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.11.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.18.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed dune.3.18.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.11.0
-> installed cinaps.v0.15.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-04 09:08.57 ---> saved as "4087ff03a124a497a98ab9d5cfb4b2eb92267f1777c009c015a0ae00693d1460"


/src: (copy (src .) (dst /src))
2025-04-04 09:08.57 ---> saved as "79064ab9455b38619a3a64c290eba4f1b366126929db002f86994964b88d9d1e"


/src: (run (shell "opam exec -- dune build --only-packages=ppxlib,ppxlib-tools @install @check @runtest && rm -rf _build"))
2025-04-04 09:09.30 ---> saved as "86a9e6848cdaa3152abe7e7ace56638c547ad5fad95cf980c0527ad6123ecc15"
Job succeeded
2025-04-04 09:09.30: Job succeeded