Organisationsgildor478ocaml-fileutilsec2da5 ()(lower-bound)

(lower-bound)

Logs

Show full logs
2025-06-19 20:37.25: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/pull/60/head (ec2da524f2f4191e37628211617c4036e0333fbd) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" && cd "ocaml-fileutils" && git fetch origin "refs/pull/60/head" && git reset --hard ec2da524
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1
# debian-12-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 f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 fileutils.opam ./
RUN opam pin add -yn fileutils.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base dune.2.9.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ounit2.2.2.0 stdlib-shims.0.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y fileutils.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-06-19 20:37.25: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1-debian-12-4.14_opam-2.3-3721d5d14a5d1400f9886178a72a43ea"
2025-06-19 20:37.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
 (comment debian-12-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 f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src fileutils.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn fileutils.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base dune.2.9.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ounit2.2.2.0 stdlib-shims.0.1.0")
 (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 fileutils.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-06-19 20:37.25: Waiting for resource in pool OCluster
2025-06-19 20:37.25: Waiting for worker…
2025-06-19 20:39.00: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at ec2da52 Refer to examples in README

(from ocaml/opam:debian-12-ocaml-4.14@sha256:fce20b65df3420e55e551e5e511d6e043f8c2fab25d7bc07171e2995fe38adc1)
2025-06-19 20:39.00 ---> using "e0b6b42c8d38d9348dfef46f8898d95202a2f66c4a54682abc09332d121e9399" from cache

/: (comment debian-12-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-06-19 20:39.00 ---> using "087e08b165a4c96e5651843463842a95f76d0840a59aa7a384c29ebd289028aa" 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-19 20:39.00 ---> using "1fc90f758c2a9c5a702116c42b73f4d00ed4c97867bb8f33e39732c915533175" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-19 20:39.00 ---> using "907d9d16d8ee77c0c5555113122dd0c6e70daaa557fdf4c491949956707acf69" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-19 20:39.00 ---> using "2d576fc7dcae21eaff29797780d6d1b4d59f570977e957d814c1084a3ed8a1f4" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e f5c1936fa5c32d29749894f9717c2eea4a72c4d5 || git fetch origin master) && git reset -q --hard f5c1936fa5c32d29749894f9717c2eea4a72c4d5 && git log --no-decorate -n1 --oneline && opam update -u"))
f5c1936fa5 Merge pull request #27987 from maroneze/master

<><> 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-06-19 20:39.18 ---> saved as "fdcf91ab9242a3a2930e57f62786aa9879f3ed252f598f4dd1dfbf0b8557e601"

/src: (copy (src fileutils.opam) (dst ./))
2025-06-19 20:39.18 ---> saved as "31d27bbebe7eb99bb1a96ea8ccd8ca50f48d70804e93b86326108b235c77f3c2"

/src: (run (network host)
           (shell "opam pin add -yn fileutils.dev './'"))
[fileutils.dev] synchronised (file:///src)
fileutils is now pinned to file:///src (version dev)
2025-06-19 20:39.19 ---> saved as "199cf51acf9d157cbd00b23c31ea784eda975444dd3f60433babe300e195a8d7"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-19 20:39.19 ---> saved as "7cacfd0225d7d7bbc50b20683602f765778a0a634acec2328d6821e9a84e0f79"

/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base dune.2.9.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.1 ounit2.2.2.0 stdlib-shims.0.1.0")

/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 fileutils.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 [267 kB]
- Fetched 370 kB in 1s (310 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[fileutils.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-06-19 20:39.29 ---> saved as "a156e9afb02dc3ceda610c8b187a82a193ace0588a97311691dba488671e2822"

/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 base-bytes   base
  - install dune         2.9.3
  - install ocamlfind    1.9.1
  - install ounit2       2.2.0
  - install stdlib-shims 0.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.1  (cached)
-> retrieved ounit2.2.2.0  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved dune.2.9.3  (cached)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed dune.2.9.3
-> installed stdlib-shims.0.1.0
-> installed ounit2.2.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-19 20:39.47 ---> saved as "c5ed38f480b4567c90ba03b7355eb48a70ee245608a068f46a37d080027ac463"

/src: (copy (src .) (dst /src))
2025-06-19 20:39.47 ---> saved as "daba407473e3099df94bcf1021db0d30262ca0c025104a47f97226fdef6502e0"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "examples/dune-project", line 1, characters 11-15:
1 | (lang dune 3.14)
               ^^^^
Error: Version 3.14 of the dune language is not supported.
Supported versions of this extension in version 3.14 of the dune language:
- 1.0 to 1.12
- 2.0 to 2.9
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-19 20:39.48: Job failed: Failed: Build failed