Organisationsgildor478ocaml-fileutilsec2da5 ()debian-12-5.4~alpha1_opam-2.3

debian-12-5.4~alpha1_opam-2.3

Link Copied
Code Copied

Logs

2025-07-02 12:16.39: New job: test gildor478/ocaml-fileutils https://github.com/gildor478/ocaml-fileutils.git#refs/pull/60/head (ec2da524f2f4191e37628211617c4036e0333fbd) (linux-x86_64:debian-12-5.4~alpha1_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77
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-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77
# debian-12-5.4~alpha1_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-effects.base base-nnp.base base-threads.base base-unix.base dune.3.19.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 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-07-02 12:16.39: Using cache hint "gildor478/ocaml-fileutils-ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77-debian-12-5.4~alpha1_opam-2.3-194b5198d486c6174bd20fde8d34c45d"
2025-07-02 12:16.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77)
(comment debian-12-5.4~alpha1_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-effects.base base-nnp.base base-threads.base base-unix.base dune.3.19.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 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-07-02 12:16.39: Waiting for resource in pool OCluster
2025-07-02 12:16.51: Waiting for worker…
2025-07-02 12:16.51: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at ec2da52 Refer to examples in README


(from ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:8582773c21cedba0ee784e7abc58e4ae8e8ec1fd5bb00bd01c6d864a18a3bd77)
2025-07-02 12:16.59 ---> saved as "7eeff0a897ba573e3887788a60a6c56290cc2b688e3dd8849ad000225167be2f"


/: (comment debian-12-5.4~alpha1_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-07-02 12:16.59 ---> saved as "f362fb86509f313e940fd46f809dea011c9e12de45cd732e10c9cb6f1e69dd99"


/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 "beta": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/ocaml-beta-repository/': Could not resolve host: github.com"
[default] Initialised
2025-07-02 12:17.19 ---> saved as "83f26b8a182ca93e937604f79038f21c2d078c7be693bf219f6439df39ed5bb6"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.4.0~alpha1
2.3.0
2025-07-02 12:17.19 ---> saved as "4e6c1dbc65dc1f5ee77c6e77d9b87ac2d2372a2909f20b7eebc1b4323415fab2"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-02 12:17.19 ---> saved as "cc1fd244bac21da976d3e244ee9414006eca70002afed797b133c13a5cb211ca"


/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 ><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[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-07-02 12:17.46 ---> saved as "29fc1c9fa26d0b531ed5ac3fde5403f699586a6eb6a39c3ebcc574f4c03b8242"


/src: (copy (src fileutils.opam) (dst ./))
2025-07-02 12:17.47 ---> saved as "bab652439bbc47ff66cec8efedb76d95e66a6fe9f1198e096911b9f6dad24646"


/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-07-02 12:17.49 ---> saved as "617585116b10cbaae01628a6dc1fd1d7ed171a599712af9f2155b31aaa0eff2b"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-02 12:17.50 ---> saved as "c460f23b0bb16fe5460943670e4193cbf09828fc606c1db461066676b72284ed"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base dune.3.19.1 ocaml.5.4.0 ocaml-base-compiler.5.4.0~alpha1 ocaml-compiler.5.4.0~alpha1 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 [270 kB]
- Fetched 373 kB in 0s (1137 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-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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-07-02 12:18.06 ---> saved as "c0fcf9291b6bc0a7807ed0ac4d69bcf589dfe76b7997f17d7e093946d6522a43"


/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-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0~alpha1).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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-effects 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-07-02 12:19.59 ---> saved as "2714efe2297cbe79a8b6b2c9740d891b93675a5ec3642912ed9f66740a8d6c24"


/src: (copy (src .) (dst /src))
2025-07-02 12:20.00 ---> saved as "03d18e1301a8c204a1f4469ff9a2df55bb747afbf7c62f550770e5829932d933"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
......................................................................................................................................................................................................................................
Ran: 230 tests in: 0.40 seconds.
OK
2025-07-02 12:20.04 ---> saved as "9e92701b5d337de465ba7bc956fd9fa5088128766bce1224ded8f9211351b586"
Job succeeded
2025-07-02 12:20.04: Job succeeded