2025-02-17 23:24.29: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/pull/57/head (4bea74ef933a369c4cc8886f1d658754e42cfa23) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
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:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
# ubuntu-24.04-4.14_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 23:24.29: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d-ubuntu-24.04-4.14_opam-2.3-7563f4db69b5155b107e862414bb084f"
2025-02-17 23:24.29: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d)
(comment ubuntu-24.04-4.14_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 23:24.29: Waiting for resource in pool OCluster
2025-02-18 02:13.34: Waiting for worker…
2025-02-18 02:16.46: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d' locally
docker.io/ocaml/opam@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d: Pulling from ocaml/opam
1a48a3044b66: Pulling fs layer
1a48a3044b66: Verifying Checksum
1a48a3044b66: Download complete
1a48a3044b66: Pull complete
Digest: sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
Status: Downloaded newer image for ocaml/opam@sha256:639694be02a920f05d31f036d5f361981d8e3dfca8038105da439dc92b7d5d7d
2025-02-18 02:38.52 ---> using "9d14893a201eb5fa858243b8a40c8dc4522866ab4d4ba531957812f05b1ecccc" from cache
/: (comment ubuntu-24.04-4.14_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 02:38.52 ---> using "433249c5f3d9e6132d2dd50623b4abef6d0392266344ed1967cc9fe43afee6ea" 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-18 02:38.52 ---> using "1d53373f3c28e4965a45ad787b7b57044365271a310ac91a4a335feb83691560" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-18 02:38.52 ---> using "625dd2c4246310a7ea601b170be4d6e82ebda44f5c224d11fb590f2f0ac91445" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-18 02:38.52 ---> using "e5aeafc1d3ac39543e09076eb0b2eff4a5806ec26ed4fdbb08b1829c9f24a90d" 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-18 02:38.52 ---> using "c643842fcc526753e82cf889bc01a6a98e125bc91669e453f637e2fea2f4e3df" from cache
/src: (copy (src mccs.opam) (dst ./))
2025-02-18 02:38.52 ---> using "f97af91791d5a08772ee06e61d21f37f1ccb1b812e5ae1b248ef7c92392b4251" from cache
/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 02:38.52 ---> using "2bcca6ca96b4754a29929d920f529d43dd039057692718e069e5a4781f245eba" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 02:38.52 ---> using "230a3fcc06efb65b295413a7fbb04a960ab475ecc177826874faae0cf4ba75c4" from cache
/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://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Fetched 378 kB in 0s (917 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-18 02:38.52 ---> using "178a6178c0e262e267a510a30f8ec0fecb26f10abbbdc32386d2295a41657c2e" from cache
/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-18 02:38.52 ---> using "6cda9834dfcf57d83577a809f9af13368dec8e9ee351887e98da78283245b577" from cache
/src: (copy (src .) (dst /src))
2025-02-18 02:38.52 ---> using "9ee56b756e35065a3d2c55c3cd752360b558bdd59e74e9d44a177e6e0eb7a8ea" from cache
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-18 02:38.52 ---> using "06031cf3aef8d6606aae1b9aefb1e07783ebd234098a7e47ba114a67c55a62ba" from cache
Job succeeded
2025-02-18 02:38.53: Job succeeded