Organisationsocaml-opamocaml-mccs4bea74 ()ubuntu-20.04-5.3_opam-2.3

ubuntu-20.04-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-02-09 13:20.49: New job: test ocaml-opam/ocaml-mccs https://github.com/ocaml-opam/ocaml-mccs.git#refs/pull/57/head (4bea74ef933a369c4cc8886f1d658754e42cfa23) (linux-x86_64:ubuntu-20.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad
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-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad
# ubuntu-20.04-5.3_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 13:20.49: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad-ubuntu-20.04-5.3_opam-2.3-e89d71ca60d4b465d06893930ca7ecad"
2025-02-09 13:20.49: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad)
(comment ubuntu-20.04-5.3_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 13:20.49: Waiting for resource in pool OCluster
2025-02-09 13:58.07: Waiting for worker…
2025-02-09 14:02.45: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0


(from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad' locally
docker.io/ocaml/opam@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad: Pulling from ocaml/opam
e8879afe30c1: Pulling fs layer
e8879afe30c1: Verifying Checksum
e8879afe30c1: Download complete
e8879afe30c1: Pull complete
Digest: sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad
Status: Downloaded newer image for ocaml/opam@sha256:05f67370692ada78d0d346773876d6d72d69977990aeeff434105d12a27692ad
2025-02-09 14:02.46 ---> using "f64438e91cc79f15acb8c190d5bf9e62ccfe4a251682ca1f6137a6a6c044331b" from cache


/: (comment ubuntu-20.04-5.3_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 14:02.46 ---> using "16cbeb407956ec5ef8e22397837faf21d23e62abc6aaea376c867f72891ed4cc" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-02-09 14:02.46 ---> using "6fa1c8624bb118fc2d9813a57ddf8efaf5a8daf37e9ac60641d953a4d972127f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 14:02.46 ---> using "1874a199e8e6eea839830c3a7e4194ab22d725f5585c9e39ab20eca9bcd761e7" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-09 14:02.46 ---> using "8f9e842771ea81a5d8ab45f3ae71f73fd9bc7108479545dff52fbc0288f92929" 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 ><><><><><><><><><><><><><><><><><><><><><><>
[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 14:02.46 ---> using "1737398d6ed976c15237622029f97a9504146b4b35652d767628af46be03c204" from cache


/src: (copy (src mccs.opam) (dst ./))
2025-02-09 14:02.46 ---> saved as "51cfbc94061594b5dfd6eec1bf2f2edcc25d49f8e45161b8faa4d7df3b9e1388"


/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 14:02.51 ---> saved as "c356744ce283f7e7571c5dff9f7e74732ec75cc2c621181c55ffbd11a891451c"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 14:02.51 ---> saved as "f72c921ff03155217ef276d43a1a7389a0186a088baabf677b1239634084eef4"


/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"
- Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1298 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4695 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4219 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4329 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1589 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4517 kB]
- Fetched 21.0 MB in 3s (6976 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 14:03.17 ---> saved as "dd4c264860efd0ccf36de824362f162e6410b00358dda24d06741a2536c8ecb0"


/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 14:04.28 ---> saved as "414a9fcbd7f41f7badcf31b26d5c2946198ff031a410b5a6209a579fd351a931"


/src: (copy (src .) (dst /src))
2025-02-09 14:04.28 ---> saved as "41d9a0807ed57961f5911a8fda9775ca367a7a8166111d2905db760ec7139029"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-09 14:04.36 ---> saved as "d5dd64f77ecb035a16360b3d57c443a56cb64570b2e2fbb6a7e9f9f0bdb51312"
Job succeeded
2025-02-09 14:04.36: Job succeeded