2025-05-28 20:53.14: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/heads/master (9e2c5190c9d5b9b12208769f7ed6ccf141d84b8d) (linux-x86_64:debian-12-5.1_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocurrent/ocaml-version.git" -b "master" && cd "ocaml-version" && git reset --hard 9e2c5190
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18
# debian-12-5.1_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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocaml-version.opam ./
RUN opam pin add -yn ocaml-version.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.19.0 fmt.0.10.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocaml-version.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-05-28 20:53.14: Using cache hint "ocurrent/ocaml-version-ocaml/opam:debian-12-ocaml-5.1@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18-debian-12-5.1_opam-2.3-60194d5f33a3635558eb4c7edda00e87"
2025-05-28 20:53.14: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18)
(comment debian-12-5.1_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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocaml-version.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.19.0 fmt.0.10.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(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 ocaml-version.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-05-28 20:53.14: Waiting for resource in pool OCluster
2025-05-28 20:53.14: Waiting for worker…
2025-05-28 20:53.14: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
HEAD is now at 7b64fd9 Add OCaml 5.4.0~alpha1
HEAD is now at 9e2c519 Merge pull request #83 from ocurrent/shonfeder/add-ocaml-5-4-0-alpha1
(from ocaml/opam:debian-12-ocaml-5.1@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18' locally
docker.io/ocaml/opam@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18: Pulling from ocaml/opam
51a68dd040ec: Pulling fs layer
51a68dd040ec: Verifying Checksum
51a68dd040ec: Download complete
51a68dd040ec: Pull complete
Digest: sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18
Status: Downloaded newer image for ocaml/opam@sha256:eda7b704cc066083239d2a7394a51b1f3cfbc4410bdc7589f73002d2eb950e18
2025-05-28 20:55.25 ---> saved as "706e4b2b3a0aa8cb1df6a474c585c7b4d8135a3667830d58cc817ec5342a1b85"
/: (comment debian-12-5.1_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-05-28 20:55.25 ---> saved as "b80a293031d62e405c4b00cb95f192f1801e442a63ebc8c294a999b016cb3ebe"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-28 20:55.55 ---> saved as "b13eccdce6d0d62d5fdfa20291e283d29c41444a130602a8f446bd189c950547"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.1.1
2.3.0
2025-05-28 20:55.55 ---> saved as "fda2a8abb47d8c20775195df5713df6a8ed9ee7827d2a4df7da28fedfea6315b"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-05-28 20:55.55 ---> saved as "1fe6507e71283bd6da2b965420b7409447a491538d2c0ed9cf61c53cfe25a595"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..11859fd62a master -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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-05-28 20:56.20 ---> saved as "8ec28524b1abdacad59f7fe302f5b39c4c4f9ed7d69677eae812df18bd16515a"
/src: (copy (src ocaml-version.opam) (dst ./))
2025-05-28 20:56.20 ---> saved as "5499f8c475f228fe20878160e232405fce399868670d44579c57da6818dfde32"
/src: (run (network host)
(shell "opam pin add -yn ocaml-version.dev './'"))
[ocaml-version.dev] synchronised (file:///src)
ocaml-version is now pinned to file:///src (version dev)
2025-05-28 20:56.22 ---> saved as "476bb0cfcf5917b168d8a890ed0cea4ff874b8517caec9e946bb2d2e120d7b1b"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-05-28 20:56.22 ---> saved as "14ffc9be759e7b16af7e2700fd549214c39ccded6c8febd35db04a3005a7a35a"
/src: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 dune.3.19.0 fmt.0.10.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.12.0 seq.base stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
/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 ocaml-version.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- 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 bookworm/main amd64 Packages [8793 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [261 kB]
- Fetched 9309 kB in 1s (6575 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-version.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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp 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-05-28 20:56.36 ---> saved as "e6f0c5dc1b2e4b82670b81f2e52dd15042348b58417f21fc6f5a5c6ff62938ff"
/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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp 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-05-28 20:56.38: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled