2024-12-19 22:53.26: New job: test edwintorok/dune-compiledb https://github.com/edwintorok/dune-compiledb.git#refs/heads/main (f0441721de9b4d1c8418a41ff6fc3f715505e7f0) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/edwintorok/dune-compiledb.git" -b "main" && cd "dune-compiledb" && git reset --hard f0441721
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679
# debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dune-compiledb.opam ./
RUN opam pin add -yn dune-compiledb.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 cstruct.3.0.0 dune.2.7.0 ezjsonm.1.0.0 fpath.0.7.1 hex.1.2.0 jbuilder.1.0+beta20.1 jsonm.1.0.1 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 parsexp.v0.11.0 result.1.0 sexplib.v0.11.0 sexplib0.v0.11.0 topkg.0.7.5 uchar.0.0.2 uutf.1.0.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y dune-compiledb.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
2024-12-19 22:53.26: Using cache hint "edwintorok/dune-compiledb-ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679-debian-12-4.08_opam-2.3-0bf98dc40983a8b8851ba6b8edec7cc1"
2024-12-19 22:53.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
(comment debian-12-4.08_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 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dune-compiledb.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dune-compiledb.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 cstruct.3.0.0 dune.2.7.0 ezjsonm.1.0.0 fpath.0.7.1 hex.1.2.0 jbuilder.1.0+beta20.1 jsonm.1.0.1 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 parsexp.v0.11.0 result.1.0 sexplib.v0.11.0 sexplib0.v0.11.0 topkg.0.7.5 uchar.0.0.2 uutf.1.0.1")
(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 dune-compiledb.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"))
)
2024-12-19 22:53.26: Waiting for resource in pool OCluster
2024-12-20 18:48.14: Waiting for worker…
2024-12-20 18:50.25: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/dune-compiledb.git-7df3878ccf9e8b3d9833f06124e622d89ec1b7e5/.git/
HEAD is now at f044172 fix typo
(from ocaml/opam:debian-12-ocaml-4.08@sha256:a1d38b4249ac3e00f0c6f66cd35168b4c94ec556539dcdb604ce4bf4e98cc679)
2024-12-20 18:51.37 ---> saved as "2c99520034ba7d2c12a0edb456b31a2f404e9da547f96b39b3b43810eae7bc5d"
/: (comment debian-12-4.08_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"))
2024-12-20 18:51.37 ---> saved as "9c7d267f7e92517e2e7ab4d7fc448d8fbbb94cc38a5840599e10f31251e4deb4"
/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] synchronised from file:///home/opam/opam-repository
2024-12-20 18:53.23 ---> saved as "a85c677794c09ff23dc8acdf20aecfae513f7cc60a85d118c52f015fe321d43e"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.08.1
2.3.0
2024-12-20 18:53.23 ---> saved as "9c1e00b937b2e38fda6057914a79238c0808f3fdb6f52e94d95390dfae7f0a0c"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-20 18:53.23 ---> saved as "f584b3496481aecc521427cb7cbbdf8e119e34cd57b7f7ce22a6b3fcf867f9d5"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 28daeff6f36e886a2c133aceed8a117d4c6dcd28 || git fetch origin master) && git reset -q --hard 28daeff6f36e886a2c133aceed8a117d4c6dcd28 && git log --no-decorate -n1 --oneline && opam update -u"))
28daeff6f3 Merge pull request #26814 from mtelvers/m4
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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)
2024-12-20 18:54.40 ---> saved as "2713730617c9120ead27e84101e14faee045a0a1c67f1bc7ba7c87a3ef1162e9"
/src: (copy (src dune-compiledb.opam) (dst ./))
2024-12-20 18:54.40 ---> saved as "e2a529828ec17f71effb4d0189044da7d16cff1a5764da82dbd9bfee822449fb"
/src: (run (network host)
(shell "opam pin add -yn dune-compiledb.dev './'"))
[dune-compiledb.dev] synchronised (file:///src)
dune-compiledb is now pinned to file:///src (version dev)
2024-12-20 18:54.42 ---> saved as "e5fb32bfe592af1470aa9f639963191869a2ce773681ad4d400dbccaaba7a35c"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-20 18:54.42 ---> saved as "0468dd58b79b57d281cd0eeb7062c09bf75ef68b3e03ac7e9e4975ae73cdd0b2"
/src: (env DEPS "astring.0.8.2 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-m4.1 cppo.1.6.1 cstruct.3.0.0 dune.2.7.0 ezjsonm.1.0.0 fpath.0.7.1 hex.1.2.0 jbuilder.1.0+beta20.1 jsonm.1.0.1 num.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 parsexp.v0.11.0 result.1.0 sexplib.v0.11.0 sexplib0.v0.11.0 topkg.0.7.5 uchar.0.0.2 uutf.1.0.1")
/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 dune-compiledb.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 [236 kB]
- Fetched 339 kB in 0s (1320 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[dune-compiledb.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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
- Unpacking m4 (1.4.19-3) ...
- Setting up m4 (1.4.19-3) ...
2024-12-20 18:55.10 ---> saved as "5865cf31f3186cbe302568ba91bdfb754fe950055a646488b0d629a6729ad60c"
/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.08.1).
[NOTE] Package ocaml is already installed (current version is 4.08.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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 22 packages
- install astring 0.8.2
- install base-bytes base
- install conf-m4 1
- install cppo 1.6.1
- install cstruct 3.0.0
- install dune 2.7.0
- install ezjsonm 1.0.0
- install fpath 0.7.1
- install hex 1.2.0
- install jbuilder 1.0+beta20.1
- install jsonm 1.0.1
- install num 1.0
- install ocamlbuild 0.14.0
- install ocamlfind 1.8.0
- install ocplib-endian 1.0
- install parsexp v0.11.0
- install result 1.0
- install sexplib v0.11.0
- install sexplib0 v0.11.0
- install topkg 0.7.5
- install uchar 0.0.2
- install uutf 1.0.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.1 (cached)
-> retrieved astring.0.8.2 (cached)
-> retrieved cstruct.3.0.0 (cached)
-> installed conf-m4.1
-> retrieved ezjsonm.1.0.0 (cached)
-> retrieved fpath.0.7.1 (cached)
-> retrieved hex.1.2.0 (cached)
-> retrieved jsonm.1.0.1 (cached)
-> retrieved num.1.0 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved dune.2.7.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved ocplib-endian.1.0 (cached)
-> retrieved parsexp.v0.11.0 (cached)
-> retrieved result.1.0 (cached)
-> retrieved sexplib.v0.11.0 (cached)
-> retrieved sexplib0.v0.11.0 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved uutf.1.0.1 (cached)
-> retrieved topkg.0.7.5 (cached)
-> installed result.1.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed num.1.0
-> installed uchar.0.0.2
-> installed jbuilder.1.0+beta20.1
-> installed sexplib0.v0.11.0
-> installed cppo.1.6.1
-> installed dune.2.7.0
-> installed topkg.0.7.5
-> installed parsexp.v0.11.0
-> installed uutf.1.0.1
-> installed sexplib.v0.11.0
-> installed astring.0.8.2
-> installed jsonm.1.0.1
-> installed fpath.0.7.1
-> installed ocplib-endian.1.0
-> installed cstruct.3.0.0
-> installed hex.1.2.0
-> installed ezjsonm.1.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-12-20 18:56.01 ---> saved as "b3f6b4c7d6358fa9baf5ae2cb22c68beb48c382e4a6c4ef6b6040b2636f15e87"
/src: (copy (src .) (dst /src))
2024-12-20 18:56.01 ---> saved as "4985d90523b1bdfab99ef1c654de7f63605224e32bb7e6855bece7d64b511557"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/hex/hex.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/cstruct/cstruct.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/sexplib.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/num/sexplib.num.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib/unix/sexplib.unix.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/parsexp/parsexp.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
File "/home/opam/.opam/4.08/lib/sexplib0/sexplib0.dune", line 1, characters 0-0:
Warning: .dune files are ignored since 2.0. Reinstall the library with dune
>= 2.0 to get rid of this warning and enable support for the subsystem this
library provides.
2024-12-20 18:56.03 ---> saved as "3d2de9caaa9e5b92a82db124e39cf2779f59b72a7a905201878dd96525434297"
Job succeeded
2024-12-20 18:56.03: Job succeeded