Organisationsocaml-opamocaml-mccs4bea74 ()debian-12-4.09_opam-2.3

debian-12-4.09_opam-2.3

Link Copied
Code Copied

Logs

2025-02-17 23:23.32: 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.09_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7
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.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7
# debian-12-4.09_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.09.1 ocaml-base-compiler.4.09.1 ocaml-config.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:23.32: Using cache hint "ocaml-opam/ocaml-mccs-ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7-debian-12-4.09_opam-2.3-a1bc3afcf45a2bba50e8a91aefd5674f"
2025-02-17 23:23.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7)
(comment debian-12-4.09_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.09.1 ocaml-base-compiler.4.09.1 ocaml-config.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:23.32: Waiting for resource in pool OCluster
2025-02-18 00:56.31: Waiting for worker…
2025-02-18 00:59.52: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 4bea74e Update to Dune 2.0


(from ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.09@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7' locally
docker.io/ocaml/opam@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7: Pulling from ocaml/opam
85116da4a6e0: Pulling fs layer
85116da4a6e0: Verifying Checksum
85116da4a6e0: Download complete
85116da4a6e0: Pull complete
Digest: sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7
Status: Downloaded newer image for ocaml/opam@sha256:ac18190381562dc1e0eb7b9bc91af1c97d70071a8e1454d8ba45e81ad23edaa7
2025-02-18 00:59.52 ---> using "2f072ea72dc4422a37393768084089ec6c768c191907e43dd0ec38e05b83707c" from cache


/: (comment debian-12-4.09_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:59.52 ---> using "c4c1a56d485abd4c4ea4db1aac1942a026ea403f9ec60b91a8b23ba26828a440" 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 00:59.52 ---> using "ef54db77f542d55f2a0b47d400ea013aa3749509d512eebed7ea6b6d0545b099" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.09.1
2.3.0
2025-02-18 00:59.52 ---> using "68269acb6eb1573b1603b63ee41bef9b62e19c35c665644536061de7140b7f8f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-18 00:59.52 ---> using "e6fbaf8554718cfe6a9056a2f819776d45e230740acc80d3dc365c09cbe48dad" 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 00:59.52 ---> using "71277c1b8e90251f5eb03060b7dbffc89a53c60d9d561803cd2119bb18459082" from cache


/src: (copy (src mccs.opam) (dst ./))
2025-02-18 00:59.52 ---> saved as "b89e9a8f57b288393efb5c163162b206882eff834f7f3fd8320ea3cf8599ca83"


/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:59.57 ---> saved as "224af27ab27e04acca15b5f337ca2a7d7bbf772ab06c2ffb3ebec2e9b99e5ed4"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 00:59.57 ---> saved as "825fe78d450fb538cdbeec0ecfefe8946004977fb7477c46bb3e7c5ae5f7370c"


/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.09.1 ocaml-base-compiler.4.09.1 ocaml-config.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 amd64 Packages [246 kB]
- Fetched 349 kB in 0s (771 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mccs.dev] synchronised (file:///src)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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 01:00.21 ---> saved as "a70906902184c31661adc8fe314c7948dcce9ffe4dbc75d7faf762ea3937baf1"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.09.1).
[NOTE] Package ocaml is already installed (current version is 4.09.1).
[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 01:01.43 ---> saved as "d87a53f7ff8cfb732c913ccb912816d68a277c6ca75a6a629567636122df16e8"


/src: (copy (src .) (dst /src))
2025-02-18 01:01.44 ---> saved as "ecc49ee04debd48a80b73a51e3673779d637c21456fe7ef3566109e286dd1a45"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-02-18 01:01.53 ---> saved as "8148e7f6dab3dd32c2366f352d849abcb17ef334d4ef854c062fa5c59c18fd66"
Job succeeded
2025-02-18 01:01.54: Job succeeded