Organisationsgildor478ocaml-fileutils7f0077 (master)debian-12-5.2_opam-2.3

debian-12-5.2_opam-2.3

Logs

Show full logs
2025-06-17 18:41.04: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/heads/master (7f007779741f578f2749f1699d47a1c28e9c3f0d) (linux-x86_64:debian-12-5.2_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:7ca682480cdf5c753cfd5c88a13075ead118075acef004f859a6d14ca6597843
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/gildor478/ocaml-fileutils.git" -b "master" && cd "ocaml-fileutils" && git reset --hard 7f007779
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:7ca682480cdf5c753cfd5c88a13075ead118075acef004f859a6d14ca6597843
# debian-12-5.2_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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-domains.base base-nnp.base base-threads.base base-unix.base dune.3.19.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.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-17 18:41.04: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:debian-12-ocaml-5.2@sha256:7ca682480cdf5c753cfd5c88a13075ead118075acef004f859a6d14ca6597843-debian-12-5.2_opam-2.3-a59f332fa2ae152ea9a20dc6f92f6e9e"
2025-06-17 18:41.04: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:7ca682480cdf5c753cfd5c88a13075ead118075acef004f859a6d14ca6597843)
 (comment debian-12-5.2_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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-domains.base base-nnp.base base-threads.base base-unix.base dune.3.19.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.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-17 18:41.04: Waiting for resource in pool OCluster
2025-06-17 21:21.27: Waiting for worker…
2025-06-17 21:24.31: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 7f00777 Prepare release v0.6.6.

(from ocaml/opam:debian-12-ocaml-5.2@sha256:7ca682480cdf5c753cfd5c88a13075ead118075acef004f859a6d14ca6597843)
2025-06-17 21:24.32 ---> using "f378c535ff5041530266ba1e1662cf7421ec4388dffb474c75610fb6e6780c7b" from cache

/: (comment debian-12-5.2_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-17 21:24.32 ---> using "524322bcfef103d7074e2244140c319a4004e1d944082d4ff8a7bf19476d3981" 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] Initialised
2025-06-17 21:24.32 ---> using "e95ed6379acc49b51a8c304c147f8068ee46be1fc0943fda19b91040276d7031" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 5.2.1
2.3.0
2025-06-17 21:24.32 ---> using "6b735f28c2d7f48bde48c031380a367a13a8ef79f386489c5a698f177d635884" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-17 21:24.32 ---> using "97cdaf983e159c373ae3d349cc9bfec795b61174f37d33c32d17eed23b0a3ef8" from cache

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

<><> 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-17 21:24.32 ---> using "fa5e4bc59a7c62b1dba80412cd5f5b92a33d1661334a4a85d2e6893ed085d10d" from cache

/src: (copy (src fileutils.opam) (dst ./))
2025-06-17 21:24.32 ---> using "27ab6a453b4760d42160cc4de8320ff4ea02f95a4a7dcc03569155fd09b5ad66" from cache

/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-17 21:24.35 ---> saved as "a336f5a3b1ead84f8b06e8d3830b32bcbb5f9f07b733f3dd6fe7647d895de72f"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 21:24.35 ---> saved as "0ea5a88e6363f779d519a1a48e9ba91f4e6c246b1104a37b80fcde3d1e73d253"

/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base dune.3.19.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ounit2.2.2.7 seq.base stdlib-shims.0.3.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 0s (800 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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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-06-17 21:25.00 ---> saved as "52ae4c8cec6d69a6ed31b8ce0fb6c3d913fe83d08cc65129227a7f9281fb3dc1"

/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.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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).
The following actions will be performed:
=== install 4 packages
  - install dune         3.19.1
  - install ounit2       2.2.7
  - install seq          base
  - install stdlib-shims 0.3.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed dune.3.19.1
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 21:26.23 ---> saved as "b84eed7425e68ef1c668bc7ece48a93e990dbfcf3979288cfb7bb27120688779"

/src: (copy (src .) (dst /src))
2025-06-17 21:26.24 ---> saved as "06ef7590de73db13071acf52fc57cafb1322136f83595b6df12b1c4e2a58d20f"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
......................................................................................................................................................................................................................................
Ran: 230 tests in: 0.36 seconds.
OK
2025-06-17 21:26.28 ---> saved as "61f8e294f103201c92e09bf15478e8d021e5e42dfdf9073342f54fd057de566a"
Job succeeded
2025-06-17 21:26.28: Job succeeded