2024-05-12 17:05.18: New job: test talex5/0install https://github.com/talex5/0install.git#refs/heads/master (b3d7e5fdabb42c495c0ba3a97056b21264064f4f) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/talex5/0install.git" -b "master" && cd "0install" && git reset --hard b3d7e5fd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb
# debian-12-4.08_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 e6b04a59c1e449202a10356096db4b91e7f54de7 || git fetch origin master) && git reset -q --hard e6b04a59c1e449202a10356096db4b91e7f54de7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 0install.opam 0install-solver.opam 0install-gtk.opam ./
RUN opam pin add -yn 0install.dev './' && \
opam pin add -yn 0install-solver.dev './' && \
opam pin add -yn 0install-gtk.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 cairo2.0.6 camlp4.4.08+1 conf-cairo.1 conf-glib-2.1 conf-gtk3.18 conf-libcurl.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 dune.2.5.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 lablgtk3.3.0.beta4 lwt.4.2.0 lwt_camlp4.1.0.0 lwt_glib.1.0.1 lwt_log.1.1.0 lwt_react.1.0.1 mmap.1.0.2 oasis.0.4.7 obus.1.1.8 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlify.0.0.1 ocamlmod.0.0.8 ocurl.0.7.9 ounit2.2.2.0 react.1.0.0 result.1.0 seq.0.2.2 sha.1.10 stdlib-shims.0.1.0 topkg.0.9.0 type_conv.113.00.02 xmlm.1.3.0 yojson.1.5.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y 0install.dev 0install-solver.dev 0install-gtk.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-05-12 17:05.18: Using cache hint "talex5/0install-ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb-debian-12-4.08_opam-2.1-dc5d024bebb612d9265a7de93c5a35fe"
2024-05-12 17:05.18: Using OBuilder spec:
((from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
(comment debian-12-4.08_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /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 e6b04a59c1e449202a10356096db4b91e7f54de7 || git fetch origin master) && git reset -q --hard e6b04a59c1e449202a10356096db4b91e7f54de7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src 0install.opam 0install-solver.opam 0install-gtk.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn 0install.dev './' && \
\nopam pin add -yn 0install-solver.dev './' && \
\nopam pin add -yn 0install-gtk.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 cairo2.0.6 camlp4.4.08+1 conf-cairo.1 conf-glib-2.1 conf-gtk3.18 conf-libcurl.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 dune.2.5.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 lablgtk3.3.0.beta4 lwt.4.2.0 lwt_camlp4.1.0.0 lwt_glib.1.0.1 lwt_log.1.1.0 lwt_react.1.0.1 mmap.1.0.2 oasis.0.4.7 obus.1.1.8 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlify.0.0.1 ocamlmod.0.0.8 ocurl.0.7.9 ounit2.2.2.0 react.1.0.0 result.1.0 seq.0.2.2 sha.1.10 stdlib-shims.0.1.0 topkg.0.9.0 type_conv.113.00.02 xmlm.1.3.0 yojson.1.5.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.1 --depext-only -y 0install.dev 0install-solver.dev 0install-gtk.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-05-12 17:05.18: Waiting for resource in pool OCluster
2024-05-12 17:05.18: Waiting for worker…
2024-05-12 17:06.03: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at b3d7e5fd Replace uses of deprecated Stdlib.Stream and Lwt_unix.yield
(from ocaml/opam@sha256:fda21a992c5df0e509393861bcf1b40849d544491656742979043a148fbba8bb)
2024-05-12 17:06.53 ---> saved as "e0805034d9e735da2cb99f3eb2cde6a7473dabe8bd1020b5bf9a6e9f3a9991fe"
/: (comment debian-12-4.08_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-12 17:06.53 ---> saved as "646bc87e0f57317c5ebf610ed55d499e1a9858c6afbb70f9b3c1442beb0c0bc7"
/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.0 to version 2.1, 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-05-12 17:08.08 ---> saved as "3efe606a65f6fe7269ee6813ddd2fa2c2714f24a04a227ae5fb5c7db864c4c57"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.08.1
2.1.5
2024-05-12 17:08.08 ---> saved as "6225fba4323f2de754e24da77b187b22e091a3b5bdd8f66c82092a9cc9863ec9"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-12 17:08.08 ---> saved as "35c4353ebc362a36ebb5c4ac3584cadf9893526dc08b896ef76d9b395ed9c850"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e6b04a59c1e449202a10356096db4b91e7f54de7 || git fetch origin master) && git reset -q --hard e6b04a59c1e449202a10356096db4b91e7f54de7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..4eb8860c29 master -> origin/master
e6b04a59c1 type_conv is not compatible with OCaml 5.0 (uses String.lowercase)
<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-05-12 17:10.05 ---> saved as "d8e68adc8a3aa0699b6a4d907381150a177b10aebef44bff5b48bc5d8cb071f0"
/src: (copy (src 0install.opam 0install-solver.opam 0install-gtk.opam)
(dst ./))
2024-05-12 17:10.05 ---> saved as "b23bbbe5c7679a421dfebe781443a783a01e9595a0ddc74dc5b3b9910060bb56"
/src: (run (network host)
(shell "opam pin add -yn 0install.dev './' && \
\nopam pin add -yn 0install-solver.dev './' && \
\nopam pin add -yn 0install-gtk.dev './'"))
[0install.dev] synchronised (file:///src)
0install is now pinned to file:///src (version dev)
[0install-solver.dev] synchronised (file:///src)
0install-solver is now pinned to file:///src (version dev)
[0install-gtk.dev] synchronised (file:///src)
0install-gtk is now pinned to file:///src (version dev)
2024-05-12 17:10.12 ---> saved as "fb85c4c2baae178d1110e1d71dd47e692e9300aa3a22f6a343e7190c8b23bbad"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base biniou.1.2.0 cairo2.0.6 camlp4.4.08+1 conf-cairo.1 conf-glib-2.1 conf-gtk3.18 conf-libcurl.1 conf-m4.1 conf-pkg-config.1.0 conf-which.1 cppo.1.6.1 dune.2.5.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 easy-format.1.0.1 jbuilder.1.0+beta20.1 lablgtk3.3.0.beta4 lwt.4.2.0 lwt_camlp4.1.0.0 lwt_glib.1.0.1 lwt_log.1.1.0 lwt_react.1.0.1 mmap.1.0.2 oasis.0.4.7 obus.1.1.8 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocamlify.0.0.1 ocamlmod.0.0.8 ocurl.0.7.9 ounit2.2.2.0 react.1.0.0 result.1.0 seq.0.2.2 sha.1.10 stdlib-shims.0.1.0 topkg.0.9.0 type_conv.113.00.02 xmlm.1.3.0 yojson.1.5.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.1 --depext-only -y 0install.dev 0install-solver.dev 0install-gtk.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 [156 kB]
- Fetched 259 kB in 0s (557 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[0install.dev] synchronised (no changes)
[0install-gtk.dev] synchronised (no changes)
[0install-solver.dev] synchronised (no changes)
[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:
libcairo2-dev libcurl4-gnutls-dev libexpat1-dev libglib2.0-dev libgtk-3-dev m4 pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libcairo2-dev" "libcurl4-gnutls-dev" "libexpat1-dev" "libglib2.0-dev" "libgtk-3-dev" "m4" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Regenerating fonts cache...
2024-05-12 17:10.57 ---> saved as "b25c297d0e52828151fe0d974ad9ca466a7b57f6bd820362c9cd45d24594d6bd"
/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 conf-m4 1
- install jbuilder 1.0+beta20.1
- install result 1.0
- install ocamlbuild 0.14.0
- install dune 2.5.0
- install conf-pkg-config 1.0
- install conf-which 1
- install ocamlfind 1.8.0
- install camlp4 4.08+1
- install stdlib-shims 0.1.0
- install seq 0.2.2
- install mmap 1.0.2
- install dune-private-libs 2.3.0
- install conf-libcurl 1
- install conf-gtk3 18
- install conf-glib-2 1
- install conf-cairo 1
- install topkg 0.9.0
- install sha 1.10
- install react 1.0.0
- install ocamlmod 0.0.8
- install ocamlify 0.0.1
- install easy-format 1.0.1
- install base-bytes base
- install type_conv 113.00.02
- install dune-configurator 2.3.0
- install xmlm 1.3.0
- install oasis 0.4.7
- install biniou 1.2.0
- install ounit2 2.2.0
- install cppo 1.6.1
- install cairo2 0.6
- install yojson 1.5.0
- install lwt 4.2.0
- install lablgtk3 3.0.beta4
- install ocurl 0.7.9
- install lwt_react 1.0.1
- install lwt_log 1.1.0
- install lwt_glib 1.0.1
- install lwt_camlp4 1.0.0
- install obus 1.1.8
===== 41 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved biniou.1.2.0 (cached)
-> retrieved cairo2.0.6 (cached)
-> retrieved camlp4.4.08+1 (cached)
-> retrieved cppo.1.6.1 (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> installed conf-which.1
-> installed conf-cairo.1
-> installed conf-glib-2.1
-> installed conf-gtk3.18
-> installed conf-libcurl.1
-> retrieved dune.2.5.0 (cached)
-> retrieved dune-configurator.2.3.0 (cached)
-> retrieved dune-private-libs.2.3.0 (cached)
-> retrieved easy-format.1.0.1 (cached)
-> retrieved jbuilder.1.0+beta20.1 (cached)
-> retrieved lablgtk3.3.0.beta4 (cached)
-> retrieved lwt.4.2.0 (cached)
-> retrieved lwt_camlp4.1.0.0 (cached)
-> retrieved lwt_glib.1.0.1 (cached)
-> retrieved lwt_log.1.1.0 (cached)
-> retrieved lwt_react.1.0.1 (cached)
-> retrieved mmap.1.0.2 (cached)
-> retrieved obus.1.1.8 (cached)
-> retrieved oasis.0.4.7 (cached)
-> retrieved ocamlbuild.0.14.0 (cached)
-> retrieved ocamlfind.1.8.0 (cached)
-> retrieved ocamlify.0.0.1 (cached)
-> retrieved ocamlmod.0.0.8 (cached)
-> retrieved ocurl.0.7.9 (cached)
-> retrieved result.1.0 (cached)
-> retrieved ounit2.2.2.0 (cached)
-> retrieved seq.0.2.2 (cached)
-> retrieved sha.1.10 (cached)
-> retrieved react.1.0.0 (cached)
-> retrieved stdlib-shims.0.1.0 (cached)
-> retrieved type_conv.113.00.02 (cached)
-> retrieved xmlm.1.3.0 (cached)
-> retrieved yojson.1.5.0 (cached)
-> retrieved topkg.0.9.0 (cached)
-> installed result.1.0
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed easy-format.1.0.1
-> installed ocamlbuild.0.14.0
-> installed react.1.0.0
-> installed sha.1.10
-> installed jbuilder.1.0+beta20.1
-> installed ocamlify.0.0.1
-> installed biniou.1.2.0
-> installed cppo.1.6.1
-> installed ocamlmod.0.0.8
-> installed dune.2.5.0
-> installed topkg.0.9.0
-> installed mmap.1.0.2
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed xmlm.1.3.0
-> installed ounit2.2.2.0
-> installed yojson.1.5.0
-> installed dune-private-libs.2.3.0
-> installed dune-configurator.2.3.0
-> installed lwt.4.2.0
-> installed lwt_log.1.1.0
-> installed cairo2.0.6
-> installed lwt_react.1.0.1
-> installed lablgtk3.3.0.beta4
-> installed lwt_glib.1.0.1
-> installed ocurl.0.7.9
-> installed oasis.0.4.7
-> installed camlp4.4.08+1
-> installed lwt_camlp4.1.0.0
-> installed type_conv.113.00.02
-> installed obus.1.1.8
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-12 17:15.41 ---> saved as "e5a7e274281911db514b93f45b2fa0ed516f27fad24689f1f0c484ef8b5dd0ea"
/src: (copy (src .) (dst /src))
2024-05-12 17:15.41 ---> saved as "230027df5acf7209711908bc5743be0f66a15da899a1cbf1fe868d3d6cd9f2f1"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "/home/opam/.opam/4.08/lib/biniou/biniou.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/lwt_log/lwt_log.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/lwt_log/core/lwt_log.core.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.
test alias src/solver/tests/runtest
....
Ran: 4 tests in: 0.10 seconds.
OK
ocamlc src/gui_gtk/.gui_gtk.eobjs/byte/dune__exe__Tray_icon.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I src/gui_gtk/.gui_gtk.eobjs/byte -I /home/opam/.opam/4.08/lib/biniou -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/cairo2 -I /home/opam/.opam/4.08/lib/curl -I /home/opam/.opam/4.08/lib/easy-format -I /home/opam/.opam/4.08/lib/lablgtk3 -I /home/opam/.opam/4.08/lib/lwt -I /home/opam/.opam/4.08/lib/lwt/unix -I /home/opam/.opam/4.08/lib/lwt_glib -I /home/opam/.opam/4.08/lib/lwt_log -I /home/opam/.opam/4.08/lib/lwt_log/core -I /home/opam/.opam/4.08/lib/lwt_react -I /home/opam/.opam/4.08/lib/mmap -I /home/opam/.opam/4.08/lib/obus -I /home/opam/.opam/4.08/lib/ocaml/threads -I /home/opam/.opam/4.08/lib/react -I /home/opam/.opam/4.08/lib/result -I /home/opam/.opam/4.08/lib/seq -I /home/opam/.opam/4.08/lib/sha -I /home/opam/.opam/4.08/lib/xmlm -I /home/opam/.opam/4.08/lib/yojson -I src/solver/.zeroinstall_solver.objs/byte -I src/solver/.zeroinstall_solver.objs/native -I src/support/.support.objs/byte -I src/support/.support.objs/native -I src/zeroinstall/.zeroinstall.objs/byte -I src/zeroinstall/.zeroinstall.objs/native -no-alias-deps -opaque -open Dune__exe -o src/gui_gtk/.gui_gtk.eobjs/byte/dune__exe__Tray_icon.cmo -c -impl src/gui_gtk/tray_icon.ml)
File "src/gui_gtk/tray_icon.ml", line 47, characters 21-22:
47 | icon <- Some i;
^
Error: This expression has type GMisc.status_icon
but an expression was expected of type
< is_embedded : bool; set_tooltip_text : 'a -> unit;
set_visible : bool -> unit; .. >
The first object type has no method set_tooltip_text
test alias src/tests/runtest
.................................................................................................S.......................................................................................................................................................S.......S.......................................
Ran: 297 tests in: 2.64 seconds.
OK: Cases: 297 Skip: 3
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-12 17:15.50: Job failed: Failed: Build failed