Organisationsnomadic-labslwt-watcher70f826 ()debian-12-4.05_opam-2.2

debian-12-4.05_opam-2.2

Link Copied
Code Copied

Logs

2024-11-15 21:02.17: New job: test nomadic-labs/lwt-watcher https://gitlab.com/nomadic-labs/lwt-watcher.git#refs/heads/master (70f826c503cc094ed2de3aa81fa385ea9fddb903) (linux-x86_64:debian-12-4.05_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.05@sha256:b698f8c580b282b324b5ebd2deb198dd51463970f838cd476aa91935d76312ad
Opam project build


To reproduce locally:


git clone --recursive "https://gitlab.com/nomadic-labs/lwt-watcher.git" -b "master" && cd "lwt-watcher" && git reset --hard 70f826c5
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.05@sha256:b698f8c580b282b324b5ebd2deb198dd51463970f838cd476aa91935d76312ad
# debian-12-4.05_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt-watcher.opam ./
RUN opam pin add -yn lwt-watcher.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.5.0 mmap.1.2.0 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y lwt-watcher.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


2024-11-15 21:02.17: Using cache hint "nomadic-labs/lwt-watcher-ocaml/opam:debian-12-ocaml-4.05@sha256:b698f8c580b282b324b5ebd2deb198dd51463970f838cd476aa91935d76312ad-debian-12-4.05_opam-2.2-c4c986c28d3e88b1ff075a9a18537e83"
2024-11-15 21:02.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.05@sha256:b698f8c580b282b324b5ebd2deb198dd51463970f838cd476aa91935d76312ad)
(comment debian-12-4.05_opam-2.2)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt-watcher.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn lwt-watcher.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.5.0 mmap.1.2.0 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.1")
(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.2 --depext-only -y lwt-watcher.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"))
)


2024-11-15 21:02.17: Waiting for resource in pool OCluster
2024-11-15 21:02.17: Waiting for worker…
2024-11-15 21:02.17: Got resource from pool OCluster
Building on x86-bm-c15.sw.ocaml.org
All commits already cached
HEAD is now at 70f826c Merge branch 'add-dune-project-file' into 'master'


(from ocaml/opam:debian-12-ocaml-4.05@sha256:b698f8c580b282b324b5ebd2deb198dd51463970f838cd476aa91935d76312ad)
2024-11-15 21:03.37 ---> saved as "7f0c017696fa567f9e798d693ce82f3e0afa555cd92a28f297cafca747303e16"


/: (comment debian-12-4.05_opam-2.2)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-11-15 21:03.37 ---> saved as "4ec94a70113e06ad6db0cc300fc8470ed5bffa049f0ed2a0d8fbe777e8c08a20"


/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] synchronised from file:///home/opam/opam-repository
2024-11-15 21:04.53 ---> saved as "c0844b6c3e732d301c144d3d21122ae1b0fc0ed5de00ca15a8349cf3e3a82386"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.05.0
2.2.1
2024-11-15 21:04.54 ---> saved as "577d388f949f51a2657015cc95d40ee483212773eeeb423f077f9c0b592bc96e"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-15 21:04.54 ---> saved as "c75a13f2b743ca60474100cb9744d7f2b6053cb06e91fcde84be44477db545c0"


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


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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.
# Run eval $(opam env) to update the current shell environment
2024-11-15 21:05.59 ---> saved as "4288fffaf3657ef6f076567c48ec9e148df1cd1a54f00da61bed3c55e4cbd018"


/src: (copy (src lwt-watcher.opam) (dst ./))
2024-11-15 21:05.59 ---> saved as "90bbdee313e22389c5f10007bf85f7ec0ab82d8f114b17f5651b3daadc7a23f4"


/src: (run (network host)
(shell "opam pin add -yn lwt-watcher.dev './'"))
[lwt-watcher.dev] synchronised (file:///src)
lwt-watcher is now pinned to file:///src (version dev)
2024-11-15 21:06.01 ---> saved as "5ff88fb735b5f59ccfa093df7b2cc56db95269c3593973189ccd28acd8580577"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cppo.1.7.0 csexp.1.5.2 dune.3.16.1 dune-configurator.3.16.1 host-arch-x86_64.1 host-system-other.1 lwt.5.5.0 mmap.1.2.0 ocaml.4.05.0 ocaml-base-compiler.4.05.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ocplib-endian.1.2 result.1.5 seq.0.3.1")


/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.2 --depext-only -y lwt-watcher.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-security bookworm-security/main amd64 Packages [204 kB]
- Fetched 307 kB in 0s (1049 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt-watcher.dev] synchronised (no changes)


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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).
2024-11-15 21:06.22 ---> saved as "7b6d0d54ec18b0c32681979aba3cb86d1e114d35e544405cb3ac09b400f13c88"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.05.0).
[NOTE] Package ocaml is already installed (current version is 4.05.0).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 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 14 packages
- install base-bytes          base
- install bigarray-compat     1.1.0
- install cppo                1.7.0
- install csexp               1.5.2
- install dune                3.16.1
- install dune-configurator   3.16.1
- install lwt                 5.5.0
- install mmap                1.2.0
- install ocaml-syntax-shims  1.0.0
- install ocamlfind           1.9.6
- install ocamlfind-secondary 1.9.6
- install ocplib-endian       1.2
- install result              1.5
- install seq                 0.3.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cppo.1.7.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved lwt.5.5.0  (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.16.1
-> installed seq.0.3.1
-> installed result.1.5
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed cppo.1.7.0
-> installed ocaml-syntax-shims.1.0.0
-> installed mmap.1.2.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.16.1
-> installed lwt.5.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-11-15 21:07.22 ---> saved as "809c06450de5f18c9f4928f1e791de236e0b3dc3c486ad618c45b9d208c7dc11"


/src: (copy (src .) (dst /src))
2024-11-15 21:07.23 ---> saved as "53197e68075d55165534cef9b35851ad41b5a8669c357909140caaacee2f0397"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-11-15 21:07.23 ---> saved as "0bd517420841d918db0f4d07c7366e25eaf06eeddbc38d29165266fcf953e5cb"
Job succeeded
2024-11-15 21:07.23: Job succeeded