Organisationsocurrentocaml-dockerfile210ec6 ()(lower-bound)

(lower-bound)

Logs

Show full logs
2026-05-19 07:23.42: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/pull/267/head (210ec697d5e678aa22b73944e79b66c36f0a0da2) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" && cd "ocaml-dockerfile" && git fetch origin "refs/pull/267/head" && git reset --hard 210ec697
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
# debian-13-4.11_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN opam update -u
COPY --chown=1000:1000 dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam ./
RUN opam pin add -yn dockerfile.dev './' && \
    opam pin add -yn dockerfile-opam.dev './' && \
    opam pin add -yn dockerfile-cmd.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.3 base.v0.13.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 conf-m4.1 dune.3.20.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.7.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.7.3 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ppx_derivers.1.0 ppx_sexp_conv.v0.13.0 ppxlib.0.12.0 re.1.7.2 result.1.5 rresult.0.7.0 sexplib0.v0.13.0 stdio.v0.13.0 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.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

2026-05-19 07:23.42: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-dfa2ffe648b644e82b0aa151d291b694"
2026-05-19 07:23.42: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
 (comment debian-13-4.11_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline"))
 (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 "opam update -u"))
 (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
       (dst ./))
 (run (network host)
      (shell  "opam pin add -yn dockerfile.dev './' && \
             \nopam pin add -yn dockerfile-opam.dev './' && \
             \nopam pin add -yn dockerfile-cmd.dev './'"))
 (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.3 base.v0.13.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 conf-m4.1 dune.3.20.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.7.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.7.3 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ppx_derivers.1.0 ppx_sexp_conv.v0.13.0 ppxlib.0.12.0 re.1.7.2 result.1.5 rresult.0.7.0 sexplib0.v0.13.0 stdio.v0.13.0 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3")
 (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.5 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.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"))
)

2026-05-19 07:23.42: Waiting for resource in pool OCluster
2026-05-19 07:23.42: Waiting for worker…
2026-05-19 07:23.42: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 210ec69 Add Distro.gcc_version

(from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
2026-05-19 07:23.44 ---> using "36abb6db1723167d15c41f53ef05d371444812dc64e2ea7fe109d222db988473" from cache

/: (comment debian-13-4.11_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-05-19 07:23.44 ---> saved as "8b6c3f9b20d6c3beeb84a8d52ac5abfb97ee836913fb82a0f86bfdcf7eb71547"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline"))
4ae3c774e4 Merge pull request #29579 from ocaml/add-msys2-depexts
2026-05-19 07:23.47 ---> saved as "54f96e68ea5840d69b4f02846708b193c7a3c7a8b89c58ccdd59dd408cc89131"

/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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-05-19 07:24.02 ---> saved as "2e0488c85be23cfa510e6ed517b32de1968c6ef0872055c2e53d8cd567d53531"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-107-generic
The OCaml toplevel, version 4.11.2
2.5.1
2026-05-19 07:24.02 ---> saved as "2e3f19834893eb0759c86b2e011bf3b52c3aa4c6e95eb8613bc712c32121d5d7"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-05-19 07:24.02 ---> saved as "6f860519618ac6071ef972da70b2fd5c8de012ce87d22609f5f2a49241b2d26e"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam update -u"))

<><> 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).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.5.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-05-19 07:24.13 ---> saved as "7a3f34e1cf8732e7a22e946b952071a1ceef433d7611e04e2d67e9bac206c064"

/src: (copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
            (dst ./))
2026-05-19 07:24.13 ---> saved as "c27a4a7181bcc4aa3d50f993fcf77b8cb13c429b478e411c4bb7445b383daa3a"

/src: (run (network host)
           (shell  "opam pin add -yn dockerfile.dev './' && \
                  \nopam pin add -yn dockerfile-opam.dev './' && \
                  \nopam pin add -yn dockerfile-cmd.dev './'"))
[dockerfile.dev] synchronised (file:///src)
dockerfile is now pinned to file:///src (version dev)
[dockerfile-opam.dev] synchronised (file:///src)
dockerfile-opam is now pinned to file:///src (version dev)
[dockerfile-cmd.dev] synchronised (file:///src)
dockerfile-cmd is now pinned to file:///src (version dev)
2026-05-19 07:24.18 ---> saved as "3b8d08cb4898843bc913df8e87d951055cfacd59ecf1cd06390910fbdd6b3b31"

/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-05-19 07:24.18 ---> saved as "3ebbb653551d8299a44c005944e85bb08574269bee71674dd3985e6422abd267"

/src: (env DEPS "alcotest.1.9.1 astring.0.8.3 base.v0.13.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 conf-m4.1 dune.3.20.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 fmt.0.9.0 fpath.0.7.3 jbuilder.1.0+beta20.1 logs.0.7.0 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.7.3 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.14.0 ocamlfind.1.8.1 ppx_derivers.1.0 ppx_sexp_conv.v0.13.0 ppxlib.0.12.0 re.1.7.2 result.1.5 rresult.0.7.0 sexplib0.v0.13.0 stdio.v0.13.0 stdlib-shims.0.1.0 topkg.1.0.8 uutf.1.0.3")

/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.5 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [165 kB]
- Fetched 10.1 MB in 2s (5452 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dockerfile.dev] synchronised (file:///src)
[dockerfile-cmd.dev] synchronised (file:///src)
[dockerfile-opam.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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 system packages will first need to be installed:
    m4

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...
# To update the current shell environment, run: eval $(opam env)
2026-05-19 07:24.34 ---> saved as "999d5c5f0a10be0f0218c16fc66e771edc6f836167b048ec8c7815ba856b0ab5"

/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.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.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 31 packages
  - install alcotest                1.9.1
  - install astring                 0.8.3
  - install base                    v0.13.1
  - install base-bytes              base
  - install bos                     0.2.1
  - install cmdliner                1.3.0
  - install conf-m4                 1
  - install dune                    3.20.0
  - install dune-configurator       2.5.1
  - install dune-private-libs       2.5.1
  - install fmt                     0.9.0
  - install fpath                   0.7.3
  - install jbuilder                1.0+beta20.1 (deprecated)
  - install logs                    0.7.0
  - install ocaml-compiler-libs     v0.11.0
  - install ocaml-migrate-parsetree 1.7.3 (deprecated)
  - install ocaml-syntax-shims      1.0.0
  - install ocaml-version           4.0.1
  - install ocamlbuild              0.14.0
  - install ocamlfind               1.8.1
  - install ppx_derivers            1.0
  - install ppx_sexp_conv           v0.13.0
  - install ppxlib                  0.12.0
  - install re                      1.7.2
  - install result                  1.5
  - install rresult                 0.7.0
  - install sexplib0                v0.13.0
  - install stdio                   v0.13.0
  - install stdlib-shims            0.1.0
  - install topkg                   1.0.8
  - install uutf                    1.0.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.3  (cached)
-> retrieved base.v0.13.1  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> installed conf-m4.1
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1  (cached)
-> retrieved dune.3.20.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.7.3  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.1  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved ppx_sexp_conv.v0.13.0  (cached)
-> retrieved ppxlib.0.12.0  (cached)
-> installed cmdliner.1.3.0
-> retrieved re.1.7.2  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved stdio.v0.13.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed re.1.7.2
-> installed ocaml-compiler-libs.v0.11.0
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.3
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.20.0
-> installed result.1.5
-> installed ocaml-version.4.0.1
-> installed stdlib-shims.0.1.0
-> installed sexplib0.v0.13.0
-> installed ocaml-syntax-shims.1.0.0
-> installed alcotest.1.9.1
-> installed dune-private-libs.2.5.1
-> installed dune-configurator.2.5.1
-> installed ocaml-migrate-parsetree.1.7.3
-> installed base.v0.13.1
-> installed stdio.v0.13.0
-> installed ppxlib.0.12.0
-> installed ppx_sexp_conv.v0.13.0
Done.

<><> ocaml-migrate-parsetree.1.7.3 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2026-05-19 07:25.37 ---> saved as "133b7de1a79a851479f25f445e538342e6bc370038a10cdc55ed8d04e6aa45eb"

/src: (copy (src .) (dst /src))
2026-05-19 07:25.37 ---> saved as "a224fc0f0b8c50241b84506271a5ed810b9a2c8725f7dc674021c9fe3dd374e7"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./dockerfile.exe)
Testing `test'.
This run has ID `U0MPQ3PR'.

  [OK]          dockerfile          0   string_of_t.
  [OK]          dockerfile          1   string_of_t.
  [OK]          dockerfile          2   Format RUN heredocs.

Full test results in `/src/_build/default/test/_build/_tests/test'.
Test Successful in 0.001s. 3 tests run.
(cd _build/default/test-opam && ./dockerfile.exe)
Testing `test'.
This run has ID `MO58E66K'.

  [OK]          dockerfile-opam          0   Distro.compare.

Full test results in `/src/_build/default/test-opam/_build/_tests/test'.
Test Successful in 0.000s. 1 test run.
2026-05-19 07:25.40 ---> saved as "64e5c123f7ca1bbf728327e1d78f68117a0f113a792a0ae7feb194c5cad4919a"
Job succeeded
2026-05-19 07:25.40: Job succeeded