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

debian-12-4.07_opam-2.2

Link Copied
Code Copied

Logs

2024-11-15 21:02.50: 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.07_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.07@sha256:906575c3c851bccda2326688d404a17bfefe7a5f3bd6a8b6d06c5a048c1303c4
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.07@sha256:906575c3c851bccda2326688d404a17bfefe7a5f3bd6a8b6d06c5a048c1303c4
# debian-12-4.07_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.07.1 ocaml-base-compiler.4.07.1 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.base"
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.50: Using cache hint "nomadic-labs/lwt-watcher-ocaml/opam:debian-12-ocaml-4.07@sha256:906575c3c851bccda2326688d404a17bfefe7a5f3bd6a8b6d06c5a048c1303c4-debian-12-4.07_opam-2.2-bc1f69346862b2bbe921a7da97c21414"
2024-11-15 21:02.50: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.07@sha256:906575c3c851bccda2326688d404a17bfefe7a5f3bd6a8b6d06c5a048c1303c4)
(comment debian-12-4.07_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.07.1 ocaml-base-compiler.4.07.1 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.base")
(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.50: Waiting for resource in pool OCluster
2024-11-15 21:02.50: Waiting for worker…
2024-11-15 21:02.50: 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.07@sha256:906575c3c851bccda2326688d404a17bfefe7a5f3bd6a8b6d06c5a048c1303c4)
2024-11-15 21:04.00 ---> saved as "5891f1451c5bc75d1dd173faa23187f280f1f857a1f16bd8096a3a9a0f83ca3a"


/: (comment debian-12-4.07_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:04.00 ---> saved as "5269deb2d954cae0a4bec87141a56f13d32f9c51683b26e64ca1ddff1a7f8441"


/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:05.16 ---> saved as "eb1066566b3f540857938738cd7f1425e014dd7a4a397e9b5f3483e430a6e194"


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-11-15 21:05.16 ---> saved as "726f435b26a33ba6aaf4bd6bc6abd881a3032576bc3f873323ee8a52f58f648b"


/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:06.23 ---> saved as "3cf54f8c94f8cfb402fba61e2fa5ad669b40574a6eb2de78ad10a3f0781a26d0"


/src: (copy (src lwt-watcher.opam) (dst ./))
2024-11-15 21:06.23 ---> saved as "7e7f2a78cead70cf16d19c1a311587bfa6bfaf8af672f042463c36ea2ac27c33"


/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.25 ---> saved as "60a1401145d3524392b82c467af5ce8a2adb6f843cd25b16b8ae5806cb58ac77"


/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.07.1 ocaml-base-compiler.4.07.1 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.base")


/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 (1062 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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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.45 ---> saved as "1fcc3ae0411f44928558cf8facc25982ac70428817d976e31ba46b38135959b9"


/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.07.1).
[NOTE] Package ocaml is already installed (current version is 4.07.1).
[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                 base


<><> 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 seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (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 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.56 ---> saved as "7acba2b712d1d47eed24a10664339296df906e3367b5c7f2b9ea51d9f7153f01"


/src: (copy (src .) (dst /src))
2024-11-15 21:07.56 ---> saved as "a454703bbad42f4ecf580e694322c1db1d863ef870baa48ee7c014e5a0715933"


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