2025-02-17 23:22.34: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/pull/57/head (4bea74ef933a369c4cc8886f1d658754e42cfa23) (linux-x86_64:debian-12-4.03_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42
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.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42
# debian-12-4.03_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.9-1 dune.3.17.2 extlib.1.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6"
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 23:22.34: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42-debian-12-4.03_opam-2.3-ae21735ac01d2f53e72bfe9e95be60da"
2025-02-17 23:22.34: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
(comment debian-12-4.03_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.9-1 dune.3.17.2 extlib.1.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
(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 23:22.34: Waiting for resource in pool OCluster
2025-02-17 23:56.11: Waiting for worker…
2025-02-18 00:02.24: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0
(from ocaml/opam:debian-12-ocaml-4.03@sha256:88f97e8c3bd5da02f8c84e9be025445ea31ac3a7ffa4cef2cc1692ac0a23df42)
2025-02-18 00:02.24 ---> using "50028533309a9b30b5e358b5046f0fe98e9d068fc76790dbf31ebe94498a6d14" from cache
/: (comment debian-12-4.03_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-18 00:02.24 ---> using "8d044607dd156ea446a2f40e1eff181e900d68781fefae739e027fc9ad6d9fc8" 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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
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-18 00:02.24 ---> using "d62e995ca1f7492e76de59b9bdfd8f4ffd68639285504c15f6a467d5ff51392d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.03.0
2.3.0
2025-02-18 00:02.24 ---> using "3639fed9be6db98e54101fc34862b002d7cb7c8b5b4db72f73c798a25eb39692" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-18 00:02.24 ---> using "f672f47c64e3aa522172fc514d0babfe56ca92d44a3e541e79abdac2af8d6afb" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2
<><> 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-18 00:02.24 ---> using "98feecd9d66f391f8064ed95a55ab9a022585aaf90d8063a94e4da41cb807205" from cache
/src: (copy (src mccs.opam) (dst ./))
2025-02-18 00:02.24 ---> saved as "be8ecda26ea1edc95e53444daef30da2b04bb3d2e365bec67f949a4c4ed6fee2"
/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-18 00:02.27 ---> saved as "2703cf0601f8a6153990c8d82c2d57351802bc84e408960c4afa136cba786fac"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 00:02.28 ---> saved as "d2264a4c1187ceecb6ff9a99f5044a6a46e8fed7ada4a3ea037c320f590ee214"
/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-c++.1.0 cppo.1.8.0 cudf.0.9-1 dune.3.17.2 extlib.1.8.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6")
/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 amd64 Packages [246 kB]
- Fetched 349 kB in 0s (844 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mccs.dev] synchronised (file:///src)
[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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).
2025-02-18 00:02.52 ---> saved as "c82699317429fe44c7f692d29b198bd3bffca11b2d04446f31cc12e3c28a72c6"
/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 8 packages
- install conf-c++ 1.0
- install cppo 1.8.0
- install cudf 0.9-1
- install dune 3.17.2
- install extlib 1.8.0
- install ocamlbuild 0.14.3
- install ocamlfind 1.9.6
- install ocamlfind-secondary 1.9.6
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved cudf.0.9-1 (cached)
-> installed conf-c++.1.0
-> retrieved extlib.1.8.0 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6, ocamlfind-secondary.1.9.6 (cached)
-> retrieved dune.3.17.2 (cached)
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.17.2
-> installed cppo.1.8.0
-> installed extlib.1.8.0
-> installed cudf.0.9-1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-18 00:05.02 ---> saved as "4fbb3528027401f0f81689c0e12eb52d3cffe50f7bc349f0c0435e8496c818b2"
/src: (copy (src .) (dst /src))
2025-02-18 00:05.03 ---> saved as "cf96c3053520b5ede41dcb4930162661640897f08327157525b7315203e09624"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-18 00:05.24 ---> saved as "ccd7c489b0f7c5b4667ca07c3798c895c1232eed3e6685fe79741563f4062867"
Job succeeded
2025-02-18 00:05.25: Job succeeded