2025-02-09 12:42.00: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/heads/master (a7d839cb67e2c4088d5ac58e6e2130174dca5139) (linux-arm64:debian-12-5.3_arm64_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-opam/ocaml-mccs.git" -b "master" && cd "ocaml-mccs" && git reset --hard a7d839cb
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956
# debian-12-5.3_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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-09 12:42.00: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:debian-12-ocaml-5.3@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956-debian-12-5.3_arm64_opam-2.3-e89d71ca60d4b465d06893930ca7ecad"
2025-02-09 12:42.00: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956)
(comment debian-12-5.3_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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-09 12:42.00: Waiting for resource in pool OCluster
2025-02-09 16:45.11: Waiting for worker…
2025-02-09 17:54.40: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
HEAD is now at a7d839c Version 1.1+19
(from ocaml/opam:debian-12-ocaml-5.3@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956' locally
docker.io/ocaml/opam@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956: Pulling from ocaml/opam
Digest: sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956
Status: Downloaded newer image for ocaml/opam@sha256:f27e0e5c7833c4fd3f9e288cfbe1044b4c0a71f9f69e5d9f895c1191c4881956
2025-02-09 17:54.40 ---> using "9f3b2bc54185715cdd090508025cf9fde392345fc012cdadde905075983a2247" from cache
/: (comment debian-12-5.3_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-09 17:54.40 ---> using "4ab24992e24f86b4644309ed8bd5a1761f7f395c83d81acb73f6abaa6812d4d2" 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-09 17:54.40 ---> using "b4b6e03120451443d32b7d108243e3497cfce3576953b97ffd34c5bbd4516590" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 17:54.40 ---> using "b131ed33cae8d887707d75a99d0a2d10cc15672dbf2172a02d3f8e599db9e6ff" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-09 17:54.40 ---> using "c2681ddf83f0b26465e3a256bfd41aa03821906e28a814a95b613878a1a66277" 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] no changes 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-09 17:54.40 ---> using "483e2eb997090f93e7a31f726ab0a20cdf3d1ee0b22227ac35e08866e6f40d71" from cache
/src: (copy (src mccs.opam) (dst ./))
2025-02-09 17:54.40 ---> saved as "cfe114a745cb6dfe4d6e45d81ec62399fbcfa1ff3cdd22116b757c2e8a3097dc"
/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-09 17:54.43 ---> saved as "895fa01c467c72a232ad6ea090c9ba96ffa5076a6d300d344478e9aa691e3273"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 17:54.43 ---> saved as "3a1e5fc6d1561e55094a75de9c9dc7c30c45df6043d3375c3aec299a5b7fd8b2"
/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 [240 kB]
- Fetched 343 kB in 0s (788 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 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-02-09 17:54.58 ---> saved as "791e58e018f0d7d488f3279c2f744db16cf77cb149dd3b92172ce5fe5b8c77f1"
/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 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-09 17:55.38 ---> saved as "e1e7c435182426c6767f963fedc9d027f9aab41d7edefbe74de6660e1c9c3519"
/src: (copy (src .) (dst /src))
2025-02-09 17:55.38 ---> saved as "82b4ece7c854f8f279c685c7aecbced45c868e33f52acfd3e62fd0d54a65af96"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-09 17:55.43 ---> saved as "465dc7a24e4ca0b420272b50e54613b3609275d5db7900cd7ee99953303f4b5d"
Job succeeded
2025-02-09 17:55.43: Job succeeded