2025-02-17 18:31.43: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/pull/57/head (4bea74ef933a369c4cc8886f1d658754e42cfa23) (linux-arm64:debian-12-4.14_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/ocaml-mccs.git" && cd "ocaml-mccs" && git fetch origin "refs/pull/57/head" && git reset --hard 4bea74ef
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c
# debian-12-4.14_arm64_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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mccs.opam ./
RUN opam pin add -yn mccs.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.17.2 extlib.1.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mccs.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-02-17 18:31.43: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:debian-12-ocaml-4.14@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c-debian-12-4.14_arm64_opam-2.3-7563f4db69b5155b107e862414bb084f"
2025-02-17 18:31.43: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c)
(comment debian-12-4.14_arm64_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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mccs.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mccs.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.17.2 extlib.1.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.3 --depext-only -y mccs.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-02-17 18:31.43: Waiting for resource in pool OCluster
2025-02-17 22:34.33: Waiting for worker…
2025-02-17 23:22.22: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0
(from ocaml/opam:debian-12-ocaml-4.14@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c' locally
docker.io/ocaml/opam@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c: Pulling from ocaml/opam
4e540857c2a0: Already exists
581300c76211: Pulling fs layer
d29d867e4c43: Pulling fs layer
77c4981298ab: Pulling fs layer
a8841376419c: Pulling fs layer
64005d086285: Pulling fs layer
64005d086285: Waiting
a8841376419c: Waiting
77c4981298ab: Verifying Checksum
77c4981298ab: Download complete
581300c76211: Verifying Checksum
581300c76211: Download complete
a8841376419c: Verifying Checksum
a8841376419c: Download complete
64005d086285: Verifying Checksum
64005d086285: Download complete
581300c76211: Pull complete
d29d867e4c43: Verifying Checksum
d29d867e4c43: Download complete
d29d867e4c43: Pull complete
77c4981298ab: Pull complete
a8841376419c: Pull complete
64005d086285: Pull complete
Digest: sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c
Status: Downloaded newer image for ocaml/opam@sha256:e20cda3d4b0b9db6861c15c835a2417107b427d1781a60c8f9ab1d3821e7fc5c
2025-02-17 23:22.09 ---> using "69c3b8274d6ca947ae814d81e13ab07e70f59c44258667fa8fc1912388089f18" from cache
/: (comment debian-12-4.14_arm64_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-02-17 23:22.09 ---> using "9334c69849812d9816af757ef2e06e80439425fa47dd4faabda2805134fc81b7" 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-02-17 23:22.09 ---> using "6466d52a1915ec8519fd908d27427ab1a924c8a8ce709fdbd9004a6f1a7bab08" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-17 23:22.09 ---> using "c53209ee0850b11f5bffbb1801ca105dbe6610a8d29745422131e20a6080d02a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-17 23:22.09 ---> using "bca0723ffced1f57b12c220f49f9fb7ca569cc5fba92a8a24ab092ed97fc7d71" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.2
<><> 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-02-17 23:22.09 ---> using "7d1ea6807886971788cda73ba2e3043fb2f795a452541fde6d0fbfbd6b595045" from cache
/src: (copy (src mccs.opam) (dst ./))
2025-02-17 23:22.10 ---> saved as "a0c17d0241eb604ba1cd9eda8d7a4b2158c637a416b716d46e9d58ba662c4f20"
/src: (run (network host)
(shell "opam pin add -yn mccs.dev './'"))
[mccs.dev] synchronised (file:///src)
mccs is now pinned to file:///src (version dev)
2025-02-17 23:22.12 ---> saved as "ef7a41ab171b0fa66dff437867eb7761eefa9951a58b2c474484fbb73d48965d"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-17 23:22.12 ---> saved as "7706f99bb52df761c0e6d64ad1bfc66cf870716d269fdfe40cf4eae2eb3e0523"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.10 dune.3.17.2 extlib.1.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.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.3 --depext-only -y mccs.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 arm64 Packages [242 kB]
- Fetched 345 kB in 0s (797 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mccs.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-02-17 23:22.25 ---> saved as "0043662f136d835b271fef37f2eff6f26269b33850a5abca815c4d5e90e31351"
/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 5 packages
- install conf-c++ 1.0
- install cppo 1.8.0
- install cudf 0.10
- install dune 3.17.2
- install extlib 1.8.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved cudf.0.10 (cached)
-> installed conf-c++.1.0
-> retrieved extlib.1.8.0 (cached)
-> retrieved dune.3.17.2 (cached)
-> installed dune.3.17.2
-> installed cppo.1.8.0
-> installed extlib.1.8.0
-> installed cudf.0.10
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-17 23:23.03 ---> saved as "bb24e582a1b9eb11fa6814eabcd6475c618440889142fb0914d48e4b2e8ba455"
/src: (copy (src .) (dst /src))
2025-02-17 23:23.04 ---> saved as "c9a9ca358c416bf5dcdd3e1a75fa6bc6b91ee5ca780d5a73bff8b0cd1a619ec7"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-17 23:23.08 ---> saved as "78dabb2d8178e26e749430f004de0018f105e726fec5fa218971c32ef35bdc04"
Job succeeded
2025-02-17 23:23.38: Job succeeded